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

Release 3.10.0 #11698

Merged
merged 33 commits into from
Apr 24, 2024
Merged

Release 3.10.0 #11698

merged 33 commits into from
Apr 24, 2024

Conversation

alessbell
Copy link
Member

Like the Release 3.9.0 PR, this PR will serve to collect significant new features, deprecation warnings, and minor breaking changes that we intend to release in @apollo/[email protected].

If you want to test these changes, run:

npm i @apollo/client@next

@alessbell alessbell requested review from a team as code owners March 18, 2024 19:04
Copy link

changeset-bot bot commented Mar 18, 2024

🦋 Changeset detected

Latest commit: 004b176

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@apollo/client Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

netlify bot commented Mar 18, 2024

Deploy Preview for apollo-client-docs ready!

Name Link
🔨 Latest commit 004b176
🔍 Latest deploy log https://app.netlify.com/sites/apollo-client-docs/deploys/662929be1e3d300008063d23
😎 Deploy Preview https://deploy-preview-11698--apollo-client-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Contributor

github-actions bot commented Mar 18, 2024

size-limit report 📦

Path Size
dist/apollo-client.min.cjs 38.61 KB (+0.41% 🔺)
import { ApolloClient, InMemoryCache, HttpLink } from "dist/main.cjs" 46.48 KB (+0.42% 🔺)
import { ApolloClient, InMemoryCache, HttpLink } from "dist/main.cjs" (production) 44.04 KB (+0.46% 🔺)
import { ApolloClient, InMemoryCache, HttpLink } from "dist/index.js" 34.15 KB (+0.57% 🔺)
import { ApolloClient, InMemoryCache, HttpLink } from "dist/index.js" (production) 32.03 KB (+0.52% 🔺)
import { ApolloProvider } from "dist/react/index.js" 1.23 KB (0%)
import { ApolloProvider } from "dist/react/index.js" (production) 1.22 KB (0%)
import { useQuery } from "dist/react/index.js" 5.27 KB (0%)
import { useQuery } from "dist/react/index.js" (production) 4.35 KB (0%)
import { useLazyQuery } from "dist/react/index.js" 5.51 KB (0%)
import { useLazyQuery } from "dist/react/index.js" (production) 4.58 KB (0%)
import { useMutation } from "dist/react/index.js" 3.51 KB (0%)
import { useMutation } from "dist/react/index.js" (production) 2.73 KB (0%)
import { useSubscription } from "dist/react/index.js" 3.19 KB (0%)
import { useSubscription } from "dist/react/index.js" (production) 2.38 KB (0%)
import { useSuspenseQuery } from "dist/react/index.js" 5.44 KB (0%)
import { useSuspenseQuery } from "dist/react/index.js" (production) 4.1 KB (0%)
import { useBackgroundQuery } from "dist/react/index.js" 4.92 KB (0%)
import { useBackgroundQuery } from "dist/react/index.js" (production) 3.57 KB (0%)
import { useLoadableQuery } from "dist/react/index.js" 5.03 KB (0%)
import { useLoadableQuery } from "dist/react/index.js" (production) 3.69 KB (0%)
import { useReadQuery } from "dist/react/index.js" 3.31 KB (+4.37% 🔺)
import { useReadQuery } from "dist/react/index.js" (production) 3.25 KB (+4.39% 🔺)
import { useFragment } from "dist/react/index.js" 2.29 KB (+0.61% 🔺)
import { useFragment } from "dist/react/index.js" (production) 2.23 KB (+0.71% 🔺)

github-actions bot and others added 2 commits March 18, 2024 15:51
* Version Packages (alpha)

* Version Packages (alpha)

* Clean up Prettier, Size-limit, and Api-Extractor

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Alessia Bellisario <[email protected]>
Co-authored-by: alessbell <[email protected]>
jerelmiller and others added 19 commits April 1, 2024 12:59
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
… in the environemt (#11751)

* fix: use custom jsdom env insted of patching it via patch package

* Clean up Prettier, Size-limit, and Api-Extractor

* use native `AbortController` (#11753)

---------

Co-authored-by: Lenz Weber-Tronic <[email protected]>
Co-authored-by: phryneas <[email protected]>
…11757)

* Adjust `useReadQuery` wrapper logic to work with transported objects.

* size-limit
* feat: rename createProxiedSchema to createSchemaProxy

* chore: add changeset

* chore rename createSchemaProxy to createTestSchema and createMockFetch to createSchemaFetch
* Wrap `useQueryRefHandlers` in `wrapHook`.

* Clean up Prettier, Size-limit, and Api-Extractor

---------

Co-authored-by: phryneas <[email protected]>
* feat: accept min and max delay in createSchemaFetch

* chore: add snapshot of invariant error and add tests

* chore: update api reports and .size-limits.json

* suggestion: mock global `fetch` explicitly

* chore: update tests

* chore: extract api

* chore: update .size-limits.json

* Clean up Prettier, Size-limit, and Api-Extractor

---------

Co-authored-by: Alessia Bellisario <[email protected]>
Co-authored-by: alessbell <[email protected]>
    * feat: accept min and max delay in createSchemaFetch

    * chore: add snapshot of invariant error and add tests

    * chore: update api reports and .size-limits.json

    * suggestion: mock global `fetch` explicitly

    * chore: update tests

    * chore: extract api

    * chore: update .size-limits.json

    * Clean up Prettier, Size-limit, and Api-Extractor

    ---------

    Co-authored-by: Alessia Bellisario <[email protected]>
    Co-authored-by: alessbell <[email protected]
oreply.github.com>
@phryneas
Copy link
Member

/release:pr

Copy link
Contributor

A new release has been made for this PR. You can install it with:

npm i @apollo/[email protected]

alessbell and others added 7 commits April 15, 2024 15:35
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
to prevent
> The inferred type of 'withinDOM' cannot be named without a reference to '@testing-library/dom/node_modules/pretty-format'. This is likely not portable. A type annotation is necessary.ts(2742)
* feat: set up docs

* feat: draft new testing utilities docs

* first round of review fixes

* second round of review edits

* third round of review edits

* more edits

* more edits

* Update docs/source/development-testing/schema-driven-testing.mdx

Co-authored-by: Lenz Weber-Tronic <[email protected]>

* add msw vs createschemafetch faq section

* add msw example

* add a "Modifying a test schema using `testSchema.add` and `testSchema.fork`" section

---------

Co-authored-by: Lenz Weber-Tronic <[email protected]>
@phryneas phryneas merged commit 0fbd073 into main Apr 24, 2024
13 of 30 checks passed
@phryneas phryneas deleted the release-3.10 branch April 24, 2024 15:49
@phryneas phryneas restored the release-3.10 branch April 24, 2024 15:49
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants