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.3.1 to 6.4.0 #556

Merged
merged 2 commits into from
Aug 29, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 14, 2023

Bumps ember-resources from 6.3.1 to 6.4.0.

Release notes

Sourced from ember-resources's releases.

[email protected]

Minor Changes

  • #975 1a964f1 Thanks @​NullVoxPopuli! - trackedFunction can now be composed just like regular resources.

    The function body still auto-tracks and will update within consuming resource appropriately.

    const Person = resourceFactory((maybeIdFn) => {
      return resource(({ use }) => {
        let request = use(
          trackedFunction(async () => {
            let id = typeof maybeIdFn === "function" ? maybeIdFn() : maybeIdFn;
            let response = await fetch(`https://api.github.com/users/${id}`);
            return response.json();
          })
        );
    // `use` returns a ReadonlyCell where `.current`
    // is the State of trackedFunction.
    return () => request.current;
    
    });
    });

    Usage examples:

    \<template>
        {{#let (Person 1) as |request|}}
          {{#if request.isLoading}}
             ... loading ...
          {{/if}}
      {{#if request.value}}
    {{/if}}
    {{/let}}
    
    </template>

    const Doubled = resourceFactory((num: number) => {
      return resource(({ use }) => {

... (truncated)

Commits
  • ae1e239 Merge pull request #979 from NullVoxPopuli/changeset-release/main
  • da4a0bc Version Packages
  • 0386fee Merge pull request #971 from NullVoxPopuli/renovate/pnpm-8.x
  • ef9e8c5 chore(deps): update pnpm to v8.6.12
  • f46ff0a Merge pull request #973 from NullVoxPopuli/renovate/babel-monorepo
  • 5fa3990 Merge pull request #976 from NullVoxPopuli/refactor-cell
  • 6513138 chore(deps): update babel monorepo
  • 869d531 Refactor, cell was in the wrong folder
  • 56f49b9 Merge pull request #975 from NullVoxPopuli/trackedFunction-usable
  • 0958ae1 Revert "Refactor"
  • 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 show <dependency name> 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)

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/ember-resources-6.4.0 branch 2 times, most recently from fc209c5 to 360ef63 Compare August 17, 2023 09:04
Bumps [ember-resources](https://github.com/NullVoxPopuli/ember-resources) from 6.3.1 to 6.4.0.
- [Release notes](https://github.com/NullVoxPopuli/ember-resources/releases)
- [Commits](https://github.com/NullVoxPopuli/ember-resources/compare/[email protected]@6.4.0)

---
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.4.0 branch from 360ef63 to 553a41a Compare August 23, 2023 08:07
@abeforgit
Copy link
Member

@dependabot rebase

@abeforgit abeforgit enabled auto-merge (squash) August 29, 2023 18:35
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Aug 29, 2023

Looks like this PR has been edited by someone other than Dependabot. That means Dependabot can't rebase it - sorry!

If you're happy for Dependabot to recreate it from scratch, overwriting any edits, you can request @dependabot recreate.

@abeforgit abeforgit merged commit c7359df into master Aug 29, 2023
@abeforgit abeforgit deleted the dependabot/npm_and_yarn/ember-resources-6.4.0 branch August 29, 2023 18:46
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