knockout v3.4.0-rc Release Notes
Release Date: 2015-10-12 // over 8 years ago-
๐ Knockout 3.4.0rc release notes
โจ Enhancements
- #1715 - Add ko.onError handler that provides more consistent error/stack information for async operations and event handlers
- โก๏ธ #1728 - Include deferred updates functionality in Knockout core
- 0๏ธโฃ #1774 - Add
ko.options.useOnlyNativeEvents
(default false) that can control if KO uses jQuery (if available) for binding events - ๐ #1839 - Performance Improvement - for named templates that use a
template
or normal element use the element directly as the template to clone - ๐ #1840 - Performance Improvement - Make observables 2-3x faster to instantiate and reduce memory usage by 50%
- ๐ #1841 - Performance Improvement - Make computeds 2x faster to instantiate and reduce memory usage by 50%
- #1870 - Add
ko.isPureComputed
.
๐ Fixes
- ๐ #1256 - Better handling when an item is added while a
beforeRemove
animation is running - #1380 - observableArray
sort
andreverse
methods now return the observableArray rather than the underlying array - #1510 - Do not define a custom element when a component name matches a standard element
- #1591 - Make
checked
binding work properly with writable computed observables - #1613 - IE8 issue with calling .apply with an empty second argument
- #1683 - Rearrange code to avoid prototype issue in Opera mobile
- ๐ #1709 -
dontLimitMoves
option should be respected when comparing arrays - #1718 - ko.toJS no longer replaces RegExp objects with plain objects
- #1756 - Use a hasOwnProperty check when registering components
- 0๏ธโฃ #1781 - Trim string in default css binding
- #1783 - Skip template elements when binding
- #1788 - Fix
textInput
edge case in IE9 - โก๏ธ #1790 - Remove version from
bower.json
and don't update it in build - ๐ป #1794 - Exception in an
afterAdd
callback should not cause duplicate elements - #1810 - Don't check for
require
for CommonJS - #1855 - Fix potential memory leak in
component
binding - ๐ #1893 -
hasFocus
fixes in IE