🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

next-rest-framework

Package Overview
Dependencies
Maintainers
1
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

next-rest-framework - npm Package Versions

1
5679

0.3.6

Diff
blomqma
published 0.3.6 •

Changelog

Source

0.3.6 - 2023-03-08

Fixed

  • Fix a bug that prevented nested API routes from being included into the OpenAPI spec.
blomqma
published 0.3.5 •

Changelog

Source

0.3.5 - 2023-02-21

Fixed

  • Fix content type header bug by removing the content type header parameters from the header validation logic. This caused e.g. form data requests to fail at runtime.
blomqma
published 0.3.4 •

Changelog

Source

0.3.4 - 2023-02-20

Fixed

  • Fix Zod/Yup typings so that both of those dependencies are no longer needed for using the framework.
blomqma
published 0.3.3 •

Changelog

Source

0.3.3 - 2023-02-20

Fixed

  • This fixes some compability issues with user-defined API routes that are not using Next REST Framework. There was a bug in the API route path matching where the comparison to the reserved paths was not exact, making some user-defined API routes to be completely skipped in some cases.
  • Other fix here is that the instrumentation requests are now aborted after 200ms in case the user-defined APIs do not respond in that time.
blomqma
published 0.3.2 •

Changelog

Source

0.3.2 - 2023-02-20

Added

  • Add support for projects using a src folder with a new config option called apiRoutesPath.
blomqma
published 0.3.1 •

Changelog

Source

0.3.1 - 2023-01-23

Changed

  • Change miscellaneous copyright texts and contact emails.
blomqma
published 0.3.0 •

Changelog

Source

0.3.0 - 2023-01-15

Added

  • Added support for typed query parameters. This changes the input object API by renaming the schema attribute to body and adding a query attribute that can be used to type and validate query parameters for endpoints.
blomqma
published 0.2.3 •

Changelog

Source

0.2.3 - 2023-01-09

Fixed

  • Fixed an issue when using multiple output objects with different types - now the output types are combined with a union type to allow multiple different outputs.
blomqma
published 0.2.2 •

Changelog

Source

0.2.2 - 2023-01-09

Fixed

Fix documentation on readme included with the NPM package.

blomqma
published 0.2.1 •

Changelog

Source

0.2.1 - 2023-01-07

Changed

  • Changed the Swagger UI layout by adding a custom navbar and footer components.
  • Changed the include Swagger UI by loading the assets from unpkg CDN and significantly reducing the bundle size.