Skip to content

Releases: final-hill/decorator-contracts

v0.21.1

19 Jul 15:41
Compare
Choose a tag to compare
  • Audit fix of dependencies
  • Updated dependencies
  • Upgraded implementation to TypeScript 4.3.5

v0.21.0

16 May 22:05
00633cc
Compare
Choose a tag to compare
  • Audit fix of dependencies
  • Updated dependencies
  • Added support for contracting an abstract class
  • Fixed bug #210 for supporting subcontract private fields
  • Added within feature for declaring timing requirements
  • Updated documentation
  • Third party features are subject to a class's invariant when apply/call is used
  • A contracted feature can not be applied to objects of a different base class
  • Subcontract extends are now enforced
  • Updated retry type declaration to support accessors.

v0.20.5

02 May 06:47
7721942
Compare
Choose a tag to compare
  • Features named with a symbol now support @override

v0.20.4

02 May 04:37
f84e8c6
Compare
Choose a tag to compare
  • Improved error messaging with @override when feature is missing
  • Fixed source code typos

v0.20.3

28 Apr 17:04
fd8a52e
Compare
Choose a tag to compare

v0.20.2

25 Apr 22:34
5c715d1
Compare
Choose a tag to compare
  • Additional usability fix for #197
  • Updated README

v0.20.1

25 Apr 21:47
d1f4219
Compare
Choose a tag to compare

v0.20.0

23 Apr 01:11
b796f76
Compare
Choose a tag to compare
  • Updated license headers to reference Final Hill LLC
  • BREAKING CHANGE: contracts now managed separate from the class
  • Rewrote README to reflect the new architecture
  • Updated dependencies
  • Merged jest.config.js into package.json
  • Updated linting rules
  • Moved unit tests to separate folder
  • Public property definitions are now illegal
  • Fixed package.json debug command
  • Bugfix of invariant inheritance

v0.19.0

10 Dec 20:51
63e9569
Compare
Choose a tag to compare
  • Updated README to include unpkg reference
  • Enabled sourcemaps
  • npm audit fix
  • Updated dependencies
  • Linting fixes
  • Updated contact info in README and package.json
  • BREAKING CHANGE: Decorators now accept arrow functions instead of traditional functions. The first parameter is self.
  • BREAKING CHANGE: @ensures now provides old as a parameter to access instance property values before feature execution

v0.18.1

09 Jun 18:57
86bea91
Compare
Choose a tag to compare
  • Fixed webpack configuration issue