Releases: stevenschobert/keylime
Releases · stevenschobert/keylime
v1.0.0
Version 1.0.0 has been completely re-written from the ground up. It takes the inspiration from the original release, and boils it down into a focused, stable library.
Stuff that's new:
- Speed (and lots of it) — constructors now create objects 10x faster than the original version.
- Major size reduction — the minified version is only ~9kb (down from ~19kb).
- Zero dependencies (the initial version depended on lodash).
- Full IE8 support (previously was only IE9 and up).
- Mixins — for shared behavior between objects (previously referred to as middleware).
- Extensions — for extending Keylime's syntax (previously referred to as plugins).
- Events — for hooking into the object creation cycle.
Stuff that's been removed:
- Attribute modifiers — extensions should be used instead to create special types of attributes.
- Inheritance APIs — mixins should be used instead to abstract common behavior.
- Constructors can't be called without the
new
keyword. You can useconstructor.create()
instead.
v0.4.1
- Improved — Plugin functions now receive additional parameters passed to
.use()
.
v0.4.0
- Improved — Optimized new instance creation methods to be faster.
- New — Added
classMethod
helper for creating "class-level" methods. - New — Added
classHelper
method for creating new chainable methods. Useful for plugins. - New — Added
attrInit
helper for listening to attribute creation on new instances. Useful for plugins. - Changed — Global plugin management has moved to
registerPlugin()
,unregisterPlugin()
, andplugins()
. - Changed — Global plugins are now referenced by name through
use()
, instead of being automatically added to every Keylime class.
v0.3.0
- New — Plugins can now be registered globally. See
registerGlobal
,deregisterGlobal
, andregisteredGlobals
in the updated readme.
v0.2.1
Browser & AMD/Require.js Support!
Keylime is now available in browser & amd/require.js flavors! Head over to the downloads section to get your hands on it!
- Changed - Removed runtime dependency on assert.
- Fixed - Class names are now correct when creating instances through
Model.create()
orModel()
.
v0.2.0
v0.1.0
- Initial release 🎉