Skip to content

feat: add ultimate-express (10x faster drop-in replacement for Express) #1765

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

nigrosimone
Copy link

@nigrosimone nigrosimone commented May 2, 2025

Add ultimate-express

The Ultimate Express. Fastest http server with full Express compatibility, based on µWebSockets. 10x faster drop-in replacement for Express

Benchmarks

I have just one test failing, some mantainer can help me to understand the problem?

tsoa-tests:   1 failing
tsoa-tests:   1) Express Server With custom multer
tsoa-tests:        file upload With custom multer instance
tsoa-tests:          cannot post a file with wrong attribute name:
tsoa-tests:      Uncaught TypeError: Cannot read properties of undefined (reading 'status')
tsoa-tests:       at \tsoa\tests\integration\express-server-custom-multer.spec.ts:39:20      
tsoa-tests:       at Test.<anonymous> (integration\express-server-custom-multer.spec.ts:216:13)
tsoa-tests:       at Test.assert (\tsoa\node_modules\supertest\lib\test.js:172:8)

All Submissions:

  • Have you followed the guidelines in our Contributing document?
  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?
  • Have you written unit tests?
  • Have you written unit tests that cover the negative cases (i.e.: if bad data is submitted, does the library respond properly)?
  • This PR is associated with an existing issue?

Closing issues

closes #1762

If this is a new feature submission:

  • Has the issue had a maintainer respond to the issue and clarify that the feature is something that aligns with the goals and philosophy of the project?

Potential Problems With The Approach

Test plan

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello there nigrosimone 👋

Thank you and congrats 🎉 for opening your first PR on this project.✨

We will review the following PR soon! 👀

@nigrosimone nigrosimone changed the title feat: add ultimate-express feat: add ultimate-express (10x faster drop-in replacement for Express) May 2, 2025
@nigrosimone nigrosimone marked this pull request as ready for review May 2, 2025 08:45
@WoH
Copy link
Collaborator

WoH commented Jun 10, 2025

Isn't it easier to do this via resolutions in the package.json?

@WoH
Copy link
Collaborator

WoH commented Jun 10, 2025

I have just one test failing, some mantainer can help me to understand the problem?

I think this is a new windows only issue that was introduced by a minor version bump in a package.
Don't have time to investigate this atm.

@cesco69
Copy link
Contributor

cesco69 commented Jun 10, 2025

Isn't it easier to do this via resolutions in the package.json?

Why not support into tsoa ? it need just a replace from "express" to "ultimate-express"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat: support ultimate-express (10x faster drop-in replacement for Express)
3 participants