Closed renovate[bot] closed 1 month ago
[puLL-Merge] - apollographql/apollo-client@v3.11.2..v3.11.4
This PR introduces several changes to Apollo Client, including improvements to the cache.modify
functionality, fixes for fetchMore
behavior with no-cache
fetch policy, and error handling improvements. The changes aim to enhance type safety, fix edge cases, and improve overall functionality.
Modifier<T>
type might require updates in existing code that uses this type.fetchMore
with no-cache
fetch policy might affect applications that rely on the previous behavior.No significant security hotspots were identified in this change.
This PR contains the following updates:
3.11.2
->3.11.4
4.11.2
->4.11.3
4.11.2
->4.11.3
4.11.2
->4.11.3
4.11.2
->4.11.3
4.11.2
->4.11.3
4.11.2
->4.11.3
4.11.2
->4.11.3
4.11.2
->4.11.3
5.16.6
->5.16.7
5.16.6
->5.16.7
7.12.0
->7.12.1
7.12.0
->7.12.1
v3.25.15
->v3.26.0
v3.26.1
5.27.0
->5.27.2
8.0.0
->8.0.1
8.1.0
5.3.5
->5.4.0
Release Notes
apollographql/apollo-client (@apollo/client)
### [`v3.11.4`](https://togithub.com/apollographql/apollo-client/blob/HEAD/CHANGELOG.md#3114) [Compare Source](https://togithub.com/apollographql/apollo-client/compare/v3.11.3...v3.11.4) ##### Patch Changes - [#11994](https://togithub.com/apollographql/apollo-client/pull/11994) [`41b17e5`](https://togithub.com/apollographql/apollo-client/commit/41b17e5950f4db5ef9e32ded5bb327b3bf19e6e8) Thanks [@jerelmiller](https://togithub.com/jerelmiller)! - Update the `Modifier` function type to allow `cache.modify` to return deeply partial data. - [#11989](https://togithub.com/apollographql/apollo-client/pull/11989) [`e609156`](https://togithub.com/apollographql/apollo-client/commit/e609156c4989def88ae1a28b2e0f0378077a5528) Thanks [@phryneas](https://togithub.com/phryneas)! - Fix a potential crash when calling `clearStore` while a query was running. Previously, calling `client.clearStore()` while a query was running had one of these results: - `useQuery` would stay in a `loading: true` state. - `useLazyQuery` would stay in a `loading: true` state, but also crash with a `"Cannot read property 'data' of undefined"` error. Now, in both cases, the hook will enter an error state with a `networkError`, and the promise returned by the `useLazyQuery` `execute` function will return a result in an error state. - [#11994](https://togithub.com/apollographql/apollo-client/pull/11994) [`41b17e5`](https://togithub.com/apollographql/apollo-client/commit/41b17e5950f4db5ef9e32ded5bb327b3bf19e6e8) Thanks [@jerelmiller](https://togithub.com/jerelmiller)! - Prevent accidental distribution on `cache.modify` field modifiers when a field is a union type array. ### [`v3.11.3`](https://togithub.com/apollographql/apollo-client/blob/HEAD/CHANGELOG.md#3113) [Compare Source](https://togithub.com/apollographql/apollo-client/compare/v3.11.2...v3.11.3) ##### Patch Changes - [#11984](https://togithub.com/apollographql/apollo-client/pull/11984) [`5db1659`](https://togithub.com/apollographql/apollo-client/commit/5db1659dc07e3de697894fc1c6f00a151d068291) Thanks [@jerelmiller](https://togithub.com/jerelmiller)! - Fix an issue where multiple fetches with results that returned errors would sometimes set the `data` property with an `errorPolicy` of `none`. - [#11974](https://togithub.com/apollographql/apollo-client/pull/11974) [`c95848e`](https://togithub.com/apollographql/apollo-client/commit/c95848e859fb7ce0b3b9439ac71dff880f991450) Thanks [@jerelmiller](https://togithub.com/jerelmiller)! - Fix an issue where `fetchMore` would write its result data to the cache when using it with a `no-cache` fetch policy. - [#11974](https://togithub.com/apollographql/apollo-client/pull/11974) [`c95848e`](https://togithub.com/apollographql/apollo-client/commit/c95848e859fb7ce0b3b9439ac71dff880f991450) Thanks [@jerelmiller](https://togithub.com/jerelmiller)! - Fix an issue where executing `fetchMore` with a `no-cache` fetch policy could sometimes result in multiple network requests. - [#11974](https://togithub.com/apollographql/apollo-client/pull/11974) [`c95848e`](https://togithub.com/apollographql/apollo-client/commit/c95848e859fb7ce0b3b9439ac71dff880f991450) Thanks [@jerelmiller](https://togithub.com/jerelmiller)! - ##### Potentially disruptive change When calling `fetchMore` with a query that has a `no-cache` fetch policy, `fetchMore` will now throw if an `updateQuery` function is not provided. This provides a mechanism to merge the results from the `fetchMore` call with the query's previous result.lingui/js-lingui (@lingui/cli)
### [`v4.11.3`](https://togithub.com/lingui/js-lingui/blob/HEAD/CHANGELOG.md#4113-2024-08-09) [Compare Source](https://togithub.com/lingui/js-lingui/compare/v4.11.2...v4.11.3) ##### Bug Fixes - **cli:** add pnpm detection to command suggestions ([#1989](https://togithub.com/lingui/js-lingui/issues/1989)) ([287a688](https://togithub.com/lingui/js-lingui/commit/287a68848d84134db10fbd373138ec8bbbf2889e)) - **extract:** escape special regex characters used in file-based routing systems when files are passed in options ([#1984](https://togithub.com/lingui/js-lingui/issues/1984)) ([fd92d20](https://togithub.com/lingui/js-lingui/commit/fd92d203ba299816150556aee46620d2e3f7794a))mui/material-ui (@mui/icons-material)
### [`v5.16.7`](https://togithub.com/mui/material-ui/compare/v5.16.6...v5.16.7) [Compare Source](https://togithub.com/mui/material-ui/compare/v5.16.6...v5.16.7)mui/material-ui (@mui/material)
### [`v5.16.7`](https://togithub.com/mui/material-ui/compare/v5.16.6...v5.16.7) [Compare Source](https://togithub.com/mui/material-ui/compare/v5.16.6...v5.16.7)mui/mui-x (@mui/x-data-grid)
### [`v7.12.1`](https://togithub.com/mui/mui-x/blob/HEAD/CHANGELOG.md#7121) [Compare Source](https://togithub.com/mui/mui-x/compare/v7.12.0...v7.12.1) *Aug 8, 2024* We'd like to offer a big thanks to the 9 contributors who made this release possible. Here are some highlights โจ: - ๐จ Charts get a new component to display color mapping in the legend - ๐ The `@mui/x-charts-pro` is released in alpha version ๐งช. This new package introduces two main features: - The Heatmap component - The zoom interaction on the bar, line, and scatter charts - ๐ Improve Dutch (nl-NL) locale on the Date and Time Pickers - ๐ Bugfixes ##### Data Grid ##### `@mui/x-data-grid@7.12.1` - \[DataGrid] Fix `checkboxSelectionVisibleOnly` behavior with server-side pagination ([#14083](https://togithub.com/mui/mui-x/issues/14083)) [@MBilalShafi](https://togithub.com/MBilalShafi) - \[DataGrid] Fix `columnHeadersContainerRef` being `undefined` before mount ([#14051](https://togithub.com/mui/mui-x/issues/14051)) [@samwato](https://togithub.com/samwato) - \[DataGrid] Support Yarn PnP ([#14126](https://togithub.com/mui/mui-x/issues/14126)) [@cherniavskii](https://togithub.com/cherniavskii) ##### `@mui/x-data-grid-pro@7.12.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link "Pro plan") Same changes as in `@mui/x-data-grid@7.12.1`. ##### `@mui/x-data-grid-premium@7.12.1` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link "Premium plan") Same changes as in `@mui/x-data-grid-pro@7.12.1`. ##### Date and Time Pickers ##### `@mui/x-date-pickers@7.12.1` - \[l10n] Improve Dutch (nlNL) locale (pickers) ([#14036](https://togithub.com/mui/mui-x/issues/14036)) [@Robin1896](https://togithub.com/Robin1896) ##### `@mui/x-date-pickers-pro@7.12.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link "Pro plan") Same changes as in `@mui/x-date-pickers@7.12.1`. ##### Charts ##### `@mui/x-charts@7.12.1` - \[charts] Fix charts vendor publish config ([#14073](https://togithub.com/mui/mui-x/issues/14073)) [@JCQuintas](https://togithub.com/JCQuintas) - \[charts] Move `plugins` to `PluginProvider` ([#14056](https://togithub.com/mui/mui-x/issues/14056)) [@JCQuintas](https://togithub.com/JCQuintas) ##### `@mui/x-date-charts-pro@7.0.0-alpha.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link "Pro plan") Same changes as in `@mui/x-charts@7.12.1`, plus: - \[charts-pro] Release the pro package in alpha ([#13859](https://togithub.com/mui/mui-x/issues/13859)) [@alexfauquette](https://togithub.com/alexfauquette) ##### Tree View ##### `@mui/x-tree-view@7.12.1` ##### Docs - \[docs] Add a warning to promote the usage of `updateRows` ([#14027](https://togithub.com/mui/mui-x/issues/14027)) [@MBilalShafi](https://togithub.com/MBilalShafi) - \[docs] Disable ad in `Rich Tree View-Ordering` page ([#14123](https://togithub.com/mui/mui-x/issues/14123)) [@oliviertassinari](https://togithub.com/oliviertassinari) - \[docs] Redesign Date and Time Pickers overview page ([#13241](https://togithub.com/mui/mui-x/issues/13241)) [@noraleonte](https://togithub.com/noraleonte) - \[CHANGELOG] Polish details [@oliviertassinari](https://togithub.com/oliviertassinari) - \[code-infra] Use concurrency 1 in CircleCI ([#14110](https://togithub.com/mui/mui-x/issues/14110)) [@JCQuintas](https://togithub.com/JCQuintas) - \[infra] Re-added the removal of `Latest Version` section ([#14132](https://togithub.com/mui/mui-x/issues/14132)) [@michelengelen](https://togithub.com/michelengelen)github/codeql-action (github/codeql-action)
### [`v3.26.0`](https://togithub.com/github/codeql-action/compare/v3.25.15...v3.26.0) [Compare Source](https://togithub.com/github/codeql-action/compare/v3.25.15...v3.26.0)webpro-nl/knip (knip)
### [`v5.27.2`](https://togithub.com/webpro-nl/knip/compare/5.27.1...5e07bbcb1a5e00a31aaa226293c29a8587ec584e) [Compare Source](https://togithub.com/webpro-nl/knip/compare/5.27.1...5.27.2) ### [`v5.27.1`](https://togithub.com/webpro-nl/knip/releases/tag/5.27.1) [Compare Source](https://togithub.com/webpro-nl/knip/compare/5.27.0...5.27.1) - Use `pathsBasePath` if available to make `compilerOptions.paths` absolute (fixes [#748](https://togithub.com/webpro-nl/knip/issues/748)) ([`6c866d2`](https://togithub.com/webpro-nl/knip/commit/6c866d26)) - Format docs ([`d0d5f97`](https://togithub.com/webpro-nl/knip/commit/d0d5f970)) - Increase enhanced-resolve cache duration ([`c7fa02e`](https://togithub.com/webpro-nl/knip/commit/c7fa02e1)) - Add test coverage for tsconfig.json w/ module:commonjs ([`3d5a536`](https://togithub.com/webpro-nl/knip/commit/3d5a5363)) - Add non-standard CJS require calls in TS files as entry files (as require.resolve) ([`f8f0d66`](https://togithub.com/webpro-nl/knip/commit/f8f0d669)) - Update docs ([`b2ea3a9`](https://togithub.com/webpro-nl/knip/commit/b2ea3a9a)) - Fix regression issue template ([`f6066d6`](https://togithub.com/webpro-nl/knip/commit/f6066d69)) - Aid ts issues ([`9eff1bb`](https://togithub.com/webpro-nl/knip/commit/9eff1bb1)) - Enable more tests in Bun ([`953d6f6`](https://togithub.com/webpro-nl/knip/commit/953d6f61)) - Update lockfile ([`4d8b35b`](https://togithub.com/webpro-nl/knip/commit/4d8b35b8)) - Replace resolve with enhanced-resolve ([`39e0f22`](https://togithub.com/webpro-nl/knip/commit/39e0f223)) - Temp exclude unlisted in typescript integration test ([`76752c8`](https://togithub.com/webpro-nl/knip/commit/76752c88)) - Inline playwright types ([`ea099cc`](https://togithub.com/webpro-nl/knip/commit/ea099cc0)) - Add Vue example to compilers in docs ([#733](https://togithub.com/webpro-nl/knip/issues/733)) ([`949ddd8`](https://togithub.com/webpro-nl/knip/commit/949ddd8b)) - Minor refactor ([`8c21df5`](https://togithub.com/webpro-nl/knip/commit/8c21df51)) - Fix omitted expressions in Promise.all imports (resolves [#725](https://togithub.com/webpro-nl/knip/issues/725)) ([`858c0b7`](https://togithub.com/webpro-nl/knip/commit/858c0b73)) - Clean up `tryResolve` etc. ([`e20a9e9`](https://togithub.com/webpro-nl/knip/commit/e20a9e9a)) - fix: pnpm workspace fixes ([#738](https://togithub.com/webpro-nl/knip/issues/738)) ([`d5003d1`](https://togithub.com/webpro-nl/knip/commit/d5003d1b)) - Update .gitattributes to exclude binary files ([`b9b8f4d`](https://togithub.com/webpro-nl/knip/commit/b9b8f4da)) - Revert "CRLF will be replaced by LF the next time Git touches it" ([`0fdb4c9`](https://togithub.com/webpro-nl/knip/commit/0fdb4c93)) - Upgrade Astro ([`ccb7523`](https://togithub.com/webpro-nl/knip/commit/ccb7523f)) - Use latest tsx again ([`2b7d053`](https://togithub.com/webpro-nl/knip/commit/2b7d0537)) - Add `bun create @knip/config` to installation instructions ([`fb19915`](https://togithub.com/webpro-nl/knip/commit/fb199152))typescript-eslint/typescript-eslint (typescript-eslint)
### [`v8.0.1`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/typescript-eslint/CHANGELOG.md#801-2024-08-05) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v8.0.0...v8.0.1) This was a version bump only for typescript-eslint to align it with other projects, there were no code changes. You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.vitejs/vite (vite)
### [`v5.4.0`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#540-2024-08-07) - fix(build): windows platform build output path error ([#17818](https://togithub.com/vitejs/vite/issues/17818)) ([6ae0615](https://togithub.com/vitejs/vite/commit/6ae0615416762dd1b89393316308cf8edf115c34)), closes [#17818](https://togithub.com/vitejs/vite/issues/17818) - fix(deps): update launch-editor to consume fix for windows paths ([#17828](https://togithub.com/vitejs/vite/issues/17828)) ([cf2f90d](https://togithub.com/vitejs/vite/commit/cf2f90d4b9f9b16b8009b0f9d0d9f7e71e98c54d)), closes [#17828](https://togithub.com/vitejs/vite/issues/17828) - fix(ssr): fix `global` variable name conflict ([#17809](https://togithub.com/vitejs/vite/issues/17809)) ([6aa2206](https://togithub.com/vitejs/vite/commit/6aa220607b4f5457c1ef9ff68d75885a9abbdaf6)), closes [#17809](https://togithub.com/vitejs/vite/issues/17809) - fix(worker): fix `importScripts` injection breaking iife code ([#17827](https://togithub.com/vitejs/vite/issues/17827)) ([bb4ba9f](https://togithub.com/vitejs/vite/commit/bb4ba9f448da01782f585369f80c4517da087000)), closes [#17827](https://togithub.com/vitejs/vite/issues/17827) - chore: bump typescript-eslint to v8 ([#17624](https://togithub.com/vitejs/vite/issues/17624)) ([d1891fd](https://togithub.com/vitejs/vite/commit/d1891fda026d27f53409dec97e156a59da609196)), closes [#17624](https://togithub.com/vitejs/vite/issues/17624) - chore(deps): update all non-major dependencies ([#17820](https://togithub.com/vitejs/vite/issues/17820)) ([bb2f8bb](https://togithub.com/vitejs/vite/commit/bb2f8bb55fdd64e4f16831ff98921c221a5e734a)), closes [#17820](https://togithub.com/vitejs/vite/issues/17820) - perf(ssr): do a single-pass over AST with node cache arrays ([#17812](https://togithub.com/vitejs/vite/issues/17812)) ([81327eb](https://togithub.com/vitejs/vite/commit/81327eb980c308474a586a9cb9c0c5fff10eba34)), closes [#17812](https://togithub.com/vitejs/vite/issues/17812)Configuration
๐ Schedule: Branch creation - " 0-4 * 3" (UTC), Automerge - At any time (no schedule defined).
๐ฆ Automerge: Disabled by config. Please merge this manually once you are satisfied.
โป Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
๐ป Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.