next-api-decorators

Collection of decorators to create typed Next.js API routes, with easy request validation and transformation.

MIT License

Downloads
14.3K
Stars
415
Committers
11

Bot releases are visible (Hide)

next-api-decorators - v2.0.2 Latest Release

Published by github-actions[bot] over 1 year ago

2.0.2 (2023-02-26)

next-api-decorators - v2.0.1

Published by github-actions[bot] almost 2 years ago

2.0.1 (2023-01-14)

Bug Fixes

next-api-decorators - v2.0.1-beta.2

Published by github-actions[bot] almost 2 years ago

2.0.1-beta.2 (2022-10-20)

Bug Fixes

  • path separator on windows (89cf473)
next-api-decorators - v2.0.1-beta.1

Published by github-actions[bot] about 2 years ago

2.0.1-beta.1 (2022-10-16)

Bug Fixes

next-api-decorators - v2.0.0

Published by github-actions[bot] about 2 years ago

2.0.0 (2022-08-18)

Features

  • allow handlers to have extra methods (4ca8d32)

BREAKING CHANGES

  • HttpVerb enum renamed as HttpMethod per HTTP standards.
next-api-decorators - v2.0.0-beta.1

Published by github-actions[bot] about 2 years ago

2.0.0-beta.1 (2022-08-18)

Features

  • allow handlers to have extra methods (4ca8d32)

BREAKING CHANGES

  • HttpVerb enum renamed as HttpMethod per HTTP standards.
next-api-decorators - v1.8.3-beta.1

Published by github-actions[bot] about 2 years ago

1.8.3-beta.1 (2022-08-17)

next-api-decorators - v1.8.2

Published by github-actions[bot] over 2 years ago

1.8.2 (2022-06-24)

Bug Fixes

  • handle validation for types other than object (9d6f8a9)
next-api-decorators - v1.8.0-beta.3

Published by github-actions[bot] over 2 years ago

1.8.0-beta.3 (2022-06-22)

Bug Fixes

  • handle validation for types other than object (9d6f8a9)
next-api-decorators - v1.8.1

Published by github-actions[bot] over 2 years ago

1.8.1 (2022-06-16)

Bug Fixes

  • handle empty body validation (a0b85d7)
next-api-decorators - v1.8.0-beta.2

Published by github-actions[bot] over 2 years ago

1.8.0-beta.2 (2022-06-16)

Bug Fixes

  • handle empty body validation (a0b85d7)
next-api-decorators - v1.8.0

Published by github-actions[bot] over 2 years ago

1.8.0 (2022-06-15)

Features

  • ability to handle nextjs rewrites (b0b15bb)
next-api-decorators - v1.8.0-beta.1

Published by github-actions[bot] over 2 years ago

1.8.0-beta.1 (2022-06-15)

Bug Fixes

  • change route matching regexp to include hypens (822a393)

Features

  • ability to handle nextjs rewrites (b0b15bb)
next-api-decorators - v1.7.3

Published by github-actions[bot] over 2 years ago

1.7.3 (2022-06-15)

Bug Fixes

  • change route matching regexp to include hypens (822a393)
next-api-decorators - v1.7.2-beta.2

Published by github-actions[bot] over 2 years ago

1.7.2-beta.2 (2022-06-14)

Bug Fixes

  • change route matching regexp to include hypens (822a393)
next-api-decorators - v1.7.2

Published by github-actions[bot] over 2 years ago

1.7.2 (2022-02-05)

Bug Fixes

  • internals: split by line terminator in getCallerInfo (41713e4)
next-api-decorators - v1.7.2-beta.1

Published by github-actions[bot] over 2 years ago

1.7.2-beta.1 (2022-02-05)

Bug Fixes

  • internals: split by line terminator in getCallerInfo (41713e4)
next-api-decorators - v1.7.1-beta.2

Published by github-actions[bot] over 2 years ago

1.7.1-beta.2 (2022-02-05)

Bug Fixes

  • internals: split by line terminator in getCallerInfo (41713e4)
next-api-decorators - v1.7.1

Published by github-actions[bot] over 2 years ago

1.7.1 (2022-01-31)

Bug Fixes

  • getCallerInfo should evaluate the last paranthesis of the line (a4f4534)
next-api-decorators - v1.7.1-beta.1

Published by github-actions[bot] over 2 years ago

1.7.1-beta.1 (2022-01-31)

Bug Fixes

  • getCallerInfo should evaluate the last paranthesis of the line (a4f4534)