0.12.0: Polymorphic binding, SVG/AutoML support, readonly properties, performance optimizations, etc.
- Polymorphic binding: State-derived properties and
van.bindsupports non-state dependencies, allowing reusable component to accept both state and non-state properties: see https://vanjs.org/tutorial#polymorphism-between-state-and-non-state-dependencies. - SVG/MathML support: Add a new function
van.tagsNS, which allows us to createSVG,MathMLor other HTML elements withnamespaceURI. - Support readonly properties while creating HTML elements: You can specify readonly properties while creating HTML elements with tag functions. For readonly properties, values will be set by
setAttribute. - Performance optimizations: Replace
forEachcall withfor ... ofloops for better performance. Also disable theterseroptimization forwrap_func_argsas the optimization is obsolete in newer browser versions.
See the release announcement: #53