knockout v3.5.0-rc2 Release Notes
Release Date: 2018-09-08 // over 5 years ago-
๐ This release includes a number of fixes for regressions in the previous 3.5.0 release candidate. Given the time since the RC, we also decided to include a few small improvements.
- ๐ Fix to maintain an element's focus when it's moved by the
foreach
binding. - ๐ Fix changes to
style
binding to correctly appendpx
. - ๐ Fix regression to
ko.contextFor
when used afterko.applyBindingsToNode
. - โช Revert changes in
ko.utils
to use native array methods. - โ Remove global
createChildContextWithAs
option and addnoChildContext
binding option. The default behavior foras
matches previous releases. - ๐ Fix the interaction of
descendantsComplete
andif
/ifnot
/with
bindings. - โ Add an option for
if
/ifnot
/with
bindings:completeOn: "render"
will have the binding wait to triggerdescendantsComplete
until it is rendered. - Throw an error for unbalanced virtual elements.
ko.applyBindings
throws an error if a non-Node is given as the second parameter.- ๐ Support an
options
objects as a parameter tocreateChildContext
. - ๐ Support a custom rate-limit function as the
method
parameter to therateLimit
extender. - ๐ Support setting custom CSS properties with the
style
binding. - โก๏ธ Optimize how many elements are moved by
foreach
. - โก๏ธ Update TypeScript declarations.
- ๐ Fix to maintain an element's focus when it's moved by the