Skip to content

Releases: herbsjs/herbs2rest

v3.1.1

21 Aug 22:59
Compare
Choose a tag to compare

3.1.1 (2022-08-21)

Bug Fixes

  • fix generation route without entity or entity without id (a4de657)

v3.1.0

16 Aug 15:07
Compare
Choose a tag to compare

3.1.0 (2022-08-16)

Bug Fixes

  • herbs: update herbarium version (f31373c)

Features

  • herbs2rest: using Herbarium to create REST endpoints (c97fa52), closes #22

v3.0.2

11 Jul 20:32
Compare
Choose a tag to compare

3.0.2 (2022-07-11)

Bug Fixes

  • req2request: fix cast for Boolean and Date (c4d0388)

v3.0.1

29 Jun 23:11
Compare
Choose a tag to compare

3.0.1 (2022-06-29)

Bug Fixes

  • route: fix generate route based on a entity (19b3fce)

v3.0.0

27 Jun 21:26
Compare
Choose a tag to compare

3.0.0 (2022-06-27)

Features

  • generateroutes.js (test): update generate routes test (ea44229)
  • generateroutes.js: generate route param name dinamically with entity's id field name (8f35fa4)

BREAKING CHANGES

  • generateroutes.js: We need a route's property entity to be passed as a parameter

v2.0.2

08 Jun 14:44
Compare
Choose a tag to compare

2.0.2 (2022-06-08)

Bug Fixes

  • add peerDependencies and update dependencies (2cfcda9)

v2.0.1

15 Jan 16:16
Compare
Choose a tag to compare

2.0.1 (2022-01-15)

Bug Fixes

  • update herbs dependencie (fa75a88)

v2.0.0

04 Dec 14:10
Compare
Choose a tag to compare

2.0.0 (2021-12-04)

Bug Fixes

  • default controller: lint fix (e14beb8)

Features

  • default controller: better HTTP Status Code using Herbs Known Errors (d87d59b), closes #17

BREAKING CHANGES

  • default controller: Step code using generic Err should work just fine. However, steps core that are
    already returning Known Errors will change the behavior of the default controller and should expect
    to see a different HTTP status returned.

v1.0.0

23 Jun 13:56
Compare
Choose a tag to compare

1.0.0 (2021-06-23)

Features

  • change library to herbs organization (f185c26)