Releases: finom/seemple
Releases · finom/seemple
Matreshka v1.7.0
- Added method Matreshka.setProto which allows to set custom proto for
Matreshka
prototype. - Fixed bug: a node generated via untrimmed
itemRenderer
is always wrapping withspan
(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
- 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 ofSymbol(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 fromnull
instead ofObject
.- Removed undocumented features.
- Removed DOM polyfills (
addEventListener
andclassList
). - 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
andselectAll
. binders.file
didn't work correctly withinput[type="file"][multiple]
.Matreshka.Array#splice
: newly added objects wasn't converted toModel
.- Other minor fixes.
Matreshka v1.5.2
parseBindings
didn't work correctly with radio-buttons.- Update dev-dependencies.
Matreshka v1.5.1
- Restored
Symbol.iterator
forMK.Object
.
Matreshka v1.5.0
setOnInit
argument is replaced byeventOptions
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.
- Added
- 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
andmodify
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
- 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
- Default binder for output tag
visibility
binder is renamed to display to avoid confusion withvisibility
CSS property (older name still works)afterrender
event which is fired after zero timeout when DOM node is rendereditemRenderer
set allows to useforceRerender: 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
- Fixed bug:
modify
isn't fired and collection isn't rendered usingreverse
andsort
methods.
Matreshka v1.3.2
- Fixed Browserify issue ("Cannot find module 'matreshka'")
Matreshka v1.3.1
- Fixed importing bug when SystemJS builder is used.