Knockout 3.5.0 includes a few new bindings and new ways to interact with observables and bindings. The full list is detailed under 3.5.0 Beta, 3.5.0 RC, and 3.5.0 RC2.
The final 3.5.0 release includes fixes for a few regressions in the pre-production releases:
Fix performance issue with nested if bindings (#2414)
Fix exception with foreach and beforeRemove (#2419)
Fix misplaced nodes with foreach and Punches plugin (#2433)
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.
3.5.0 Release Candidate
Changes since 3.5.0 Beta:
Expand descendantsComplete to include bindings other than component, such as if, with, etc.
ko.when will return a Promise if called without a callback function.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/ashleybaldock/sixornot/network/alerts).
Bumps knockout from 3.5.0-beta to 3.5.0.
Release notes
Sourced from knockout's releases.
Commits
3f2a1f7
Version 3.5.0 for distribution156e3cc
make sure tests pass in old-IE202e26c
Merge pull request #2441 from knockout/2439-foreach-dups38de37a
fix test string typof327e95
Fix problem with arrayChange where it might report stale data.6591d0f
export startPossiblyAsyncContentBindingc6e608f
For typing, use common source for extender options and functionsb304535
sync test-global.ts with test-module.ts605c6bb
If setDomNodeChildrenFromArrayMapping callback modified nodes, use correct no...3a5d67f
fix type definitions of "arrayChange" event and ko.when.Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/ashleybaldock/sixornot/network/alerts).