chore(deps): update npm
This MR contains the following updates:
Release Notes
emotion-js/emotion
v11.11.0
Minor Changes
-
#3031
336f3d50
Thanks @Andarist! - Added support for cascade@layer
s by updating the underlying parser (stylis).
Patch Changes
-
#3029
eed5e6cf
Thanks @Andarist! - Fixed importing in Node ESM
mui/material-ui (@mui/material)
v5.12.3
May 2, 2023
A big thanks to the 18 contributors who made this release possible. Here are some highlights
- all planned breaking changes for Base UI are done. The first beta release should come next week
🎉 -
🐛 bug fixes and📚 documentation improvements.
@mui/material@5.12.3
- [Accordion] Add missing
component
type (#37111) @sai6855 - [ButtonGroup] Should not retain divider color when it is disabled and variant is
text
(#36967) @DavidBoyer11 - [Divider] Fix styles on dividers with text (#35072) @maxdestors
- [TextField] Improve IntelliSense support for props (#36737) @sai6855
- [TextField] Fix running click event on disabled (#36892) @sai6855
@mui/joy@5.0.0-alpha.78
- [Joy] Miscellaneous fixes and docs improvement (#37026) @siriwatknp
@mui/base@5.0.0-alpha.128
Breaking changes
-
The
component
prop is no longer supported because it can be replaced with the slots API. This is how the transformation will look like:<Button - component="span" + slots={{ root: "span" }} />
If using TypeScript, the custom component type should be added as a generic on the
Button
component.-<Button +<Button<typeof CustomComponent> slots={{ root: CustomComponent }} customProp="foo" />
There is codemod that you can run in your project to do the transformation:
npx @​mui/codemod v5.0.0/base-remove-component-prop <path>
The full documentation about the codemod can be found here.
This is the list of MR related to this change:
- [Button][base] Drop
component
prop (#36677) @mnajdova - [Badge][base] Drop
component
prop (#37028) @hbjORbj - [FormControl][base] Drop component prop (#37031) @hbjORbj
- [Input][base] Drop component prop (#37057) @hbjORbj
- [Menu][base] Drop component prop (#37033) @hbjORbj
- [MenuItem][base] Drop component prop (#37032) @hbjORbj
- [Modal][base] Drop component prop (#37058) @hbjORbj
- [Option][base] Drop component prop (#37052) @hbjORbj
- [OptionGroup][base] Drop component prop (#37055) @hbjORbj
- [Popper][base] Drop component prop (#37084) @hbjORbj
- [Select][base] Drop component prop (#37035) @hbjORbj
- [Slider][base] Drop component prop (#37056) @hbjORbj
- [Snackbar][base] Drop component prop (#37041) @nicolas-ot
- [Switch][base] Drop component prop (#37053) @hbjORbj
- [Tab][base] Drop component prop (#36768) @sai6855
- [Tabs][base] Drop component prop (#36770) @sai6855
- [TablePagination][base] Drop component prop (#37059) @sai6855
- [TabPanel][base] Drop component prop (#37054) @sai6855
- [TabsList][base] Drop component prop (#37042) @sai6855
- [Button][base] Drop
-
[base] Improve API consistency (#36970) @michaldudak
Brought consistency to Base UI components and hooks' parameters and return values:
- Whenever a hook needs a ref, it's now called
<slot_name>Ref
, which matches theget<slot_name>Props
in the return value. - All hooks that accept external refs now return merged refs, making combining multiple hooks on one element easier. This was proven necessary in several compound components (like menuItem being both a button and a list item). The type of this value is
React.RefCallback
as using the more generalReact.Ref
caused variance issues. - Type of accepted refs is standardized to
React.Ref<Element>
- Naming and typing of the forwarded ref in unstyled components were standardized - it's forwardedRef: React.ForwardedRef (unless a more specific type is needed).
- The shape of the definition of unstyled components was standardized - it's React.forwardRef(function Component(props: Props, forwardedRef: React.Ref) { ... });. Specifically, the generic parameters of forwardRef were removed as they are specified in function arguments.
- Whenever a hook needs a ref, it's now called
Changes
- [FormControl][base] Do not use optional fields in useFormControlContext's return value (#37037) @michaldudak
Docs
- [base][docs] Add Base UI Quickstart Guide (#36717) @mj12albert
- [docs] Fix Material UI's API linking to Base UI (#37121) @mnajdova
- [docs] Fix pagination in the DataGrid demo (#37114) @cherniavskii
- [docs] Add notification to the release of the new Time Picker UI (#37065) @joserodolfofreitas
- [docs] Specify "Material UI" (not "MUI") where appropriate throughout the docs (#37066) @samuelsycamore
- [docs] Use focus-visible instead of focus for Menu demos (#36847) @michaldudak
- [docs] Fix small regressions API pages (#36972) @oliviertassinari
- [docs] Handle a few docs-feedback (#36977) @oliviertassinari
- [docs] Fix anchor link in customization (#37004) @oliviertassinari
- [docs] Add a note about minimal required version for theme merging to the guides (#36973) @jakub-stastny
- [docs] smooth scrolling added for
back to top
(#37011) @PunitSoniME - [docs] Remove
useFormControl
return values from demos page (#37036) @ZeeshanTamboli - [docs][base] Move styles to the bottom of demos code for
SwitchUnstyled
(#36720) @varunmulay22 - [docs][base] Move styles to the bottom of demos code for
InputUnstyled
(#36724) @varunmulay22 - [docs][base] Move styles to the bottom of demos code for
SliderUnstyled
(#36721) @varunmulay22 - [docs][base] Move styles to the bottom of demos code for
Snackbar
(#36719) @varunmulay22 - [docs][base] Move styles to the bottom of demos code for
SelectUnstyled
(#36718) @varunmulay22 - [templates] Image not displayed in blog layout of React template. (#36991) @navedqb
- [website] Take the design role offline @oliviertassinari
- [website] Fix URL convention @oliviertassinari
- [docs] Turn off job banner on docs (#36080) @joserodolfofreitas
Core
- [core] Allow type alias as well in hooks API docs generation (#37034) @ZeeshanTamboli
All contributors of this release in alphabetical order: @cherniavskii, @DavidBoyer11, @hbjORbj, @jakub-stastny, @joserodolfofreitas, @maxdestors, @michaldudak, @mj12albert, @mnajdova, @navedqb, @nicolas-ot, @oliviertassinari, @PunitSoniME, @sai6855, @samuelsycamore, @siriwatknp, @varunmulay22, @ZeeshanTamboli
vercel/next.js
v13.4.1
Core Changes
- actions: update location header: #49223
- Fix serving images referenced from app directory: #49236
- Update dev logs to include request timings: #49191
- Support incrementalCacheHandlerPath for standalone output: #48694
- Apply basePath for metadata image: #49226
- Fix Server Actions defined in both layers in one entry: #49248
- Update tags handling during server action redirect: #49227
- Add experimental verboseRequestLogs flag: #49250
- Fix require-hook with just pages on deploy: #49274
Misc Changes
Credits
Huge thanks to @feedthejim, @jridgewell, @ijjk, @ikryvorotenko, @huozhi, @shuding, and @timneutkens for helping!
v13.4.0
Core Changes
- More fluent GraphTraversal API: #49028
- fix GlobalError interop and add test case: #49033
- Add flag to switch to the experimental channel: #48896
- Fix extra block element in body: #49034
- Fixed
next-types-plugin
causing Typescript errors when"type": "module"
is set: #49027 - Fixed middleware's edge-chunks not being copied in copyTracedFiles: #48723
- Rename
experimentalReact
: #49046 - app router: don't unmount/remount on search param changes: #49047
- style: remove useless React.Fragment tag on
next/image
: #48997 - feat: add draft mode to
next/headers
: #48789 - Fix
next dev
failing for app when__NEXT_DISABLE_MEMORY_WATCHER
is set: #49056 - fix(next-core): interop non string record values in env: #49057
- feat(next-core): support capsize for google font fallback: #48967
- chore: use includes replace indexOf: #48901
- feat: make
enableUndici: true
default and removenode-fetch
: #49061 - fix(next_core): do not apply user config to internal assets: #48210
- update turbopack: #49071
- allow to use different blur placeholder modes: #49070
- Use route metadata to trace in node-file-trace: #49080
- fix quoted env vars from next config: #49090
- find and handle not-found page in app dir: #49095
- Update revalidate handling for app: #49062
- Update turbopack warning: #49051
- Add validation to server methods: #49104
- use ws instead of undici.WebSocket: #49100
- chore: rename draft mode enabled to isEnabled: #49096
- add test cases for error handling: #49093
- improve test case stability: #49036
- Optimize non-dynamic metadata routes to static in production build: #49109
- Allow setting
runtime
in layouts in type declarations: #49117 - Tweak app cache handling for paths: #49108
- add test case for non-enumerable exports: #49106
- Skip handler for POST requests when no action ID is found: #49119
- Fix edge runtime detection from layouts: #49126
- Fix cross-worker revalidate API: #49101
- app router: Fix infinite redirect loop in MPA navigation: #49058
- Only read digest from error instance: #49132
- Static generate dynamic sitemaps: #49114
- Remove writing vscode config: #49133
- Revert "Fix cross-worker revalidate API": #49138
- Revert "Revert "Fix cross-worker revalidate API" (#49138)": #49141
- fix(ts): make
ReadonlyHeaders
more compatible withHeaders
: #49075 - app-router: update prefetch heuristic to traverse until until we hit a loading boundary: #49077
- Forward response to edge runtime for response modification: #49145
- Polyfill
Blob
for Node.js < 18: #49156 - Update compilation target of @next/react-dev-overlay: #49153
- Fix CSS module imports not included in root not-found file: #49155
- app-router: fix stale cache handling: #49160
- Add support for app global and segment 404 pages: #49085
- Tests for Sass warnings: #49151
- Ensure latest react-dom types for experimental release channel are used: #49049
- Update cache methods for app dir: #49165
- Search for lockfiles to find Turbopack root: #49110
- Allow webpack config, but warn if no turbo config: #49170
- Add a generic type for unstable_cache: #49166
- Upgrade React to 18.3.0-canary-b7972822b-20230503: #49158
- Fix server component transforms: #49135
- Fix React channel env missing in custom server: #49168
- app router: support side effects on server requests: #48939
- Fix multipart/form-data handling in the Edge runtime: #49177
- Upgrade React to 18.3.0-canary-aef7ce554-20230503: #49181
- remove startup message by default: #49157
- add test case for bindings in member props: #49134
- Add test case for App Route cookies: #49124
- Fix standalone mode with appDir running in a single process: #49116
- Enable progressive enhanced form actions through decodeAction: #49187
- Use special annotation for
$$bound
if no closure argument is attached: #49188 - Add warning for missing metadataBase in social images: #49180
- Allow override icon rel: #49194
- actions: fix redirect on the edge: #49197
- update turbopack: #49196
- Fix incorrect React env in particular case: #49202
- Add SWC test cases: #49189
- action: add Readable.toWeb "polyfill" for node 16: #49201
- add missing alias for next/dynamic in app dir: #49199
- render app pages with original url: #49198
- action: support not found: #49209
- types: upgrade react/react-dom types: #49213
- Fix metadata routes prerender cache for standalone mode: #49208
- Turbopack alpha -> beta: #49103
- Enable App Router for all applications: #49088
Documentation Changes
- fix: wrong link in docs: #49001
- Simplify CNA prompts a bit: #49063
- Update create-next-app App Router question: #49111
- chore(docs): update next-image-unconfigured-host.md: #49175
Example Changes
Misc Changes
- chore: Update
swc_core
tov0.75.41
: #48982 - Fix failing test on
canary
branch: #49038 - Remove unused font from tailwind
app/page.tsx
: #49035 - Add test case for file uploads: #49048
- chore(cli): remove Route Handlers from App Router templates: #49076
- Fix flaky test: #49178
- disable optimistic_updates: #49211
- test: temporary disable flaky checking: #49217
Credits
Huge thanks to @kdy1, @alexkirsz, @sokra, @shuding, @dciug, @albertothedev, @DuCanhGH, @feedthejim, @li-jia-nan, @styfle, @kwonoj, @patrick91, @timneutkens, @balazsorban44, @ijjk, @padmaia, @Kikobeats, @huozhi, @sophiebits, @eps1lon, @reconbot, @acdlite, @jridgewell, and @sebmarkbage for helping!
tanstack/table
v8.9.1
Version 8.9.1 - 5/2/2023, 9:15 PM
Changes
Fix
Packages
- @tanstack/table-core@8.9.1
- @tanstack/react-table@8.9.1
- @tanstack/solid-table@8.9.1
- @tanstack/vue-table@8.9.1
- @tanstack/svelte-table@8.9.1
v8.9.0
Version 8.9.0 - 5/2/2023, 2:42 AM
Changes
Feat
Packages
typescript-eslint/typescript-eslint (@typescript-eslint/eslint-plugin)
v5.59.2
Note: Version bump only for package @typescript-eslint/eslint-plugin
typescript-eslint/typescript-eslint (@typescript-eslint/parser)
v5.59.2
Note: Version bump only for package @typescript-eslint/parser
eslint/eslint
v8.40.0
Features
-
5db7808
feat: improve flat config errors for invalid rule options and severities (#17140) (Josh Goldberg✨ ) -
f5574dc
feat: Add findConfigFile() method to FlatESLint (#17142) (Nicholas C. Zakas) -
e52b98b
feat: addsourceCode
property to the rule context (#17107) (Nitin Kumar) -
1468f5b
feat: addphysicalFilename
property to the rule context (#17111) (Nitin Kumar) -
0df4d4f
feat: addcwd
to rule context (#17106) (Nitin Kumar) -
52018f2
feat: addfilename
property to the rule context (#17108) (Nitin Kumar) -
559ff4e
feat: add newomitLastInOneLineClassBody
option to thesemi
rule (#17105) (Nitin Kumar)
Bug Fixes
Documentation
-
e980bf3
docs: Update README (GitHub Actions Bot) -
e92a6fc
docs: Update README (GitHub Actions Bot) -
af5fe64
docs: Fix custom rule schema docs (#17115) (Adam Jones) -
4a352a9
docs: explain how to include predefined globals (#17114) (Marcus Wyatt) -
5ea15d9
docs: add mastodon link in readme (#17110) (唯然)
Chores
-
4053004
chore: upgrade @eslint/js@8.40.0 (#17156) (Milos Djermanovic) -
50fed1d
chore: package.json update for @eslint/js release (ESLint Jenkins) -
4c7a170
chore: upgrade @eslint/eslintrc@2.0.3 (#17155) (Milos Djermanovic) -
e80b7cc
chore: upgrade espree@9.5.2 (#17154) (Milos Djermanovic) -
ce3ac91
chore: upgrade eslint-visitor-keys@3.4.1 (#17153) (Milos Djermanovic) -
9094d79
chore: addlatest/
tometa.docs.url
in all core rules (#17136) (Milos Djermanovic) -
d85efad
perf: don't usegrapheme-splitter
on ASCII strings in key-spacing rule (#17122) (Milos Djermanovic)
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.