Skip to content
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

[1.10.0] deprecate route exclude, add disabled #6

Merged
merged 7 commits into from
May 6, 2023

Conversation

KirillTregubov
Copy link
Contributor

  • deprecates the route exclude API, which used { schema: { response: false, body: false, params: false } } to disable validation of specific schemas for a given route
  • adds support for the { schema: { disabled: ['response', 'body', 'params'] } } API, which replaces and deprecates the old route excludes
    • Due to recent Fastify changes, the old specification would produce errors and warnings during route registration
  • removes required API, which was deprecated last release
  • changes errors and warnings to include FastifyEnforceSchema tag
  • adds tests to cover changes
  • updates README
  • upgrades dependencies to latest versions
  • bumps version to 1.10.0
  • adds my information to "contributors" in package.json

@agjs agjs self-requested a review May 6, 2023 18:48
@agjs agjs merged commit 420dedb into Programmer-Network:main May 6, 2023
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.

None yet

2 participants