Releases: final-hill/decorator-contracts
Releases · final-hill/decorator-contracts
v0.21.1
v0.21.0
- 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
v0.20.4
v0.20.3
v0.20.2
v0.20.1
v0.20.0
- 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
- 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