-
Notifications
You must be signed in to change notification settings - Fork 140
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
feat: replace querystring with fast-querystring #300
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Heya, the library looks great! If we end up merging this, we should release it in a major. Before doing so, can you add more test to fast-querystring? Ideally the same test suite of querystring core.
722fccb
to
1618eb2
Compare
@delvedor I added all of the node.js querystring tests and released a new version (0.3.0) with the necessary changes to replicate the behavior of the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Update the doc, please.
1618eb2
to
666e0f1
Compare
@ivan-tymoshenko I just updated |
666e0f1
to
65ced6f
Compare
Updated to 0.4.0 with lots of great improvements. |
This repo supports node >=14, but |
This will likely land in a major version, ideally shipping February/March 2023, in which we will drop support for Node v14 and v16. (v16 LTS ends Sept 2023 due to OpenSSL). |
I might replace |
65ced6f
to
544638e
Compare
FYI: Updated this pull-request to 0.7.0 (40% faster than querystring atm), dropped replaceAll in favor of supporting Node 14. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, I think this would be a significant benefit for the project.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Good job!
544638e
to
7e573a3
Compare
I released and updated the pull request to use 1.0.0 version. I think |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@delvedor should I cut a major? |
@mcollina @delvedor Can you explain to me why we should land it as a major? It's not a breaking change. It's not even a new feature. It might have a good querystring performance parsing upgrade, but it will not make a significant performance difference along with routing. And we have the 7.1.0 version now. Why can't we land it as a 7.2.0? |
I'm ok with a minor too. |
The main reason is that this module has an average of 3.6 millions downloads per months, and you don't want to risk it :D |
I'll try a minor and in case revert |
Solves issue: fastify/fastify#4252