Skip to content

Releases: finom/seemple

Matreshka v1.7.0

13 Feb 12:37
Compare
Choose a tag to compare
  • Added method Matreshka.setProto which allows to set custom proto for Matreshka prototype.
  • Fixed bug: a node generated via untrimmed itemRenderer is always wrapping with span (in case if jQuery is used).
  • Fixed bug: Matreshka#select returns empty collection instead of null if wrong type arg is passed.
  • Better coverage (+1.5%).

Matreshka v1.6.0

01 Feb 16:49
Compare
Choose a tag to compare
  • The new method for Matreshka.Array: Matreshka.Array#orderBy.
  • The new static method for sorting of any array-like objects Matreshka.orderBy
  • Get rid of Internet Explorer 8 support.
  • one method for bQuery, which returns the first found element.
  • The WeakMap is used insead of Symbol(matreshka) for association between objects and service data (events etc).
  • itemRenderer uses cache (doesn't parse HTML every time).
  • bQuery is rewritten.
  • Class is rewritten. Now it can inherit symbolic properties and classes are inherited from null instead of Object.
  • Removed undocumented features.
  • Removed DOM polyfills (addEventListener and classList).
  • If classes are used without new, an exception is thrown.
  • More tests (92% coverage).
  • Bug fixes:
    • Zepto isn't worked as main DOM library.
    • Child selector didn't work in select and selectAll.
    • binders.file didn't work correctly with input[type="file"][multiple].
    • Matreshka.Array#splice: newly added objects wasn't converted to Model.
    • Other minor fixes.

Matreshka v1.5.2

08 Jan 13:54
Compare
Choose a tag to compare
  • parseBindings didn't work correctly with radio-buttons.
  • Update dev-dependencies.

Matreshka v1.5.1

29 Dec 17:00
Compare
Choose a tag to compare
  • Restored Symbol.iterator for MK.Object.

Matreshka v1.5.0

25 Dec 11:42
Compare
Choose a tag to compare
  • setOnInit argument is replaced by eventOptions object in Matreshka#linkProps (older syntax still works). Look at the renewed documentation for this method.
    • Allowed to pass special flags or custom data to a property change handler.
    • Added debounce flag which optimizes multiple changes of source properties.
    • Added setOnInit flag.
  • The list of supported flags for Matreshka#bindNode is extended.
    • Added debounce flag which optimizes DOM handling.
    • Fixed issue #26 via deep: false flag which turns on ignoring of dots in a property name.
  • The new method Matreshka.deepFind.
  • The new method Matreshka#bindSandbox
  • Change default brackets for Matreshka#parseBindings via Matreshka.parserBrackets
  • When data key is removed from Matreshka.Object the remove and modify events are triggered.
  • Balalaika is renamed to bQuery because 90% of original code has been rewritten.
  • Improved performance of rendering when Matreshka.Array#splice is used.
  • If non-function and non-null is passed as Matreshka.Array#Model throw error.
  • Fixed bug: Matreshka.Array#Model constructor got wrong index in some cases.

Matreshka v1.4.1

01 Dec 19:12
Compare
Choose a tag to compare
  • Class function accepts static methods as third argument
  • Matreshka.Array#Model accepts index as third argument
  • Classes used in Matreshka#setClassFor accept key as third argument
  • Matreshka#bound and Matreshka#$bound accept path to the key (eg a.b.c.d)
  • Matreshka.binders.file throws clear exception if FileReader isn't supported by browser
  • Improved Balalaika performance
  • Fixed bug: Matreshka.Array culdn't force rerender native objects
  • Fixed bug: Matreshka.Array couldn't move item sandbox across collections
  • Allow to remove delegated DOM events via Matreshka#off
  • Don't use custom logic for delegated DOM events if jQuery is used
  • Everything about delegated DOM events is moved to Balalaika
  • Fixed bugs for nodejs (you couldn't use Matreshka before)

Matreshka v1.4.0

06 Nov 13:37
Compare
Choose a tag to compare
  • Default binder for output tag
  • visibility binder is renamed to display to avoid confusion with visibility CSS property (older name still works)
  • afterrender event which is fired after zero timeout when DOM node is rendered
  • itemRenderer set allows to use forceRerender: false flag
  • trigger method allows to fire real DOM events (eg "click::x(.selector)")
  • Opera 11.6+ and Firefox 8+ support
  • pull method is optimized
  • Fixed DOM event removal issue using off method
  • Closed #19
  • Fixed bug in dataset binder for Internet Explorer
  • All binders are tested
  • Other minor fixes

Matreshka v1.3.3

25 Oct 09:44
Compare
Choose a tag to compare
  • Fixed bug: modify isn't fired and collection isn't rendered using reverse and sort methods.

Matreshka v1.3.2

09 Oct 08:26
Compare
Choose a tag to compare
  • Fixed Browserify issue ("Cannot find module 'matreshka'")

Matreshka v1.3.1

07 Oct 16:22
Compare
Choose a tag to compare
  • Fixed importing bug when SystemJS builder is used.