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 4.0 #12201

Draft
wants to merge 22 commits into
base: main
Choose a base branch
from
Draft

Release 4.0 #12201

wants to merge 22 commits into from

Conversation

jerelmiller
Copy link
Member

Staging branch for all 4.0 changes

@svc-apollo-docs
Copy link

svc-apollo-docs commented Dec 9, 2024

❌ Docs preview failed

The preview failed to build.

Build ID: f956fff5a78c8a79db824667

Errors

react/api/react/hooks

  • Cannot find module '@microsoft/tsdoc/schemas/tsdoc.schema.json' from '/var/task/node_modules/.pnpm/@microsoft[email protected]/node_modules/@microsoft/tsdoc-config/lib'
    react/data/mutations

  • Cannot find module '@microsoft/tsdoc/schemas/tsdoc.schema.json' from '/var/task/node_modules/.pnpm/@microsoft[email protected]/node_modules/@microsoft/tsdoc-config/lib'
    react/data/queries

  • Cannot find module '@microsoft/tsdoc/schemas/tsdoc.schema.json' from '/var/task/node_modules/.pnpm/@microsoft[email protected]/node_modules/@microsoft/tsdoc-config/lib'

Copy link

changeset-bot bot commented Dec 9, 2024

🦋 Changeset detected

Latest commit: 0429fb9

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 Major

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

pkg-pr-new bot commented Dec 9, 2024

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

commit: 0429fb9

Copy link

netlify bot commented Dec 9, 2024

Deploy Preview for apollo-client-docs ready!

Name Link
🔨 Latest commit 0429fb9
🔍 Latest deploy log https://app.netlify.com/sites/apollo-client-docs/deploys/679d087ef281570008b0bea7
😎 Deploy Preview https://deploy-preview-12201--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 Dec 9, 2024

size-limit report 📦

Path Size
dist/apollo-client.min.cjs 33.47 KB (-17.71% 🔽)
import { ApolloClient, InMemoryCache, HttpLink } from "dist/main.cjs" 41.41 KB (-17.31% 🔽)
import { ApolloClient, InMemoryCache, HttpLink } from "dist/main.cjs" (production) 38.72 KB (-17.97% 🔽)
import { ApolloClient, InMemoryCache, HttpLink } from "dist/index.js" 36.15 KB (-0.11% 🔽)
import { ApolloClient, InMemoryCache, HttpLink } from "dist/index.js" (production) 33.55 KB (-0.08% 🔽)
import { ApolloProvider } from "dist/react/index.js" 1.26 KB (0%)
import { ApolloProvider } from "dist/react/index.js" (production) 1.24 KB (0%)
import { useQuery } from "dist/react/index.js" 5.12 KB (-1.73% 🔽)
import { useQuery } from "dist/react/index.js" (production) 4.21 KB (-2.01% 🔽)
import { useLazyQuery } from "dist/react/index.js" 5.61 KB (-1.63% 🔽)
import { useLazyQuery } from "dist/react/index.js" (production) 4.68 KB (-2.03% 🔽)
import { useMutation } from "dist/react/index.js" 3.62 KB (+0.03% 🔺)
import { useMutation } from "dist/react/index.js" (production) 2.84 KB (+0.04% 🔺)
import { useSubscription } from "dist/react/index.js" 4.43 KB (+0.12% 🔺)
import { useSubscription } from "dist/react/index.js" (production) 3.48 KB (-0.03% 🔽)
import { useSuspenseQuery } from "dist/react/index.js" 5.51 KB (0%)
import { useSuspenseQuery } from "dist/react/index.js" (production) 4.17 KB (+0.05% 🔺)
import { useBackgroundQuery } from "dist/react/index.js" 5.01 KB (+0.02% 🔺)
import { useBackgroundQuery } from "dist/react/index.js" (production) 3.66 KB (0%)
import { useLoadableQuery } from "dist/react/index.js" 5.09 KB (0%)
import { useLoadableQuery } from "dist/react/index.js" (production) 3.74 KB (+0.03% 🔺)
import { useReadQuery } from "dist/react/index.js" 3.41 KB (-0.03% 🔽)
import { useReadQuery } from "dist/react/index.js" (production) 3.35 KB (+0.06% 🔺)
import { useFragment } from "dist/react/index.js" 2.01 KB (-15.09% 🔽)
import { useFragment } from "dist/react/index.js" (production) 1.95 KB (-15.47% 🔽)

jerelmiller and others added 21 commits December 13, 2024 11:48
Co-authored-by: Lenz Weber-Tronic <[email protected]>
Co-authored-by: phryneas <[email protected]>
* knip experiment

* some more config

* run `knip --fix` once

* more configuration, fix issues

* Remove deprecated `resetApolloContext` export

* add another exlusion

* run prettier

* some cleanup

* api-extractor

* config adjustments

* add CI job

* remove `isNullish`

* add a small integration test showing various re-export situations a wrapping library might use

* prettier
* move from `ts-node` to `node --experimental-strip-types`, create `build.ts`

* remove `engines` field, specify `devEngines`

* adjust node version for CI

* fix up some more syntax

* prettier

* adjust precheck, bump minimal lockfile version to 3

* convert jest config to esm

* move `entryPoints` to TS, make it work in mjs and jest

* run rollup with ts config

* update a few more node calls

* some more typings

* move all scripts to function invocation

* migrate `prepareChangestsRelease` too

* remove scripts that are not called manually

* convert `prepareDist` to TS

* migrate `precheck.js`

* `version.js->ts`

* use jest ts config

* prettier

* dirname.cjs->cts

* dirname-related import fixes

* fix up new knip issues

* delete `devEngines` instead of `engines` field

* require node 23.6 instead of 22.6
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.

3 participants