fastify-plugin is a helper module for Fastify that wraps plugin functions to support shared plugin context (instead of using the skip-override hidden property) and can attach plugin metadata. It also lets you declare the minimum Fastify version, validate dependency graphs (by plugin and decorator dependencies), and optionally keep a plugin encapsulated.
A status summary will appear after the next weekly refresh.
Recent updates
v6.0.0
v6.0.0 standardizes the package entry points and refactors the TypeScript type-testing setup from tsd to tstyche. It also bumps several dev/build dependencies and updates CI workflows (including adding concurrency controls and a scheduled lock-threads workflow).
Breakingv5.1.0
Release v5.1.0 refactors `lib/getPluginName` stack trace parsing slightly, and updates repository development tooling and metadata. It also bumps several dev dependencies (including `neostandard`, `tsd`, and `@types/node`), adjusts CI workflow settings, and adds `.npmrc` configuration to ignore scripts.
v5.0.1
v5.0.1 primarily updates the repository test tooling, migrating from TAP to Node's built-in test runner and adding c8 for coverage. It also updates the development Fastify dependency from an alpha version to the stable ^5.0.0 line.