All notable changes to this project will be documented in this file.
This changelog started 2017-12-31 with version 1.1.0. Changes before this date are visible in the git log.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
Fill in changes for the next release, here.
1.1.5 - 2018-07-06
Trait.create(null, trait)
would fail if aTrait.required
property was not present and the prototype isnull
.
1.1.4 - 2018-04-23
- Use
"module"
in package.json to enable ES2015-aware tools like Rollup to take advantage of ES2015 module features.
1.1.3 - 2018-01-01
- Use
prepublish
instead ofpostinstall
npm hook, sincepostinstall
can only use direct dependencies and we need to use Rollup to create our UMD versions of traits.js.
1.1.2 - 2018-01-01
- Remove mkdir for dist folder since npm apparently wants to do that for us and re-creating a folder will throw an error.
1.1.1 - 2018-01-01
- Remove mkdirp as the module is not available on post-install and hence not working to create the dist folder - using normal mkdir instead.
1.1.0 - 2017-12-31
- Npm post-install hook now creates a dist/ directory with traits.js and traits.min.js. This allow for using the minified version through https://unpkg.com.
- Added changelog.
- Mention unpkg.com include option and fixed some formatting errors in markdown files.
- Npm main file no longer points to src/traits.js but to dist/traits.js. Since this is the unminified version, your module bundler can optimize the minification process according to your project.
- Updated dev dependencies. - qunit can not be updated to any version higher than 2.4.1 due to karma-qunit.
- Nodejs and Commonjs detection in traits.js.