Skip to content

Latest commit

 

History

History
86 lines (51 loc) · 2.58 KB

changelog.md

File metadata and controls

86 lines (51 loc) · 2.58 KB

Release History

key

Changelog entries are classified using the following labels from keep-a-changelog:

  • added: for new features
  • changed: for changes in existing functionality
  • deprecated: for once-stable features removed in upcoming releases
  • removed: for deprecated features removed in this release
  • fixed: for any bug fixes

Custom labels used in this changelog:

  • dependencies: bumps dependencies
  • housekeeping: 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!

[3.0.0]

Breaking changes

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

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 and super_ are non-enumberable

Added

  • 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

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 to debug)
  • .plugin, .use, and .define no longer emit events
  • .assertPlugin was removed
  • .lazy was removed