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.4.2

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

1.4.2 (2021-05-03)

Bug Fixes

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

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

1.5.0-beta.6 (2021-05-03)

Bug Fixes

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

Features

  • createParamDecorator (1b9518b)
  • decorators: middleware decorators (15a2a67)
  • exceptions: payload too large exception (f553863)
next-api-decorators - v1.5.0-beta.5

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

1.5.0-beta.5 (2021-05-03)

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

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

1.5.0-beta.4 (2021-05-03)

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

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

1.5.0-beta.3 (2021-05-03)

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

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

1.5.0-beta.2 (2021-04-29)

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

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

1.5.0-beta.1 (2021-04-27)

Features

  • decorators: added warning to https methods when path-to-regexp is missing (d0e2b2e)
  • internals: added checkPackage function (6b280b0)
  • log warnings when packages are missing (bda57f5)
next-api-decorators - v1.4.1-beta.6

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

1.4.1-beta.6 (2021-04-19)

next-api-decorators - v1.4.1-beta.5

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

1.4.1-beta.5 (2021-04-12)

next-api-decorators - v1.4.1-beta.4

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

1.4.1-beta.4 (2021-04-12)

next-api-decorators - v1.4.1-beta.3

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

1.4.1-beta.3 (2021-04-12)

next-api-decorators - v1.4.1-beta.2

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

1.4.1-beta.2 (2021-04-12)

next-api-decorators - v1.4.1

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

1.4.1 (2021-04-12)

Bug Fixes

  • ci: use single bracket in verify step (45e8be6)
  • set types build root dir to lib (b8cd189)
next-api-decorators - v1.4.1-beta.1

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

1.4.1-beta.1 (2021-04-12)

Bug Fixes

  • ci: use single bracket in verify step (45e8be6)
  • set types build root dir to lib (b8cd189)
next-api-decorators - v1.4.0-beta.13

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

1.4.0-beta.13 (2021-04-12)

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

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

1.4.0-beta.12 (2021-04-12)

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

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

1.4.0-beta.11 (2021-04-12)

Bug Fixes

  • ci: use single bracket in verify step (45e8be6)
next-api-decorators - v1.4.0-beta.10

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

1.4.0-beta.10 (2021-04-12)

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

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

1.4.0-beta.9 (2021-04-12)

Bug Fixes

  • set types build root dir to lib (b8cd189)
next-api-decorators - v1.4.0

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

1.4.0 (2021-04-10)

Bug Fixes

  • internals: added missing import (23f7976)
  • add "params" property to NextApiRequest (3ad42d5)

Features

  • decorators: add Download decorator (2931656)
  • add fn to get params (7647fa0)
  • param decoder (c4053f0)
  • route finder (8ad7ecb)
  • decorators: add Param decorator (b96def5)
  • pipes: default value pipe (2de6004)
  • setup: added example directory WIP (a4fac69)