chore(deps): update npm
This MR contains the following updates:
Release Notes
babel/babel (@babel/preset-env)
v7.23.8
🐛 Bug Fix
-
babel-preset-env
-
#16181 fix:
preset-env
throws exception forexport * as x
(@liuxingbaoyu)
-
#16181 fix:
-
babel-helpers
,babel-plugin-proposal-decorators
-
#16201 fix: decorator binds
getter/setter
toctx.access
for public fields (@liuxingbaoyu) - #16199 fix: Class decorator correctly passes return value (@liuxingbaoyu)
-
#16201 fix: decorator binds
↩ Revert
🔬 Output optimization
-
babel-helpers
,babel-plugin-proposal-decorators
,babel-plugin-transform-class-properties
,babel-plugin-transform-classes
,babel-plugin-transform-function-name
,babel-plugin-transform-parameters
,babel-plugin-transform-react-jsx
,babel-plugin-transform-runtime
,babel-plugin-transform-spread
,babel-plugin-transform-typescript
,babel-preset-env
,babel-runtime-corejs2
,babel-runtime-corejs3
,babel-runtime
-
#16194 Improve output of
super()
(@liuxingbaoyu)
-
#16194 Improve output of
mui/material-ui (@mui/icons-material)
v5.15.4
Jan 10, 2024
A big thanks to the 22 contributors who made this release possible. Here are some highlights:
-
✨ Material UI's ToggleButtonGroup now supports non-button element as a child (e.g., showing a Tooltip on a disabled ToggleButton) (#40220) @Methuselah96
@mui/material@5.15.4
- [TextField][FormLabel][InputLabel][FormControl] Use exact children type to allow React children type augmentation (#38872) @nicegamer7
- [Select] Add form submission regression test (#40176) @mj12albert
- [ToggleButtonGroup] Support different elements under it (#40220) @Methuselah96
- [ClickAwayListener] Fix export of types (#40485) @illume
@mui/material-nextjs@5.15.4
- Improve build size issue (#40436) @siriwatknp
@mui/icons-material@5.15.4
- Update the icons (#40365) @michaldudak
@mui/system@5.15.4
- [zero] Move zero runtime related packages (#40426) @brijeshb42
- Fix all use of styled(Box) (#40449) @oliviertassinari
@mui/utils@5.15.4
- Fix
isPlainObject
to work across realm (#39981) @brijeshb42
@mui/base@5.0.0-beta.31
- [base-ui][NumberInput] Remove inputId and inputRef types from NumberInput component (#40425) @sai6855
@mui/joy@5.0.0-beta.22
- [Badge] Shouldn't crash when using custom size (#39986) @iamsaumya
- [ToggleButtonGroup] Add
JoyToggleButtonGroup
to extendTheme's components type export (#40407) @RiceCrisp
Docs
- [base-ui] Visual tweaks to the plain CSS theme stylesheet (#40487) @zanivan
- [base-ui] Add tokens to plain CSS theme stylesheet (#40113) @zanivan
- [base-ui] Update the overview page (#40412) @danilo-leal
- [material-ui][Drawer] Resolve flickering when double-clicking on the backdrop to close it (#40343) @aacevski
- [material-ui] Refactor form submission in FormDialog component (#40470) @sai6855
- [material-ui] Replace recharts with MUI X charts on the Dashboard template (#40107) @alexfauquette
- [material-ui] Revise the Alert demo page (#34892) @samuelsycamore
- [material-ui] Revise the Accordion page (#40284) @anle9650
- [material-ui] Add docs for complementary Card components (#40346) @anle9650
- [material-ui] Add Material 3 components page (#40350) @DiegoAndai
- Fix strange italic style @oliviertassinari
- Fix references to ESLint @oliviertassinari
- Fix 301 redirections @oliviertassinari
- Right-to-left revision and addition to Joy UI (#39158) @danilo-leal
Core
- [examples] Use material-nextjs integration package (#40199) @siriwatknp
- [code-infra] Configure build dependencies in nx (#40482) @michaldudak
- [code-infra] Don't require noreferrer on target link (#40447) @oliviertassinari
- [code-infra] Use tsx instead of ts-node (#40428) @michaldudak
- [code-infra] Add options to docs-api generation to support X code structure (#40111) @alexfauquette
- [docs-infra] Add types for withDocsInfra (#40301) @oliviertassinari
- [docs-infra] Fix anchor links in API pages (#40450) @oliviertassinari
- [docs-infra] Fix API table full-width (#40476) @oliviertassinari
- [docs-infra] Fix the copy button overlapping with the scrollbar (#40405) @danilo-leal
- [docs-infra] Remove explicit
mui-x
dependency resolving (#40257) @LukasTy - [docs-infra] Update the outlined Demo container dark mode color (#40488) @danilo-leal
- [core] Lock file maintenance (#34538) @renovate[bot]
- [core] Remove duplicate devDependencies (#40438) @michaldudak
- [core] Remove issue emoji @oliviertassinari
- [core] Move prefetch at the core, will propagate to MUI X @oliviertassinari
- [core] Change package manager to pnpm (#36287) @Janpot
- [core][docs] Remove the "Understand MUI packages" page (#39835) @savalaram-redkar
- [website] Evolve the Developer Advocate role (#40337) @oliviertassinari
- [website] Fix default social card @oliviertassinari
- [test] Restore the
t
command (#40430) @michaldudak
All contributors of this release in alphabetical order: @aacevski, @alexfauquette, @anle9650, @brijeshb42, @danilo-leal, @DiegoAndai, @iamsaumya, @illume, @Janpot, @LukasTy, @Methuselah96, @michaldudak, @mj12albert, @nicegamer7, @oliviertassinari, @renovate[bot], @RiceCrisp, @sai6855, @samuelsycamore, @savalaram-redkar, @siriwatknp, @zanivan
mui/mui-x (@mui/x-date-pickers)
v6.19.0
Jan 11, 2024
We'd like to offer a big thanks to the 3 contributors who made this release possible. Here are some highlights
-
⏰ Support date-fns v3 (#11659) @LukasTy Pickers support both v2 and v3 of date-fns. For v3 useAdapterDateFnsV3
.// with date-fns v2.x import { AdapterDateFns } from '@​mui/x-date-pickers/AdapterDateFns'; import de from 'date-fns/locale/de';
// with date-fns v3.x import { AdapterDateFns } from '@​mui/x-date-pickers/AdapterDateFnsV3'; import { de } from 'date-fns/locale/de';
Date Pickers
@mui/x-date-pickers@6.19.0
- [pickers] Add date-fns@3.x adapter (#11659) @LukasTy
- [pickers] Fix clearable behavior blocking focus return to
OpenPickerButton
(#11643) @noraleonte - [l10n] Add missing Danish (da-DK) locale export (#11641) @etlos
@mui/x-date-pickers-pro@6.19.0
Same changes as in @mui/x-date-pickers@6.19.0
.
Docs
- [docs] Add missing component @oliviertassinari
- [docs] Fix parsing of
x-date-pickers-pro
demo adapter imports (#11637) @LukasTy - [docs] Push up the MUI X brand (#11533) @oliviertassinari
- [docs] Improve Server-side data grid docs (#11589) @oliviertassinari
- [docs] Add demo to the charts overview page (#11586) @danilo-leal
- [docs] Fix 404 links in the docs @oliviertassinari
- [docs] Improve landing page (#11570) @oliviertassinari
- [docs] Give a general revision to the docs (#11249) @danilo-leal
storybookjs/storybook (@storybook/addon-essentials)
v7.6.9
- ConfigFile: Fix export specifiers - #25590, thanks @shilman!
- Webpack5: Make export-order-loader compatible with both esm and cjs - #25540, thanks @mlazari!
- CLI: Support version specifiers in
init
,upgrade
andsandbox
- #25526, thanks @ndelangen, @jreinhold!
v7.6.8
tanstack/table (@tanstack/react-table)
v8.11.6
Version 8.11.6 - 1/12/2024, 12:07 AM
Changes
Fix
- contextDocument scope for SSR bug (
0c0a947
) by Kevin Vandy
Packages
- @tanstack/table-core@8.11.6
- @tanstack/react-table@8.11.6
- @tanstack/solid-table@8.11.6
- @tanstack/vue-table@8.11.6
- @tanstack/svelte-table@8.11.6
- @tanstack/react-table-devtools@8.11.6
v8.11.5
Version 8.11.5 - 1/11/2024, 11:54 PM
Changes
Fix
- potential ssr bug with column sizing document (
8b0022d
) by Kevin Vandy
Packages
- @tanstack/table-core@8.11.5
- @tanstack/react-table@8.11.5
- @tanstack/solid-table@8.11.5
- @tanstack/vue-table@8.11.5
- @tanstack/svelte-table@8.11.5
- @tanstack/react-table-devtools@8.11.5
v8.11.4
Version 8.11.4 - 1/11/2024, 5:30 PM
Changes
Fix
- add optional document context for resize listeners prettier (
9aba3c0
) by Kevin Vandy - add optional document context for resize listeners (#5003) (
8e106a9
) by Jareth - Correctly exit publish script (#5262) (
57336fc
) by Lachlan Collins
Chore
- Fix incorrect npm tag for previous version release (#5265) (
0899c33
) by Lachlan Collins - Stricter tsconfig options (#5264) (
86d6447
) by Lachlan Collins - Update to Rollup v4, Vite v5 (#5260) (
fefe74f
) by Lachlan Collins - Update examples to use Vite v4 (#5259) (
5d615ab
) by Lachlan Collins - Update select workspace dependencies (#5258) (
a990435
) by Lachlan Collins
Docs
- fix meta data example (#5256) (
6561267
) by Nathan Isaac - fix feature guide links (
8a14fa6
) by Kevin Vandy - refactor guides section and new table instance guide (#5254) (
b327934
) by Kevin Van Cott - add solid filters example (#5252) (
80d92d6
) by Hephaestian
Ci
Packages
typescript-eslint/typescript-eslint (@typescript-eslint/eslint-plugin)
v6.19.0
🚀 Features
-
eslint-plugin: [prefer-promise-reject-errors] add rule
-
eslint-plugin: [no-array-delete] add new rule
-
eslint-plugin: [no-useless-template-literals] add fix suggestions
🩹 Fixes
-
eslint-plugin: [no-unnecessary-type-assertion] detect unnecessary non-null-assertion on a call expression
-
eslint-plugin: [no-unnecesary-type-assertion] treat unknown/any as nullable
❤ ️ Thank You
- auvred
- Brad Zacher
- Josh Goldberg
✨ - Joshua Chen
- LJX
- Steven
- StyleShit
You can read about our versioning strategy and releases on our website.
v6.18.1
🩹 Fixes
-
eslint-plugin: [no-non-null-assertion] provide valid fix when member access is on next line
-
eslint-plugin: [no-unnecessary-condition] improve checking optional callee
-
eslint-plugin: [prefer-readonly] support modifiers of unions and intersections
-
eslint-plugin: [switch-exhaustiveness-check] fix new allowDefaultCaseForExhaustiveSwitch option
❤ ️ Thank You
- auvred
- James
- Josh Goldberg
✨ - YeonJuan
You can read about our versioning strategy and releases on our website.
typescript-eslint/typescript-eslint (@typescript-eslint/parser)
v6.19.0
This was a version bump only for parser to align it with other projects, there were no code changes.
You can read about our versioning strategy and releases on our website.
v6.18.1
This was a version bump only for parser to align it with other projects, there were no code changes.
You can read about our versioning strategy and releases on our website.
chromaui/chromatic-cli (chromatic)
v10.3.0
🚀 Enhancement
- Add missing
skip
option to configuration schema #890 (@ghengeveld) - Detect merge queue branch and retrieve real branch name from pull request #884 (@JonathanKolnik @ghengeveld)
- Deduplicate files to be uploaded using file hashing #875 (@ghengeveld)
- Replace upload mechanism to use a batched mutation with a new API #888 (@ghengeveld)
🐛 Bug Fix
- Retrieve
sentinelUrls
fromuploadBuild
and wait for all of them before finishing upload task #878 (@ghengeveld)
Authors: 2
- Gert Hengeveld (@ghengeveld)
- Jono Kolnik (@JonathanKolnik)
v10.2.2
🐛 Bug Fix
- Add configFile option to GitHub Action #885 (@wisestuart)
Authors: 1
- Stuart Hammar (@wisestuart)
v10.2.1
🐛 Bug Fix
- Revert "Replace
getUploadUrls
withuploadBuild
mutation" #883 (@JonathanKolnik) - Run publish-action script as afterShipIt hook #877 (@ghengeveld)
Authors: 2
- Gert Hengeveld (@ghengeveld)
- Jono Kolnik (@JonathanKolnik)
mswjs/msw (msw)
v2.1.1
v2.1.1 (2024-01-17)
Bug Fixes
v2.1.0
v2.1.0 (2024-01-15)
Features
- up tsconfig target for more modern syntax (#1780) (
29182ce
) @thepassle @kettanaito - add "requestId" as response resolver argument (#1942) (
51ab8cc
) @skvale @kettanaito - support multiple directories in "msw.workerDirectory" (#1832) (
4dbf99a
) @kettanaito - deprecate "waitUntilReady" (deferNetworkUntil) worker option (#1964) (
86a22ac
) @kettanaito - support throwing responses in response resolvers (#1963) (
39dc0e6
) @kettanaito
Shoutout to @mattcosta7 for his continuous on the library's performance and stability
v2.0.14
v2.0.14 (2024-01-12)
Bug Fixes
-
GraphQLHandler: move cookie parsing to parse phase (#1957) (
ba87f99
) @mattcosta7 @kettanaito - improve custom request handler and resolver annotations (#1961) (
8624f31
) @kettanaito
v2.0.13
v2.0.13 (2024-01-09)
Bug Fixes
- publish source and include sourcemaps (#1958) (
68a57bd
) @kettanaito
prettier/prettier (prettier)
v3.2.4
#15947 by @fisker)
Fix incorrect parser inference (Files like .eslintrc.json
were incorrectly formatted as JSONC files.
// Input
prettier --file-info .eslintrc.json
{ "ignored": false, "inferredParser": "jsonc" }
// Prettier 3.2.4
prettier --file-info .eslintrc.json
{ "ignored": false, "inferredParser": "json" }
v3.2.3
#15881 by @fisker, @Josh-Cena, @auvred)
Throw errors for invalid code (// Input
1++;
// Prettier 3.2.2
1++;
// Prettier 3.2.3
SyntaxError: Invalid left-hand side expression in unary operation (1:1)
> 1 | 1++;
| ^
// Input
try {} catch (error = 1){}
// Prettier 3.2.2
try {
} catch (error) {}
// Prettier 3.2.3
SyntaxError: Catch clause variable cannot have an initializer. (1:23)
> 1 | try {} catch (error = 1){}
| ^
#15927 by @fisker)
Fix parser inference (// Prettier 3.2.2
prettier --file-info tsconfig.json
{ "ignored": false, "inferredParser": "json" }
// Prettier 3.2.3
prettier --file-info tsconfig.json
{ "ignored": false, "inferredParser": "jsonc" }
v3.2.2
#15896 by @eelco)
Fix crash when parsing template literal CSS in a JSX style tag using a spread attribute (For example this code would crash before:
<style {...spread}>{`.{}`}</style>
#15920 by @sosukesuzuki)
Fix formatting error on optional call expression and member chain (// Input
a(() => {}, c?.d());
// Prettier 3.2.1
TypeError: Cannot read properties of undefined (reading 'type')
// Prettier 3.2.2
a(() => {}, c?.d());
v3.2.1
#15915 by @sosukesuzuki)
Fix formatting error on member chain (// Input
test().test2().test2(thing?.something);
// Prettier 3.2.0
TypeError: Cannot read properties of undefined (reading 'type')
// Prettier 3.2.1
test().test2().test2(thing?.something);
v3.2.0
react-hook-form/react-hook-form (react-hook-form)
v7.49.3
: Version 7.49.3
thanks to @Moshyfawn, @geeee and @RulerOfCakes
reduxjs/react-redux (react-redux)
v9.1.0
This minor release adds a new syntax for pre-typing hooks.
.withTypes
Previously, the approach for "pre-typing" hooks with your app settings was a little varied. The result would look something like the below:
import type { TypedUseSelectorHook } from "react-redux"
import { useDispatch, useSelector, useStore } from "react-redux"
import type { AppDispatch, AppStore, RootState } from "./store"
export const useAppDispatch: () => AppDispatch = useDispatch
export const useAppSelector: TypedUseSelectorHook<RootState> = useSelector
export const useAppStore = useStore as () => AppStore
React Redux v9.1.0 adds a new .withTypes
method to each of these hooks, analogous to the .withTypes
method found on Redux Toolkit's createAsyncThunk
.
The setup now becomes:
import { useDispatch, useSelector, useStore } from "react-redux"
import type { AppDispatch, AppStore, RootState } from "./store"
export const useAppDispatch = useDispatch.withTypes<AppDispatch>()
export const useAppSelector = useSelector.withTypes<RootState>()
export const useAppStore = useStore.withTypes<AppStore>()
What's Changed
- Update hooks.md — reselect usage with multiple instances simplified by @VorontsovIE in https://github.com/reduxjs/react-redux/pull/2110
- Modernize ESLint configuration by @aryaemami59 in https://github.com/reduxjs/react-redux/pull/2115
- Introduce pre-typed hooks via
hook.withTypes<RootState>()
method by @aryaemami59 in https://github.com/reduxjs/react-redux/pull/2114
New Contributors
- @VorontsovIE made their first contribution in https://github.com/reduxjs/react-redux/pull/2110
Full Changelog: https://github.com/reduxjs/react-redux/compare/v9.0.4...v9.1.0
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.