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
,.del
and other method use thebase.cache
object. This can be customized by doingnew Base.create('foo')
wherefoo
is the property name to use for the cache.
Fixed
- Removed a check for function name in the
.use
method. This could cause plugins to not get registered.
Changed
- Removed static
.run
method since it's unnecessary (i.e. if you have the instance, you can just use.use
) - adds support for passing arrays of functions to
.use
method
First major release!
Changed
- Refactored to use ES class
Fixed
- ensure
__callbacks
andsuper_
are non-enumberable
Added
- Now sets
app.type
whenapp.is('foo')
is called. This allows Base instances to be used more like AST nodes, which is especially helpful with smart plugins
Changed
- Static
.use
and.run
methods are now non-enumerable
Changed
.is
no longer takes a function, a string must be passed- all remaining
.debug
code has been removed app._namespace
was removed (related todebug
).plugin
,.use
, and.define
no longer emit events.assertPlugin
was removed.lazy
was removed