Skip to content

v4.0.0

Choose a tag to compare

@junglebarry junglebarry released this 21 Jun 13:56
· 182 commits to main since this release
87fd05c

4.0.0 (2022-06-21)

BREAKING CHANGES

  • build output now in lib/cjs or lib/mjs. Typescript defaults to CommonJS, and was not picking up ESM properly.

  • fix: use standard style for test entity initialisation

  • chore: update typescript to 4.7

  • chore: target es2022

  • fix: use readonly property assignment in examples

  • fix!: Update the constructor assignment tests to reflect that it no longer works

  • with v3 the constructor assignment was unreliable, so deprecated; now we explicitly test that the behaviour is broken

  • fix!: ensure constructor assignment respects existing readonly-property or prototype property