-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Deprecating fastify-*
modules
#3733
Comments
Could we make a checklist for each package like: fastify-cors:
|
Please do. |
I am looking at
|
Project has been created: https://github.com/fastify/deprecate-modules/projects/1 |
@zekth we will be changing name and bumping major and then migrate to fastify v4 and bump major again. |
Right now we're doing straight deprecation and work with the compatibility and compliancy afterward so? |
yes exactly |
{
"name": "fastify-cookie",
"versionToPublish": "5.7.0",
"license": "MIT",
"newModule": {
"name": "@fastify/cookie",
"version": "6.0.0"
}
}, The following would happen:
Any subsequent changes to comply with This is the correct plan, yes? |
amazing! |
What about "point-of-view" plugin? Maybe it makes sense to rename it as @fastify/views ? |
This one does get skipped by the automated tool. I don't really have an opinion about moving it under the org scope. It's already named independently, and thus does not cause confusion around whether or not it is a community plugin or an org plugin. |
But isn't "point-of-view" one of org plugins? |
Yes. |
But then, it makes sense to move it to org plugins as well. As of mine sight of view. Right now this plugin looks "out of scope" and not fastify related. Moving it to @fastify/views or @fastify/pov will make it look more fastify related. Just only my 2 cents :D |
I like this plan! 👏 Speaking of |
I would just move it to |
Given that |
I would keep the same name to avoid too much confusion, so |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
@jsumners is on it, hopefully shipping this in the next two weeks! |
This commit renames the module in accordance with the discussion in fastify/fastify#3733.
This commit renames the module in accordance with the discussion in fastify/fastify#3733.
This commit renames the module in accordance with the discussion in fastify/fastify#3733.
This commit renames the module in accordance with the discussion in fastify/fastify#3733.
This commit renames the module in accordance with the discussion in fastify/fastify#3733.
This commit renames the module in accordance with the discussion in fastify/fastify#3733
This commit renames the module in accordance with the discussion in fastify/fastify/issues/3733 .
This commit renames the module in accordance with the discussion in fastify/fastify#3733
I think we can update the plugin docs explaining the latest version of each module is required Fastify v4 |
Not sure I understand. However, great job taking on the remaining modules. |
I think what @RafaelGSS is saying is that the documentation for the plugins needs updating to state what plugin versions work with what Fastify versions, as we've had a few issues raised regarding it: |
I would not have recommended merging those PRs. My recommendation would have been to remove the prior notice of "use this version for this other thing's version". It's too much work to keep updated. The mistake is releasing new final versions of plugins for v4 prior to v4 being released. Fastify should allow loading of prior versions of modules (see #3879 (comment)) and modules should not release new majors out of rc-phase until a corresponding final Fastify release is issued. |
This commit renames the module in accordance with the discussion in fastify/fastify/issues/3733 .
I have added https://github.com/fastify/any-schema-you-like to the list. |
This commit renames the module in accordance with the discussion in fastify/fastify/issues/3733 .
What names should we pick for those non-fastify-branded packages? |
I don't have much of an opinion on that. I'd just prefix them with the org scope and move on. |
I suggest:
|
Maybe cut down any-schema-you-like to any-schema? |
This commit renames the module in accordance with the discussion in fastify/fastify/issues/3733 .
This commit renames the module in accordance with the discussion in fastify/fastify/issues/3733 .
This commit renames the module in accordance with the discussion in fastify/fastify/issues/3733 .
This commit renames the module in accordance with the discussion in fastify/fastify/issues/3733 .
* Rename Module This commit renames the module in accordance with the discussion in fastify/fastify/issues/3733 . * chore: update plugin name
The remaining list is officially done! |
Thank you for finishing the list @RafaelGSS. I feel bad that I got this thing started and then couldn't finish it. @fastify/plugins I have removed all of the non-scoped packages from the |
2022-05-07 remaining work:
The following list is hoisted from comment #3733 (comment)
Original post:
Issue
If we are going to deprecate
fastify-*
modules, as outlined in #3482 (comment), then I really need help with https://github.com/fastify/deprecate-modules.To start, I need help auditing https://github.com/fastify/deprecate-modules/blob/a7a87b05d129e04d7e36bd4f0eb07d479e2d7b6f/lib/modules.json to determine:
versionToPublish
will be the newfastify-*
version for the module. ThenewModule.version
will be the version published under@fastify/*
.Subsequent to that, I need help with the todo list in the readme. In particular, is there anything that needs to be done for TypeScript in the deprecated modules (look at the templates)? How should the templates be updated for ESM exports?
Once we have the deprecation portions written and tested, we need to work on adding script for:
package.json
with the new name and version for the new@fastify/*
packagesattn: @fastify/core
The text was updated successfully, but these errors were encountered: