UNPKG

2.64 kBMarkdownView Raw
1# Release History
2
3## key
4
5Changelog entries are classified using the following labels from [keep-a-changelog][]:
6
7* `added`: for new features
8* `changed`: for changes in existing functionality
9* `deprecated`: for once-stable features removed in upcoming releases
10* `removed`: for deprecated features removed in this release
11* `fixed`: for any bug fixes
12
13Custom labels used in this changelog:
14
15* `dependencies`: bumps dependencies
16* `housekeeping`: code re-organization, minor edits, or other changes that don't fit in one of the other categories.
17
18**Heads up!**
19
20Please [let us know](../../issues) if any of the following heading links are broken. Thanks!
21
22## [3.0.0]
23
24**Breaking changes**
25
26- Methods no longer set values on the root of the instance. By default, `.get`, `.get`, `.has`, `.del` and other method use the `base.cache` object. This can be customized by doing `new Base.create('foo')` where `foo` is the property name to use for the cache.
27
28## [2.0.2]
29
30**Fixed**
31
32- Removed a check for function name in the `.use` method. This could cause plugins to not get registered.
33
34## [2.0.0]
35
36**Changed**
37
38- Removed _static_ `.run` method since it's unnecessary (i.e. if you have the instance, you can just use `.use`)
39- adds support for passing arrays of functions to `.use` method
40
41## [1.0.0]
42
43First major release!
44
45**Changed**
46
47- Refactored to use ES class
48
49## [0.12.0]
50
51**Fixed**
52
53- ensure `__callbacks` and `super_` are non-enumberable
54
55**Added**
56
57- Now sets `app.type` when `app.is('foo')` is called. This allows Base instances to be used more like AST nodes, which is especially helpful with [smart plugins](https://github.com/node-base/base-plugins)
58
59## [0.11.0]
60
61**Changed**
62
63- Static `.use` and `.run` methods are now non-enumerable
64
65## [0.9.0](https://github.com/node-base/base/compare/0.8.0...0.9.0)
66
67**Changed**
68
69- `.is` no longer takes a function, a string must be passed
70- all remaining `.debug` code has been removed
71- `app._namespace` was removed (related to `debug`)
72- `.plugin`, `.use`, and `.define` no longer emit events
73- `.assertPlugin` was removed
74- `.lazy` was removed
75
76
77[2.0.2]: https://github.com/node-base/base/compare/1.0.0...2.0.2
78[2.0.0]: https://github.com/node-base/base/compare/1.0.0...2.0.0
79[1.0.0]: https://github.com/node-base/base/compare/0.13.2...1.0.0
80[0.12.0]: https://github.com/node-base/base/compare/0.11.1...0.12.0
81[0.11.0]: https://github.com/node-base/base/compare/0.10.0...0.11.0
82[0.9.0]: https://github.com/node-base/base/compare/0.8.1...0.9.0
83
84[Unreleased]: https://github.com/node-base/base/compare/0.1.1...HEAD
85[keep-a-changelog]: https://github.com/olivierlacan/keep-a-changelog
86