• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Change Log
2
3All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
5<a name="5.0.1"></a>
6## [5.0.1](https://github.com/zkat/protoduck/compare/v5.0.0...v5.0.1) (2018-10-26)
7
8
9### Bug Fixes
10
11* **security:** npm audit fix ([55a2007](https://github.com/zkat/protoduck/commit/55a2007))
12* **standard:** standard --fix ([2dedbb8](https://github.com/zkat/protoduck/commit/2dedbb8))
13
14
15
16<a name="5.0.0"></a>
17# [5.0.0](https://github.com/zkat/protoduck/compare/v4.0.0...v5.0.0) (2017-12-12)
18
19
20### Bug Fixes
21
22* **license:** relicense to MIT ([55cdd89](https://github.com/zkat/protoduck/commit/55cdd89))
23* **platforms:** drop support for node 4 and 7 ([07a19b1](https://github.com/zkat/protoduck/commit/07a19b1))
24
25
26### BREAKING CHANGES
27
28* **platforms:** node 4 and node 7 are no longer officially supported
29* **license:** license changed from CC0-1.0 to MIT
30
31
32
33<a name="4.0.0"></a>
34# [4.0.0](https://github.com/zkat/protoduck/compare/v3.3.2...v4.0.0) (2017-04-17)
35
36
37### Bug Fixes
38
39* **test:** .name is inconsistently available ([3483f4a](https://github.com/zkat/protoduck/commit/3483f4a))
40
41
42### Features
43
44* **api:** Fresh New API™ ([#2](https://github.com/zkat/protoduck/issues/2)) ([534e5cf](https://github.com/zkat/protoduck/commit/534e5cf))
45* **constraints:** added optional where-constraints ([16ad124](https://github.com/zkat/protoduck/commit/16ad124))
46* **defaults:** allow default impls without arrays in defs ([6cf7d84](https://github.com/zkat/protoduck/commit/6cf7d84))
47* **deps:** use genfun[@4](https://github.com/4) ([f6810a7](https://github.com/zkat/protoduck/commit/f6810a7))
48* **meta:** bringing project stuff up to date ([61791da](https://github.com/zkat/protoduck/commit/61791da))
49
50
51### BREAKING CHANGES
52
53* **api:** The API was significantly overhauled.
54
55* New protocol creating is now through protoduck.define() instead of protoduck()
56* Implementations are through Duck#impl instead of Duck(...)
57* The `private` option was removed
58* Static protocols were removed -- only method-style protocols are available now.
59* As part of that: the target argument to impl can no longer be omitted
60* The main export object is now the metaobject. protoduck.impl can be used to extend to MOP
61* .isDerivable is now a property on Duck instances, not a static method
62* .hasImpl is now a method on Duck instances, not a static method
63* Protoduck will now genfunnify existing functions as default methods for genfuns declared in a protocol when implementing
64* Error messages have been overhauled to be more helpful
65* **deps:** nextMethod is now an extra argument to methods
66* **meta:** node@<4 is no longer supported
67