Skip to content

Releases: asd-xiv/blocks

v6.0.0

01 Oct 10:23
Compare
Choose a tag to compare

6.0.0 (2022-10-01)

⚠ BREAKING CHANGES

  • support node v16 and v18, drop v14 (#9)

Features

  • support node v16 and v18, drop v14 (#9) (3898812)

v5.0.0

19 May 07:10
Compare
Choose a tag to compare

5.0.0 (2022-05-19)

⚠ BREAKING CHANGES

  • @asd14/blocks is now ESM only and requires node
    ^14.13.1 || >=16.0.0

  • feat: update package to ESM

  • @asd14/blocks is now ESM only and requires node
    ^14.13.1 || >=16.0.0

  • chore: format

  • chore: fix CHANGELOG.md typo

Co-authored-by: David Gil [email protected]

  • fix: remove prepare step from package.json to avoid messing up with the consuming repo's environment

Co-authored-by: David Gil [email protected]

Features

v4.1.1

19 Feb 09:38
Compare
Choose a tag to compare

4.1.1 (2021-02-19)

Bug Fixes

v4.1.0

29 Jan 10:48
Compare
Choose a tag to compare

4.1.0 (2021-01-29)

Features

  • Validation - Update ajv and added custom data formats (9ab8b93)

v4.0.0

19 Jan 18:31
Compare
Choose a tag to compare

4.0.0 (2021-01-19)

Bug Fixes

  • Errors - AuthorizationError and AuthenticationError have the same signature as InputError and NotFoundError. (325602f)

BREAKING CHANGES

  • Sync all errors to the same signature:
// old
throw new NotFoundError(message, details)
throw new InputError(message, details)
throw new AuthorizationError({message, details})
throw new AuthenticationError({message, details})

// new
throw new NotFoundError(message, details)
throw new InputError(message, details)
throw new AuthorizationError(message, details)
throw new AuthenticationError(message, details)

v3.15.0

09 Dec 16:44
Compare
Choose a tag to compare

3.15.0 (2020-12-09)

Features

  • Explicitly setting response charset (8340895)

v3.14.0

26 Nov 17:26
Compare
Choose a tag to compare

3.14.0 (2020-11-26)

Features

  • On error, call the Error Plugin with req and res payloads (2793e0c)

v3.13.0

05 Nov 09:57
Compare
Choose a tag to compare

3.13.0 (2020-11-05)

Features

  • If ErrorPlugin is present, run it's error method on error (d90db4a)

v3.12.1

28 Oct 22:20
Compare
Choose a tag to compare

3.12.1 (2020-10-28)

Bug Fixes

  • Dont wait for "data" event if .body is already parsed (98f3fbf)

v3.12.0

27 Oct 10:52
Compare
Choose a tag to compare

3.12.0 (2020-10-27)

Bug Fixes

  • Remove deprecated helmet config flags. Needs further update. (88e396e)

Features