🆕 Input and Input.TextArea support count custom character count (for example, fix emoji character length to 1); count.max supports out-of-range styles; restore emoji to native count to solve the problem of maxLength and value mismatch. #45140
🐞 Fix Dropdown not trigger onOpenChange when click menu item to close the popup. #45378
🆕 Input and Input.TextArea support count custom character count (for example, fix emoji character length to 1); count.max supports out-of-range styles; restore emoji to native count to solve the problem of maxLength and value mismatch. #45140
🐞 Fix Dropdown not trigger onOpenChange when click menu item to close the popup. #45378
Enable retainLines to get correct line numbers for jsxDev (fix #235)
v4.1.0
Add @types/babel__cores to dependencies (fix #211)
Improve build perf when not using Babel plugins by lazy loading @babel/core#212
Better invalidation message when an export is added & fix HMR for export of nullish values #215
Include non-dev jsx runtime in optimizeDeps & support HMR for JS files using the non dev runtime #224
The build output now contains a index.d.cts file so you don't get types errors when setting moduleResolution to node16 or nodenext in your tsconfig (we recommend using bundler which is more close to how Vite works)
v4.0.4
Fix #198: Enable Babel if presets list is not empty
v4.0.3
Revert #108: Remove throw when refresh runtime is loaded twice to enable usage in micro frontend apps. This was added to help fix setup usage, and this is not worth an annoying warning for others or a config parameter.
v4.0.2
Fix fast-refresh for files that are transformed into jsx (#188)
Support using components inside web workers (#181)
plugin-react@4.0.0
Options changes
include/exclude
These options now allow to completely override the files processed by the plugin (#122). This is more in line with other Rollup/Vite plugins and simplify the setup of enabling Fast Refresh for .mdx files. This can be done like this:
These changes also allow to apply Babel plugins on files outside Vite root (expect in node_modules), which improve support for monorepo (fix #16).
With these changes, only the file extensions is used for filtering processed files and the query param fallback is removed.
jsxRuntime
The support for React auto import when using classic runtime is removed. This was prone to errors and added complexity for no good reason given the very wide support of automatic runtime nowadays. This migration path should be as simple as removing the runtime option from the config.
Removed options
fastRefresh (#122) This should be correctly activated by plugin without configuration.
Enable retainLines to get correct line numbers for jsxDev (fix #235)
4.1.0 (2023-09-24)
Add @types/babel__cores to dependencies (fix #211)
Improve build perf when not using Babel plugins by lazy loading @babel/core#212
Better invalidation message when an export is added & fix HMR for export of nullish values #215
Include non-dev jsx runtime in optimizeDeps & support HMR for JS files using the non dev runtime #224
The build output now contains a index.d.cts file so you don't get types errors when setting moduleResolution to node16 or nodenext in your tsconfig (we recommend using bundler which is more close to how Vite works)
4.0.4 (2023-07-31)
Fix #198: Enable Babel if presets list is not empty
4.0.3 (2023-07-10)
Revert #108: Remove throw when refresh runtime is loaded twice to enable usage in micro frontend apps. This was added to help fix setup usage, and this is not worth an annoying warning for others or a config parameter.
4.0.2 (2023-07-06)
Fix fast-refresh for files that are transformed into jsx (#188)
Support using components inside web workers (#181)
4.0.0 (2023-04-20)
This major version include a revamp of options:
include/exclude now allow to completely override the files processed by the plugin (#122). This is more in line with other Rollup/Vite plugins and simplify the setup of enabling Fast Refresh for .mdx files. This can be done like this:
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the deps group in /example with 5 updates:
5.10.3
5.11.1
3.22.3
3.22.4
18.0.33
18.2.37
18.0.11
18.2.15
3.1.0
4.1.1
Updates
antd
from 5.10.3 to 5.11.1Release notes
Sourced from antd's releases.
... (truncated)
Changelog
Sourced from antd's changelog.
... (truncated)
Commits
f22f61d
test: update snapshot (#45770)9d57f6f
docs: 5.11.1 changelog (#45768)dea8dea
chore(deps-dev): bump@types/gtag
.js from 0.0.17 to 0.0.18 (#45767)c31fc76
fix: Dropdown with nest menu zIndex error (#45761)5727ce0
demo: add tooltip disabled demo (#45748)c2ef52b
fix: Upload should show remove icon when showRemoveIcon is true (#45752)5261f1e
fix: Description children missing key (#45757)e5a213d
docs: Update recommendation (#45749)8dc11ee
chore(deps-dev): bump@dnd-kit/modifiers
from 6.0.1 to 7.0.0 (#45728)7fda232
chore(deps-dev): bump@dnd-kit/sortable
from 7.0.2 to 8.0.0 (#45729)Updates
zod
from 3.22.3 to 3.22.4Release notes
Sourced from zod's releases.
Commits
e7a9b9b
3.22.49340fd5
Lazy emojiRegex7cb4ba2
Remove stalebotcd7991e
fix ulid regex (#2225)dfe3719
Fix sanity-typed links (#2840)699ccae
Export jsdoc with@deprecated
when building (#2717)15ba5a4
docs: addzod-sandbox
to README ecosystem links (#2707)4018d88
docs: add@sanity-typed/zod
to ecosystem (#2731)8e634bd
Fix prettierd931ea3
LintUpdates
@types/react
from 18.0.33 to 18.2.37Commits
Updates
@types/react-dom
from 18.0.11 to 18.2.15Commits
Updates
@vitejs/plugin-react
from 3.1.0 to 4.1.1Release notes
Sourced from
@vitejs/plugin-react
's releases.... (truncated)
Changelog
Sourced from
@vitejs/plugin-react
's changelog.... (truncated)
Commits
b255776
release: plugin-react@4.1.1b783190
fix: enable retainLines to get correct line numbers for jsxDev (#246)4777304
fix(deps): update all non-major dependencies (#244)4e8e2e2
fix(deps): update all non-major dependencies (#236)17ca1bc
fix(deps): update all non-major dependencies (#226)bf1453e
release: plugin-react@4.1.025fe88a
feat: add support for non-dev jsx runtime (#224)272c338
fix(deps): update all non-major dependencies (#206)2863602
fix: better invalidation message when an export is added & fix HMR for export...ccd25dd
perf: lazy load@babel/core
(#212)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show