next-api-decorators
next-api-decorators copied to clipboard
v2
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:
.
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.
:tada: This PR is included in version 2.0.0-beta.1 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
:tada: This PR is included in version 2.0.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket: