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

chore(deps-dev): bump @graphql-codegen/client-preset from 4.2.5 to 4.3.1 #315

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 1, 2024

Bumps @graphql-codegen/client-preset from 4.2.5 to 4.3.1.

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.3.1

Patch Changes

  • Updated dependencies [808ada5, 14ce39e]:
    • @​graphql-codegen/visitor-plugin-common@​5.3.0
    • @​graphql-codegen/gql-tag-operations@​4.0.8
    • @​graphql-codegen/typescript-operations@​4.2.2
    • @​graphql-codegen/typed-document-node@​5.0.8
    • @​graphql-codegen/typescript@​4.0.8

4.3.0

Minor Changes

  • #10001 1be6e65 Thanks @​n1ru4l! - Support discriminating null and undefined within the useFragment function.

    function MyComponent(props: FragmentType<typeof MyFragment> | null) {
      const data = useFragment(MyFragment, props);
      // data is `MyFragment | null`
    }
    function MyComponent(props: FragmentType<typeof MyFragment> | undefined) {
    const data = useFragment(MyFragment, props);
    // data is MyFragment | undefined
    }

    Before, the returned type from useFragment was always TType | null | undefined.

  • #9804 5e594ef Thanks @​rachel-church! - Preserving Array<T> or ReadonlyArray<T> in useFragment() return type.

Patch Changes

  • #9996 99f449c Thanks @​nahn20! - Added configuration to allow for custom hash functions for persisted documents in the client preset

    Example

    import { type CodegenConfig } from '@graphql-codegen/cli';
    const config: CodegenConfig = {
    schema: 'schema.graphql',
    documents: ['src/**/*.tsx'],
    generates: {
    './src/gql/': {
    preset: 'client',
    presetConfig: {
    persistedDocuments: {

... (truncated)

Commits
  • 61b6a94 Upcoming Release Changes (#10010)
  • cac19e5 Upcoming Release Changes (#10000)
  • 1be6e65 feat: support discriminating null and undefined within useFragment (#10001)
  • 99f449c feat(client-preset): persisted document custom hash function (#9996)
  • 5e594ef feat(client-preset): preserving Array<T> or ReadonlyArray<T> in useFragment()...
  • 21fbf0d chore(release): update monorepo packages versions (#9947)
  • See full diff 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)

Bumps [@graphql-codegen/client-preset](https://github.com/dotansimha/graphql-code-generator/tree/HEAD/packages/presets/client) from 4.2.5 to 4.3.1.
- [Release notes](https://github.com/dotansimha/graphql-code-generator/releases)
- [Changelog](https://github.com/dotansimha/graphql-code-generator/blob/master/packages/presets/client/CHANGELOG.md)
- [Commits](https://github.com/dotansimha/graphql-code-generator/commits/@graphql-codegen/[email protected]/packages/presets/client)

---
updated-dependencies:
- dependency-name: "@graphql-codegen/client-preset"
  dependency-type: direct:development
  update-type: version-update:semver-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 Jul 1, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Jul 8, 2024

Superseded by #316.

@dependabot dependabot bot closed this Jul 8, 2024
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/graphql-codegen/client-preset-4.3.1 branch July 8, 2024 07:37
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