Skip to content

Latest commit

 

History

History
54 lines (41 loc) · 2.37 KB

CHANGELOG.md

File metadata and controls

54 lines (41 loc) · 2.37 KB

Changelog

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.

[Unreleased]

Fill in changes for the next release, here.

1.1.5 - 2018-07-06

Fixed

  • Trait.create(null, trait) would fail if a Trait.required property was not present and the prototype is null.

1.1.4 - 2018-04-23

Fixed

  • 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

Fixed

  • Use prepublish instead of postinstall npm hook, since postinstall 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

Fixed

  • 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

Fixed

  • 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

Added

  • 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.

Changed

  • 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.

Removed

  • Nodejs and Commonjs detection in traits.js.