Skip to content

Deprecating fastify-* modules #3733

@jsumners

Description

@jsumners

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:

  1. Is the list of modules correct
  2. Are the versions correct? versionToPublish will be the new fastify-* version for the module. The newModule.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:

  1. Updating GitHub repository information (rename the repo, update links in package.json, etc)
  2. Patching the package.json with the new name and version for the new @fastify/* packages

attn: @fastify/core

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions