Skip to content

Releases: stevenschobert/keylime

v1.0.0

29 Jan 20:07
Compare
Choose a tag to compare

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 use constructor.create() instead.

v0.4.1

14 Nov 23:43
Compare
Choose a tag to compare
  • Improved — Plugin functions now receive additional parameters passed to .use().

v0.4.0

14 Nov 23:23
Compare
Choose a tag to compare
  • 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(), and plugins().
  • Changed — Global plugins are now referenced by name through use(), instead of being automatically added to every Keylime class.

v0.3.0

13 Nov 23:28
Compare
Choose a tag to compare
  • New — Plugins can now be registered globally. See registerGlobal, deregisterGlobal, and registeredGlobals in the updated readme.

v0.2.1

09 Nov 05:50
Compare
Choose a tag to compare

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() or Model().

v0.2.0

03 Sep 06:33
Compare
Choose a tag to compare
  • Keylime classes now provide a .create() method as an alternative way to create instances. (#2)

v0.1.0

02 Sep 18:54
Compare
Choose a tag to compare
  • Initial release 🎉