diff --git a/.circleci/config.yml b/.circleci/config.yml index c7f54af7723a54..3193f68ba7ad3c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -42,6 +42,7 @@ default-job: &default-job TEST_GATE: << parameters.test-gate >> AWS_REGION_ARTIFACTS: eu-central-1 COREPACK_ENABLE_DOWNLOAD_PROMPT: '0' + DANGER_DISABLE_TRANSPILATION: 'true' working_directory: /tmp/material-ui docker: - image: cimg/node:20.17 @@ -867,32 +868,34 @@ workflows: name: test_e2e-react@17 # This workflow is identical to react-17, but scheduled - react-17-cron: - triggers: - - schedule: - cron: '0 0 * * *' - filters: - branches: - only: - - master - - next - jobs: - - test_unit: - <<: *default-context - react-version: ^17.0.0 - name: test_unit-react@17 - - test_browser: - <<: *default-context - react-version: ^17.0.0 - name: test_browser-react@17 - - test_regressions: - <<: *default-context - react-version: ^17.0.0 - name: test_regressions-react@17 - - test_e2e: - <<: *default-context - react-version: ^17.0.0 - name: test_e2e-react@17 + # TODO: The v17 tests have deteriorated to the point of no return. Fix for v18 once we + # deprecate v17, and reenable this workflow. + # react-17-cron: + # triggers: + # - schedule: + # cron: '0 0 * * *' + # filters: + # branches: + # only: + # - master + # - next + # jobs: + # - test_unit: + # <<: *default-context + # react-version: ^17.0.0 + # name: test_unit-react@17 + # - test_browser: + # <<: *default-context + # react-version: ^17.0.0 + # name: test_browser-react@17 + # - test_regressions: + # <<: *default-context + # react-version: ^17.0.0 + # name: test_regressions-react@17 + # - test_e2e: + # <<: *default-context + # react-version: ^17.0.0 + # name: test_e2e-react@17 # This workflow can be triggered manually on the PR react-next: diff --git a/.codesandbox/ci.json b/.codesandbox/ci.json index 437b8c3d5eb5ef..2881171258056b 100644 --- a/.codesandbox/ci.json +++ b/.codesandbox/ci.json @@ -4,7 +4,6 @@ "node": "20", "packages": [ "packages/markdown", - "packages/mui-babel-macros", "packages/mui-base", "packages/mui-codemod", "packages/mui-core-downloads-tracker", @@ -33,7 +32,6 @@ "@mui/docs": "packages/mui-docs/build", "@mui/icons-material": "packages/mui-icons-material/build", "@mui/internal-test-utils": "packages-internal/test-utils", - "@mui/internal-babel-macros": "packages/mui-babel-macros", "@mui/internal-docs-utils": "packages-internal/docs-utils", "@mui/internal-markdown": "packages/markdown", "@mui/internal-scripts": "packages-internal/scripts", diff --git a/.github/workflows/cherry-pick-next-to-master.yml b/.github/workflows/cherry-pick-next-to-master.yml index 97334ed66a6cb0..614c58330d3a32 100644 --- a/.github/workflows/cherry-pick-next-to-master.yml +++ b/.github/workflows/cherry-pick-next-to-master.yml @@ -18,7 +18,7 @@ jobs: if: ${{ contains(github.event.pull_request.labels.*.name, 'needs cherry-pick') && github.event.pull_request.merged == true }} steps: - name: Checkout - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 + uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 with: fetch-depth: 0 - name: Cherry pick and create the new PR diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index df1d0bd58c4fad..9c4e71a38269c2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,7 +24,7 @@ jobs: os: [macos-latest, windows-latest, ubuntu-latest] steps: - run: echo "${{ github.actor }}" - - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 + - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 with: # fetch all tags which are required for `pnpm release:changelog` fetch-depth: 0 diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index f2159dbca4ce6c..689d7a1dc54947 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -16,10 +16,10 @@ jobs: security-events: write steps: - name: Checkout repository - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 + uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@e2b3eafc8d227b0241d48be5f425d47c2d750a13 # v3.26.10 + uses: github/codeql-action/init@c36620d31ac7c881962c3d9dd939c40ec9434f2b # v3.26.12 with: languages: typescript config-file: ./.github/codeql/codeql-config.yml @@ -30,4 +30,4 @@ jobs: # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs # queries: security-extended,security-and-quality - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@e2b3eafc8d227b0241d48be5f425d47c2d750a13 # v3.26.10 + uses: github/codeql-action/analyze@c36620d31ac7c881962c3d9dd939c40ec9434f2b # v3.26.12 diff --git a/.github/workflows/publish-canaries.yml b/.github/workflows/publish-canaries.yml index 458a1bf1e05964..a9b055aea6bc45 100644 --- a/.github/workflows/publish-canaries.yml +++ b/.github/workflows/publish-canaries.yml @@ -9,7 +9,7 @@ jobs: publish: runs-on: ubuntu-latest steps: - - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 + - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 with: fetch-depth: 0 - name: Set up pnpm diff --git a/.github/workflows/scorecards.yml b/.github/workflows/scorecards.yml index a21e67ba60699d..f5375b988a167b 100644 --- a/.github/workflows/scorecards.yml +++ b/.github/workflows/scorecards.yml @@ -22,7 +22,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 + uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 with: persist-credentials: false @@ -43,6 +43,6 @@ jobs: # Upload the results to GitHub's code scanning dashboard. - name: Upload to code-scanning - uses: github/codeql-action/upload-sarif@e2b3eafc8d227b0241d48be5f425d47c2d750a13 # v3.26.10 + uses: github/codeql-action/upload-sarif@c36620d31ac7c881962c3d9dd939c40ec9434f2b # v3.26.12 with: sarif_file: results.sarif diff --git a/.github/workflows/vale-action.yml b/.github/workflows/vale-action.yml index 481a539b78f997..7787a70601cc33 100644 --- a/.github/workflows/vale-action.yml +++ b/.github/workflows/vale-action.yml @@ -12,7 +12,7 @@ jobs: contents: read pull-requests: write steps: - - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 + - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 - uses: errata-ai/vale-action@38bf078c328061f59879b347ca344a718a736018 # v2.1.0 continue-on-error: true # GitHub Action flag needed until https://github.com/errata-ai/vale-action/issues/89 is fixed with: diff --git a/CHANGELOG.md b/CHANGELOG.md index 94b64c52446626..25b42e286efe27 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,74 @@ # [Versions](https://mui.com/versions/) +## v6.1.3 + + + +_Oct 9, 2024_ + +A big thanks to the 18 contributors who made this release possible. Here are some highlights ✨: + +- 🚀 Improved performance on styled components by pre-serializing and caching the styles (#43412) @romgrk + +### `@mui/material@6.1.3` + +- Change React.ReactElement to React.ReactElement (#43402) @sai6855 +- [Badge] Make keys in anchor origin partial (#43950) @sai6855 +- [Grid2] Fix column spacing for nested containers (#43733) @Janpot +- [Grid2] Remove required `item` prop for `size` prop (#44027) @Janpot +- [Grid2] Add compatible props warning (#43801) @k-rajat19 +- [Modal] Fix comment location (#44026) @oliviertassinari +- [OutlinedInput] Resolve border color issue on mobile (#43797) (#43879) @wojtek35 + +### `@mui/system@6.1.3` + +- Make createGrid compatible with React 19 types (#44035) @aarongarciah +- Add empty interfaces to fix issue with typescript module augmentation (#43873) @yonatan0 +- Pre-serialize & cache styles to improve performance (#43412) @romgrk +- [typescript] `SystemCSSProperties` should not have `SystemStyleObject` as value (#44029) @siriwatknp + +### `@mui/utils@6.0.0-beta.11` + +- [utils] Make getReactElementRef React 19 compatible (#44034) @aarongarciah + +### `@mui/lab@6.1.3` + +- [lab][Timeline] Fix types for React 19 (#44043) @aarongarciah + +### Docs + +- Update docs-infra role (#44032) @mnajdova +- Update Material Symbols plan to reflect Google development (#44000) @oliviertassinari +- Fix 301 redirections in docs @oliviertassinari +- Fix indentation @oliviertassinari +- Fix Live edit copies (#43835) @oliviertassinari +- Virtualize icons svg (#43939) @Janpot +- [Grid] Fix Grid2 gap description (#43967) @aarongarciah +- [icons] Index search synchronously (#44001) @oliviertassinari +- [material-ui] Incorrect React useState Example on Toggle Button (#43987) @barrownicholas +- [material-ui] Add theme setting for pigment-css migration (#43993) @effektsvk +- [material-ui] Fix incorrect `slotProp` name in the `TextField` deprecation note. (#43985) @Chee7ah +- [examples] Use CSS Variables (#43856) @Juneezee +- [material-ui] Improved documentation for indeterminateIcon prop (#43791) @marctaylor01 + +### Core + +- Fix typo in useLocalStorageState (#44024) @hieunguyenduc696 +- Amend changelog (#43968) @aarongarciah +- Remove `@mui/styled-engine-sc` dev dependency from `@mui/styled-engine-sc` (#44050) @Janpot +- [docs-infra] Add pointer cursor on hover for logo to improve UX (#43999) @Asin-Junior-Honore +- [blog] Migrate some .gif to