Skip to content

ember-resources@5.6.4

Compare
Choose a tag to compare
@github-actions github-actions released this 20 Mar 16:13
· 768 commits to main since this release
893e2c0

Patch Changes

  • #836 ed6828c Thanks @rpemberton! - Fixes #835 - resolves regression introduced by PR: #808 which aimed to correctly return the previous task instance's value if the current task hasn't finished yet. The regression described by #835 was that if a task in cancelled (e.g.: dropped), it is considered finished, and that canceled task's value would be used instead of the last compuleted task. In normal ember-concurrency APIs, this is abstracted over via the .lastSuccessful property on the TaskProperty. The goal of the .value on trackedTask is to mimic the property chain: taskProperty.lastSuccessful?.value.