chore(deps): update npm
This MR contains the following updates:
Release Notes
mui/material-ui (@mui/material)
v5.13.5
A big thanks to the 9 contributors who made this release possible. Here are some highlights
-
💫 AddedButtonGroup
component in Joy UI (#37407) @siriwatknp. -
🐛 bug fixes and📚 documentation improvements.
@mui/material@5.13.5
- [Material][Popover] Add support for virtual element as anchorEl (#37465) @DiegoAndai
@mui/joy@5.0.0-alpha.84
- [ButtonGroup][joy] Replace
detached
prop withspacing
. (#37562) @siriwatknp - [ButtonGroup][joy] Add
ButtonGroup
component (#37407) @siriwatknp - [Input][joy] Simplify focus with
:focus-within
and add examples (#37385) @siriwatknp
Docs
- [docs] Move Toolpad from alpha to beta (#37288) @bharatkashyap
- [docs] Add usage of createCssVarsProvider (#37513) @brijeshb42
- [docs] Update /base url references to /base-ui (#37412) @brijeshb42
- [docs] Skip components and hooks due to duplicate index (#37539) @siriwatknp
- [docs] Polish Sign in to your account joy demo (#37498) @oliviertassinari
- [docs] Remove outdated Material UI FAQ @oliviertassinari
- [docs] Fix crash access to localStorage in Firefox (#37518) @brijeshb42
- [docs-infra] Enforce max length on description (#37565) @oliviertassinari
- [docs-infra] Mandatory versions (#37497) @oliviertassinari
- [docs-infra] Fix lighthouse img size issue (#37415) @oliviertassinari
- [docs][joy] Replace JoyInput with Input component in JoyUI Text Field documentation (#37548) @musama619
- [docs][joy] Add typography introduction demo component (#37553) @sernstberger
- [docs][joy] Add a rental dashboard template (#37453) @sernstberger
Core
- Move the React Community Engineer - X in Open Roles (#37552) @DanailH
- [core] Update Node.js version to v18 on CircleCI, CodeSandbox, and Netlify (#37173) @ZeeshanTamboli
- [website] RIDI gold sponsorship end (#37517) @oliviertassinari
- [website] Update X landing page (#37387) @cherniavskii
All contributors of this release in alphabetical order: @brijeshb42, @cherniavskii, @DanailH, @DiegoAndai, @musama619, @oliviertassinari, @sernstberger, @siriwatknp, @ZeeshanTamboli
mui/mui-x
v6.8.0
Jun 16, 2023
We'd like to offer a big thanks to the 13 contributors who made this release possible. Here are some highlights
-
🌍 Add Greek (el-GR) locale on Pickers and improve on Data Grid -
🚅 Performance improvements -
🐞 Bugfixes -
📚 Documentation improvements
@mui/x-data-grid@6.8.0
/ @mui/x-data-grid-pro@6.8.0
/ @mui/x-data-grid-premium@6.8.0
Changes
- [DataGrid] Add missing styles to
overridesResolver
(#9248) @mrmuhammadali - [DataGrid] Keep column header menu icon always visible on touch devices (#9076) @cherniavskii
- [DataGrid] Correct the type for single digit edited number value (#9282) @MBilalShafi
- [DataGrid] Correct the type for single digit edited number for row edit (#9348) @MBilalShafi
- [DataGrid] Filtering performance: cache values (#9284) @romgrk
- [DataGrid] Fix tabbing between
actions
cells in edit mode (#9321) @md250721 - [DataGrid] Make autocompletion work for
GridColDef['type']
(#9320) @cherniavskii - [DataGrid] Polish shortcut logic (#9220) @oliviertassinari
- [DataGrid] Row reordering fix for different row heights (#7006) @yaredtsy
- [DataGrid] Scroll performance improvements (#9037) @romgrk
- [l10n] Improve Greek (el-GR) locale (#9292) @clytras
@mui/x-date-pickers@6.8.0
/ @mui/x-date-pickers-pro@6.8.0
Changes
- [l10n] Add Greek (el-GR) locale (#9293) @clytras
- [pickers] Add a
referenceDate
prop onDateCalendar
,MonthCalendar
andYearCalendar
(#9260) @flaviendelangle - [pickers] Close the calendar when a shortcut is selected (#9080) @flaviendelangle
- [pickers] Fix disabling for digital clock (#9300) @alexfauquette
Docs
- [docs] Add header filters to the popular features demo (#9069) @MBilalShafi
- [docs] Fix
Date Calendar
dynamic data demo (#9290) @benzler - [docs] Fix Data Grid header filter link (#9225) @oliviertassinari
- [docs] Fix missing docs version warning (#9221) @oliviertassinari
- [docs] Improve Chart overview (#9333) @oliviertassinari
- [docs] Improve Next.js license installation guide (#8975) @oliviertassinari
- [docs] Link pagination documentation to the migration guide (#9296) @MBilalShafi
- [docs] One step toward components -> slots (#9251) @oliviertassinari
- [docs] Improve and reorganize sections on editing page (#8431) @joserodolfofreitas
- [docs] Add clipboard paste to popular features demo (#9029) @cherniavskii
Core
- [core] Polish event name (#9336) @oliviertassinari
- [core] Re-enable
Argos
CI step (#9301) @LukasTy - [core] Upgrade Node.js to v18 on CircleCI, CodeSandbox and Netlify (#9319) @ZeeshanTamboli
- [core] Upgrade Node.js v18 for l10n GitHub CI (#9355) @ZeeshanTamboli
- [charts] Add demonstration pages based on Recharts demo (#9175) @alexfauquette
- [charts] Add legend (#9024) @alexfauquette
- [charts] Complete the docs to introduce charts (#9153) @alexfauquette
- [charts] Manage elements highlights (#9242) @alexfauquette
- [charts] Prefix subcomponents with
Charts
(#9314) @alexfauquette - [license] Improve annual license expiration message (#9135) @oliviertassinari
storybookjs/storybook
v7.0.22
7.0.22
- CLI: Prebundle boxen to resolve a ESM/CJS incompatibility - #23080, thanks @ndelangen!
- Core: Fix core-common to use node-fetch - #23077, thanks @ndelangen!
- Telemetry: Count onboarding stories - #23092, thanks @shilman!
v7.0.21
- Angular: Fix 16.1 compatibility - #23064, thanks @ndelangen!
- Angular: Fix ivy preset - #23070, thanks @ndelangen!
- CLI: Improve steps in storybook init - #22502, thanks @yannbf!
- CLI: Skip builder selection for react native - #23042, thanks @dannyhw!
- Core: Fix
builder-manager
adding multiple dashes to relative path - #22974, thanks @MarioCadenas! - Core: Improve
of={...}
DocBlock error in story index - #22782, thanks @shilman! - Dependencies: Set vue-component-type-helpers to latest - #23015, thanks @ndelangen!
- Vue3: Fix source decorator to generate correct story code - #22518, thanks @chakAs3!
- Web-components: Fix custom-elements order of property application - #19183, thanks @sonntag-philipp!
typescript-eslint/typescript-eslint (@typescript-eslint/eslint-plugin)
v5.59.11
Note: Version bump only for package @typescript-eslint/eslint-plugin
v5.59.10
Note: Version bump only for package @typescript-eslint/eslint-plugin
typescript-eslint/typescript-eslint (@typescript-eslint/parser)
v5.59.11
Note: Version bump only for package @typescript-eslint/parser
v5.59.10
Note: Version bump only for package @typescript-eslint/parser
chromaui/chromatic-cli
v6.19.8
- 765 Add some fields to package.json to help resolve types in entrypoints
- 773 Bump the Loggly Dependency
v6.19.7
- 770 Ensure we exit with a code at the end
v6.19.6
-
768 Add
isChromatic
exports
v6.19.5
- 763 Fix issue with onTaskComplete callback
v6.19.4
- 764 Move all depenendencies to dev deps
v6.19.3
v6.19.2
v6.19.1
v6.19.0
eslint/eslint
v8.43.0
Features
-
14581ff
feat: directive prologue detection and autofix condition inquotes
(#17284) (Francesco Trotta) -
e50fac3
feat: add declaration loc to message in block-scoped-var (#17252) (Milos Djermanovic) -
1b7faf0
feat: addskipJSXText
option tono-irregular-whitespace
rule (#17182) (Azat S)
Bug Fixes
-
5338b56
fix: normalizecwd
passed toESLint
/FlatESLint
constructor (#17277) (Milos Djermanovic) -
54383e6
fix: Removeno-extra-parens
autofix for potential directives (#17022) (Francesco Trotta)
Documentation
-
8b855ea
docs: resubmit pr17061 doc changes (#17292) (唯然) -
372722e
docs: resubmit pr17012 doc changes (#17293) (唯然) -
67e7af3
docs: resubmit custom-rules doc changes (#17294) (唯然) -
9e3d77c
docs: Resubmit Fix formatting in Custom Rules docs (#17281) (Milos Djermanovic) -
503647a
docs: Resubmit markVariableAsUsed docs (#17280) (Nicholas C. Zakas) -
e0cf0d8
docs: Custom rule & plugin tutorial (#17024) (Ben Perlmutter) -
8e51ea9
docs: resubmitno-new
rule documentation (#17264) (Nitin Kumar) -
1b217f8
docs: resubmitCustom Processors
documentation (#17265) (Nitin Kumar) -
428fc76
docs: resubmitCreate Plugins
documentation (#17268) (Nitin Kumar) -
bdca88c
docs: resubmitConfiguration Files
documentation (#17267) (Nitin Kumar) -
f5c01f2
docs: resubmitManage Issues
documentation (#17266) (Nitin Kumar) -
b199295
docs: Resubmit custom rules update docs (#17273) (Ben Perlmutter) -
0e9980c
docs: add newomitLastInOneLineClassBody
option to thesemi
rule (#17263) (Nitin Kumar) -
cb2560f
docs: Resubmit getScope/getDeclaredVariables docs (#17262) (Nicholas C. Zakas) -
85d2b30
docs: explain how to include predefined globals (#17261) (Marcus Wyatt) -
de4d3c1
docs: update flat config default ignore patterns (#17258) (Milos Djermanovic) -
3912f3a
docs: Improveignores
documentation (#17239) (Francesco Trotta) -
35e11d3
docs: fix typos and missing info (#17257) (Ed Lucas) -
0bc257c
docs: Clarifyno-div-regex
rule docs (#17051) (#17255) (Francesco Trotta) -
788d836
docs: add references to MIT License (#17248) (Milos Djermanovic) -
58aab6b
docs: Update README (GitHub Actions Bot) -
3ef5814
docs: Revert all changes after the license change (#17227) (Milos Djermanovic) -
03fc4aa
docs: Update README (GitHub Actions Bot)
Chores
-
78350f6
chore: upgrade @eslint/js@8.43.0 (#17295) (Milos Djermanovic) -
62bf759
chore: package.json update for @eslint/js release (ESLint Jenkins) -
e0a2448
chore: docs package.license ISC => MIT (#17254) (唯然) -
6a0196c
chore: use eslint-plugin-eslint-plugin flat configs (#17204) (Milos Djermanovic)
vercel/next.js
v13.4.6
Core Changes
- Fix windows metadata slashes: #51088
- Do not merge chunkGroups' CSS files: #51103
- Add unique search query for RSC requests to be cacable on CDN: #50970
- add turbopack integration tests to CI: #50904
- Add option for debugging CPU usage: #51174
- Prefer module fields for RSC server layer: #51179
- Update
next/head
warning to link to the correct docs page: #51013 - Revert "Do not merge chunkGroups' CSS files": #51193
- fix: helpful error when
output: export
andnext export -o
: #51191 - Strip _rsc query for navigation between app and page: #51195
- Fix standalone not found: #51172
- fix(cli): add all available options to cli commands, format them consistently: #48708
- update storybook example (copy from vercel/vercel): #50865
- chore: remove useless duplicate code: #50705
- fix: app router hash scrolling should respect scroll-padding: #51268
- Fix build error about trace file and edge route: #50808
- chore(router): fix typo in comment: #50581
- Add mikroORM to external package list: #50487
- [docs] Clarify that merely changing
extension
does not load.md
f…: #49785 - Correct build workers perf issue: #51271
- Remove edge functions tracking in dev server: #51122
- app router: fix double fetch on prefetch={false}: #51292
- Invalidate client cache when cookies have changed in Server Actions: #51290
- feat(turbopack): enable sassOptions: #51259
- Route Module Cleanup: #50936
- Validate i18n locale domain: #50220
- chore: add dark mode for dev overlay: #48601
- chore: update next/font/google font list: #49969
- fix: Incorrect build size outputs for app dir: #50768
- Simplify server CSS handling: #51018
- Allow configuring analyzerMode in bundle-analyzer: #47468
- Revert "Prefer module fields for RSC server layer": #51316
- Fix Server Actions compiler: #51318
- Revert "Route Module Cleanup": #51322
- test(next-dev): hard fail if next-dev runs with turbopack intenral flag: #51308
- Revert "test(next-dev): hard fail if next-dev runs with turbopack intenral flag": #51327
- Update Next.js code owners: #51319
- Fix CSS deploy id case: #51325
- Update turbopack: #51336
- Fix shared layer bundling in Edge Runtime: #51348
Documentation Changes
- Update 01-images.mdx: #51133
- Update next-image-unconfigured-host.md with correct Remote Patterns Documentation link to new docs: #49750
- Fixes the link from components/fonts to api/fonts: #51169
- Docs: Fix useSearchParams link: #51151
- docs: Improve Actions docs.: #51145
- docs: clarify
usePathname
usage as client hook.: #51146 - Fix a typo: #51176
- docs: fix prettier error: #51182
- Update static assets page to filter out information: #51180
- Makes codeblock language and filename extensions consistent: #51056
- Fix a mistake URL in "docs/generate-metadata.mdx/metadataBase": #51199
- Add separate lines to eslint prompt in 02-eslint.mdx: #51143
- [Docs][CSS-in-JS]: Update Vanilla Extract link: #51192
- Fix typo on strategy: #51189
- app-icons: correct valid route segments for icon/favicon/apple-icon : #51188
- docs: fix typos: #51185
- Adds
Note
toGood to know
consistency: #51080 - docs: fix prettier lint: #51222
- [docs] Add missing Edge Runtime APIs: #51224
- docs: Add Tolgee to internationalization section: #49754
- Clarify the limitations of NEXT_PUBLIC_: #49105
- Update 02-fonts.mdx: #51249
- Fix middleware documentation: #48876
- docs: fixed a typo in parallel routes: #51267
- Update module-path-aliases.md: #43592
- CSS concatenation order matches the import order: #39889
- Fix broken link: #51281
- Fix broken links: #51285
- Update images.mdx: #51275
- Docs: Remove extra word in 03-scripts.mdx: #51304
- Update example of Server Actions HoC: #51299
- Adds
env
suggestions: #51312 - docs: fix the url of router event: #51339
Example Changes
- Fix with typescript stripe example fixes #50541: #50574
- fix: cypress component testing - fixes #50283: #50303
- fix deprecated configureStore in with-redux-saga example: #50342
- Show how to utilize the provided .env file in the docker-compose file: #50712
- update(examples): Update with-sentry example: #47855
- Update Player.tsx to improve code readability and styling.: #50275
- Update Docker examples to use Compose v2 command: #51134
- with-facebook-pixel: new implementation with app folder: #49880
- change strapi example to latest one - fixes #51332: #51334
- Auth0 V2 migration update: #45302
- examples: migrate
with-elasticsearch
to TypeScript: #44842
Misc Changes
- Fix getting last stable release stats: #51106
- ci(workflow): consolidate bytesize upload workflow: #51110
- ci(workflow): enable test trace upload: #51107
- Increase remote cache timeout for swc builds: #51270
- Update flakey rsc streaming test: #51274
- fix trigger release step
- Update flakey build output test: #51307
- Skip cargo bench job on release: #51311
- Ensure swc is copied for release stats: #51315
- Update flakey deploy tests: #51314
- Update e2e deploy tests to continue: #51321
Credits
Huge thanks to @ijjk, @huozhi, @kwonoj, @shuding, @shozibabbas, @omarhoumz, @jamespearson, @tristndev, @sokra, @leerob, @AldeonMoriak, @delbaoliveira, @manovotny, @styfle, @mirismaili, @tyler-lutz, @SuttonJack, @jeremydouglas, @MaxLeiter, @Kikobeats, @JanCizmar, @mltsy, @WilderDev, @Guilleo03, @Willem-Jaap, @escwxyz, @wiredacorn, @Ethan-Arrowood, @BaffinLee, @ztanner, @greatSumini, @ciruz, @kijikunnn, @DustinsCode, @riqwan, @joostdecock, @nikolovlazar, @Bowens20832, @JohnAlbin, @timneutkens, @feedthejim, @wyattjoh, @gidgudgod, @maxproske, @dunklesToast, @yyuemii, @mPaella, @mknichel, @niko20, @jyunhanlin, @mkcy3, and @valentinpolitov for helping!
reduxjs/react-redux
v8.1.0
This feature release adds new development-mode safety checks for common errors (like poorly-written selectors), adds a workaround to fix crash errors when React-Redux hooks are imported into React Server Component files, and updates our hooks API docs page with improved explanations and updated links.
Changelog
useSelector
Development Mode Checks for We've had a number of users tell us over time that it's common to accidentally write selectors that have bad behavior and cause performance issues. The most common causes of this are either selectors that unconditionally return a new reference (such as state => state.todos.map()
without any memoization ), or selectors that actually return the entire root state ( state => state
).
We've updated useSelector
to add safety checks in development mode that warn if these incorrect behaviors are detected:
- Selectors will be called twice with the same inputs, and
useSelector
will warn if the results are different references -
useSelector
will warn if the selector result is actually the entire rootstate
By default, these checks only run once the first time useSelector
is called. This should provide a good balance between detecting possible issues, and keeping development mode execution performant without adding many unnecessary extra selector calls.
If you want, you can configure this behavior globally by passing the enum flags directly to <Provider>
, or on a per-useSelector
basis by passing an options object as the second argument:
// Example: globally configure the root state "noop" check to run every time
<Provider store={store} noopCheck="always">
{children}
</Provider>
// Example: configure `useSelector` to specifically run the reference checks differently:
function Component() {
// Disable check entirely for this selector
const count = useSelector(selectCount, { stabilityCheck: 'never' })
// run once (default)
const user = useSelector(selectUser, { stabilityCheck: 'once' })
// ...
}
This goes along with the similar safety checks we've added to Reselect v5 alpha as well.
Context Changes
We're still trying to work out how to properly use Redux and React Server Components together. One possibility is using RTK Query's createApi
to define data fetching endpoints, and using the generated thunks to fetch data in RSCs, but it's still an open question.
However, users have reported that merely importing any React-Redux API in an RSC file causes a crash, because React.createContext
is not defined in RSC files. RTKQ's React-specific createApi
entry point imports React-Redux, so it's been unusable in RSCs.
This release adds a workaround to fix that issue, by using a proxy wrapper around our singleton ReactReduxContext
instance and lazily creating that instance on demand. In testing, this appears to both continue to work in all unit tests, and fixes the import error in an RSC environment. We'd appreciate further feedback in case this change does cause any issues for anyone!
We've also tweaked the internals of the hooks to do checks for correct <Provider>
usage when using a custom context, same as the default context checks.
Docs Updates
We've cleaned up some of the Hooks API reference page, and updated links to the React docs.
What's Changed
- check for Provider even when using custom context by @EskiMojo14 in https://github.com/reduxjs/react-redux/pull/1990
- Add a stability check, to see if selector returns stable result when called with same parameters. by @EskiMojo14 in https://github.com/reduxjs/react-redux/pull/2000
- Add an E2E-ish test that verifies behavior when imported into RSCs by @markerikson in https://github.com/reduxjs/react-redux/pull/2030
- lazily create Context for RSC compat by @phryneas in https://github.com/reduxjs/react-redux/pull/2025
- Add warning for selectors that return the entire state by @EskiMojo14 in https://github.com/reduxjs/react-redux/pull/2022
Full Changelog: https://github.com/reduxjs/react-redux/compare/v8.0.7...v8.1.0
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.