Skip to content
This repository has been archived by the owner on Jul 23, 2024. It is now read-only.

Bump the minor group across 1 directory with 5 updates #452

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 20, 2024

Bumps the minor group with 5 updates in the /frontend directory:

Package From To
@apollo/client 3.10.1 3.10.4
@graphql-codegen/client-preset 4.2.5 4.2.6
@testing-library/jest-dom 6.4.2 6.4.5
@testing-library/react 15.0.5 15.0.7
semver 7.6.0 7.6.2

Updates @apollo/client from 3.10.1 to 3.10.4

Release notes

Sourced from @​apollo/client's releases.

v3.10.4

Patch Changes

  • #11838 8475346 Thanks @​alex-kinokon! - Don’t prompt for DevTools installation for browser extension page

  • #11839 6481fe1 Thanks @​jerelmiller! - Fix a regression in 3.9.5 where a merge function that returned an incomplete result would not allow the client to refetch in order to fulfill the query.

  • #11844 86984f2 Thanks @​jerelmiller! - Honor the @nonreactive directive when using cache.watchFragment or the useFragment hook to avoid rerendering when using these directives.

  • #11824 47ad806 Thanks @​phryneas! - Create branded QueryRef type without exposed properties.

    This change deprecates QueryReference in favor of a QueryRef type that doesn't expose any properties. This change also updates preloadQuery to return a new PreloadedQueryRef type, which exposes the toPromise function as it does today. This means that query refs produced by useBackgroundQuery and useLoadableQuery now return QueryRef types that do not have access to a toPromise function, which was never meant to be used in combination with these hooks.

    While we tend to avoid any types of breaking changes in patch releases as this, this change was necessary to support an upcoming version of the React Server Component integration, which needed to omit the toPromise function that would otherwise have broken at runtime. Note that this is a TypeScript-only change. At runtime, toPromise is still present on all queryRefs currently created by this package - but we strongly want to discourage you from accessing it in all cases except for the PreloadedQueryRef use case.

    Migration is as simple as replacing all references to QueryReference with QueryRef, so it should be possible to do this with a search & replace in most code bases:

    -import { QueryReference } from '@apollo/client'
    +import { QueryRef } from '@apollo/client'
    
    function Component({ queryRef }: { queryRef: QueryReference<TData> }) {
    
    
    function Component({ queryRef }: { queryRef: QueryRef<TData> }) {
    // ...
    }
  • #11845 4c5c820 Thanks @​jerelmiller! - Remove @nonreactive directives from queries passed to MockLink to ensure they are properly matched.

  • #11837 dff15b1 Thanks @​jerelmiller! - Fix an issue where a polled query created in React strict mode may not stop polling after the component unmounts while using the cache-and-network fetch policy.

  • v3.10.3

    Patch Changes

    v3.10.2

    Patch Changes

    • #11821 2675d3c Thanks @​jerelmiller! - Fix a regression where rerendering a component with useBackgroundQuery would recreate the queryRef instance when used with React's strict mode.

    • #11821 2675d3c Thanks @​jerelmiller! - Revert the change introduced in 3.9.10 via #11738 that disposed of queryRefs synchronously. This change caused too many issues with strict mode.

    Changelog

    Sourced from @​apollo/client's changelog.

    3.10.4

    Patch Changes

    • #11838 8475346 Thanks @​alex-kinokon! - Don’t prompt for DevTools installation for browser extension page

    • #11839 6481fe1 Thanks @​jerelmiller! - Fix a regression in 3.9.5 where a merge function that returned an incomplete result would not allow the client to refetch in order to fulfill the query.

    • #11844 86984f2 Thanks @​jerelmiller! - Honor the @nonreactive directive when using cache.watchFragment or the useFragment hook to avoid rerendering when using these directives.

    • #11824 47ad806 Thanks @​phryneas! - Create branded QueryRef type without exposed properties.

      This change deprecates QueryReference in favor of a QueryRef type that doesn't expose any properties. This change also updates preloadQuery to return a new PreloadedQueryRef type, which exposes the toPromise function as it does today. This means that query refs produced by useBackgroundQuery and useLoadableQuery now return QueryRef types that do not have access to a toPromise function, which was never meant to be used in combination with these hooks.

      While we tend to avoid any types of breaking changes in patch releases as this, this change was necessary to support an upcoming version of the React Server Component integration, which needed to omit the toPromise function that would otherwise have broken at runtime. Note that this is a TypeScript-only change. At runtime, toPromise is still present on all queryRefs currently created by this package - but we strongly want to discourage you from accessing it in all cases except for the PreloadedQueryRef use case.

      Migration is as simple as replacing all references to QueryReference with QueryRef, so it should be possible to do this with a search & replace in most code bases:

      -import { QueryReference } from '@apollo/client'
      +import { QueryRef } from '@apollo/client'
      
      function Component({ queryRef }: { queryRef: QueryReference<TData> }) {
      
      
      function Component({ queryRef }: { queryRef: QueryRef<TData> }) {
      // ...
      }
  • #11845 4c5c820 Thanks @​jerelmiller! - Remove @nonreactive directives from queries passed to MockLink to ensure they are properly matched.

  • #11837 dff15b1 Thanks @​jerelmiller! - Fix an issue where a polled query created in React strict mode may not stop polling after the component unmounts while using the cache-and-network fetch policy.

  • 3.10.3

    Patch Changes

    3.10.2

    Patch Changes

    • #11821 2675d3c Thanks @​jerelmiller! - Fix a regression where rerendering a component with useBackgroundQuery would recreate the queryRef instance when used with React's strict mode.

    • #11821 2675d3c Thanks @​jerelmiller! - Revert the change introduced in 3.9.10 via #11738 that disposed of queryRefs synchronously. This change caused too many issues with strict mode.

    Commits
    • d773000 Version Packages (#11843)
    • 6481fe1 Fix merge function that returns incomplete result that did not refetch from n...
    • 4c5c820 Remove @nonreactive directives from queries passed to MockLink (#11845)
    • 86984f2 Honor @nonreactive with useFragment and cache.watchFragment (#11844)
    • 8475346 Don’t prompt for DevTools installation for browser extension page (#11838)
    • dff15b1 Fix issue where query may not stop polling after unmount when in Strict mode ...
    • 47ad806 create branded QueryRef type without exposed properties (#11824)
    • 857f100 [docs] Update explainer around reducing-bundle-size (#11791)
    • 3861b7c chore(docs): fix url for reset function (#11836)
    • 50da867 Version Packages (#11833)
    • Additional commits viewable in compare view

    Updates @graphql-codegen/client-preset from 4.2.5 to 4.2.6

    Release notes

    Sourced from @​graphql-codegen/client-preset's releases.

    Release 2022-08-04T13:12:01.667Z

    @​graphql-codegen/graphql-modules-preset@​2.5.0

    Minor Changes

    Release 2022-08-04T13:05:23.977Z

    No release notes provided.

    Release 2022-08-04T13:02:57.827Z

    No release notes provided.

    Changelog

    Sourced from @​graphql-codegen/client-preset's changelog.

    4.2.6

    Patch Changes

    • Updated dependencies [dfc5310, 156cc2b, dfc5310, b49457b]:
      • @​graphql-codegen/plugin-helpers@​5.0.4
      • @​graphql-codegen/visitor-plugin-common@​5.2.0
      • @​graphql-codegen/gql-tag-operations@​4.0.7
      • @​graphql-codegen/typescript-operations@​4.2.1
      • @​graphql-codegen/typed-document-node@​5.0.7
      • @​graphql-codegen/typescript@​4.0.7
    Commits

    Updates @testing-library/jest-dom from 6.4.2 to 6.4.5

    Release notes

    Sourced from @​testing-library/jest-dom's releases.

    v6.4.5

    6.4.5 (2024-05-03)

    Bug Fixes

    v6.4.4

    6.4.4 (2024-05-03)

    Bug Fixes

    v6.4.3

    6.4.3 (2024-05-03)

    Bug Fixes

    • Updates role support for aria-required attribute in toBeRequired (#590) (20aca33)
    Commits
    • e8c8b13 fix: add js suffix to isEqualWith import (#599)
    • f03a582 fix(infra): codecoverage token addition (#600)
    • 20aca33 fix: Updates role support for aria-required attribute in toBeRequired (#590)
    • bd82f64 refactor: replace lodash with own implementation when possible (#593)
    • See full diff in compare view

    Updates @testing-library/react from 15.0.5 to 15.0.7

    Release notes

    Sourced from @​testing-library/react's releases.

    v15.0.7

    15.0.7 (2024-05-07)

    Bug Fixes

    • Ensure act is not any when React.act is not declared (#1323) (c1f2957)

    v15.0.6

    15.0.6 (2024-05-01)

    Bug Fixes

    Commits

    Updates semver from 7.6.0 to 7.6.2

    Release notes

    Sourced from semver's releases.

    v7.6.2

    7.6.2 (2024-05-09)

    Bug Fixes

    v7.6.1

    7.6.1 (2024-05-04)

    Bug Fixes

    Dependencies

    Chores

    Changelog

    Sourced from semver's changelog.

    7.6.2 (2024-05-09)

    Bug Fixes

    7.6.1 (2024-05-04)

    Bug Fixes

    Dependencies

    Chores

    Commits
    • eb1380b chore: release 7.6.2 (#714)
    • 6466ba9 fix(lru): use map.delete() directly (#713)
    • d777418 chore: release 7.6.1 (#706)
    • 988a8de deps: uninstall lru-cache (#709)
    • 5feeb7f chore: postinstall for dependabot template-oss PR
    • dd09b60 chore: bump @​npmcli/template-oss to 4.22.0
    • c570a34 fix(linting): no-unused-vars
    • ad8ff11 fix: use internal cache implementation
    • 3fabe4d deps: remove lru-cache
    • ec49cdc chore: chore: chore: postinstall for dependabot template-oss PR
    • Additional commits viewable in compare view

    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 <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
    • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
    • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
    • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
    • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

    updated-dependencies:
    - dependency-name: "@apollo/client"
      dependency-type: direct:production
      update-type: version-update:semver-patch
      dependency-group: minor
    - dependency-name: "@graphql-codegen/client-preset"
      dependency-type: direct:development
      update-type: version-update:semver-patch
      dependency-group: minor
    - dependency-name: "@testing-library/jest-dom"
      dependency-type: direct:development
      update-type: version-update:semver-patch
      dependency-group: minor
    - dependency-name: "@testing-library/react"
      dependency-type: direct:development
      update-type: version-update:semver-patch
      dependency-group: minor
    - dependency-name: semver
      dependency-type: direct:development
      update-type: version-update:semver-patch
      dependency-group: minor
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    @dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels May 20, 2024
    Copy link
    Contributor Author

    dependabot bot commented on behalf of github May 27, 2024

    Looks like these dependencies are updatable in another way, so this is no longer needed.

    @dependabot dependabot bot closed this May 27, 2024
    @dependabot dependabot bot deleted the dependabot/npm_and_yarn/frontend/minor-0d2aa8ebcd branch May 27, 2024 19:57
    Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
    Labels
    dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    0 participants