Skip to content

v1.0.0

Latest
Compare
Choose a tag to compare
@stevenschobert stevenschobert released this 29 Jan 20:07
· 5 commits to master since this release

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.