- remove deprecated
ldView
- only update one of module or window
- remove
setContext()
andsetCtx()
, in favor ofctx()
.
- add
merge
class 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-each
list
may 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
ctxs
api for updatingctxs
- upgrade dependencies
- support functional
ctx
parameter 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-render
is 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
template
to support recursive views - prevent internal view from overwriting options provided by ldview logic
- support refering to view root with name
@
. - support multiple arguments in
render
function.
- only check direct parent instead of ancestor to verify if ld-each node has been processed.
- fix bug: ldview is not in window
- add
ctxs
for nested views. - add
ctx
ascontext
shorthand. deprecatecontext
and expect it to be removed in future major update. - add
views
for nested views. views are passed withbaseViews
option. - tweak building script and output file names / paths
- generate with
--no-header
and wrap code with -p in livescript compilation.
- add
attr
andstyle
directive. - add
view
directive for nested view forld-each
.