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 <175728472+Copilot@users.noreply.github.com> * 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 <175728472+Copilot@users.noreply.github.com>
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 <jerelmiller@gmail.com> * 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 <jerelmiller@gmail.com>
* 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 <4282439+phryneas@users.noreply.github.com>
* 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 <mail@lenzw.de>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Jerel Miller <jerelmiller@gmail.com> Co-authored-by: jerelmiller <565661+jerelmiller@users.noreply.github.com>
Co-authored-by: Lenz Weber-Tronic <lorenz.weber-tronic@apollographql.com>
✅ Docs preview readyThe preview is ready to be viewed. View the preview File Changes 26 new, 66 changed, 5 removedBuild 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 <jerelmiller@gmail.com> --------- Co-authored-by: Jerel Miller <jerelmiller@gmail.com>
✅ Docs preview readyThe preview is ready to be viewed. View the preview File Changes 26 new, 66 changed, 5 removedBuild 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 removedBuild 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 removedBuild 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 <jerelmiller@gmail.com> * Apply suggestions from code review Co-authored-by: Jerel Miller <jerelmiller@gmail.com> * Update docs/source/data/directives.mdx * move section up * librarian feedback * Update docs/source/data/defer.mdx Co-authored-by: Jerel Miller <jerelmiller@gmail.com> * Update docs/source/data/directives.mdx Co-authored-by: Jerel Miller <jerelmiller@gmail.com> * check `error` first, `dataState` second --------- Co-authored-by: Daniel Abdelsamed <daniel@abdelsamed.com> Co-authored-by: Jerel Miller <jerelmiller@gmail.com>
✅ Docs preview readyThe preview is ready to be viewed. View the preview File Changes 33 new, 63 changed, 8 removedBuild 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 <jerelmiller@gmail.com> * add TS note * peer dependency section * rename `VERSIONING.md` to `VERSIONING_POLICY.md` * add to sidebar * move changelog down --------- Co-authored-by: Jerel Miller <jerelmiller@gmail.com>
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 <jerelmiller@gmail.com> Co-authored-by: Michelle Mabuyo <michelle@apollographql.com> Co-authored-by: jerelmiller <565661+jerelmiller@users.noreply.github.com>
Staging branch for all 4.0 changes