Skip to content

Releases: zuixjs/zuix

1.1.28

24 May 09:20
Compare
Choose a tag to compare
  • fix: ObjectObserver.observable(..) bug when JSON.stringify-ied.

1.1.27

18 May 16:18
Compare
Choose a tag to compare
  • fix: zuix.controller(..) not caching controller when options.componentId is passed
  • updated JSDocs
  • revamped helpers/Util class

1.1.26

18 May 16:17
Compare
Choose a tag to compare
  • ShadowDOM: automatically replace :root with :host for imported CSS
  • Scriptlet: added trigger(eventPath, data) to trigger context events from the view scripting scope (HTML)
  • Fix: check component container before component view when checking shadow root
  • Fix: propagate component events also on custom element tag if defined

1.1.25

11 May 10:44
Compare
Choose a tag to compare
  • fix parentContext value when parsing a nested component options

1.1.24

07 May 18:06
Compare
Choose a tag to compare
  • optimized value writes: update only if changed (data-binding and ZxQuery)
  • fixes unloading of nested custom elements
  • fixes occasional CSS (not) caching issue

1.1.23

03 May 19:02
Compare
Choose a tag to compare
  • fix to error reporting when option attribute specifier (:) has no attribute name
  • fix: component not freeing resources on unload if an error occurred in the component scripting context
  • do not halt execution when error occurs loading component in zx-context module
  • fix: scoped stylesheet for default component was not working properly

1.1.22

01 May 02:18
Compare
Choose a tag to compare
  • Added zx-context.module.js a custom element for loading/hot-replacing components at runtime
  • Added fetchOptions to ContextOptions
  • Added ContextController.using(..) method, equivalent of zuix.using but context-aware
  • Improved runtime errors handling
  • Now all option attributes expressions (including event handlers) are evaluated in the parent context scripting scope and can reference fields declared in the enclosing context
  • Fix: components loading twice in some circumstances (now zuix.js is even more faaaast!)
  • Fix: restoreView not working for custom elements
  • Updated API docs

1.1.21

25 Apr 22:51
Compare
Choose a tag to compare
  • added z-css attribute (maps to ContextOptions.css)
  • fix: hot replace html/css when html/css supplied via ContextOptions
  • fix: handle errors occurred during ContextController.dispose
  • fix: ShadowDOM context not accessible from parent node
  • It's now possible to override ready and refresh methods of the view script from the controller via ContextController.declare
  • Exported saveBlob method as public in ZuixBundler

1.1.20

20 Apr 09:24
Compare
Choose a tag to compare
  • fix: remove style when unloading component with ShadowDOM
  • fix: loading nested components inside a ShadowDOM

1.1.19

17 Apr 10:07
Compare
Choose a tag to compare
  • fix: cached component style removed from DOM when a component instance was removed