#40045beb5f9a - Adds the 'afterUpdate' option for autoRun to Task, and runs tasks by default in hostUpdate() instead of hostUpdated(). 'afterUpdate' is needed to run tasks dependent on DOM updates, but will cause multiple renders of the host element.
#4013a5bf2507 - Add pluggable task args equality functions and deepArrayEquals. Breaking: this removes performTask() and shouldRun() protected methods.
Minor Changes
#3998937f4e9b - Allow cancelling a task with a Task.abort() method
#3996012e8bc8 - Provide an AbortSignal to task functions
#40012ce10e4d - Allow tasks to have an initial value
Patch Changes
#4008fd7e7cdf - Infer the return type of Task.render()
#40045beb5f9a - Adds the 'afterUpdate' option for autoRun to Task, and runs tasks by default in hostUpdate() instead of hostUpdated(). 'afterUpdate' is needed to run tasks dependent on DOM updates, but will cause multiple renders of the host element.
#4013a5bf2507 - Add pluggable task args equality functions and deepArrayEquals. Breaking: this removes performTask() and shouldRun() protected methods.
Minor Changes
#3998937f4e9b - Allow cancelling a task with a Task.abort() method
#3996012e8bc8 - Provide an AbortSignal to task functions
#40012ce10e4d - Allow tasks to have an initial value
Patch Changes
#4008fd7e7cdf - Infer the return type of Task.render()
2.1.2
Patch Changes
#39532407c808 - Fix taskComplete not rejecting if after an error state
#39470480e006 - Task will not throw errors unless user requests taskComplete
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 show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@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)
Bumps @lit-labs/task from 2.0.0 to 3.0.1.
Release notes
Sourced from
@lit-labs/task
's releases.Changelog
Sourced from
@lit-labs/task
's changelog.Commits
dcde306
Version Packages (#4094)3be62b0
[labs/task] Fix Task.render()'s return type always being undefined (#4070)51c431e
Version Packages (#4066)a5bf250
[labs/task] Add pluggable task args equality functions (#4013)14f2a2f
[all] Add explicit "types" to tsconfig (#4025)5beb5f9
[labs/task] Run tasks in update instead of updated (#4004)fd7e7cd
[labs/task] Infer the return type of Task.render() (#4008)2ce10e4
[labs/task] Allow tasks to have an initial value (#4001)937f4e9
Add a Task.abort() method (#3998)012e8bc
Provide an AbortSignal to task functions (#3996)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 show