Skip to content

Upcoming Release Changes - #243

Open
github-actions[bot] wants to merge 1 commit into
masterfrom
changeset-release/master
Open

Upcoming Release Changes#243
github-actions[bot] wants to merge 1 commit into
masterfrom
changeset-release/master

Conversation

@github-actions

@github-actions github-actions Bot commented Jun 6, 2022

Copy link
Copy Markdown

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to master, this PR will be updated.

Releases

@graphql-codegen/cli@7.4.0

Minor Changes

  • #10928
    90229a5
    Thanks @eddeee888! - Add
    contentComparison?: 'cache-first' | 'disk' to control disk-vs-cache write comparison in watch
    mode.

    In watch mode the CLI caches the hash of the content it last wrote per file and compares new
    output against that cached hash to skip redundant writes. This assumes generated output is a pure
    function of the codegen inputs. An output whose content depends on the file's existing content
    (e.g. a preset that reads the file and rewrites part of it) breaks that assumption: if the file is
    changed on disk and codegen regenerates content identical to a previous run, the cached hash still
    matches and the write is skipped, so the on-disk change is never corrected.

    contentComparison: 'disk' opts an output into comparing the generated content against the file
    on disk instead of the in-memory record of what codegen last wrote, so the file is rewritten when
    it was changed externally. It can be set:

    • by a preset, on the GenerateOptions it returns from buildGeneratesSection, or
    • on the output config (generates[output].contentComparison) for any output, including plain
      plugin outputs without a preset.

    When both are present, the preset's value takes precedence. The default, 'cache-first', keeps
    the existing in-memory-cache behaviour for outputs that are a pure function of their inputs.

Patch Changes

  • Updated dependencies
    [90229a5]:
    • @graphql-codegen/plugin-helpers@7.3.0

@graphql-codegen/plugin-helpers@7.3.0

Minor Changes

  • #10928
    90229a5
    Thanks @eddeee888! - Add
    contentComparison?: 'cache-first' | 'disk' to control disk-vs-cache write comparison in watch
    mode.

    In watch mode the CLI caches the hash of the content it last wrote per file and compares new
    output against that cached hash to skip redundant writes. This assumes generated output is a pure
    function of the codegen inputs. An output whose content depends on the file's existing content
    (e.g. a preset that reads the file and rewrites part of it) breaks that assumption: if the file is
    changed on disk and codegen regenerates content identical to a previous run, the cached hash still
    matches and the write is skipped, so the on-disk change is never corrected.

    contentComparison: 'disk' opts an output into comparing the generated content against the file
    on disk instead of the in-memory record of what codegen last wrote, so the file is rewritten when
    it was changed externally. It can be set:

    • by a preset, on the GenerateOptions it returns from buildGeneratesSection, or
    • on the output config (generates[output].contentComparison) for any output, including plain
      plugin outputs without a preset.

    When both are present, the preset's value takes precedence. The default, 'cache-first', keeps
    the existing in-memory-cache behaviour for outputs that are a pure function of their inputs.

@github-actions
github-actions Bot force-pushed the changeset-release/master branch 2 times, most recently from 97aceef to 8e4dc2f Compare June 7, 2022 08:53
@github-actions
github-actions Bot force-pushed the changeset-release/master branch from 8e4dc2f to 5641168 Compare July 7, 2022 23:36
@github-actions
github-actions Bot force-pushed the changeset-release/master branch from 5641168 to 4c0338d Compare August 2, 2022 22:56
@github-actions
github-actions Bot force-pushed the changeset-release/master branch 3 times, most recently from c867d2b to 42ce2fd Compare August 11, 2022 07:53
@github-actions
github-actions Bot force-pushed the changeset-release/master branch from 42ce2fd to a1fa88b Compare September 12, 2022 11:47
@github-actions
github-actions Bot force-pushed the changeset-release/master branch from a1fa88b to 810342b Compare December 29, 2022 23:45
@github-actions
github-actions Bot force-pushed the changeset-release/master branch 3 times, most recently from 39f5af4 to 89f8fd9 Compare January 10, 2023 08:29
@github-actions
github-actions Bot force-pushed the changeset-release/master branch 4 times, most recently from 5ac12fa to 270da22 Compare January 25, 2023 23:32
@github-actions
github-actions Bot force-pushed the changeset-release/master branch 3 times, most recently from fbb0690 to 4c93777 Compare February 7, 2023 15:46
@github-actions
github-actions Bot force-pushed the changeset-release/master branch 7 times, most recently from 306263f to fdd69c2 Compare February 21, 2023 14:02
@github-actions
github-actions Bot force-pushed the changeset-release/master branch from fdd69c2 to ce7fa48 Compare September 7, 2025 07:27
@github-actions
github-actions Bot force-pushed the changeset-release/master branch from ce7fa48 to e705b0a Compare October 5, 2025 13:26
@github-actions
github-actions Bot force-pushed the changeset-release/master branch from e705b0a to 8a6ac56 Compare November 7, 2025 07:27
@github-actions
github-actions Bot force-pushed the changeset-release/master branch from 8a6ac56 to 68a6194 Compare November 19, 2025 13:27
@github-actions
github-actions Bot force-pushed the changeset-release/master branch 9 times, most recently from 0972f3c to 6ffa6db Compare April 11, 2026 07:27
@github-actions
github-actions Bot force-pushed the changeset-release/master branch 2 times, most recently from a5b4372 to 9325073 Compare April 13, 2026 07:27
@github-actions
github-actions Bot force-pushed the changeset-release/master branch 9 times, most recently from a3a9db8 to 1aefd1f Compare May 6, 2026 07:27
@github-actions
github-actions Bot force-pushed the changeset-release/master branch from 1aefd1f to 17a6061 Compare May 27, 2026 13:26
@github-actions
github-actions Bot force-pushed the changeset-release/master branch from 17a6061 to 533c6e9 Compare July 6, 2026 13:26
@github-actions
github-actions Bot force-pushed the changeset-release/master branch 3 times, most recently from 2258955 to 69f9f0f Compare July 29, 2026 13:26
@github-actions
github-actions Bot force-pushed the changeset-release/master branch 2 times, most recently from c5faddf to 32c5261 Compare August 8, 2026 01:26
@github-actions
github-actions Bot force-pushed the changeset-release/master branch from 32c5261 to 965ad56 Compare August 22, 2026 07:26
@github-actions
github-actions Bot force-pushed the changeset-release/master branch from 965ad56 to 7c99c7f Compare September 1, 2026 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants