-
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
Release 4.0 #12201
Conversation
|
commit: |
✅ Deploy Preview for apollo-client-docs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
size-limit report 📦
|
d3266ea
to
2f5506b
Compare
…backs and returned `variables` from `useSubscripton` (#12478)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* adjust ssr to work with new static rendering methods * fixup * update exports * add new `prerenderStatic` api, move other apis out, dynamically import apis * restructure, documentation * chore * deprecations * update api report * Apply suggestions from code review 🤖🤖🤖 Co-authored-by: Copilot <[email protected]> * split out test * add a new test for an E2E SSR usage with suspense * test tweaking * forgot `signal` * add `diagnostics` and `renderCount` options * test todos * add more tests * update * ignoreResults test & adjustments * keep old apis without `maxRerenders` * first `AbortController` tests * more `AbortSignal` handling * add jsdom dependency * chores * fixup * fix up test * move `setImmediate` polyfill around * reduce diff * reduce diff a little more * changeset * add a comment, PR feedback * chores --------- Co-authored-by: Copilot <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…esting/internal` entry point (#12511)
…ls completely (#12513) * remove `react/context|hooks|parser` entry points, move `verifyDocumentType` to `utilities` * `verifyDocumentType`: remove `parser` cache * call `verifyDocumentType` from `QueryManager`, not in the hooks * dead code * cleanup * fix build * linter fixup * format * update snapshot * use `checkDocument` instead of `verifyDocumentType` * remove import * api-extractor * update size-limits * move props into namespace * api-extractor * changesets
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* [WIP] updates to import codemod capabilities * add script to run against local sources * handle renamed files * rename namespace imports or specifier-less imports * extract code into function * adjust `importType` handling * progress * reordering of generics * progress * call `postProcess` in `finally` * keep comments in place * split up functions into files * fixup * fix * add missing renames * use `rename.importType` when creating a new import * add tests * test generation in place * thorough test * identify removed exports * fixup * double-check & check for newer removed exports * small tweak * split up by type/value * wip * more renames * fully capture current state of the library * more renames * should cover all removals * rename most links * skip in some cases * format * apply codemod to codebase * chore * fixup * update README * remove `TContext` from `FetchResult` -> `ApolloLink.Result` * remove stray comment * Update scripts/codemods/ac3-to-ac4/src/renames.ts Co-authored-by: Jerel Miller <[email protected]> * switch test around a bit * fix typo * treat `wait` as removed * move function around * don't move around renamed imports * sort renames alphabetically where applicable * update snapshot * add separate `link` transform * add changeset * add more tests for `handleIdentifierRename`, fix some bugs * update tests * make knip happy * monkey patch `ast-types` to fix call expession type parameters --------- Co-authored-by: Jerel Miller <[email protected]>
* add a `removals` codemod * more removal annotations * document most removals * rename to `zz_removals`, clean up * declare classes as classes * `zz-removals` -> `v4-migration` * Clean up Prettier, Size-limit, and Api-Extractor --------- Co-authored-by: phryneas <[email protected]>
* Version Packages (rc) * manual adjustments --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Lenz Weber-Tronic <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Jerel Miller <[email protected]> Co-authored-by: jerelmiller <[email protected]>
Co-authored-by: Lenz Weber-Tronic <[email protected]>
✅ Docs preview readyThe preview is ready to be viewed. View the preview File Changes 26 new, 66 changed, 5 removed
Build ID: 1234ae1d52df537fa140f95d URL: https://www.apollographql.com/docs/deploy-preview/1234ae1d52df537fa140f95d |
* Add a new `legacyEntryPoints` codemod transformation step. * Update scripts/codemods/ac3-to-ac4/src/util/handleModuleRename.ts Co-authored-by: Jerel Miller <[email protected]> --------- Co-authored-by: Jerel Miller <[email protected]>
✅ Docs preview readyThe preview is ready to be viewed. View the preview File Changes 26 new, 66 changed, 5 removed
Build ID: 226422d09d3911093608fca4 URL: https://www.apollographql.com/docs/deploy-preview/226422d09d3911093608fca4 |
✅ Docs preview readyThe preview is ready to be viewed. View the preview File Changes 28 new, 65 changed, 6 removed
Build ID: 7296c1117bf251e19779b3cf URL: https://www.apollographql.com/docs/deploy-preview/7296c1117bf251e19779b3cf |
✅ Docs preview readyThe preview is ready to be viewed. View the preview File Changes 30 new, 64 changed, 7 removed
Build ID: 24caa435c923afea6779941a URL: https://www.apollographql.com/docs/deploy-preview/24caa435c923afea6779941a |
* documentation updates regarding `@defer` * bump * ensure that the observable is closed after the final deferred chunk when using `link.simulateResult` * bump * bump * Apply suggestions from code review Co-authored-by: Jerel Miller <[email protected]> * Apply suggestions from code review Co-authored-by: Jerel Miller <[email protected]> * Update docs/source/data/directives.mdx * move section up * librarian feedback * Update docs/source/data/defer.mdx Co-authored-by: Jerel Miller <[email protected]> * Update docs/source/data/directives.mdx Co-authored-by: Jerel Miller <[email protected]> * check `error` first, `dataState` second --------- Co-authored-by: Daniel Abdelsamed <[email protected]> Co-authored-by: Jerel Miller <[email protected]>
✅ Docs preview readyThe preview is ready to be viewed. View the preview File Changes 33 new, 63 changed, 8 removed
Build ID: 7474af3d39581ba78240ecc1 URL: https://www.apollographql.com/docs/deploy-preview/7474af3d39581ba78240ecc1 |
* introduce a versioning policy for Apollo Client * changeset * Apply suggestions from code review Co-authored-by: Jerel Miller <[email protected]> * add TS note * peer dependency section * rename `VERSIONING.md` to `VERSIONING_POLICY.md` * add to sidebar * move changelog down --------- 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>
* also apply clientSetup codemod to integration packages * remove `TCacheShape` generic from `ApolloClient` constructor calls * ensure when moving types into the `Defer20220824Handler` they end up importing from the right module * add `Masked` and `MaskedDocumentNode` to removals * also remove `TCacheShape` parameter from `ApolloClient` type usage * update README * add test to ensure that aliases are followed * chore * changeset
Co-authored-by: Jerel Miller <[email protected]> Co-authored-by: Michelle Mabuyo <[email protected]> Co-authored-by: jerelmiller <[email protected]>
Staging branch for all 4.0 changes