- remove deprecated
ldView - only update one of module or window
- remove
setContext()andsetCtx(), in favor ofctx().
- fix bug: ctxs in ctx of nested view isn't correct
- fix bug: ldview.merge doesn't work correctly when field to merge is false after converting to boolean
- support Promise with render
- support ctx in nested view with parameters as handlers
- remove @loadingio/ldquery dependency
- upgrade dependencies
- fix typo in pug mixin
scope
- add
mergeclass api - support multiple configuration in constructor arguments.
- fix bug:
''treated as undefined and thus can't be mapped to a node, causing node not found issue.
- fix bug: incorrect variable used in checking
consumed.
- fix bug: duplicated keys in
ld-eachlistmay leave orphan nodes undeleted. - npm audit fix
- by default update ctx via functional ctx before rendering
- remove unnecessary log
- fix bug: subview rendering should update
ctxs - add internal
ctxsapi for updatingctxs - upgrade dependencies
- support functional
ctxparameter for returning customized context especially useful for nested views.
- fix bug:
ctx()should test argument's existence witharguments.length
- add
ctx()function to replacesetCtx().
- fix bug: proc-each should return Promise, instead of list of Promises
- fix bug: ensure correct initialization order by waiting for init Promise to resolve before render when
init-renderis enabled. - fix bug: nested view initialization should return Promise returned by its own init function call.
- support promise in
init( but not yet support render after init resolve ) - add
view.init
- upgrade dev modules
- release with compact directory structure
- use minimized dist file as main / browser default file
- further minimize minimized file
- upgrade modules
- fix bug: nested ld-eachs are not proper scoped.
- to proper fix this we may need a breaking changes with upgraded ldquery dependency.
- we workaround this for now and expect to remove the workaround in next major release.
- fix bug ( caused by 0.2.5 ): context for nested views from ld-each doesn't updated by its data
- dont insert ld-each comment if host provided since we don't need pivot from comment.
- support nested local view
- support virtual container
- fix main entry point file name
- add
templateto support recursive views - prevent internal view from overwriting options provided by ldview logic
- support refering to view root with name
@. - support multiple arguments in
renderfunction.
- only check direct parent instead of ancestor to verify if ld-each node has been processed.
- fix bug: ldview is not in window
- add
ctxsfor nested views. - add
ctxascontextshorthand. deprecatecontextand expect it to be removed in future major update. - add
viewsfor nested views. views are passed withbaseViewsoption. - tweak building script and output file names / paths
- generate with
--no-headerand wrap code with -p in livescript compilation.
- add
attrandstyledirective. - add
viewdirective for nested view forld-each.