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 - v1.5.4-beta.1

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

1.5.4-beta.1 (2021-07-02)

Bug Fixes

  • route matching for different patterns (7f09043)
next-api-decorators - v1.5.3

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

1.5.3 (2021-07-01)

Bug Fixes

next-api-decorators - v1.5.2

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

1.5.2 (2021-06-30)

Bug Fixes

  • use error stack to determine the directory (e30d672)
next-api-decorators - v1.5.2-beta.2

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

1.5.2-beta.2 (2021-06-30)

next-api-decorators - v1.5.2-beta.1

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

1.5.2-beta.1 (2021-06-30)

Bug Fixes

  • use error stack to determine the directory (e30d672)
next-api-decorators - v1.5.1

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

1.5.1 (2021-06-14)

Bug Fixes

  • docs: broken examples URL (73db5e6)
next-api-decorators - v1.5.0

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

1.5.0 (2021-06-14)

Bug Fixes

  • internal: async middleware execution & custom param decorator execution (be5ef28)

Features

  • catch decorator (361fdae)
  • examples: next-auth (567e26c)
  • createParamDecorator (1b9518b)
  • decorators: added warning to https methods when path-to-regexp is missing (d0e2b2e)
  • decorators: middleware decorators (15a2a67)
  • exceptions: payload too large exception (f553863)
  • internals: added checkPackage function (6b280b0)
  • log warnings when packages are missing (bda57f5)
next-api-decorators - v1.5.0-beta.14

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

1.5.0-beta.14 (2021-06-14)

Bug Fixes

  • peer dependency versions (16a609f)
next-api-decorators - v1.5.0-beta.13

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

1.5.0-beta.13 (2021-06-14)

Features

next-api-decorators - v1.4.7

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

1.4.7 (2021-06-14)

Bug Fixes

  • peer dependency versions (16a609f)
next-api-decorators - v1.4.6

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

1.4.6 (2021-06-09)

next-api-decorators - v1.4.5

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

1.4.5 (2021-06-09)

next-api-decorators - v1.4.4

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

1.4.4 (2021-06-08)

next-api-decorators - v1.5.0-beta.12

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

1.5.0-beta.12 (2021-06-07)

next-api-decorators - v1.5.0-beta.11

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

1.5.0-beta.11 (2021-05-31)

next-api-decorators - v1.5.0-beta.10

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

1.5.0-beta.10 (2021-05-24)

next-api-decorators - v1.5.0-beta.9

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

1.5.0-beta.9 (2021-05-22)

Bug Fixes

next-api-decorators - v1.4.3

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

1.4.3 (2021-05-21)

next-api-decorators - v1.5.0-beta.8

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

1.5.0-beta.8 (2021-05-21)

next-api-decorators - v1.5.0-beta.7

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

1.5.0-beta.7 (2021-05-10)