Changelog entries are classified using the following labels from keep-a-changelog:
added: for new featureschanged: for changes in existing functionalitydeprecated: for once-stable features removed in upcoming releasesremoved: for deprecated features removed in this releasefixed: for any bug fixes
Custom labels used in this changelog:
dependencies: bumps dependencieshousekeeping: code re-organization, minor edits, or other changes that don't fit in one of the other categories.
Heads up!
Please let us know if any of the following heading links are broken. Thanks!
Breaking changes
- Methods no longer set values on the root of the instance. By default,
.get,.get,.has,.deland other method use thebase.cacheobject. This can be customized by doingnew Base.create('foo')wherefoois the property name to use for the cache.
Fixed
- Removed a check for function name in the
.usemethod. This could cause plugins to not get registered.
Changed
- Removed static
.runmethod since it's unnecessary (i.e. if you have the instance, you can just use.use) - adds support for passing arrays of functions to
.usemethod
First major release!
Changed
- Refactored to use ES class
Fixed
- ensure
__callbacksandsuper_are non-enumberable
Added
- Now sets
app.typewhenapp.is('foo')is called. This allows Base instances to be used more like AST nodes, which is especially helpful with smart plugins
Changed
- Static
.useand.runmethods are now non-enumerable
Changed
.isno longer takes a function, a string must be passed- all remaining
.debugcode has been removed app._namespacewas removed (related todebug).plugin,.use, and.defineno longer emit events.assertPluginwas removed.lazywas removed