Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Oct 27, 2025

This PR contains the following updates:

Package Change Age Confidence
@vitest/browser (source) ^3.2.4 -> ^4.0.2 age confidence
@vitest/coverage-v8 (source) ^3.2.4 -> ^4.0.2 age confidence
@vitest/ui (source) ^3.2.4 -> ^4.0.2 age confidence
vitest (source) 3.2.4 -> 4.0.2 age confidence

Release Notes

vitest-dev/vitest (@​vitest/browser)

v4.0.2

Compare Source

   🐞 Bug Fixes
    View changes on GitHub

v4.0.1

Compare Source

   🐞 Bug Fixes
    View changes on GitHub

v4.0.0

Compare Source

Vitest 4.0 is out!

To stay updated, read our blog post and check the migration guide.

   🚨 Breaking Changes
   🚀 Features
   🐞 Bug Fixes
   🏎 Performance
    View changes on GitHub

Configuration

📅 Schedule: Branch creation - Between 12:00 AM and 04:59 AM, only on Monday ( * 0-4 * * 1 ) in timezone 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 these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies Update of dependencies. label Oct 27, 2025
@mui-bot
Copy link

mui-bot commented Oct 27, 2025

Deploy preview: https://deploy-preview-20102--material-ui-x.netlify.app/

Bundle size report

Bundle Parsed size Gzip size
@mui/x-data-grid 0B(0.00%) 0B(0.00%)
@mui/x-data-grid-pro 0B(0.00%) 0B(0.00%)
@mui/x-data-grid-premium 0B(0.00%) 0B(0.00%)
@mui/x-charts 0B(0.00%) 0B(0.00%)
@mui/x-charts-pro 0B(0.00%) 0B(0.00%)
@mui/x-charts-premium 0B(0.00%) 0B(0.00%)
@mui/x-date-pickers 0B(0.00%) 0B(0.00%)
@mui/x-date-pickers-pro 0B(0.00%) 0B(0.00%)
@mui/x-tree-view 0B(0.00%) 0B(0.00%)
@mui/x-tree-view-pro 0B(0.00%) 0B(0.00%)

Details of bundle changes

Generated by 🚫 dangerJS against 9195b06

@github-actions github-actions bot added the PR: out-of-date The pull request has merge conflicts and can't be merged. label Oct 27, 2025
@github-actions
Copy link

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@renovate renovate bot force-pushed the renovate/major-vite-and-vitest branch from 765e2cc to 8970abc Compare October 27, 2025 03:36
@github-actions github-actions bot added PR: out-of-date The pull request has merge conflicts and can't be merged. and removed PR: out-of-date The pull request has merge conflicts and can't be merged. labels Oct 27, 2025
@github-actions
Copy link

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@renovate renovate bot force-pushed the renovate/major-vite-and-vitest branch from 8970abc to 1f1d928 Compare October 27, 2025 08:24
@github-actions github-actions bot added PR: out-of-date The pull request has merge conflicts and can't be merged. and removed PR: out-of-date The pull request has merge conflicts and can't be merged. labels Oct 27, 2025
@github-actions
Copy link

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@renovate renovate bot force-pushed the renovate/major-vite-and-vitest branch 2 times, most recently from 152b001 to dee8247 Compare October 27, 2025 08:46
@github-actions github-actions bot removed the PR: out-of-date The pull request has merge conflicts and can't be merged. label Oct 27, 2025
@github-actions github-actions bot added the PR: out-of-date The pull request has merge conflicts and can't be merged. label Oct 27, 2025
@github-actions
Copy link

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@renovate renovate bot force-pushed the renovate/major-vite-and-vitest branch from d8c5142 to a82f2c9 Compare October 27, 2025 09:49
@github-actions github-actions bot removed the PR: out-of-date The pull request has merge conflicts and can't be merged. label Oct 27, 2025
@renovate
Copy link
Contributor Author

renovate bot commented Oct 27, 2025

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@github-actions
Copy link

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@github-actions github-actions bot added the PR: out-of-date The pull request has merge conflicts and can't be merged. label Oct 27, 2025
package.json Outdated
"@types/babel__core": "^7.20.5",
"@types/babel__traverse": "^7.28.0",
"@types/chai-dom": "^1.11.3",
"@types/mocha": "^10.0.10",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Our tsconfig depends on the monorepo's, which references types: ["mocha"], so we need to add them as a dev dependency even if we don't use them.

The build was failing because of it.

Building types for /tmp/mui/packages/x-internal-gestures/tsconfig.build.json in /tmp/code-infra-build-tsc-z0IZk8
error TS2688: Cannot find type definition file for 'mocha'.
  The file is in the program because:
    Entry point of type library 'mocha' specified in compilerOptions
code-infra build

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't, just override types in tsconfig.json to types: ["node", "react"]

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, makes sense 👍

I've added an empty array instead to let the consumers of this tsconfig define the types they need and avoid too many changes.

@bernardobelchior bernardobelchior force-pushed the renovate/major-vite-and-vitest branch from 2373a74 to 7afb818 Compare October 27, 2025 10:27
@github-actions github-actions bot removed the PR: out-of-date The pull request has merge conflicts and can't be merged. label Oct 27, 2025
Comment on lines +24 to +27
launchOptions: {
// Required for tests which use scrollbars.
ignoreDefaultArgs: ['--hide-scrollbars'],
},
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should be able to move this to the shared config now I believe, which would simplify this file 😆

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't used in all files tests, so I didn't want to move it there if we don't use it. Would the other packages benefit from this?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can probably just make the sharedConfig a func that accepts arguments, so we can simplify this file

],
},
// Disable isolation to speed up the tests.
isolate: false,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the slowdown with isolate:true?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It used to be a very noticeable difference, but if it makes the tests work with negligible values 🤷

Comment on lines 10 to 16
+const isVitest =
+ ('vi' in globalThis && vi != null) ||
// VITEST is present on the environment when not in browser mode.
process.env.VITEST === 'true' ||
// VITEST_BROWSER_DEBUG is present on vitest in browser mode.
diff --git a/src/createRenderer.tsx b/src/createRenderer.tsx
index 96d80d00c18a50f7e35c7a1bcba9e19314904e08..8927248ae33c908601184cdceac99f1060a14b73 100644
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you make these changes to the material package as well? They can probably be done there without issues

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can remove this patch. I've opened a PR here

@bernardobelchior bernardobelchior changed the title Bump Vite & Vitest to ^4.0.4 (major) Bump Vite & Vitest to 4.0.5 (major) Oct 29, 2025
@bernardobelchior bernardobelchior force-pushed the renovate/major-vite-and-vitest branch from 0a21e4c to b57671d Compare October 29, 2025 14:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Update of dependencies.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants