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

Production Release 2024-06-24 #1236

Merged
merged 3 commits into from
Jun 24, 2024
Merged

Production Release 2024-06-24 #1236

merged 3 commits into from
Jun 24, 2024

Conversation

tackley
Copy link
Collaborator

@tackley tackley commented Jun 24, 2024

IanKrieger and others added 3 commits June 17, 2024 08:14
Removes legacy reporting view and related code
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence | Type |
Update | Pending |
|---|---|---|---|---|---|---|---|---|
|
[@graphql-codegen/client-preset](https://github.com/dotansimha/graphql-code-generator)
([source](https://github.com/dotansimha/graphql-code-generator/tree/HEAD/packages/presets/client))
| [`4.2.6` ->
`4.3.0`](https://renovatebot.com/diffs/npm/@graphql-codegen%2fclient-preset/4.2.6/4.3.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@graphql-codegen%2fclient-preset/4.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@graphql-codegen%2fclient-preset/4.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@graphql-codegen%2fclient-preset/4.2.6/4.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@graphql-codegen%2fclient-preset/4.2.6/4.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| devDependencies | minor | |
| [@mui/icons-material](https://mui.com/material-ui/material-icons/)
([source](https://github.com/mui/material-ui/tree/HEAD/packages/mui-icons-material))
| [`5.15.19` ->
`5.15.20`](https://renovatebot.com/diffs/npm/@mui%2ficons-material/5.15.19/5.15.20)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@mui%2ficons-material/5.15.20?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@mui%2ficons-material/5.15.20?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@mui%2ficons-material/5.15.19/5.15.20?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@mui%2ficons-material/5.15.19/5.15.20?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| dependencies | patch | |
| [@mui/material](https://mui.com/material-ui/)
([source](https://github.com/mui/material-ui/tree/HEAD/packages/mui-material))
| [`5.15.19` ->
`5.15.20`](https://renovatebot.com/diffs/npm/@mui%2fmaterial/5.15.19/5.15.20)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@mui%2fmaterial/5.15.20?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@mui%2fmaterial/5.15.20?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@mui%2fmaterial/5.15.19/5.15.20?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@mui%2fmaterial/5.15.19/5.15.20?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| dependencies | patch | |
| [@mui/x-data-grid](https://mui.com/x/react-data-grid/)
([source](https://github.com/mui/mui-x/tree/HEAD/packages/x-data-grid))
| [`7.6.2` ->
`7.7.0`](https://renovatebot.com/diffs/npm/@mui%2fx-data-grid/7.6.2/7.7.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@mui%2fx-data-grid/7.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@mui%2fx-data-grid/7.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@mui%2fx-data-grid/7.6.2/7.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@mui%2fx-data-grid/7.6.2/7.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| dependencies | minor | |
| [@mui/x-date-pickers](https://mui.com/x/react-date-pickers/)
([source](https://github.com/mui/mui-x/tree/HEAD/packages/x-date-pickers))
| [`7.6.2` ->
`7.7.0`](https://renovatebot.com/diffs/npm/@mui%2fx-date-pickers/7.6.2/7.7.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@mui%2fx-date-pickers/7.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@mui%2fx-date-pickers/7.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@mui%2fx-date-pickers/7.6.2/7.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@mui%2fx-date-pickers/7.6.2/7.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| dependencies | minor | |
|
[@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/tree/main/packages/plugin-react#readme)
([source](https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react))
| [`4.3.0` ->
`4.3.1`](https://renovatebot.com/diffs/npm/@vitejs%2fplugin-react/4.3.0/4.3.1)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@vitejs%2fplugin-react/4.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitejs%2fplugin-react/4.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitejs%2fplugin-react/4.3.0/4.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitejs%2fplugin-react/4.3.0/4.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| devDependencies | patch | |
| [actions/checkout](https://github.com/actions/checkout) | `v4.1.6`
-> `v4.1.7` |
[![age](https://developer.mend.io/api/mc/badges/age/github-tags/actions%2fcheckout/v4.1.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/github-tags/actions%2fcheckout/v4.1.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/github-tags/actions%2fcheckout/v4.1.6/v4.1.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/github-tags/actions%2fcheckout/v4.1.6/v4.1.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| action | patch | |
| [github/codeql-action](https://github.com/github/codeql-action) |
`v3.25.8` -> `v3.25.10` |
[![age](https://developer.mend.io/api/mc/badges/age/github-tags/github%2fcodeql-action/v3.25.10?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/github-tags/github%2fcodeql-action/v3.25.10?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/github-tags/github%2fcodeql-action/v3.25.8/v3.25.10?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/github-tags/github%2fcodeql-action/v3.25.8/v3.25.10?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| action | patch | |
| [graphql](https://github.com/graphql/graphql-js) | [`16.8.1` ->
`16.8.2`](https://renovatebot.com/diffs/npm/graphql/16.8.1/16.8.2) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/graphql/16.8.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/graphql/16.8.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/graphql/16.8.1/16.8.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/graphql/16.8.1/16.8.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| dependencies | patch | |
| [knip](https://knip.dev)
([source](https://github.com/webpro-nl/knip/tree/HEAD/packages/knip))
| [`5.18.1` ->
`5.19.0`](https://renovatebot.com/diffs/npm/knip/5.18.1/5.19.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/knip/5.19.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/knip/5.19.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/knip/5.18.1/5.19.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/knip/5.18.1/5.19.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| devDependencies | minor | `5.22.0` (+4) |
| [lint-staged](https://github.com/okonet/lint-staged) | [`15.2.5` ->
`15.2.7`](https://renovatebot.com/diffs/npm/lint-staged/15.2.5/15.2.7) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/lint-staged/15.2.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/lint-staged/15.2.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/lint-staged/15.2.5/15.2.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/lint-staged/15.2.5/15.2.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| devDependencies | patch | |
| [prettier](https://prettier.io)
([source](https://github.com/prettier/prettier)) | [`3.3.1` ->
`3.3.2`](https://renovatebot.com/diffs/npm/prettier/3.3.1/3.3.2) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/prettier/3.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/prettier/3.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/prettier/3.3.1/3.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/prettier/3.3.1/3.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| devDependencies | patch | |
|
[typescript-eslint](https://typescript-eslint.io/packages/typescript-eslint)
([source](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint))
| [`7.12.0` ->
`7.13.0`](https://renovatebot.com/diffs/npm/typescript-eslint/7.12.0/7.13.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/typescript-eslint/7.13.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/typescript-eslint/7.13.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/typescript-eslint/7.12.0/7.13.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/typescript-eslint/7.12.0/7.13.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| devDependencies | minor | `7.13.1` |
| [vite](https://vitejs.dev)
([source](https://github.com/vitejs/vite/tree/HEAD/packages/vite)) |
[`5.2.13` ->
`5.3.1`](https://renovatebot.com/diffs/npm/vite/5.2.13/5.3.1) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/vite/5.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vite/5.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vite/5.2.13/5.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vite/5.2.13/5.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| devDependencies | minor | |

---

### Release Notes

<details>
<summary>dotansimha/graphql-code-generator
(@&#8203;graphql-codegen/client-preset)</summary>

###
[`v4.3.0`](https://github.com/dotansimha/graphql-code-generator/blob/HEAD/packages/presets/client/CHANGELOG.md#430)

[Compare
Source](https://github.com/dotansimha/graphql-code-generator/compare/@graphql-codegen/client-preset@4.2.6...@graphql-codegen/client-preset@4.3.0)

##### Minor Changes

-
[#&#8203;10001](https://github.com/dotansimha/graphql-code-generator/pull/10001)
[`1be6e65`](https://github.com/dotansimha/graphql-code-generator/commit/1be6e65943b85162f3d465189d0a6df4b962df5d)
Thanks [@&#8203;n1ru4l](https://github.com/n1ru4l)! - Support
discriminating `null` and `undefined` within the `useFragment` function.

    ```ts
function MyComponent(props: FragmentType<typeof MyFragment> | null) {
      const data = useFragment(MyFragment, props);
      // data is `MyFragment | null`
    }

function MyComponent(props: FragmentType<typeof MyFragment> | undefined)
{
      const data = useFragment(MyFragment, props);
      // data is `MyFragment | undefined`
    }
    ```

Before, the returned type from `useFragment` was always `TType | null |
undefined`.

-
[#&#8203;9804](https://github.com/dotansimha/graphql-code-generator/pull/9804)
[`5e594ef`](https://github.com/dotansimha/graphql-code-generator/commit/5e594ef8f39b9e1036b6bcaa977f914a66fec03e)
Thanks [@&#8203;rachel-church](https://github.com/rachel-church)! -
Preserving `Array<T>` or `ReadonlyArray<T>` in `useFragment()` return
type.

##### Patch Changes

-
[#&#8203;9996](https://github.com/dotansimha/graphql-code-generator/pull/9996)
[`99f449c`](https://github.com/dotansimha/graphql-code-generator/commit/99f449c8dcd645d49eda26e4ddfcb8ad7056ecbf)
Thanks [@&#8203;nahn20](https://github.com/nahn20)! - Added
configuration to allow for custom hash functions for persisted documents
in the client preset

##### Example

```ts filename="codegen.ts" {10-12}
import { type CodegenConfig } from '@&#8203;graphql-codegen/cli';

const config: CodegenConfig = {
  schema: 'schema.graphql',
  documents: ['src/**/*.tsx'],
  generates: {
    './src/gql/': {
      preset: 'client',
      presetConfig: {
        persistedDocuments: {
          hashAlgorithm: operation => {
            const shasum = crypto.createHash('sha512');
            shasum.update(operation);
            return shasum.digest('hex');
          },
        },
      },
    },
  },
};
```

- Updated dependencies
\[[`5501c62`](https://github.com/dotansimha/graphql-code-generator/commit/5501c621f19eb5ef8e703a21f7367e07e41f199c)]:
-
[@&#8203;graphql-codegen/add](https://github.com/graphql-codegen/add)[@&#8203;5](https://github.com/5).0.3

</details>

<details>
<summary>mui/material-ui (@&#8203;mui/icons-material)</summary>

###
[`v5.15.20`](https://github.com/mui/material-ui/releases/tag/v5.15.20)

[Compare
Source](https://github.com/mui/material-ui/compare/v5.15.19...v5.15.20)

<!-- generated comparing v5.15.19..master -->

*Jun 12, 2024*

A big thanks to the 9 contributors who made this release possible.

##### `@mui/material@5.15.20`

- ​<!-- 17 -->\[Autocomplete] Shouldn't resize when hovering
([@&#8203;ZeeshanTamboli](https://github.com/ZeeshanTamboli))
([#&#8203;42535](https://github.com/mui/material-ui/issues/42535))
[@&#8203;ZeeshanTamboli](https://github.com/ZeeshanTamboli)
- ​<!-- 07 -->\[Tab] Fix applying `iconWrapper` styles from theme and
update its description ([@&#8203;sai6855](https://github.com/sai6855))
([#&#8203;42570](https://github.com/mui/material-ui/issues/42570))
[@&#8203;sai6855](https://github.com/sai6855)

##### `@mui/utils@5.15.15`

- ​<!-- 06 -->Allow passing `NaN` as `defaultValue` to `useControlled`
([@&#8203;iammminzzy](https://github.com/iammminzzy))
([#&#8203;42571](https://github.com/mui/material-ui/issues/42571))
[@&#8203;iammminzzy](https://github.com/iammminzzy)
- ​<!-- 17 -->Fix GitHub-reported prototype pollution vulnerability in
`deepmerge`
([#&#8203;41652](https://github.com/mui/material-ui/issues/41652))
([#&#8203;42608](https://github.com/mui/material-ui/issues/42608))
[@&#8203;DiegoAndai](https://github.com/DiegoAndai)

##### Docs

- ​<!-- 16 -->\[docs] Add Pigment CSS and Base UI logos SVGs
([#&#8203;42513](https://github.com/mui/material-ui/issues/42513))
[@&#8203;danilo-leal](https://github.com/danilo-leal)
- ​<!-- 15 -->\[docs] Update twitter.com to x.com
[@&#8203;oliviertassinari](https://github.com/oliviertassinari)
- ​<!-- 14 -->\[docs] Simplify Example projects page
[@&#8203;oliviertassinari](https://github.com/oliviertassinari)
- ​<!-- 13 -->\[material-ui] Add docs for complementary stepper
components ([@&#8203;anle9650](https://github.com/anle9650))
([#&#8203;42613](https://github.com/mui/material-ui/issues/42613))
[@&#8203;anle9650](https://github.com/anle9650)
- ​<!-- 12 -->\[docs] Add changelog section to the design kits page
([@&#8203;danilo-leal](https://github.com/danilo-leal))
([#&#8203;42463](https://github.com/mui/material-ui/issues/42463))
[@&#8203;danilo-leal](https://github.com/danilo-leal)
- ​<!-- 11 -->\[material-ui] Fix sentence in the All components page
([@&#8203;danilo-leal](https://github.com/danilo-leal))
([#&#8203;42462](https://github.com/mui/material-ui/issues/42462))
[@&#8203;danilo-leal](https://github.com/danilo-leal)
- ​<!-- 10 -->\[material-ui] Update Figma design kit doc redirect link
([@&#8203;danilo-leal](https://github.com/danilo-leal))
([#&#8203;42456](https://github.com/mui/material-ui/issues/42456))
[@&#8203;danilo-leal](https://github.com/danilo-leal)
- ​<!-- 09 -->\[system] Add "dynamic values" section to sx prop page
([@&#8203;aarongarciah](https://github.com/aarongarciah))
([#&#8203;42453](https://github.com/mui/material-ui/issues/42453))
[@&#8203;aarongarciah](https://github.com/aarongarciah)

##### Core

- ​<!-- 18 -->\[website] Move the `React Engineer - X` role to future
roles
([#&#8203;42532](https://github.com/mui/material-ui/issues/42532))
[@&#8203;DanailH](https://github.com/DanailH)
- ​<!-- 08 -->\[examples] Remove Pigment CSS examples
([#&#8203;42538](https://github.com/mui/material-ui/issues/42538))
[@&#8203;sai6855](https://github.com/sai6855)
- ​<!-- 05 -->\[website] Close Developer Advocate / Content Engineer
role [@&#8203;oliviertassinari](https://github.com/oliviertassinari)
- ​<!-- 04 -->\[website] Update DoiT description and link in Sponsors
section ([@&#8203;erezstmn-doit](https://github.com/erezstmn-doit))
([#&#8203;42511](https://github.com/mui/material-ui/issues/42511))
[@&#8203;erezstmn-doit](https://github.com/erezstmn-doit)
- ​<!-- 03 -->\[website] Clean up the docs-infra job ad
([@&#8203;danilo-leal](https://github.com/danilo-leal))
([#&#8203;42509](https://github.com/mui/material-ui/issues/42509))
[@&#8203;danilo-leal](https://github.com/danilo-leal)
- ​<!-- 02 -->\[website] Open the Docs-infra engineer role
([@&#8203;danilo-leal](https://github.com/danilo-leal))
([#&#8203;42496](https://github.com/mui/material-ui/issues/42496))
[@&#8203;danilo-leal](https://github.com/danilo-leal)
- ​<!-- 01 -->\[website] Fix locationCountry in about page
[@&#8203;oliviertassinari](https://github.com/oliviertassinari)

All contributors of this release in alphabetical order:
[@&#8203;aarongarciah](https://github.com/aarongarciah),
[@&#8203;anle9650](https://github.com/anle9650),
[@&#8203;DanailH](https://github.com/DanailH),
[@&#8203;danilo-leal](https://github.com/danilo-leal),
[@&#8203;erezstmn-doit](https://github.com/erezstmn-doit),
[@&#8203;iammminzzy](https://github.com/iammminzzy),
[@&#8203;oliviertassinari](https://github.com/oliviertassinari),
[@&#8203;sai6855](https://github.com/sai6855),
[@&#8203;ZeeshanTamboli](https://github.com/ZeeshanTamboli)

</details>

<details>
<summary>mui/mui-x (@&#8203;mui/x-data-grid)</summary>

###
[`v7.7.0`](https://github.com/mui/mui-x/blob/HEAD/CHANGELOG.md#770)

[Compare Source](https://github.com/mui/mui-x/compare/v7.6.2...v7.7.0)

*Jun 13, 2024*

We'd like to offer a big thanks to the 12 contributors who made this
release possible. Here are some highlights ✨:

-   🎁 Allow customization of the Pickers month and the year buttons
- 🌍 Improve Persian (fa-IR), Portuguese (pt-PT), and Russian (ru-RU)
locales on the Data Grid
- 🌍 Improve Korean (ko-KR) and Persian (fa-IR) locales on the Date and
Time Pickers
-   🐞 Bugfixes
-   📚 Documentation improvements

<!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->

##### Data Grid

##### `@mui/x-data-grid@7.7.0`

- \[DataGrid] Add `getFilterState` method
([#&#8203;13418](https://github.com/mui/mui-x/issues/13418))
[@&#8203;cherniavskii](https://github.com/cherniavskii)
- \[DataGrid] Do not show resize separators for column groups
([#&#8203;13455](https://github.com/mui/mui-x/issues/13455))
[@&#8203;cherniavskii](https://github.com/cherniavskii)
- \[l10n] Improve Persian (fa-IR) locale
([#&#8203;13402](https://github.com/mui/mui-x/issues/13402))
[@&#8203;fakhamatia](https://github.com/fakhamatia)
- \[l10n] Improve Portuguese (pt-PT) locale
([#&#8203;13384](https://github.com/mui/mui-x/issues/13384))
[@&#8203;olavocarvalho](https://github.com/olavocarvalho)
- \[l10n] Improve Russian (ru-RU) locale
([#&#8203;11210](https://github.com/mui/mui-x/issues/11210))
[@&#8203;dastan-akhmetov-scity](https://github.com/dastan-akhmetov-scity)

##### `@mui/x-data-grid-pro@7.7.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-data-grid@7.7.0`, plus:

- \[DataGridPro] Do not render detail panel if the focused cell is not
visible ([#&#8203;13456](https://github.com/mui/mui-x/issues/13456))
[@&#8203;cherniavskii](https://github.com/cherniavskii)

##### `@mui/x-data-grid-premium@7.7.0`
[![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.7.0`.

##### Date and Time Pickers

##### `@mui/x-date-pickers@7.7.0`

- \[l10n] Improve Korean (ko-KR) locale
([#&#8203;13452](https://github.com/mui/mui-x/issues/13452))
[@&#8203;ryxxn](https://github.com/ryxxn)
- \[l10n] Improve Persian (fa-IR) locale
([#&#8203;13402](https://github.com/mui/mui-x/issues/13402))
[@&#8203;fakhamatia](https://github.com/fakhamatia)
- \[pickers] Allow to customize the month and the year buttons
([#&#8203;13321](https://github.com/mui/mui-x/issues/13321))
[@&#8203;flaviendelangle](https://github.com/flaviendelangle)

##### `@mui/x-date-pickers-pro@7.7.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-date-pickers@7.7.0`.

##### Charts

##### `@mui/x-charts@7.7.0`

- \[charts] Add watermark on the pro `ResponsiveChartContainer`
([#&#8203;13398](https://github.com/mui/mui-x/issues/13398))
[@&#8203;alexfauquette](https://github.com/alexfauquette)
- \[charts] Allow to specify y-axis configuration
([#&#8203;13438](https://github.com/mui/mui-x/issues/13438))
[@&#8203;alexfauquette](https://github.com/alexfauquette)
- \[charts] Fix eslint for react compiler
([#&#8203;13444](https://github.com/mui/mui-x/issues/13444))
[@&#8203;alexfauquette](https://github.com/alexfauquette)
- \[charts] Improve themeAugmentation typing
([#&#8203;13433](https://github.com/mui/mui-x/issues/13433))
[@&#8203;noraleonte](https://github.com/noraleonte)
- \[charts] Move the `ZAxisContextProvider` by default in the
`ChartContainer`
([#&#8203;13465](https://github.com/mui/mui-x/issues/13465))
[@&#8203;alexfauquette](https://github.com/alexfauquette)
- \[charts] Use plugins to define series extremum and colors
([#&#8203;13397](https://github.com/mui/mui-x/issues/13397))
[@&#8203;alexfauquette](https://github.com/alexfauquette)

##### Tree View

##### `@mui/x-tree-view@7.7.0`

- \[TreeView] Improve TypeScript for plugins
([#&#8203;13380](https://github.com/mui/mui-x/issues/13380))
[@&#8203;flaviendelangle](https://github.com/flaviendelangle)
- \[TreeView] Improve the typing of the cancelable events
([#&#8203;13152](https://github.com/mui/mui-x/issues/13152))
[@&#8203;flaviendelangle](https://github.com/flaviendelangle)
- \[TreeView] Prepare support for PigmentCSS
([#&#8203;13412](https://github.com/mui/mui-x/issues/13412))
[@&#8203;flaviendelangle](https://github.com/flaviendelangle)
- \[TreeView] Refactor the tree view internals to prepare for headless
API ([#&#8203;13311](https://github.com/mui/mui-x/issues/13311))
[@&#8203;flaviendelangle](https://github.com/flaviendelangle)

##### Docs

- \[docs] Add `renderHeader` recipe to the Master Details docs
([#&#8203;13370](https://github.com/mui/mui-x/issues/13370))
[@&#8203;michelengelen](https://github.com/michelengelen)
- \[docs] Add lazy loading detail panel demo
([#&#8203;13453](https://github.com/mui/mui-x/issues/13453))
[@&#8203;cherniavskii](https://github.com/cherniavskii)
- \[docs] Add small edits to the Data Grid overview page
([#&#8203;13060](https://github.com/mui/mui-x/issues/13060))
[@&#8203;danilo-leal](https://github.com/danilo-leal)
- \[docs] Update a11y pages description
([#&#8203;13417](https://github.com/mui/mui-x/issues/13417))
[@&#8203;danilo-leal](https://github.com/danilo-leal)
- \[docs] improve the writing on the "Quick filter outside of the grid"
example ([#&#8203;13155](https://github.com/mui/mui-x/issues/13155))
[@&#8203;michelengelen](https://github.com/michelengelen)

##### Core

- \[core] Add `eslint-plugin-react-compiler` experimental version and
rules ([#&#8203;13415](https://github.com/mui/mui-x/issues/13415))
[@&#8203;JCQuintas](https://github.com/JCQuintas)
- \[core] Minor setup cleanup
([#&#8203;13467](https://github.com/mui/mui-x/issues/13467))
[@&#8203;LukasTy](https://github.com/LukasTy)
- \[infra] Adjust CI setup
([#&#8203;13448](https://github.com/mui/mui-x/issues/13448))
[@&#8203;LukasTy](https://github.com/LukasTy)
- \[test] Add tests for the custom slots of `TreeItem2`
([#&#8203;13314](https://github.com/mui/mui-x/issues/13314))
[@&#8203;flaviendelangle](https://github.com/flaviendelangle)

</details>

<details>
<summary>vitejs/vite-plugin-react
(@&#8203;vitejs/plugin-react)</summary>

###
[`v4.3.1`](https://github.com/vitejs/vite-plugin-react/blob/HEAD/packages/plugin-react/CHANGELOG.md#431-2024-06-10)

[Compare
Source](https://github.com/vitejs/vite-plugin-react/compare/v4.3.0...v4.3.1)

##### Fix support for React Compiler with React 18

The previous version made this assumption that the compiler was only
usable with React 19, but it's possible to use it with React 18 and a
custom `runtimeModule`:
https://gist.github.com/poteto/37c076bf112a07ba39d0e5f0645fec43

When using a custom `runtimeModule`, the plugin will not try to
pre-optimize `react/compiler-runtime` dependency.

Reminder: Vite expect code outside of `node_modules` to be ESM, so you
will need to update the gist with `import React from 'react'`.

</details>

<details>
<summary>actions/checkout (actions/checkout)</summary>

###
[`v4.1.7`](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v417)

[Compare
Source](https://github.com/actions/checkout/compare/v4.1.6...v4.1.7)

- Bump the minor-npm-dependencies group across 1 directory with 4
updates by [@&#8203;dependabot](https://github.com/dependabot) in
[actions/checkout#1739
- Bump actions/checkout from 3 to 4 by
[@&#8203;dependabot](https://github.com/dependabot) in
[actions/checkout#1697
- Check out other refs/\* by commit by
[@&#8203;orhantoy](https://github.com/orhantoy) in
[actions/checkout#1774
- Pin actions/checkout's own workflows to a known, good, stable version.
by [@&#8203;jww3](https://github.com/jww3) in
[actions/checkout#1776

</details>

<details>
<summary>github/codeql-action (github/codeql-action)</summary>

###
[`v3.25.10`](https://github.com/github/codeql-action/compare/v3.25.9...v3.25.10)

[Compare
Source](https://github.com/github/codeql-action/compare/v3.25.9...v3.25.10)

###
[`v3.25.9`](https://github.com/github/codeql-action/compare/v3.25.8...v3.25.9)

[Compare
Source](https://github.com/github/codeql-action/compare/v3.25.8...v3.25.9)

</details>

<details>
<summary>graphql/graphql-js (graphql)</summary>

###
[`v16.8.2`](https://github.com/graphql/graphql-js/releases/tag/v16.8.2)

[Compare
Source](https://github.com/graphql/graphql-js/compare/v16.8.1...v16.8.2)

#### v16.8.2 (2024-06-12)

##### Bug Fix 🐞\*
[#&#8203;4022](https://github.com/graphql/graphql-js/pull/4022) fix:
remove `globalThis` check and align with what bundlers can accept
([@&#8203;JoviDeCroock](https://github.com/JoviDeCroock))

##### Internal 🏠\*
[#&#8203;4104](https://github.com/graphql/graphql-js/pull/4104) Fix
publish scripts ([@&#8203;benjie](https://github.com/benjie))

##### Committers: 2

-   Benjie([@&#8203;benjie](https://github.com/benjie))
- Jovi De
Croock([@&#8203;JoviDeCroock](https://github.com/JoviDeCroock))

</details>

<details>
<summary>webpro-nl/knip (knip)</summary>

### [`v5.19.0`](https://github.com/webpro-nl/knip/releases/tag/5.19.0)

[Compare
Source](https://github.com/webpro-nl/knip/compare/5.18.2...5.19.0)

- Fix up integration test for slonik
([`2abcea6`](https://github.com/webpro-nl/knip/commit/2abcea61))
- Stop printing the bulky help text for config errors
([`9576413`](https://github.com/webpro-nl/knip/commit/95764130))
- Throw if passed --workspace dir does not contain package.json
(resolves [#&#8203;667](https://github.com/webpro-nl/knip/issues/667))
([`ea3f124`](https://github.com/webpro-nl/knip/commit/ea3f1240))
- Support import.meta.resolve (resolves
[#&#8203;642](https://github.com/webpro-nl/knip/issues/642))
([`177baa2`](https://github.com/webpro-nl/knip/commit/177baa2b))
- Handle `NODE_OPTIONS=` in scripts
([`2ec5189`](https://github.com/webpro-nl/knip/commit/2ec5189a))
- Minor refactor
([`7c87441`](https://github.com/webpro-nl/knip/commit/7c87441e))
- Timerify `resolveModuleNames`
([#&#8203;673](https://github.com/webpro-nl/knip/issues/673))
([`9f2077c`](https://github.com/webpro-nl/knip/commit/9f2077ca))
- Support Jest's globalTeardown
([#&#8203;676](https://github.com/webpro-nl/knip/issues/676))
([`c170aeb`](https://github.com/webpro-nl/knip/commit/c170aebf))

### [`v5.18.2`](https://github.com/webpro-nl/knip/releases/tag/5.18.2)

[Compare
Source](https://github.com/webpro-nl/knip/compare/5.18.1...5.18.2)

- Improve re-export handling
([`9ccefb3`](https://github.com/webpro-nl/knip/commit/9ccefb34))
- Add identifier to trace for re-export from entry file
([`b0b8b3d`](https://github.com/webpro-nl/knip/commit/b0b8b3d3))
- Move tagged export logic into reusable handler
([`1dff2db`](https://github.com/webpro-nl/knip/commit/1dff2db4))
- Update docs
([`2f91c8d`](https://github.com/webpro-nl/knip/commit/2f91c8d0))
- Update `@ericcornelissen/bash-parser` to 0.5.3
([#&#8203;674](https://github.com/webpro-nl/knip/issues/674))
([`9a7ffac`](https://github.com/webpro-nl/knip/commit/9a7ffac2))

</details>

<details>
<summary>okonet/lint-staged (lint-staged)</summary>

###
[`v15.2.7`](https://github.com/okonet/lint-staged/blob/HEAD/CHANGELOG.md#1527)

[Compare
Source](https://github.com/okonet/lint-staged/compare/v15.2.6...v15.2.7)

##### Patch Changes

- [#&#8203;1440](https://github.com/lint-staged/lint-staged/pull/1440)
[`a51be80`](https://github.com/lint-staged/lint-staged/commit/a51be804b63307ac7af3c82f4cb2d43dbe92daac)
Thanks [@&#8203;iiroj](https://github.com/iiroj)! - In the previous
version the native `git rev-parse --show-toplevel` command was taken
into use for resolving the current git repo root. This version drops the
`--path-format=absolute` option to support earlier git versions since
it's also the default behavior. If you are still having trouble, please
try upgrading `git` to the latest version.

###
[`v15.2.6`](https://github.com/okonet/lint-staged/blob/HEAD/CHANGELOG.md#1526)

[Compare
Source](https://github.com/okonet/lint-staged/compare/v15.2.5...v15.2.6)

##### Patch Changes

- [#&#8203;1433](https://github.com/lint-staged/lint-staged/pull/1433)
[`119adb2`](https://github.com/lint-staged/lint-staged/commit/119adb29854cabddbfcf0469d7c8a0126184a5d4)
Thanks [@&#8203;iiroj](https://github.com/iiroj)! - Use native "git
rev-parse" commands to determine git repo root directory and the .git
config directory, instead of using custom logic. This hopefully makes
path resolution more robust on non-POSIX systems.

</details>

<details>
<summary>prettier/prettier (prettier)</summary>

###
[`v3.3.2`](https://github.com/prettier/prettier/blob/HEAD/CHANGELOG.md#332)

[Compare
Source](https://github.com/prettier/prettier/compare/3.3.1...3.3.2)

[diff](https://github.com/prettier/prettier/compare/3.3.1...3.3.2)

##### Fix handlebars path expressions starts with `@`
([#&#8203;16358](https://github.com/prettier/prettier/pull/16358) by
[@&#8203;Princeyadav05](https://github.com/Princeyadav05))

<!-- prettier-ignore -->

```hbs
{{! Input }}
<div>{{@&#8203;x.y.z}}</div>

{{! Prettier 3.3.1 }}
<div>{{@&#8203;x}}</div>

{{! Prettier 3.3.2 }}
<div>{{@&#8203;x.y.z}}</div>
```

</details>

<details>
<summary>typescript-eslint/typescript-eslint
(typescript-eslint)</summary>

###
[`v7.13.0`](https://github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/typescript-eslint/CHANGELOG.md#7130-2024-06-10)

[Compare
Source](https://github.com/typescript-eslint/typescript-eslint/compare/v7.12.0...v7.13.0)

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.

</details>

<details>
<summary>vitejs/vite (vite)</summary>

###
[`v5.3.1`](https://github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small531-2024-06-14-small)

[Compare
Source](https://github.com/vitejs/vite/compare/v5.3.0...v5.3.1)

- fix(build): handle preload treeshaking for braces
([#&#8203;17479](https://github.com/vitejs/vite/issues/17479))
([d355568](https://github.com/vitejs/vite/commit/d355568)), closes
[#&#8203;17479](https://github.com/vitejs/vite/issues/17479)
- fix(build): handle preload treeshaking for commas
([#&#8203;17472](https://github.com/vitejs/vite/issues/17472))
([3e27071](https://github.com/vitejs/vite/commit/3e27071)), closes
[#&#8203;17472](https://github.com/vitejs/vite/issues/17472)
- fix(build): preload treeshaking ignore equal
([#&#8203;17480](https://github.com/vitejs/vite/issues/17480))
([6ced135](https://github.com/vitejs/vite/commit/6ced135)), closes
[#&#8203;17480](https://github.com/vitejs/vite/issues/17480)
- chore: consolidate changelog for 5.3
([#&#8203;17476](https://github.com/vitejs/vite/issues/17476))
([1f09344](https://github.com/vitejs/vite/commit/1f09344)), closes
[#&#8203;17476](https://github.com/vitejs/vite/issues/17476)

###
[`v5.3.0`](https://github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#530-2024-06-13)

[Compare
Source](https://github.com/vitejs/vite/compare/v5.2.13...v5.3.0)

- fix: typo in client log
([#&#8203;17363](https://github.com/vitejs/vite/issues/17363))
([68aa9f8](https://github.com/vitejs/vite/commit/68aa9f8)), closes
[#&#8203;17363](https://github.com/vitejs/vite/issues/17363)
- fix(ssrTransform): handle arbitrary module namespace identifiers
([#&#8203;17446](https://github.com/vitejs/vite/issues/17446))
([0a76652](https://github.com/vitejs/vite/commit/0a76652)), closes
[#&#8203;17446](https://github.com/vitejs/vite/issues/17446)
- test: disable isolate for unit test
([#&#8203;17448](https://github.com/vitejs/vite/issues/17448))
([f16fae5](https://github.com/vitejs/vite/commit/f16fae5)), closes
[#&#8203;17448](https://github.com/vitejs/vite/issues/17448)
- feat: asset type add bmp
([#&#8203;17439](https://github.com/vitejs/vite/issues/17439))
([ec287f8](https://github.com/vitejs/vite/commit/ec287f8)), closes
[#&#8203;17439](https://github.com/vitejs/vite/issues/17439)

</details>

---

### 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](https://github.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/brave/ads-ui).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MTAuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQxMC4xIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ian Krieger <iandkrieger@gmail.com>
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@apollo/client](https://www.apollographql.com/docs/react/)
([source](https://github.com/apollographql/apollo-client)) | [`3.8.10`
->
`3.10.5`](https://renovatebot.com/diffs/npm/@apollo%2fclient/3.8.10/3.10.5)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@apollo%2fclient/3.10.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@apollo%2fclient/3.10.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@apollo%2fclient/3.8.10/3.10.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@apollo%2fclient/3.8.10/3.10.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>apollographql/apollo-client (@&#8203;apollo/client)</summary>

###
[`v3.10.5`](https://github.com/apollographql/apollo-client/blob/HEAD/CHANGELOG.md#3105)

[Compare
Source](https://github.com/apollographql/apollo-client/compare/v3.10.4...v3.10.5)

##### Patch Changes

-
[#&#8203;11888](https://github.com/apollographql/apollo-client/pull/11888)
[`7fb7939`](https://github.com/apollographql/apollo-client/commit/7fb7939edb7ca8f4273b75554f96ea9936731458)
Thanks [@&#8203;phryneas](https://github.com/phryneas)! - switch
`useRenderGuard` to an approach not accessing React's internals

-
[#&#8203;11511](https://github.com/apollographql/apollo-client/pull/11511)
[`6536369`](https://github.com/apollographql/apollo-client/commit/6536369cf213469d20d15b779c344268d70fecd5)
Thanks [@&#8203;phryneas](https://github.com/phryneas)! -
`useLoadableQuery`: ensure that `loadQuery` is updated if the
ApolloClient instance changes

-
[#&#8203;11860](https://github.com/apollographql/apollo-client/pull/11860)
[`8740f19`](https://github.com/apollographql/apollo-client/commit/8740f198805a99e01136617c4055d611b92cc231)
Thanks [@&#8203;alessbell](https://github.com/alessbell)! - Fixes
[#&#8203;11849](https://github.com/apollographql/apollo-client/issues/11849)
by reevaluating `window.fetch` each time `BatchHttpLink` uses it, if not
configured via `options.fetch`. Takes the same approach as PR
[#&#8203;8603](https://github.com/apollographql/apollo-client/pull/8603)
which fixed the same issue in `HttpLink`.

-
[#&#8203;11852](https://github.com/apollographql/apollo-client/pull/11852)
[`d502a69`](https://github.com/apollographql/apollo-client/commit/d502a69654d8ffa31e09467da028304a934a9874)
Thanks [@&#8203;phryneas](https://github.com/phryneas)! - Fix a bug
where calling the `useMutation` `reset` function would point the hook to
an outdated `client` reference.

-
[#&#8203;11329](https://github.com/apollographql/apollo-client/pull/11329)
[`3d164ea`](https://github.com/apollographql/apollo-client/commit/3d164ea16c17d271f6fa9e5ad8f013623eec23a0)
Thanks [@&#8203;PaLy](https://github.com/PaLy)! - Fix graphQLErrors in
Error Link if networkError.result is an empty string

-
[#&#8203;11852](https://github.com/apollographql/apollo-client/pull/11852)
[`d502a69`](https://github.com/apollographql/apollo-client/commit/d502a69654d8ffa31e09467da028304a934a9874)
Thanks [@&#8203;phryneas](https://github.com/phryneas)! - Prevent
writing to a ref in render in `useMutation`.
As a result, you might encounter problems in the future if you call the
mutation's `execute` function during render. Please note that this was
never supported behavior, and we strongly recommend against it.

-
[#&#8203;11848](https://github.com/apollographql/apollo-client/pull/11848)
[`ad63924`](https://github.com/apollographql/apollo-client/commit/ad6392424ddbeb6f91b165c806251490e1cdd69e)
Thanks [@&#8203;phryneas](https://github.com/phryneas)! - Ensure
covariant behavior: `MockedResponse<X,Y>` should be assignable to
`MockedResponse`

-
[#&#8203;11851](https://github.com/apollographql/apollo-client/pull/11851)
[`45c47be`](https://github.com/apollographql/apollo-client/commit/45c47be26d4e020cfcff359a5af19ccfc39b930e)
Thanks [@&#8203;phryneas](https://github.com/phryneas)! - Avoid usage
of useRef in useInternalState to prevent ref access in render.

-
[#&#8203;11877](https://github.com/apollographql/apollo-client/pull/11877)
[`634d91a`](https://github.com/apollographql/apollo-client/commit/634d91aeb10ab308b05d5ffb918678806046af09)
Thanks [@&#8203;phryneas](https://github.com/phryneas)! - Add missing
name to tuple member (fix TS5084)

-
[#&#8203;11851](https://github.com/apollographql/apollo-client/pull/11851)
[`45c47be`](https://github.com/apollographql/apollo-client/commit/45c47be26d4e020cfcff359a5af19ccfc39b930e)
Thanks [@&#8203;phryneas](https://github.com/phryneas)! - Fix a bug
where `useLazyQuery` would not pick up a client change.

###
[`v3.10.4`](https://github.com/apollographql/apollo-client/blob/HEAD/CHANGELOG.md#3104)

[Compare
Source](https://github.com/apollographql/apollo-client/compare/v3.10.3...v3.10.4)

##### Patch Changes

-
[#&#8203;11838](https://github.com/apollographql/apollo-client/pull/11838)
[`8475346`](https://github.com/apollographql/apollo-client/commit/84753462af50d89c8693713990cccf432ff8267d)
Thanks [@&#8203;alex-kinokon](https://github.com/alex-kinokon)! -
Don’t prompt for DevTools installation for browser extension page

-
[#&#8203;11839](https://github.com/apollographql/apollo-client/pull/11839)
[`6481fe1`](https://github.com/apollographql/apollo-client/commit/6481fe1196cedee987781dcb45ebdc0cafb3998c)
Thanks [@&#8203;jerelmiller](https://github.com/jerelmiller)! - Fix a
regression in
[3.9.5](https://github.com/apollographql/apollo-client/releases/tag/v3.9.5)
where a merge function that returned an incomplete result would not
allow the client to refetch in order to fulfill the query.

-
[#&#8203;11844](https://github.com/apollographql/apollo-client/pull/11844)
[`86984f2`](https://github.com/apollographql/apollo-client/commit/86984f24bd9076a6034acd59bbcb28a2ea1add93)
Thanks [@&#8203;jerelmiller](https://github.com/jerelmiller)! - Honor
the `@nonreactive` directive when using `cache.watchFragment` or the
`useFragment` hook to avoid rerendering when using these directives.

-
[#&#8203;11824](https://github.com/apollographql/apollo-client/pull/11824)
[`47ad806`](https://github.com/apollographql/apollo-client/commit/47ad806c7b0c55f1e05dbf276ca87a354ac389e5)
Thanks [@&#8203;phryneas](https://github.com/phryneas)! - Create
branded `QueryRef` type without exposed properties.

This change deprecates `QueryReference` in favor of a `QueryRef` type
that doesn't expose any properties.
This change also updates `preloadQuery` to return a new
`PreloadedQueryRef` type, which exposes the `toPromise` function as it
does today. This means that query refs produced by `useBackgroundQuery`
and `useLoadableQuery` now return `QueryRef` types that do not have
access to a `toPromise` function, which was never meant to be used in
combination with these hooks.

While we tend to avoid any types of breaking changes in patch releases
as this, this change was necessary to support an upcoming version of the
React Server Component integration, which needed to omit the `toPromise`
function that would otherwise have broken at runtime.
Note that this is a TypeScript-only change. At runtime, `toPromise` is
still present on all queryRefs currently created by this package - but
we strongly want to discourage you from accessing it in all cases except
for the `PreloadedQueryRef` use case.

Migration is as simple as replacing all references to `QueryReference`
with `QueryRef`, so it should be possible to do this with a search &
replace in most code bases:

    ```diff
    -import { QueryReference } from '@&#8203;apollo/client'
    +import { QueryRef } from '@&#8203;apollo/client'

- function Component({ queryRef }: { queryRef: QueryReference<TData> })
{
    + function Component({ queryRef }: { queryRef: QueryRef<TData> }) {
      // ...
    }
    ```

-
[#&#8203;11845](https://github.com/apollographql/apollo-client/pull/11845)
[`4c5c820`](https://github.com/apollographql/apollo-client/commit/4c5c820b6172f6a2455bcdd974109513e0e2a39e)
Thanks [@&#8203;jerelmiller](https://github.com/jerelmiller)! - Remove
`@nonreactive` directives from queries passed to `MockLink` to ensure
they are properly matched.

-
[#&#8203;11837](https://github.com/apollographql/apollo-client/pull/11837)
[`dff15b1`](https://github.com/apollographql/apollo-client/commit/dff15b1b03ebac9cae508c69bf607a29d0f6eccb)
Thanks [@&#8203;jerelmiller](https://github.com/jerelmiller)! - Fix an
issue where a polled query created in React strict mode may not stop
polling after the component unmounts while using the `cache-and-network`
fetch policy.

###
[`v3.10.3`](https://github.com/apollographql/apollo-client/blob/HEAD/CHANGELOG.md#3103)

[Compare
Source](https://github.com/apollographql/apollo-client/compare/v3.10.2...v3.10.3)

##### Patch Changes

-
[#&#8203;11811](https://github.com/apollographql/apollo-client/pull/11811)
[`d67d7f9`](https://github.com/apollographql/apollo-client/commit/d67d7f9a2943273cacaefb26a54184e81f12b022)
Thanks [@&#8203;phryneas](https://github.com/phryneas)! - Adjust some
types for React 19 compat

-
[#&#8203;11834](https://github.com/apollographql/apollo-client/pull/11834)
[`7d8aad4`](https://github.com/apollographql/apollo-client/commit/7d8aad4a00b89e0208ee1563293c24025e6604ce)
Thanks [@&#8203;psamim](https://github.com/psamim)! - Fix error
"Cannot convert object to primitive value"

###
[`v3.10.2`](https://github.com/apollographql/apollo-client/blob/HEAD/CHANGELOG.md#3102)

[Compare
Source](https://github.com/apollographql/apollo-client/compare/v3.10.1...v3.10.2)

##### Patch Changes

-
[#&#8203;11821](https://github.com/apollographql/apollo-client/pull/11821)
[`2675d3c`](https://github.com/apollographql/apollo-client/commit/2675d3c97e6c47c6e298382004c7c9c2d3ffed0c)
Thanks [@&#8203;jerelmiller](https://github.com/jerelmiller)! - Fix a
regression where rerendering a component with `useBackgroundQuery` would
recreate the `queryRef` instance when used with React's strict mode.

-
[#&#8203;11821](https://github.com/apollographql/apollo-client/pull/11821)
[`2675d3c`](https://github.com/apollographql/apollo-client/commit/2675d3c97e6c47c6e298382004c7c9c2d3ffed0c)
Thanks [@&#8203;jerelmiller](https://github.com/jerelmiller)! - Revert
the change introduced in

[3.9.10](https://github.com/apollographql/apollo-client/releases/tag/v3.9.10)
via
[#&#8203;11738](https://github.com/apollographql/apollo-client/issues/11738)
that disposed of queryRefs synchronously. This change caused too many
issues with strict mode.

###
[`v3.10.1`](https://github.com/apollographql/apollo-client/blob/HEAD/CHANGELOG.md#3101)

[Compare
Source](https://github.com/apollographql/apollo-client/compare/v3.10.0...v3.10.1)

##### Patch Changes

-
[#&#8203;11792](https://github.com/apollographql/apollo-client/pull/11792)
[`5876c35`](https://github.com/apollographql/apollo-client/commit/5876c35530a21473207954d1f0c2b7dd00c0b9ea)
Thanks [@&#8203;phryneas](https://github.com/phryneas)! -
AutoCleanedCache: only schedule batched cache cleanup if the cache is
full (fixes
[#&#8203;11790](https://github.com/apollographql/apollo-client/issues/11790))

-
[#&#8203;11799](https://github.com/apollographql/apollo-client/pull/11799)
[`1aca7ed`](https://github.com/apollographql/apollo-client/commit/1aca7ed5a3accf2303ccdf9b3dece7278f03ad62)
Thanks [@&#8203;phryneas](https://github.com/phryneas)! -
`RenderPromises`: use `canonicalStringify` to serialize `variables` to
ensure query deduplication is properly applied even when `variables` are
specified in a different order.

-
[#&#8203;11803](https://github.com/apollographql/apollo-client/pull/11803)
[`bf9dd17`](https://github.com/apollographql/apollo-client/commit/bf9dd17b288f33901e9421bcc0eacb3894c087af)
Thanks [@&#8203;phryneas](https://github.com/phryneas)! - Update the
`rehackt` dependency to `^0.1.0`

-
[#&#8203;11756](https://github.com/apollographql/apollo-client/pull/11756)
[`60592e9`](https://github.com/apollographql/apollo-client/commit/60592e95399c3695d1d49a4c39ad29f00d4059fd)
Thanks [@&#8203;henryqdineen](https://github.com/henryqdineen)! - Fix
operation.setContext() type

###
[`v3.10.0`](https://github.com/apollographql/apollo-client/blob/HEAD/CHANGELOG.md#3100)

[Compare
Source](https://github.com/apollographql/apollo-client/compare/v3.9.11...v3.10.0)

##### Minor Changes

-
[#&#8203;11605](https://github.com/apollographql/apollo-client/pull/11605)
[`e2dd4c9`](https://github.com/apollographql/apollo-client/commit/e2dd4c95290cea604b548cc446826d89aafe8e11)
Thanks [@&#8203;alessbell](https://github.com/alessbell)! - Adds
`createMockFetch` utility for integration testing that includes the link
chain

-
[#&#8203;11760](https://github.com/apollographql/apollo-client/pull/11760)
[`acd1982`](https://github.com/apollographql/apollo-client/commit/acd1982a59ed66fc44fa9e70b08a31c69dac35a6)
Thanks [@&#8203;alessbell](https://github.com/alessbell)! -
`createTestSchema` now uses graphql-tools `mergeResolvers` to merge
resolvers instead of a shallow merge.

-
[#&#8203;11764](https://github.com/apollographql/apollo-client/pull/11764)
[`f046aa9`](https://github.com/apollographql/apollo-client/commit/f046aa9fc24ac197a797045d280811a3bbe05806)
Thanks [@&#8203;alessbell](https://github.com/alessbell)! - Rename
`createProxiedSchema` to `createTestSchema` and `createMockFetch` to
`createSchemaFetch`.

-
[#&#8203;11777](https://github.com/apollographql/apollo-client/pull/11777)
[`5dfc79f`](https://github.com/apollographql/apollo-client/commit/5dfc79fa6d974362f38361f7dffbe984a9546377)
Thanks [@&#8203;alessbell](https://github.com/alessbell)! - Call
`createMockSchema` inside `createTestSchema`.

-
[#&#8203;11774](https://github.com/apollographql/apollo-client/pull/11774)
[`2583488`](https://github.com/apollographql/apollo-client/commit/2583488677912cb4500e5fb9e3f91b5c113c4cdb)
Thanks [@&#8203;alessbell](https://github.com/alessbell)! - Add
ability to set min and max delay in `createSchemaFetch`

-
[#&#8203;11605](https://github.com/apollographql/apollo-client/pull/11605)
[`e2dd4c9`](https://github.com/apollographql/apollo-client/commit/e2dd4c95290cea604b548cc446826d89aafe8e11)
Thanks [@&#8203;alessbell](https://github.com/alessbell)! - Adds
proxiedSchema and createMockSchema testing utilities

-
[#&#8203;11465](https://github.com/apollographql/apollo-client/pull/11465)
[`7623da7`](https://github.com/apollographql/apollo-client/commit/7623da7720855b0c19e13ff9124679f426a39725)
Thanks [@&#8203;alessbell](https://github.com/alessbell)! - Add
`watchFragment` method to the cache and expose it on ApolloClient,
refactor `useFragment` using `watchFragment`.

-
[#&#8203;11743](https://github.com/apollographql/apollo-client/pull/11743)
[`78891f9`](https://github.com/apollographql/apollo-client/commit/78891f9ec81c0b7a7e010f5550a91965fa33a958)
Thanks [@&#8203;jerelmiller](https://github.com/jerelmiller)! - Remove
alpha designation for `queryRef.toPromise()` to stabilize the API.

-
[#&#8203;11743](https://github.com/apollographql/apollo-client/pull/11743)
[`78891f9`](https://github.com/apollographql/apollo-client/commit/78891f9ec81c0b7a7e010f5550a91965fa33a958)
Thanks [@&#8203;jerelmiller](https://github.com/jerelmiller)! - Remove
alpha designation for `createQueryPreloader` to stabilize the API.

-
[#&#8203;11783](https://github.com/apollographql/apollo-client/pull/11783)
[`440563a`](https://github.com/apollographql/apollo-client/commit/440563ab2c47efcb9c7d08f52531ade33d753037)
Thanks [@&#8203;alessbell](https://github.com/alessbell)! - Moves new
testing utilities to their own entrypoint, `testing/experimental`

##### Patch Changes

-
[#&#8203;11757](https://github.com/apollographql/apollo-client/pull/11757)
[`9825295`](https://github.com/apollographql/apollo-client/commit/982529530893f66a1d236f0fff53862e513fc9a8)
Thanks [@&#8203;phryneas](https://github.com/phryneas)! - Adjust
`useReadQuery` wrapper logic to work with transported objects.

-
[#&#8203;11771](https://github.com/apollographql/apollo-client/pull/11771)
[`e72cbba`](https://github.com/apollographql/apollo-client/commit/e72cbba07e5caa6d75b44ca8c766846e855a6c93)
Thanks [@&#8203;phryneas](https://github.com/phryneas)! - Wrap
`useQueryRefHandlers` in `wrapHook`.

-
[#&#8203;11754](https://github.com/apollographql/apollo-client/pull/11754)
[`80d2ba5`](https://github.com/apollographql/apollo-client/commit/80d2ba579fe6d2a2d102d1fe79d7d503f31cd931)
Thanks [@&#8203;alessbell](https://github.com/alessbell)! - Export
`WatchFragmentOptions` and `WatchFragmentResult` from main entrypoint
and fix bug where `this` wasn't bound to the `watchFragment` method on
`ApolloClient`.

###
[`v3.9.11`](https://github.com/apollographql/apollo-client/blob/HEAD/CHANGELOG.md#3911)

[Compare
Source](https://github.com/apollographql/apollo-client/compare/v3.9.10...v3.9.11)

##### Patch Changes

-
[#&#8203;11769](https://github.com/apollographql/apollo-client/pull/11769)
[`04132af`](https://github.com/apollographql/apollo-client/commit/04132af121c9b48d6e03eb733b9b91f825defbac)
Thanks [@&#8203;jerelmiller](https://github.com/jerelmiller)! - Fix an
issue where using `skipToken` or the `skip` option with
`useSuspenseQuery` in React's strict mode would perform a network
request.

###
[`v3.9.10`](https://github.com/apollographql/apollo-client/blob/HEAD/CHANGELOG.md#3910)

[Compare
Source](https://github.com/apollographql/apollo-client/compare/v3.9.9...v3.9.10)

##### Patch Changes

-
[#&#8203;11738](https://github.com/apollographql/apollo-client/pull/11738)
[`b1a5eb8`](https://github.com/apollographql/apollo-client/commit/b1a5eb80cae8bdf2e9d8627f1eab65e088c43438)
Thanks [@&#8203;jerelmiller](https://github.com/jerelmiller)! - Fix an
issue where rerendering `useBackgroundQuery` after the `queryRef` had
been disposed, either via the auto dispose timeout or by unmounting
`useReadQuery`, would cause the `queryRef` to be recreated potentially
resulting in another network request.

-
[#&#8203;11738](https://github.com/apollographql/apollo-client/pull/11738)
[`b1a5eb8`](https://github.com/apollographql/apollo-client/commit/b1a5eb80cae8bdf2e9d8627f1eab65e088c43438)
Thanks [@&#8203;jerelmiller](https://github.com/jerelmiller)! - Allow
queryRefs to be disposed of synchronously when a suspense hook unmounts.
This prevents some situations where using a suspense hook with the same
query/variables as the disposed queryRef accidentally used the disposed
queryRef rather than creating a new instance.

-
[#&#8203;11670](https://github.com/apollographql/apollo-client/pull/11670)
[`cc5c03b`](https://github.com/apollographql/apollo-client/commit/cc5c03b2690f452483d83eecb68611a23055d99e)
Thanks [@&#8203;phryneas](https://github.com/phryneas)! - Bail out of
`executeSubSelectedArray` calls if the array has 0 elements.

###
[`v3.9.9`](https://github.com/apollographql/apollo-client/blob/HEAD/CHANGELOG.md#399)

[Compare
Source](https://github.com/apollographql/apollo-client/compare/v3.9.8...v3.9.9)

##### Patch Changes

-
[#&#8203;11696](https://github.com/apollographql/apollo-client/pull/11696)
[`466ef82`](https://github.com/apollographql/apollo-client/commit/466ef82198486fc696da64d17d82b46140760ac4)
Thanks [@&#8203;PiR1](https://github.com/PiR1)! - Immediately dispose
of the `queryRef` if `useBackgroundQuery` unmounts before the auto
dispose timeout kicks in.

###
[`v3.9.8`](https://github.com/apollographql/apollo-client/blob/HEAD/CHANGELOG.md#398)

[Compare
Source](https://github.com/apollographql/apollo-client/compare/v3.9.7...v3.9.8)

##### Patch Changes

-
[#&#8203;11706](https://github.com/apollographql/apollo-client/pull/11706)
[`8619bc7`](https://github.com/apollographql/apollo-client/commit/8619bc7e569c1c732afa6faf605c83a6ce0cdf0c)
Thanks [@&#8203;jerelmiller](https://github.com/jerelmiller)! - Fix
issue in all suspense hooks where returning an empty array after calling
`fetchMore` would rerender the component with an empty list.

-
[#&#8203;11694](https://github.com/apollographql/apollo-client/pull/11694)
[`835d5f3`](https://github.com/apollographql/apollo-client/commit/835d5f30c532c432e2434561580e6f1ec44cc908)
Thanks [@&#8203;phryneas](https://github.com/phryneas)! - Expose
`setErrorMessageHandler` from `@apollo/client/dev` entrypoint.

-
[#&#8203;11689](https://github.com/apollographql/apollo-client/pull/11689)
[`cb8ffe5`](https://github.com/apollographql/apollo-client/commit/cb8ffe50e903397f741b62a44624bfe69b5f7b75)
Thanks [@&#8203;jerelmiller](https://github.com/jerelmiller)! - Fix
issue where passing a new `from` option to `useFragment` would first
render with the previous value before rerendering with the correct
value.

-
[#&#8203;11713](https://github.com/apollographql/apollo-client/pull/11713)
[`642092c`](https://github.com/apollographql/apollo-client/commit/642092c713199093aede45f105a1ee3f637614cd)
Thanks [@&#8203;jerelmiller](https://github.com/jerelmiller)! - Fix
issue where setting a default `watchQuery` option in the `ApolloClient`
constructor could break `startTransition` when used with suspense hooks.

###
[`v3.9.7`](https://github.com/apollographql/apollo-client/blob/HEAD/CHANGELOG.md#397)

[Compare
Source](https://github.com/apollographql/apollo-client/compare/v3.9.6...v3.9.7)

##### Patch Changes

-
[#&#8203;11659](https://github.com/apollographql/apollo-client/pull/11659)
[`652a61e`](https://github.com/apollographql/apollo-client/commit/652a61e96db0f0e27d0a22fafae1df388f3fdf36)
Thanks [@&#8203;phryneas](https://github.com/phryneas)! - Make
`useRenderGuard` more resilient to changes in React internals.

-
[#&#8203;11594](https://github.com/apollographql/apollo-client/pull/11594)
[`50b1097`](https://github.com/apollographql/apollo-client/commit/50b10970ca0efa290ae415ef801650327a89ab8e)
Thanks [@&#8203;alessbell](https://github.com/alessbell)! - Adds a fix
for multipart subscriptions that terminate with payload: null

###
[`v3.9.6`](https://github.com/apollographql/apollo-client/blob/HEAD/CHANGELOG.md#396)

[Compare
Source](https://github.com/apollographql/apollo-client/compare/v3.9.5...v3.9.6)

##### Patch Changes

-
[#&#8203;11617](https://github.com/apollographql/apollo-client/pull/11617)
[`f1d8bc4`](https://github.com/apollographql/apollo-client/commit/f1d8bc40c3d8e39340f721f4f1c3fd0ed77b8a6b)
Thanks [@&#8203;phryneas](https://github.com/phryneas)! - Allow Apollo
Client instance to intercept hook functionality

-
[#&#8203;11638](https://github.com/apollographql/apollo-client/pull/11638)
[`bf93ada`](https://github.com/apollographql/apollo-client/commit/bf93adaa0321b573db0ea8fc3a5c364e1fdfeef3)
Thanks [@&#8203;jerelmiller](https://github.com/jerelmiller)! - Fix
issue where calling `fetchMore` from a suspense-enabled hook inside
`startTransition` caused an unnecessary rerender.

###
[`v3.9.5`](https://github.com/apollographql/apollo-client/blob/HEAD/CHANGELOG.md#395)

[Compare
Source](https://github.com/apollographql/apollo-client/compare/v3.9.4...v3.9.5)

##### Patch Changes

-
[#&#8203;11595](https://github.com/apollographql/apollo-client/pull/11595)
[`8c20955`](https://github.com/apollographql/apollo-client/commit/8c20955874562e5b2ab35557325e047b059bc4fc)
Thanks [@&#8203;phryneas](https://github.com/phryneas)! - Bumps the
dependency `rehackt` to 0.0.5

-
[#&#8203;11592](https://github.com/apollographql/apollo-client/pull/11592)
[`1133469`](https://github.com/apollographql/apollo-client/commit/1133469bd91ff76b9815e815a454a79d8e23a9bc)
Thanks [@&#8203;Stephen2](https://github.com/Stephen2)! - Strengthen
`MockedResponse.newData` type

-
[#&#8203;11579](https://github.com/apollographql/apollo-client/pull/11579)
[`1ba2fd9`](https://github.com/apollographql/apollo-client/commit/1ba2fd919f79dfdc7b9d3f7d1a7aa5918e648349)
Thanks [@&#8203;jerelmiller](https://github.com/jerelmiller)! - Fix
issue where partial data is reported to `useQuery` when using
`notifyOnNetworkStatusChange` after it errors while another overlapping
query succeeds.

-
[#&#8203;11579](https://github.com/apollographql/apollo-client/pull/11579)
[`1ba2fd9`](https://github.com/apollographql/apollo-client/commit/1ba2fd919f79dfdc7b9d3f7d1a7aa5918e648349)
Thanks [@&#8203;jerelmiller](https://github.com/jerelmiller)! - Fix an
issue where a partial cache write for an errored query would result in
automatically refetching that query.

-
[#&#8203;11562](https://github.com/apollographql/apollo-client/pull/11562)
[`65ab695`](https://github.com/apollographql/apollo-client/commit/65ab695470741e8dcaef1ebd7742c3c397526354)
Thanks [@&#8203;mspiess](https://github.com/mspiess)! - Mocks with an
infinite delay no longer require result or error

###
[`v3.9.4`](https://github.com/apollographql/apollo-client/blob/HEAD/CHANGELOG.md#394)

[Compare
Source](https://github.com/apollographql/apollo-client/compare/v3.9.3...v3.9.4)

##### Patch Changes

-
[#&#8203;11403](https://github.com/apollographql/apollo-client/pull/11403)
[`b0c4f3a`](https://github.com/apollographql/apollo-client/commit/b0c4f3ad8198981a229b46dc430345a76e577e9c)
Thanks [@&#8203;jerelmiller](https://github.com/jerelmiller)! - Fix
issue in `useLazyQuery` that results in a double network call when
calling the execute function with no arguments after having called it
previously with another set of arguments.

-
[#&#8203;11576](https://github.com/apollographql/apollo-client/pull/11576)
[`e855d00`](https://github.com/apollographql/apollo-client/commit/e855d00447e4d9ae478d98f6796d842ef6cc76d1)
Thanks [@&#8203;alessbell](https://github.com/alessbell)! - Revert PR
[#&#8203;11202](https://github.com/apollographql/apollo-client/pull/11202)
to fix caching bug reported in
[#&#8203;11560](https://github.com/apollographql/apollo-client/issues/11560)

###
[`v3.9.3`](https://github.com/apollographql/apollo-client/blob/HEAD/CHANGELOG.md#393)

[Compare
Source](https://github.com/apollographql/apollo-client/compare/v3.9.2...v3.9.3)

##### Patch Changes

-
[#&#8203;11525](https://github.com/apollographql/apollo-client/pull/11525)
[`dce923a`](https://github.com/apollographql/apollo-client/commit/dce923ae57eb6b6d889e2980635cb90e2c6cbca3)
Thanks [@&#8203;vezaynk](https://github.com/vezaynk)! - Allows passing
in client via options to useFragment

-
[#&#8203;11558](https://github.com/apollographql/apollo-client/pull/11558)
[`8cba16f`](https://github.com/apollographql/apollo-client/commit/8cba16f041609443111ecf5fb58faea1b3e79569)
Thanks [@&#8203;alessbell](https://github.com/alessbell)! - Fix
[`unbound-method`](https://github.com/apollographql/apollo-client/issues/11554)
linter error on ObservableQuery methods exposed on useQuery's
QueryResult object.

###
[`v3.9.2`](https://github.com/apollographql/apollo-client/blob/HEAD/CHANGELOG.md#392)

[Compare
Source](https://github.com/apollographql/apollo-client/compare/v3.9.1...v3.9.2)

##### Patch Changes

-
[#&#8203;11552](https://github.com/apollographql/apollo-client/pull/11552)
[`6ac2b0c`](https://github.com/apollographql/apollo-client/commit/6ac2b0ce4d999c63478d85b40ad56ccda9624797)
Thanks [@&#8203;jerelmiller](https://github.com/jerelmiller)! - Fix
import in `useLazyRef` causing import issues in the nextjs package.

###
[`v3.9.1`](https://github.com/apollographql/apollo-client/blob/HEAD/CHANGELOG.md#391)

[Compare
Source](https://github.com/apollographql/apollo-client/compare/v3.9.0...v3.9.1)

##### Patch Changes

-
[#&#8203;11516](https://github.com/apollographql/apollo-client/pull/11516)
[`8390fea`](https://github.com/apollographql/apollo-client/commit/8390fea13175bada8361ba5f0df2e43197085aba)
Thanks [@&#8203;phryneas](https://github.com/phryneas)! - Fix an
incorrect string substitution in a warning message.

-
[#&#8203;11515](https://github.com/apollographql/apollo-client/pull/11515)
[`c9bf93b`](https://github.com/apollographql/apollo-client/commit/c9bf93bdc2816f7fdba96961e1435f463f440bd1)
Thanks [@&#8203;vladar](https://github.com/vladar)! - Avoid redundant
refetchQueries call for mutation with no-cache policy (fixes
[#&#8203;10238](https://github.com/apollographql/apollo-client/issues/10238))

-
[#&#8203;11545](https://github.com/apollographql/apollo-client/pull/11545)
[`84a6bea`](https://github.com/apollographql/apollo-client/commit/84a6beaeae69acdffea49ba6b8242752cc188172)
Thanks [@&#8203;alessbell](https://github.com/alessbell)! - Remove
error thrown by `inFlightLinkObservables` intended to be removed before
3.9 release.

###
[`v3.9.0`](https://github.com/apollographql/apollo-client/blob/HEAD/CHANGELOG.md#390)

[Compare
Source](https://github.com/apollographql/apollo-client/compare/v3.8.10...v3.9.0)

##### Minor Changes

##### Memory optimizations

-
[#&#8203;11424](https://github.com/apollographql/apollo-client/pull/11424)
[`62f3b6d`](https://github.com/apollographql/apollo-client/commit/62f3b6d0e89611e27d9f29812ee60e5db5963fd6)
Thanks [@&#8203;phryneas](https://github.com/phryneas)! - Simplify
RetryLink, fix potential memory leak

Historically, `RetryLink` would keep a `values` array of all previous
values, in case the operation would get an additional subscriber at a
later point in time.

In practice, this could lead to a memory leak
([#&#8203;11393](https://github.com/apollographql/apollo-client/pull/11393))
and did not serve any further purpose, as the resulting observable would
only be subscribed to by Apollo Client itself, and only once - it would
be wrapped in a `Concast` before being exposed to the user, and that
`Concast` would handle subscribers on its own.

-
[#&#8203;11435](https://github.com/apollographql/apollo-client/pull/11435)
[`5cce53e`](https://github.com/apollographql/apollo-client/commit/5cce53e83b976f85d2d2b06e28cc38f01324fea1)
Thanks [@&#8203;phryneas](https://github.com/phryneas)! - Deprecates
`canonizeResults`.

Using `canonizeResults` can result in memory leaks so we generally do
not recommend using this option anymore. A future version of Apollo
Client will contain a similar feature without the risk of memory leaks.

-
[#&#8203;11254](https://github.com/apollographql/apollo-client/pull/11254)
[`d08970d`](https://github.com/apollographql/apollo-client/commit/d08970d348cf4ad6d80c6baf85b4a4cd4034a3bb)
Thanks [@&#8203;benjamn](https://github.com/benjamn)! - Decouple
`canonicalStringify` from `ObjectCanon` for better time and memory
performance.

-
[#&#8203;11356](https://github.com/apollographql/apollo-client/pull/11356)
[`cc4ac7e`](https://github.com/apollographql/apollo-client/commit/cc4ac7e1917f046bcd177882727864eed40b910e)
Thanks [@&#8203;phryneas](https://github.com/phryneas)! - Fix a
potential memory leak in `FragmentRegistry.transform` and
`FragmentRegistry.findFragmentSpreads` that would hold on to passed-in
`DocumentNodes` for too long.

-
[#&#8203;11370](https://github.com/apollographql/apollo-client/pull/11370)
[`25e2cb4`](https://github.com/apollographql/apollo-client/commit/25e2cb431c76ec5aa88202eaacbd98fad42edc7f)
Thanks [@&#8203;phryneas](https://github.com/phryneas)! - `parse`
function: improve memory management

- use LRU `WeakCache` instead of `Map` to keep a limited number of
parsed results
    -   cache is initiated lazily, only when needed
    -   expose `parse.resetCache()` method

-
[#&#8203;11389](https://github.com/apollographql/apollo-client/pull/11389)
[`139acd1`](https://github.com/apollographql/apollo-client/commit/139acd1153afa1445b69dcb4e139668ab8c5889a)
Thanks [@&#8203;phryneas](https://github.com/phryneas)! -
`documentTransform`: use `optimism` and `WeakCache` instead of directly
storing data on the `Trie`

-
[#&#8203;11358](https://github.com/apollographql/apollo-client/pull/11358)
[`7d939f8`](https://github.com/apollographql/apollo-client/commit/7d939f80fbc2c419c58a6c55b6a35ee7474d0379)
Thanks [@&#8203;phryneas](https://github.com/phryneas)! - Fixes a
potential memory leak in `Concast` that might have been triggered when
`Concast` was used outside of Apollo Client.

-
[#&#8203;11344](https://github.com/apollographql/apollo-client/pull/11344)
[`bd26676`](https://github.com/apollographql/apollo-client/commit/bd2667619700139af32a45364794d11f845ab6cf)
Thanks [@&#8203;phryneas](https://github.com/phryneas)! - Add a
`resetCache` method to `DocumentTransform` and hook
`InMemoryCache.addTypenameTransform` up to `InMemoryCache.gc`

-
[#&#8203;11367](https://github.com/apollographql/apollo-client/pull/11367)
[`30d17bf`](https://github.com/apollographql/apollo-client/commit/30d17bfebe44dbfa7b78c8982cfeb49afd37129c)
Thanks [@&#8203;phryneas](https://github.com/phryneas)! - `print`: use
`WeakCache` instead of `WeakMap`

-
[#&#8203;11387](https://github.com/apollographql/apollo-client/pull/11387)
[`4dce867`](https://github.com/apollographql/apollo-client/commit/4dce8673b1757d8a3a4edd2996d780e86fad14e3)
Thanks [@&#8203;phryneas](https://github.com/phryneas)! -
`QueryManager.transformCache`: use `WeakCache` instead of `WeakMap`

-
[#&#8203;11369](https://github.com/apollographql/apollo-client/pull/11369)
[`2a47164`](https://github.com/apollographql/apollo-client/commit/2a471646616e3af1b5c039e961f8d5717fad8f32)
Thanks [@&#8203;phryneas](https://github.com/phryneas)! - Persisted
Query Link: improve memory management

- use LRU `WeakCache` instead of `WeakMap` to keep a limited number of
hash results
    -   hash cache is initiated lazily, only when needed
    -   expose `persistedLink.resetHashCache()` method
- reset hash cache if the upstream server reports it doesn't accept
persisted queries

-
[#&#8203;10804](https://github.com/apollographql/apollo-client/pull/10804)
[`221dd99`](https://github.com/apollographql/apollo-client/commit/221dd99ffd1990f8bd0392543af35e9b08d0fed8)
Thanks [@&#8203;phryneas](https://github.com/phryneas)! - use WeakMap
in React Native with Hermes

-
[#&#8203;11355](https://github.com/apollographql/apollo-client/pull/11355)
[`7d8e184`](https://github.com/apollographql/apollo-client/commit/7d8e18493cd13134726c6643cbf0fadb08be2d37)
Thanks [@&#8203;phryneas](https://github.com/phryneas)! -
InMemoryCache.gc now also triggers FragmentRegistry.resetCaches (if
there is a FragmentRegistry)

-
[#&#8203;11409](https://github.com/apollographql/apollo-client/pull/11409)
[`2e7203b`](https://github.com/apollographql/apollo-client/commit/2e7203b3a9618952ddb522627ded7cceabd7f250)
Thanks [@&#8203;phryneas](https://github.com/phryneas)! - Adds an
experimental `ApolloClient.getMemoryInternals` helper

-
[#&#8203;11343](https://github.com/apollographql/apollo-client/pull/11343)
[`776631d`](https://github.com/apollographql/apollo-client/commit/776631de4500d56252f6f5fdaf29a81c41dfbdc7)
Thanks [@&#8203;phryneas](https://github.com/phryneas)! - Add `reset`
method to `print`, hook up to `InMemoryCache.gc`

##### Suspense-enabled data fetching on user interaction with
`useLoadableQuery`

-
[#&#8203;11300](https://github.com/apollographql/apollo-client/pull/11300)
[`a815873`](https://github.com/apollographql/apollo-client/commit/a8158733cfa3e65180ec23518d657ea41894bb2b)
Thanks [@&#8203;jerelmiller](https://github.com/jerelmiller)! -
Introduces a new `useLoadableQuery` hook. This hook works similarly to
`useBackgroundQuery` in that it returns a `queryRef` that can be used to
suspend a component via the `useReadQuery` hook. It provides a more
ergonomic way to load the query during a user interaction (for example
when wanting to preload some data) that would otherwise be clunky with
`useBackgroundQuery`.

    ```tsx
    function App() {
      const [loadQuery, queryRef, { refetch, fetchMore, reset }] =
        useLoadableQuery(query, options);

      return (
        <>
<button onClick={() => loadQuery(variables)}>Load query</button>
          <Suspense fallback={<SuspenseFallback />}>
            {queryRef && <Child queryRef={queryRef} />}
          </Suspense>
        </>
      );
    }

    function Child({ queryRef }) {
      const { data } = useReadQuery(queryRef);

      // ...
    }
    ```

##### Begin preloading outside of React with `createQueryPreloader`

-
[#&#8203;11412](https://github.com/apollographql/apollo-client/pull/11412)
[`58db5c3`](https://github.com/apollographql/apollo-client/commit/58db5c3295b88162f91019f0898f6baa4b9cced6)
Thanks [@&#8203;jerelmiller](https://github.com/jerelmiller)! - Add
the ability to start preloading a query outside React to begin fetching
as early as possible. Call `createQueryPreloader` to create a
`preloadQuery` function which can be called to start fetching a query.
This returns a `queryRef` which is passed to `useReadQuery` and
suspended until the query is done fetching.

##### Testing utility improvements

-
[#&#8203;11178](https://github.com/apollographql/apollo-client/pull/11178)
[`4d64a6f`](https://github.com/apollographql/apollo-client/commit/4d64a6fa2ad5abe6f7f172c164f5e1fc2cb89829)
Thanks [@&#8203;sebakerckhof](https://github.com/sebakerckhof)! -
Support re-using of mocks in the MockedProvider

-
[#&#8203;6701](https://github.com/apollographql/apollo-client/pull/6701)
[`8d2b4e1`](https://github.com/apollographql/apollo-client/commit/8d2b4e107d7c21563894ced3a65d631183b58fd9)
Thanks [@&#8203;prowe](https://github.com/prowe)! - Ability to
dynamically match mocks

Adds support for a new property `MockedResponse.variableMatcher`: a
predicate function that accepts a `variables` param. If `true`, the
`variables` will be passed into the `ResultFunction` to help dynamically
build a response.

##### New `useQueryRefHandlers` hook

-
[#&#8203;11412](https://github.com/apollographql/apollo-client/pull/11412)
[`58db5c3`](https://github.com/apollographql/apollo-client/commit/58db5c3295b88162f91019f0898f6baa4b9cced6)
Thanks [@&#8203;jerelmiller](https://github.com/jerelmiller)! - Create
a new `useQueryRefHandlers` hook that returns `refetch` and `fetchMore`
functions for a given `queryRef`. This is useful to get access to
handlers for a `queryRef` that was created by `createQueryPreloader` or
when the handlers for a `queryRef` produced by a different component are
inaccessible.

    ```jsx
    const MyComponent({ queryRef }) {
      const { refetch, fetchMore } = useQueryRefHandlers(queryRef);

      // ...
    }
    ```

##### Bail out of `optimisticResponse` updates with the `IGNORE`
sentinel object

-
[#&#8203;11410](https://github.com/apollographql/apollo-client/pull/11410)
[`07fcf6a`](https://github.com/apollographql/apollo-client/commit/07fcf6a3bf5bc78ffe6f3e598897246b4da02cbb)
Thanks [@&#8203;sf-twingate](https://github.com/sf-twingate)! - Allow
returning `IGNORE` sentinel object from `optimisticResponse` functions
to bail-out from the optimistic update.

    Consider this example:

    ```jsx
    const UPDATE_COMMENT = gql`
mutation UpdateComment($commentId: ID!, $commentContent: String!) {
        updateComment(commentId: $commentId, content: $commentContent) {
          id
          __typename
          content
        }
      }
    `;

    function CommentPageWithData() {
      const [mutate] = useMutation(UPDATE_COMMENT);
      return (
        <Comment
          updateComment={({ commentId, commentContent }) =>
            mutate({
              variables: { commentId, commentContent },
              optimisticResponse: (vars, { IGNORE }) => {
                if (commentContent === "foo") {
                  // conditionally bail out of optimistic updates
                  return IGNORE;
                }
                return {
                  updateComment: {
                    id: commentId,
                    __typename: "Comment",
                    content: commentContent,
                  },
                };
              },
            })
          }
        />
      );
    }
    ```

The `IGNORE` sentinel can be destructured from the second parameter in
the callback function signature passed to `optimisticResponse`.

    ```tsx
    const preloadQuery = createQueryPreloader(client);
const queryRef = preloadQuery(QUERY, { variables, ...otherOptions });

    function App() {
      return {
        <Suspense fallback={<div>Loading</div>}>
          <MyQuery />
        </Suspense>
      }
    }

    function MyQuery() {
      const { data } = useReadQuery(queryRef);

      // do something with data
    }
    ```

##### Network adapters for multipart subscriptions usage with Relay and
urql

-
[#&#8203;11301](https://github.com/apollographql/apollo-client/pull/11301)
[`46ab032`](https://github.com/apollographql/apollo-client/commit/46ab032af83a01f184bfcce5edba4b55dbb2962a)
Thanks [@&#8203;alessbell](https://github.com/alessbell)! - Add
multipart subscription network adapters for Relay and urql

    ##### Relay

    ```tsx
import { createFetchMultipartSubscription } from
"@&#8203;apollo/client/utilities/subscriptions/relay";
import { Environment, Network, RecordSource, Store } from
"relay-runtime";

    const fetchMultipartSubs = createFetchMultipartSubscription(
      "http://localhost:4000",
    );

    const network = Network.create(fetchQuery, fetchMultipartSubs);

    export const RelayEnvironment = new Environment({
      network,
      store: new Store(new RecordSource()),
    });
    ```

    ##### Urql

    ```tsx
import { createFetchMultipartSubscription } from
"@&#8203;apollo/client/utilities/subscriptions/urql";
import { Client, fetchExchange, subscriptionExchange } from
"@&#8203;urql/core";

    const url = "http://localhost:4000";

const multipartSubscriptionForwarder =
createFetchMultipartSubscription(url);

    const client = new Client({
      url,
      exchanges: [
        fetchExchange,
        subscriptionExchange({
          forwardSubscription: multipartSubscriptionForwarder,
        }),
      ],
    });
    ```

##### `skipPollAttempt` callback function

-
[#&#8203;11397](https://github.com/apollographql/apollo-client/pull/11397)
[`3f7eecb`](https://github.com/apollographql/apollo-client/commit/3f7eecbfbd4f4444cffcaac7dd9fd225c8c2a401)
Thanks [@&#8203;aditya-kumawat](https://github.com/aditya-kumawat)! -
Adds a new `skipPollAttempt` callback function that's called whenever a
refetch attempt occurs while polling. If the function returns `true`,
the refetch is skipped and not reattempted until the next poll interval.
This will solve the frequent use-case of disabling polling when the
window is inactive.

    ```ts
    useQuery(QUERY, {
      pollInterval: 1000,
      skipPollAttempt: () => document.hidden, // or !document.hasFocus()
    });
    // or define it globally
    new ApolloClient({
      defaultOptions: {
        watchQuery: {
skipPollAttempt: () => document.hidden, // or !document.hasFocus()
        },
      },
    });
    ```

##### `QueryManager.inFlightLinkObservables` now uses a strong `Trie` as
an internal data structure

-
[#&#8203;11345](https://github.com/apollographql/apollo-client/pull/11345)
[`1759066`](https://github.com/apollographql/apollo-client/commit/1759066a8f9a204e49228568aef9446a64890ff3)
Thanks [@&#8203;phryneas](https://github.com/phryneas)!

##### Warning: requires `@apollo/experimental-nextjs-app-support` update

If you are using `@apollo/experimental-nextjs-app-support`, you will
need to update that to at least 0.5.2, as it accesses this internal data
structure.

<details open>
  <summary><h4>More Minor Changes</h4></summary>

-
[#&#8203;11202](https://github.com/apollographql/apollo-client/pull/11202)
[`7c2bc08`](https://github.com/apollographql/apollo-client/commit/7c2bc08b2ab46b9aa181d187a27aec2ad7129599)
Thanks [@&#8203;benjamn](https://github.com/benjamn)! - Prevent
`QueryInfo#markResult` mutation of `result.data` and return cache data
consistently whether complete or incomplete.

-
[#&#8203;11442](https://github.com/apollographql/apollo-client/pull/11442)
[`4b6f2bc`](https://github.com/apollographql/apollo-client/commit/4b6f2bccf3ba94643b38689b32edd2839e47aec1)
Thanks [@&#8203;jerelmiller](https://github.com/jerelmiller)! - Remove
the need to call `retain` from `useLoadableQuery` since `useReadQuery`
will now retain the query. This means that a `queryRef` that is not
consumed by `useReadQuery` within the given `autoDisposeTimeoutMs` will
now be auto diposed for you.

Thanks to
[#&#8203;11412](https://github.com/apollographql/apollo-client/pull/11412),
disposed query refs will be automatically resubscribed to the query when
consumed by `useReadQuery` after it has been disposed.

-
[#&#8203;11438](https://github.com/apollographql/apollo-client/pull/11438)
[`6d46ab9`](https://github.com/apollographql/apollo-client/commit/6d46ab930a5e9bd5cae153d3b75b8966784fcd4e)
Thanks [@&#8203;jerelmiller](https://github.com/jerelmiller)! - Remove
the need to call `retain` from `useBackgroundQuery` since `useReadQuery`
will now retain the query. This means that a `queryRef` that is not
consumed by `useReadQuery` within the given `autoDisposeTimeoutMs` will
now be auto diposed for you.

Thanks to
[#&#8203;11412](https://github.com/apollographql/apollo-client/pull/11412),
disposed query refs will be automatically resubscribed to the query when
consumed by `useReadQuery` after it has been disposed.

-
[#&#8203;11175](https://github.com/apollographql/apollo-client/pull/11175)
[`d6d1491`](https://github.com/apollographql/apollo-client/commit/d6d14911c40782cd6d69167b6f6169c890091ccb)
Thanks [@&#8203;phryneas](https://github.com/phryneas)! - To work
around issues in React Server Components, especially with bundling for
the Next.js "edge" runtime we now use an external package to wrap
`react` imports
    instead of importing React directly.

-
[#&#8203;11495](https://github.com/apollographql/apollo-client/pull/11495)
[`1190aa5`](https://github.com/apollographql/apollo-client/commit/1190aa59a106217f7192c1f81099adfa5e4365c1)
Thanks [@&#8203;jerelmiller](https://github.com/jerelmiller)! -
Increase the default memory limits for `executeSelectionSet` and
`executeSelectionSetArray`.

</details>

<details open>
  <summary><h3>Patch Changes</h3></summary>

-
[#&#8203;11275](https://github.com/apollographql/apollo-client/pull/11275)
[`3862f9b`](https://github.com/apollographql/apollo-client/commit/3862f9ba9086394c4cf4c2ecd99e8e0f6cf44885)
Thanks [@&#8203;phryneas](https://github.com/phryneas)! - Add a
`defaultContext` option and property on `ApolloClient`, e.g. for keeping
track of changing auth tokens or dependency injection.

This can be used e.g. in authentication scenarios, where a new token
might be generated outside of the link chain and should passed into the
link chain.

    ```js
import { ApolloClient, createHttpLink, InMemoryCache } from
"@&#8203;apollo/client";
    import { setContext } from "@&#8203;apollo/client/link/context";

    const httpLink = createHttpLink({
      uri: "/graphql",
    });

    const authLink = setContext((_, { headers, token }) => {
      return {
        headers: {
          ...headers,
          authorization: token ? `Bearer ${token}` : "",
        },
      };
    });

    const client = new ApolloClient({
      link: authLink.concat(httpLink),
      cache: new InMemoryCache(),
    });

    // somewhere else in your application
    function onNewToken(newToken) {
// token can now be changed for future requests without need for a
global
      // variable, scoped ref or recreating the client
      client.defaultContext.token = newToken;
    }
    ```

-
[#&#8203;11443](https://github.com/apollographql/apollo-client/pull/11443)
[`ff5a332`](https://github.com/apollographql/apollo-client/commit/ff5a332ff8b190c418df25371e36719d70061ebe)
Thanks [@&#8203;phryneas](https://github.com/phryneas)! - Adds a
deprecation warning to the HOC and render prop APIs.

The HOC and render prop APIs have already been deprecated since 2020,
    but we previously didn't have a `@deprecated` tag in the DocBlocks.

-
[#&#8203;11385](https://github.com/apollographql/apollo-client/pull/11385)
[`d9ca4f0`](https://github.com/apollographql/apollo-client/commit/d9ca4f0821c66ae4f03cf35a7ac93fe604cc6de3)
Thanks [@&#8203;phryneas](https://github.com/phryneas)! - ensure
`defaultContext` is also used for mutations and subscriptions

-
[#&#8203;11503](https://github.com/apollographql/apollo-client/pull/11503)
[`67f62e3`](https://github.com/apollographql/apollo-client/commit/67f62e359bc471787d066319326e5582b4a635c8)
Thanks [@&#8203;jerelmiller](https://github.com/jerelmiller)! -
Release changes from
[`v3.8.10`](https://github.com/apollographql/apollo-client/releases/tag/v3.8.10)

-
[#&#8203;11078](https://github.com/apollographql/apollo-client/pull/11078)
[`14edebe`](https://github.com/apollographql/apollo-client/commit/14edebebefb7634c32b921d02c1c85c6c8737989)
Thanks [@&#8203;phryneas](https://github.com/phryneas)! -
ObservableQuery: prevent reporting results of previous queries if the
variables changed since

-
[#&#8203;11439](https://github.com/apollographql/apollo-client/pull/11439)
[`33454f0`](https://github.com/apollographql/apollo-client/commit/33454f0a40a05ea2b00633bda20a84d0ec3a4f4d)
Thanks [@&#8203;jerelmiller](https://github.com/jerelmiller)! -
Address bundling issue introduced in
[#&#8203;11412](https://github.com/apollographql/apollo-client/pull/11412)
where the `react/cache` internals ended up duplicated in the bundle.
This was due to the fact that we had a `react/hooks` entrypoint that
imported these files along with the newly introduced
`createQueryPreloader` function, which lived outside of the
`react/hooks` folder.

-
[#&#8203;11371](https://github.com/apollographql/apollo-client/pull/11371)
[`ebd8fe2`](https://github.com/apollographql/apollo-client/commit/ebd8fe2c1b8b50bfeb2da20aeca5671300fb5564)
Thanks [@&#8203;phryneas](https://github.com/phryneas)! - Clarify
types of `EntityStore.makeCacheKey`.

</details>

</details>

---

### 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.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/brave/ads-ui).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MTAuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQxMC4xIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@tackley tackley requested review from IanKrieger and a team as code owners June 24, 2024 08:40
@github-actions github-actions bot changed the title next prod release Production Release 2024-06-24 Jun 24, 2024
Copy link

[puLL-Merge] - brave/ads-ui@1236

Description

This PR significantly refactors the campaign reporting and analytics functionality in the ads-ui application. It removes several components related to the old reporting view and updates the main reporting component to use the new AnalyticsOverview component exclusively. The changes aim to streamline the reporting interface and remove deprecated functionality.

Changes

Changes

  1. .github/workflows/*.yml:

    • Updated various GitHub Actions dependencies to their latest versions.
  2. package.json and pnpm-lock.yaml:

    • Updated numerous dependencies to their latest versions.
    • Added an override for the ws package to address a potential security vulnerability.
  3. Removed files:

    • Deleted multiple files related to the old reporting view, including components for collapsible sections, engagement headers, metric filters, and various chart components.
  4. src/routes/campaigns/analytics/CampaignAnalytics.tsx:

    • Removed the ChangeReportingAlert component.
  5. src/user/User.tsx:

    • Updated routing to redirect old campaign URLs to the new report view.
  6. src/user/views/user/CampaignReportViewSelector.tsx:

    • Simplified the component to always use the new AnalyticsOverview for non-NtpSi format campaigns.
    • Removed the conditional rendering of the old OriginalCampaignReportView.

Possible Issues

  • The removal of several components and views may impact other parts of the application that were potentially using these components. Thorough testing should be done to ensure no functionality has been unintentionally broken.
  • Users familiar with the old reporting interface may need time to adjust to the new AnalyticsOverview component.

Security Hotspots

  • The update to the ws package (>=8.17.1) in the pnpm overrides section suggests addressing a security vulnerability. Ensure that this update is properly applied across the project.

@IanKrieger IanKrieger added this pull request to the merge queue Jun 24, 2024
Merged via the queue into prod with commit 249ee6a Jun 24, 2024
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants