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

Version Packages (rc) #12125

Merged
merged 2 commits into from
Nov 13, 2024
Merged

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Nov 13, 2024

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

⚠️⚠️⚠️⚠️⚠️⚠️

release-3.12 is currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, run changeset pre exit on release-3.12.

⚠️⚠️⚠️⚠️⚠️⚠️

Releases

@apollo/[email protected]

Patch Changes

  • #12116 8ae6e4e Thanks @jerelmiller! - Prevent field accessor warnings when using @unmask(mode: "migrate") on objects that are passed into cache.identify.

  • #12120 6a98e76 Thanks @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.

  • #12121 1085a95 Thanks @jerelmiller! - Warn when using data masking with "no-cache" operations.

  • #12114 1d4ce00 Thanks @jerelmiller! - Fix error when combining @unmask and @defer directives on a fragment spread when data masking is enabled.

@svc-apollo-docs
Copy link

svc-apollo-docs commented Nov 13, 2024

✅ Docs Preview Ready

No new or changed pages found.

@jerelmiller jerelmiller force-pushed the changeset-release/release-3.12 branch from abc5bb2 to d7a62f2 Compare November 13, 2024 18:31
Copy link

pkg-pr-new bot commented Nov 13, 2024

npm i https://pkg.pr.new/@apollo/client@12125

commit: d7a62f2

Copy link
Contributor Author

github-actions bot commented Nov 13, 2024

size-limit report 📦

Path Size
dist/apollo-client.min.cjs 40.6 KB (+0.01% 🔺)
import { ApolloClient, InMemoryCache, HttpLink } from "dist/main.cjs" 50.98 KB (+0.03% 🔺)
import { ApolloClient, InMemoryCache, HttpLink } from "dist/main.cjs" (production) 47.56 KB (+0.03% 🔺)
import { ApolloClient, InMemoryCache, HttpLink } from "dist/index.js" 36.31 KB (+0.01% 🔺)
import { ApolloClient, InMemoryCache, HttpLink } from "dist/index.js" (production) 33.56 KB (+0.02% 🔺)
import { ApolloProvider } from "dist/react/index.js" 1.26 KB (+0.24% 🔺)
import { ApolloProvider } from "dist/react/index.js" (production) 1.24 KB (+0.4% 🔺)
import { useQuery } from "dist/react/index.js" 5.21 KB (+0.06% 🔺)
import { useQuery } from "dist/react/index.js" (production) 4.3 KB (+0.05% 🔺)
import { useLazyQuery } from "dist/react/index.js" 5.71 KB (+0.06% 🔺)
import { useLazyQuery } from "dist/react/index.js" (production) 4.78 KB (+0.09% 🔺)
import { useMutation } from "dist/react/index.js" 3.62 KB (+0.09% 🔺)
import { useMutation } from "dist/react/index.js" (production) 2.85 KB (+0.11% 🔺)
import { useSubscription } from "dist/react/index.js" 4.43 KB (+0.07% 🔺)
import { useSubscription } from "dist/react/index.js" (production) 3.48 KB (+0.12% 🔺)
import { useSuspenseQuery } from "dist/react/index.js" 5.51 KB (+0.06% 🔺)
import { useSuspenseQuery } from "dist/react/index.js" (production) 4.17 KB (+0.12% 🔺)
import { useBackgroundQuery } from "dist/react/index.js" 5.01 KB (+0.08% 🔺)
import { useBackgroundQuery } from "dist/react/index.js" (production) 3.66 KB (+0.09% 🔺)
import { useLoadableQuery } from "dist/react/index.js" 5.09 KB (+0.06% 🔺)
import { useLoadableQuery } from "dist/react/index.js" (production) 3.74 KB (+0.08% 🔺)
import { useReadQuery } from "dist/react/index.js" 3.42 KB (+0.15% 🔺)
import { useReadQuery } from "dist/react/index.js" (production) 3.36 KB (+0.15% 🔺)
import { useFragment } from "dist/react/index.js" 2.33 KB (+0.13% 🔺)
import { useFragment } from "dist/react/index.js" (production) 2.28 KB (+0.13% 🔺)

@github-actions github-actions bot added the auto-cleanup 🤖 label Nov 13, 2024
@jerelmiller jerelmiller merged commit 431fa33 into release-3.12 Nov 13, 2024
43 of 47 checks passed
@jerelmiller jerelmiller deleted the changeset-release/release-3.12 branch November 13, 2024 18:36
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants