knockout v3.5.0-rc2 Release Notes

Release Date: 2018-09-08 // almost 6 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 append px.
    • ๐Ÿ›  Fix regression to ko.contextFor when used after ko.applyBindingsToNode.
    • โช Revert changes in ko.utils to use native array methods.
    • โœ‚ Remove global createChildContextWithAs option and add noChildContext binding option. The default behavior for as matches previous releases.
    • ๐Ÿ›  Fix the interaction of descendantsComplete and if/ifnot/with bindings.
    • โž• Add an option for if/ifnot/with bindings: completeOn: "render" will have the binding wait to trigger descendantsComplete 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 to createChildContext.
    • ๐Ÿ‘Œ Support a custom rate-limit function as the method parameter to the rateLimit extender.
    • ๐Ÿ‘Œ Support setting custom CSS properties with the style binding.
    • โšก๏ธ Optimize how many elements are moved by foreach.
    • โšก๏ธ Update TypeScript declarations.