Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): bump ember-resources from 6.1.1 to 6.2.1 #528

Merged
merged 1 commit into from
Jul 13, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 11, 2023

Bumps ember-resources from 6.1.1 to 6.2.1.

Release notes

Sourced from ember-resources's releases.

[email protected]

Patch Changes

  • #941 bfc432b Thanks @​NullVoxPopuli! - Fix an issue with a new (not yet used feature) where Resources could directly return a Cell, and it would have its .current method automatically called when resolving the value of a Resource.

    import { resource, cell } from 'ember-resources';
    export const Now = resource(({ on }) => {
    const now = cell(Date.now());
    const timer = setInterval(() => now.set(Date.now()));
    on.cleanup(() => clearInterval(timer));
    return now;
    });
    <template>
    It is: <time>{{Now}}</time>
    </template>

[email protected]

Minor Changes

  • #936 6246a3c Thanks @​NullVoxPopuli! - The use import from ember-resources now supports an alternate style of usage. This is partly to provide consistency across the different kinds of resources (and resource builders), whether or not arguments are provided.

    The motivation from this change comes from trying to better align with Starbeam's composition capabilities, and "define something once, use it anywhere" approach to that composition.

    For example, before, only this was possible:

    import { resource, use } from "ember-resources";
    const StuckClock = resource(() => 2);
    class MyClass {
    @​use data = StuckClock;
    }
    new MyClass().data === 2;

    That looks a little awkward, because it looks like data is set to a constant. In TypeScript, this still worked out, and the type of data would be a number, but it still didn't look intuitive.

    Now, we can do this:

... (truncated)

Commits
  • a8dd8bb Merge pull request #942 from NullVoxPopuli/changeset-release/main
  • 6c99216 Version Packages
  • 277518f Remove extra blank line from changelog entry
  • 326dc28 Merge pull request #941 from NullVoxPopuli/fix-cell-resource-rendering
  • bfc432b Fix rendering a cell directly returned from a resource
  • 257e664 Update README.md
  • 9e5b8c0 Merge pull request #940 from NullVoxPopuli/changeset-release/main
  • bc6f8f6 Version Packages
  • cdc5960 chore(deps): update pnpm to v8.6.7
  • 0179582 Merge pull request #936 from NullVoxPopuli/better-composition
  • Additional commits viewable in compare view

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)

Bumps [ember-resources](https://github.com/NullVoxPopuli/ember-resources) from 6.1.1 to 6.2.1.
- [Release notes](https://github.com/NullVoxPopuli/ember-resources/releases)
- [Commits](https://github.com/NullVoxPopuli/ember-resources/compare/[email protected]@6.2.1)

---
updated-dependencies:
- dependency-name: ember-resources
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/ember-resources-6.2.1 branch from bbdadc1 to 677c8f7 Compare July 13, 2023 08:11
@elpoelma elpoelma merged commit 6deeb84 into master Jul 13, 2023
@elpoelma elpoelma deleted the dependabot/npm_and_yarn/ember-resources-6.2.1 branch July 13, 2023 10:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant