next-api-decorators icon indicating copy to clipboard operation
next-api-decorators copied to clipboard

v2

Open ggurkal opened this issue 2 years ago • 1 comments

This PR introduces a breaking change, therefore the next release will be v2.

The breaking change is renaming HttpVerb with HttpMethod per HTTP standards.

The PR also contains the feature of assigning extra methods on handlers (e.g: for CORS @Post({ extraMethods: [HttpMethod.OPTIONS] })) and little rebranding on Symbol tokens, replacing ams: with instant:.

ggurkal avatar Aug 17 '22 21:08 ggurkal

Codecov Report

Merging #467 (653a4c9) into beta (374eb1d) will not change coverage. The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              beta      #467   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           46        46           
  Lines          584       600   +16     
  Branches       164       165    +1     
=========================================
+ Hits           584       600   +16     
Impacted Files Coverage Δ
lib/decorators/catch.decorator.ts 100.00% <100.00%> (ø)
lib/decorators/download.decorator.ts 100.00% <100.00%> (ø)
lib/decorators/httpCode.decorator.ts 100.00% <100.00%> (ø)
lib/decorators/httpMethod.decorators.ts 100.00% <100.00%> (ø)
lib/decorators/middleware.decorators.ts 100.00% <100.00%> (ø)
lib/decorators/parameter.decorators.ts 100.00% <100.00%> (ø)
lib/decorators/setHeader.decorator.ts 100.00% <100.00%> (ø)
lib/index.ts 100.00% <100.00%> (ø)
lib/internals/findRoute.ts 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

codecov[bot] avatar Aug 17 '22 21:08 codecov[bot]

:tada: This PR is included in version 2.0.0-beta.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

github-actions[bot] avatar Aug 18 '22 21:08 github-actions[bot]

:tada: This PR is included in version 2.0.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

github-actions[bot] avatar Aug 18 '22 21:08 github-actions[bot]