roschaefer / rundfunk-mitbestimmen

How should your broadcasting fees be spent? Publish your support and improve the program.
https://rundfunk-mitbestimmen.de/
MIT License
39 stars 30 forks source link

Bump ember-concurrency from 0.8.26 to 1.3.0 in /frontend #1425

Closed dependabot-preview[bot] closed 3 years ago

dependabot-preview[bot] commented 4 years ago

Bumps ember-concurrency from 0.8.26 to 1.3.0.

Release notes

Sourced from ember-concurrency's releases.

1.3.0

New Features

  • Add animationFrame yieldable helper. Yielding animationFrame() will pause a task until after the next animation frame using the native requestAnimationFrame() browser API.

    Note: ember-concurrency tasks are scheduled on the runloop, so this will not cause the remainder of the task to instead run during the next animation frame, but the runloop after the next animation frame. (#365, thanks @Turbo87!)

  • Add hashSettled helper for cancellation-aware implementation of RSVP's hashSettled (#353, thanks @kwliou!)

Bugfixes

  • Add missing types for linked() and unlinked() (Fixes #373)

Deprecations

  • Deprecate direct usage of task with action helper and disable tests for it on 3.20+.

    This feature unfortunately depends on private APIs that will be removed in Ember 3.25. Unfortunately, the mechanism was already removed in Ember 3.20, making it impossible to support this for releases at least until recent canaries where it was re-introduced with a deprecation. However, the feature is rarely used, only documented in this changelog, and frequently breaks whenever the private constant it depends on moves modules internally throughout new versions of Ember.

    It will continue to remain available for Ember < 3.20, but will not be available in Ember-Concurrency 2.0, and will show a deprecation warning from 1.3.0 forward.

    Any existing uses can be converted to using {{perform}} directly or wrapping the task in (perform) before passing to {{action}} or {{fn}}

    Before:

    <button onClick={{action someTask}}>My button</button>
    

    After:

    {{!-- Any of these --}}
    <button {{on "click" (perform someTask)}}>My button</button>
    <button onClick={{perform someTask}}>My button</button>
    <button onClick={{action (perform someTask)}}>My button</button>
    
Changelog

Sourced from ember-concurrency's changelog.

1.3.0

  • Add animationFrame yieldable helper. Yielding animationFrame() will pause a task until after the next animation frame using the native requestAnimationFrame() browser API.

    Note: ember-concurrency tasks are scheduled on the runloop, so this will not cause the remainder of the task to instead run during the next animation frame, but the runloop after the next animation frame.

  • Add hashSettled helper for cancellation-aware implementation of RSVP's hashSettled (#353, thanks @kwliou!)

  • Add missing types for linked() and unlinked() (#373)

  • Deprecate direct usage of task with action helper and disable tests for it on 3.20+.

    This feature unfortunately depends on private APIs that will be removed in Ember 3.25. Unfortunately, the mechanism was already removed in Ember 3.20, making it impossible to support this for releases at least until recent canaries where it was re-introduced with a deprecation. However, the feature is rarely used, only documented in this changelog, and frequently breaks whenever the private constant it depends on moves modules internally throughout new versions of Ember.

    It will continue to remain available for Ember < 3.20, but will not be available in Ember-Concurrency 2.0, and will show a deprecation warning from 1.3.0 forward.

    Any existing uses can be converted to using {{perform}} directly or wrapping the task in (perform) before passing to {{action}} or {{fn}}

    Before:

    <button onClick={{action someTask}}>My button</button>
    

    After:

    {{!-- Any of these --}}
    <button {{on "click" (perform someTask)}}>My button</button>
    <button onClick={{perform someTask}}>My button</button>
    <button onClick={{action (perform someTask)}}>My button</button>
    <button onClick={{fn (perform someTask)}}>My button</button>
    

1.2.1

  • Correct types for encapsulated tasks to allow accessing encapsulated task state (#362, thanks @chancancode!)
  • Correct types to reflect that Task, TaskInstance, and TaskGroup extend EmberObject (#363, thanks @jamescdavis!)

1.2.0

  • Introduce official TypeScript definitions targetting the last 3 versions of
Commits
  • ac4f6d8 Release 1.3.0
  • 07af6a2 Add changelog for 1.3.0
  • 62c0890 Merge pull request #365 from Turbo87/raf
  • b76e60d Add tests for animationFrame()
  • b3a1428 Implement animationFrame() yieldable
  • 3b72a27 Merge pull request #373 from machty/mf-missing_types
  • e4abc49 Merge pull request #369 from machty/dependabot/npm_and_yarn/lodash.defaultsde...
  • 5558cd7 Merge pull request #371 from machty/dependabot/npm_and_yarn/http-proxy-1.18.1
  • 1f358e5 Add types for linked() and unlinked()
  • cbb691b Add types for hashSettled
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by m4xm4n, a new releaser for ember-concurrency since your current version.


Dependabot compatibility score

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 - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)
dependabot-preview[bot] commented 3 years ago

Superseded by #1460.