-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Release 4.0 #12201
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
base: main
Are you sure you want to change the base?
Release 4.0 #12201
Conversation
🛠️ Docs preview building...The preview is currently being built. Build ID: 7c1e3325e91f9e6e896fc41e |
|
commit: |
✅ Deploy Preview for apollo-client-docs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
size-limit report 📦
|
* 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
… `ApolloQueryResult` (#12333)
* omit rollup build step * verifyVersion: verify different entry point * build esm and cjs (with `.cjs` extension) into different folders * add a validation check to see if sourcemaps are correct * adjustments * remove `rewriteSourceMaps` step the `inlineSources` tsconfig options already does that * processInvariants step * run `prepareDist` * prettier * fix up processInvariant exceptions * delete test for rolled-up build * tests: older compilation target * additional tsconfig adjustments * format * fix up invariants processing * add `version` step * rename option * migrate `inlineInheritDoc` step * migrate `postprocessDist` over * remove dead code * fix up comment framing * remove stray `console.log` * update size limits * move `renameJsFilesToCjs` file out * remove obsolete setting of `type: "module"` in `prepareDist` * `processComments`: exit early * add changeset
* add babel transform * remove unneccessary packages * Update config/babel.ts * Clean up Prettier, Size-limit, and Api-Extractor --------- Co-authored-by: phryneas <[email protected]>
* move entry points out of `entryPoints` into `package.json` exports * build working, jest not working * formatter * fixup jest * add custom resolver, explicitly import `__DEV__` * prettier * missing import * import `__DEV__` when inserted by `processInvariants` * no more type checking in jest * use same tsconfig for tests * reorder ci steps * update api reports * use conditions in size limits * fix up a bunch of things * attw green * remove side-effect import for `utilities/globals` * mark `__DEV__` export as `boolean` in all envs * add section for `.d.cts` * size-limit plugin, more dev mode * work around api extractor package resolution * knip: ignore `size-limit-apollo-plugin` * some more cleanup * add step to script * fixup * more changelog * size-limits for better between-build comparison * add two new eslint rules * apply eslint autofixes * manually fix a bunch of internal-cross-imports * adjust sizes * ignore a few cross-imports that are fine * prettier * api-exports * move side effects for `setVerbosity` into `utilities/globals/environment` * fix up circularities, add check * move `invariantWrappers.ts` into `invariant/shared.ts` * inline ts-invariant, no more side effects in __DEV__ declaration * update exports * lint * fix up a bunch of imports * forgotten file * fix up import * set default log level for tests * fix up dev entrypoint circularity * fix up a few things around invariant, changelog * disable eslint rule for wrapping reexport * add `/index.js` and `folder/folder.cjs` entry points to exports field * add CI step to run publint * create `legacyEntryPoints` instead with a subpath pattern in package.json * reconfigure integration tests to work around npm bug * fix imports in integration tests * actually call IIFE * skip "latest React" intallation for cra4 and cra5 * also run integration tests with react 18 * pin 18.3.1 * fix up node esm tests * just keep 18.3.0 * deduplicate test setup * move files out of accidentally nested folder * also run forgotten jobs * integration test dep mgmt * downgrade a tick * force downgrade in lockfile * dedupe only where necessary * npmrc * update @vitejs/plugin-react-swc and vite * skip two more runs * dump package lock * adjust dedupe command * try switching to pnpm * adjust run commands * add `--no-frozen-lockfile` * hoist * use overrides correctly * drop CRA4 integration test * CI * add playwright dep on root level * prettierignore pnpm-lock.yaml * fixup next.js integration test * fix up more imports * format * changesets * some cleanup * chores * Update config/build.ts Co-authored-by: Jerel Miller <[email protected]> * Update .changeset/real-gorillas-move.md Co-authored-by: Jerel Miller <[email protected]> * Clean up Prettier, Size-limit, and Api-Extractor * adjust next integration test `ci-preparations` command * adjust import in integration test --------- Co-authored-by: Jerel Miller <[email protected]> Co-authored-by: phryneas <[email protected]>
* switch imports to entry-point imports in tests where possible * configure eslint plugin, update * first run * remove `"import/extensions"` eslint rule it's no longer necessary as we now use `"moduleResolution": "NodeNext"` that also makes the patch obsolete * more reordering * final import order? * remove `import/extensions` everywhere * run format * api-reports * fixup typecheck command * size-limits * format * fixup dirname ts quirk * run typecheck first * cleanup * update size-limits
Co-authored-by: Lenz Weber-Tronic <[email protected]> Co-authored-by: phryneas <[email protected]>
Co-authored-by: Lenz Weber-Tronic <[email protected]> Co-authored-by: jerelmiller <[email protected]>
…operation`. (#12748) Co-authored-by: Jerel Miller <[email protected]> Co-authored-by: jerelmiller <[email protected]>
* Add refetchObservableQueries * Bind differently * Use non-deprecated method name * Add changeset * Rerun api report * Update size limits * adjust changeset * remove duplicate runtime assignment --------- Co-authored-by: Lenz Weber-Tronic <[email protected]>
* inline React Compiler runtime * remove runtime peerDependency * export tests * fix CRA5? * comment * api report * add as `react-compiler` export condition * use compiled version in CI tests * ensure `react-compiler` export isn't swallowed * also add `@apollo/client/react/compiled` entry point * legacy node10 exports * chores * remove exports condition * Clean up Prettier, Size-limit, and Api-Extractor * changeset --------- Co-authored-by: phryneas <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
❌ Docs preview failedThe preview failed to build. Build ID: 622bb401d5ff5d81cf3a93c3 Errorsreact/api/react/hooks
|
…gment` (#12757) * add `dataState` to `useFragment`, `DataValue` type to `useSuspenseFragment` * Update .changeset/slimy-meals-work.md Co-authored-by: Jerel Miller <[email protected]> * Update .changeset/slimy-pots-bow.md Co-authored-by: Jerel Miller <[email protected]> --------- Co-authored-by: Jerel Miller <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Lenz Weber-Tronic <[email protected]>
🛠️ Docs preview building...The preview is currently being built. Build ID: 26a114346dc826872c9d2933 |
* changeset annotations * moar * forgot to save a file * finish categorization * add categorized changesets * start ordering changesets into stories * `rxjs` and `ObservableQuery` reordering * PR review feedback * update categorization
🛠️ Docs preview building...The preview is currently being built. Build ID: 22829ed7ba91ef2d2ce973c6 |
* changeset annotations * moar * forgot to save a file * finish categorization * add categorized changesets * start ordering changesets into stories * `rxjs` and `ObservableQuery` reordering * delete unused documentation files * documentation updates for `ObservableQuery` api docs * remove unused frontmatter * update `useQuery` documented interfaces, split into sub-namespaces * document new `notifyOnNetworkStatus` default values * more adjustments * more `ObservableQuery` changes * some more adjustments * chores * introduce basic claude setup * some additional changes to the `queries` page * more canonicalReference updates * PR suggestions * Apply suggestions from code review Co-authored-by: Jerel Miller <[email protected]> * more feedback * move `ObservableMethods` into `ObservableQuery.DocumentationTypes` * chores --------- Co-authored-by: Jerel Miller <[email protected]>
…aState` to `watchFragment` (#12776) Co-authored-by: Lenz Weber-Tronic <[email protected]> Co-authored-by: jerelmiller <[email protected]>
🛠️ Docs preview building...The preview is currently being built. Build ID: df7722e7279956aaab343eef |
🛠️ Docs preview building...The preview is currently being built. Build ID: 99c8e51571f4d94c83e05f6d |
…nts the same as fields without arguments (#12370) Co-authored-by: Jerel Miller <[email protected]>
🛠️ Docs preview building...The preview is currently being built. Build ID: 622bb401d5ff5d81cf3a93c3 |
Staging branch for all 4.0 changes