Skip to content

Releases: ianhco/cerces

Release 2.0.1-beta.8

01 Nov 19:31

Choose a tag to compare

v2.0.1-beta.8

feat: better errors on disallowed param names and type resolution on …

Release 2.0.1-beta.7

14 Oct 21:41

Choose a tag to compare

v2.0.1-beta.7

fix: query param api consistency

v2.0.1-beta.6

04 Oct 02:27

Choose a tag to compare

fix: force peer as hard deps

Release 2.0.1-beta.5

03 Oct 17:28

Choose a tag to compare

v2.0.1-beta.5

fix: actions npm publish

Release 1.2.1

16 Apr 20:58

Choose a tag to compare

Changes

  • minor adjustments to openapi security definition, now per route instead of global.

Release 1.2.0

10 Apr 02:40

Choose a tag to compare

Changes

Contains 3 new features (1 potentially breaking).


App.securitySchemes

App.security

Route.security

  • Now supports defining OpenAPI security schemes, allowing proper authentication definitions on schemas and interactive Authorize feature on Swagger. See Authentication.

Dependency Caching

  • Dependency handler responses will now be cached and reused during parameter resolution for requests, allowing that the same dependency if declared multiple times will execute once per request, reducing complexity. Marked as potentailly breaking because the caching could be unwanted behaviour, to disable caching, set useCache: false.

Schema Exclusion for Browser Enforced Headers

  • Some headers are ignored, or not sent by the browser due to security or protocol enforcement. These headers under normal circumstances should be excluded from the OpenAPI parameters schema, this does not affect route implementations. See Basic Parameters.

Release 1.1.5

05 Mar 21:07

Choose a tag to compare

Changes

  • fix: middleware not run if route not found.
  • fix: docs pages UI render does not request correct openapi.json if rootPath is provided.
  • fix: 405 method not found should return an allow header with available methods.
  • fix: cors middleware intercepting all options methods when not needed.

Release 1.1.3

25 Jan 19:40

Choose a tag to compare

Changes

  • bumped all 3 main dependency versions. Fixing #6
  • officially adding create-workery commands to docs. Closing #3
  • added support for multi-level apps middleware definition and auto merging. Closing #5

Release 1.1.2

07 Nov 15:38

Choose a tag to compare

Bug fixes:

  • path param not ignored in the default route summary in OpenAPI.

Release 1.1.1

07 Nov 04:05

Choose a tag to compare

New features:

  • Support for big app multi file structuring via Router class.
  • Support for app / router wide default response schemas.
  • Support for app / router wide OpenAPI tags and inclusion.
  • Root path now supports Cloudflare Workers route patterns.

Bug fixes:

  • Path "/" shows incorrectly on Swagger and OpenAPI document.
  • Dependency after-request hook Later was called even when a non response was thrown.
  • A few more internal non-critical bug fixes.

Test cases were increased to 75.