[Snyk] Upgrade antd from 5.11.5 to 5.12.2
This PR was automatically created by Snyk using the credentials of a real user.
Snyk has created this PR to upgrade antd from 5.11.5 to 5.12.2.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
- The recommended version is 3 versions ahead of your current version.
- The recommended version was released 22 days ago, on 2023-12-11.
Release notes
Package name: antd
-
5.12.2 - 2023-12-11
- 🐞 MISC: Fix
useIderror when webpack build with React 17. #46261 - Pagination
- 🐞 Fix Pagination throws error in legacy browsers. react-component/pagination#545
- 🐞 Fix Pagination
currentnot working insimplemode. react-component/pagination#546
- 🐞 Fix Table filter dropdown lost background color in CSS variables mode. #46314
- 🐞 Prevent interaction when Spin component enable
fullscreenprop. #46303 @ li-jia-nan - 🐞 Fix Form
hideRequiredMarkprop's priority compared with ConfigProviderformprop. #46299 @ linhf123 - TypeScript
- 🐞 MISC: 修复 React 17 以下使用 webpack 构建时报错
useId找不到的问题。#46261 - Pagination
- 🐞 修复 Pagination 在低版本浏览器上报错的问题。react-component/pagination#545
- 🐞 修复 Pagination
simple模式下current受控选中分页不生效的问题。react-component/pagination#546
- 🐞 修复 Table 筛选菜单在 CSS 变量模式下丢失背景色的问题。#46314
- 🐞 优化 Spin 交互,全屏状态时禁止用户触发鼠标事件。#46303 @ li-jia-nan
- 🐞 修复 Form
hideRequiredMark属性的优先级低于 ConfigProvider 的 form 配置的问题。#46299 @ linhf123 - TypeScript
- 🐞 MISC: Fix
-
5.12.1 - 2023-12-04
- 🐞 MISC: Fix missing color less variables converted from token. #46250
- 🐞 Fix Notification title overlaps with the close icon when it is too long。 #46211 @ zh-lx
-
5.12.0 - 2023-12-04
- 🔥 Component Token support CSS variables mode. For more detail, see CSS Variables. Special thank for contributors of this feature: @ li-jia-nan @ RedJue @ c0dedance @ kiner-tang @ JarvisArt @ cc-hearts
- 🛠 Refactor rc-pagination from class component to FC. #46204 @ Wxh16144
- 🆕 Alert could support linear-gradient background by
colorInfoBgtoken. #46188 - 🆕
Form.useWatchsupport selector function param. #46180 @ crazyair - 🆕 Slider support
onChangeCompleteand deprecateonAfterChange. #46182 @ MadCcc - 🆕 Tabs
itemssupporticonprop. #46096 @ li-jia-nan - 🆕 Tour supports
getPopupContainerproperty. #45751 @ li-jia-nan - 🆕 Switch support for
valueanddefaultValueprops. #45747 @ Wxh16144 - 🐞 Fix that clicking Form
tooltipicon should not trigger Switch. #46155 - 🐞 Fix Notification that icon should have line-height. #46148 @ MadCcc
- 🐞 Fix Progress that gradient in line should follow percent. #46209 @ MadCcc
- 💄 Button could be customized to gradient style. #46192
- 💄 Fix style of InputNumber with
addoninside Space.Compact. #46130 @ MadCcc - TypeScript
- 🤖 Update
FloatButtonPropstype withReact.DOMAttributesin FloatButton. #46175 @ li-jia-nan
- 🤖 Update
- 🔥 Component Token 支持 CSS 变量模式,详情见 使用 CSS 变量。感谢以下同学对此的贡献:@ li-jia-nan @ RedJue @ c0dedance @ kiner-tang @ JarvisArt @ cc-hearts
- 🛠 rc-pagination 重构为 FC。#46204 @ Wxh16144
- 🆕
Form.useWatch支持 selector 函数参数调用。#46180 @ crazyair - 🆕 Slider 组件支持
onChangeComplete事件,并废弃onAfterChange。#46182 @ MadCcc - 🆕 Tabs 配置项
items支持icon属性。#46096 @ li-jia-nan - 🆕 Switch 支持
valueanddefaultValue属性。#45747 @ Wxh16144 - 🐞 修复 Progress 进度条视觉效果,渐变效果应该随着百分比改变。#46209 @ MadCcc
- 🐞 修复点击 Form
tooltip图标会触发 Switch 切换的问题。#46155 - 🐞 修复 Notification 图标行高为 0 的问题。#46148 @ MadCcc
- 💄 Button 按钮支持自定义为渐变色风格。#46192
- 💄 Alert 背景色现在可以通过
colorInfoBgtoken 定义为渐变色。#46188 - 💄 修复 InputNumber 带有
addon时在 Space.Compact 下使用的样式问题。#46130 @ MadCcc - TypeScript
- 🤖 更新 FloatButton 的类型定义,透出原生事件处理函数类型。#46175 @ li-jia-nan
-
5.11.5 - 2023-11-27
- 🐞 MISC: Fix error in
distartifact. #46103 @ MadCcc - 💄 Fix DatePicker style when disabled and hovered. #45940 @ crazyair
- 🐞 MISC: 修复打包
dist产物错误。#46103 @ MadCcc - 💄 修复 DatePicker 禁用状态下悬浮样式。#45940 @ crazyair
- 🐞 MISC: Fix error in
Commit messages
Package name: antd
- dcf9e64 chore(deps-dev): bump stylelint-prettier from 4.1.0 to 5.0.0 (#46388)
- 4ece652 docs(:sparkles:): release 5.12.2 (#46387)
- ca93a6f ci: fix visual-diff report charset issue in html (#46380)
- 7eb91d9 ci: hardcode bucket for visual-diff (#46376)
- 2d28495 docs: update Layout demos (#46378)
- 0ac7262 docs: fix soft breaks in markdown (#46374)
- 0a67187 feat(descriptions): support html attributes `id` type (#46367)
- 2cc68ac ci: add issue comment content limit and full verson html report (#46373)
- 48d430d ci: better naming for test-image snapshot filename (#46369)
- b05641d ci: fix GITHUB_OUTPUT contains multi-lines content (#46368)
- eb166f7 ci: fix visual-regression report comments (#46366)
- 7937302 ci: fix upload visual-regression report (#46365)
- 578664a ci: fix visual-regression-upload.js position (#46363)
- be78dcf ci: checkout firstly before upload visual-regression diff report (#46361)
- ff03696 ci: fix tar issue (#46360)
- 2881a8f chore(deps): update npm to v10.2.5 (#46358)
- 7137066 chore(deps): update dependency sharp to ^0.33.0 (#46359)
- 6e8108a ci: update visual-regression diff build config (#46353)
- 8d7e0bc feat: new visual regression implements (#46127)
- 95b959c chore(deps-dev): bump stylelint-config-standard from 34.0.0 to 35.0.0 (#46352)
- 02396c9 site: update demo Tabs usage (#46351)
- 985b7ac demo: fixed a grammatical error (#46343)
- b5084a3 test: add test case for Spin (#46347)
- eaeb75e chore: type refactor (#46346)
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🔕 Ignore this dependency or unsubscribe from future upgrade PRs
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| pro-react-admin | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jan 2, 2024 2:47pm |
PR摘要
- 更新了“antd”软件包版本 在package.json文件中,“antd”包的版本已从5.11.5更新为5.12.2。这意味着我们现在可以利用最新的antd软件包提供的更多功能和性能优化。
Quality Gate passed
Kudos, no new issues were introduced!
0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code