From ab0a1b587233410bddb0f9d180f0d5019c035af2 Mon Sep 17 00:00:00 2001 From: Jerel Miller Date: Wed, 13 Nov 2024 11:27:56 -0700 Subject: [PATCH] Fix 3.12 rc changelog (#12124) --- .changeset/cold-apes-bow.md | 5 +++++ CHANGELOG.md | 22 ---------------------- 2 files changed, 5 insertions(+), 22 deletions(-) create mode 100644 .changeset/cold-apes-bow.md diff --git a/.changeset/cold-apes-bow.md b/.changeset/cold-apes-bow.md new file mode 100644 index 0000000000..e909a6162a --- /dev/null +++ b/.changeset/cold-apes-bow.md @@ -0,0 +1,5 @@ +--- +"@apollo/client": minor +--- + +Promote to 3.12.0-rc.0 diff --git a/CHANGELOG.md b/CHANGELOG.md index e24973ba81..45130ab137 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,27 +1,5 @@ # @apollo/client -## 3.11.11-rc.0 - -### Patch Changes - -- [#12116](https://github.com/apollographql/apollo-client/pull/12116) [`8ae6e4e`](https://github.com/apollographql/apollo-client/commit/8ae6e4e5cec296c3910fdffb0ce51a0f5f06c5d3) Thanks [@jerelmiller](https://github.com/jerelmiller)! - Prevent field accessor warnings when using `@unmask(mode: "migrate")` on objects that are passed into `cache.identify`. - -- [#12120](https://github.com/apollographql/apollo-client/pull/12120) [`6a98e76`](https://github.com/apollographql/apollo-client/commit/6a98e76af5c800a91a748c498611b55c33e02c68) Thanks [@jerelmiller](https://github.com/jerelmiller)! - Provide a codemod that applies `@unmask` to all named fragments for all operations and fragments. To use the codemod, run the following command: - - ``` - npx jscodeshift -t node_modules/@apollo/client/scripts/codemods/data-masking/unmask.ts --extensions tsx --parser tsx path/to/app/ - ``` - - To customize the tag used to search for GraphQL operations, use the `--tag` option. By default the codemod looks for `gql` and `graphql` tags. - - To apply the directive in migrate mode in order to receive runtime warnings on potentially masked fields, use the `--mode migrate` option. - - For more information on the options that can be used with `jscodeshift`, check out the [`jscodeshift` documentation](https://github.com/facebook/jscodeshift). - -- [#12121](https://github.com/apollographql/apollo-client/pull/12121) [`1085a95`](https://github.com/apollographql/apollo-client/commit/1085a95e4430da35d19033613e73f315a0aede9e) Thanks [@jerelmiller](https://github.com/jerelmiller)! - Warn when using data masking with "no-cache" operations. - -- [#12114](https://github.com/apollographql/apollo-client/pull/12114) [`1d4ce00`](https://github.com/apollographql/apollo-client/commit/1d4ce0034395147445165022f7d23f42ff638d8a) Thanks [@jerelmiller](https://github.com/jerelmiller)! - Fix error when combining `@unmask` and `@defer` directives on a fragment spread when data masking is enabled. - ## 3.12.0-alpha.0 ### Minor Changes