Skip to content

Releases: tibber/tibber-express-utils

v3.0.0

17 Dec 14:17
Compare
Choose a tag to compare

3.0.0 (2020-12-17)

Code Refactoring

  • jsonRouting(...) now accepts a single parameter object (d74906c)

Features

  • json router accepts a logger which is used to log all exceptions during request handling. (8028038)

BREAKING CHANGES

  • jsonRouting prototype changed.

v2.1.0

16 Dec 12:22
Compare
Choose a tag to compare

2.1.0 (2020-12-16)

Features

v2.0.1

11 Dec 15:20
Compare
Choose a tag to compare

2.0.1 (2020-12-11)

Bug Fixes

  • fix npm pack not publishing dist files (7837585)

v2.0.0

09 Dec 13:51
Compare
Choose a tag to compare

2.0.0 (2020-12-09)

Bug Fixes

  • jsonRequestHandlerResult does not support returning payload directly (2a45e62)

Code Refactoring

  • deprecate Errors factory class, use namespace instead to access class types (5bbfd0c)

Features

  • placehoder commit to bump semver (692ee99)

BREAKING CHANGES

  • Code that previously used 'Errors.(...)' must be updated to 'new
    Errors.'(...)
  • The existing override 'expressXXX' HTTP methods on 'express.Router' are no longer
    used, and the original HTTP methods (get, post etc) have been restored their pristine state in order
    to preserve the 'express.Router' API. Instead, Tibber's shorthand middleware functions are now
    available under the 'jsonXXX' naming convention.