Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: add 5.15.0 changelog #47672

Merged
merged 7 commits into from
Mar 2, 2024
Merged

docs: add 5.15.0 changelog #47672

merged 7 commits into from
Mar 2, 2024

Conversation

xrkffgg
Copy link
Member

@xrkffgg xrkffgg commented Mar 1, 2024

  • ConfigProvider
    • 🆕 ConfigProvider 支持 Input.TextArea 组件 allowClearautoCompleteclassNamestyleclassNamesstyles 属性。#47589
    • 🆕 ConfigProvider 支持 Input 组件 allowClear 属性。#47602
    • 🆕 ConfigProvider 支持 Menu 组件 expandIcon 属性。#47561
    • 🆕 ConfigProvider 支持 Collapse 组件 expandIcon 属性。#47473
    • 🆕 ConfigProvider 支持 Tabs removeIcon 属性, 在设置 type="editable-card" 时有效。#47334
    • 🆕 CSS 变量的前缀默认跟随 ConfigProvider 的 prefixCls 属性。#47481
    • 🤖 ConfigProvider 中 CardProps styles 设为可选。#47601 @Yawenina
  • 🆕 Select、Checkbox、Radio、DatePicker、TreeSelect、Cascader 支持 focus 功能支持传递 options#47664
  • 🆕 Modal 支持在 closable 中配置 aria-*#47650
  • 🆕 Alert 支持在 closable 中配置 aria-*#47474
  • 🆕 Tabs 组件支持 removeIcon 属性,在设置 type="editable-card" 时有效。#47334
  • Drawer
    • 🆕 Drawer 支持在 closable 中配置 aria-*#47543
    • 🆕 Drawer 支持传递 aria-* 属性给 panel 节点。#47387
  • Table
    • 🆕 Table 新增 filterOnClose 用于指定是否在筛选菜单关闭时触发筛选。#47451 @xsjcTony
    • 🆕 Table 新增 components.header.table 以自定义滚动列时的标题组件。#47382
    • 🐞 修复 Table sticky 下,初次渲染不会显示滚动条的问题。#47382
    • 🐞 修复 Table column.title 为空时列头没有使用 th 元素的问题。#47382
    • 🐞 修复 Table 使用虚拟列表时 prefixCls 无效的问题。#47639
    • 💄 修复 Table 固定列时阴影展示异常的问题。#47518
  • 🐞 修复 Tree 使用 DirectoryTree 时,按住 shift 连续多选报错的问题。#47567 @wkmyws
  • 🐞 修复 Form 存在 Form.List 时,isFieldsTouched(true) 始终会返回 false 的问题。#47629 @lemonied
  • 🐞 修复 Button 不兼容 v4 type='' 的问题。#47612
  • 🛠 重构 Typography 省略测量逻辑以支持动态行高的场景。#47597
  • 💄 移除 Tag 组件多余的 margin 样式。#47504
  • 💄 移除 Alert 中的非必要警告。#47633
  • 🤖 MISC:修复不能在 pnpm 配置 hoist: false 下编译的问题。#47587

  • ConfigProvider
    • 🆕 ConfigProvider support Input.TextArea allowClear autoComplete className style classNames styles props. #47589
    • 🆕 ConfigProvider support Input allowClear props. #47602
    • 🆕 ConfigProvider support Menu expandIcon props. #47561
    • 🆕 ConfigProvider support Collapse expandIcon props. #47473
    • 🆕 ConfigProvider support Tabs removeIcon props, when set type="editable-card". #47334
    • 🆕 Prefixes for CSS variables follow the prefixCls property of ConfigProvider by default. #47481
    • 🤖 CardProps styles in ConfigProvider is set to optional. #47601 @Yawenina
  • 🆕 Select、Checkbox、Radio、DatePicker、TreeSelect、Cascader the focus supports passing options. #47664
  • 🆕 Modal support configuring aria-* in closable. #47650
  • 🆕 Alert support configuring aria-* in closable. #47474
  • 🆕 Tabs support removeIcon props, when set type="editable-card". #47334
  • Drawer
    • 🆕 Drawer support configuring aria-* in closable. #47543
    • 🆕 Drawer support passing aria-* attributes to panel nodes. #47387
  • Table
    • 🆕 Table adds filterOnClose to specify whether to trigger filtering when the filter menu is closed. #47451 @xsjcTony
    • 🆕 Table adds components.header.table to customize the header component when scrolling the column. #47382
    • 🐞 Fix the issue where scroll bars would not be displayed during initial rendering under Table sticky. #47382
    • 🐞 Fix the issue where the th element is not used in the column header when Table column.title is empty. #47382
    • 🐞 Fix the issue where prefixCls is invalid when Table uses a virtual list. #47639
    • 💄 Fix abnormal shadow display when Table fixed columns. #47518
  • 🐞 Fix the issue where when using DirectoryTree in Tree, pressing shift for continuous multi-selection will report an error. #47567 @wkmyws
  • 🐞 Fix the issue where isFieldsTouched(true) always returns false when Form exists in Form.List. #47629 @lemonied
  • 🐞 Fix the issue of Button being incompatible with v4 type=''. #47612
  • 🛠 Refactor Typography to omit measurement logic to support dynamic row height scenarios. #47597
  • 💄 Remove redundant margin styles from Tag. #47504
  • 💄 Remove unnecessary warnings in Alert. #47633
  • 🤖 MISC: fix an issue that could not be compiled under pnpm configuration hoist: false. #47587

Copy link

stackblitz bot commented Mar 1, 2024

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

Copy link
Contributor

github-actions bot commented Mar 1, 2024

👁 Visual Regression Report for PR #47672 Passed ✅

🎯 Target branch: master (6f68cf3)
📖 View Full Report ↗︎

🎊 Congrats! No visual-regression diff found.

Copy link
Contributor

github-actions bot commented Mar 1, 2024

Preview is ready

Copy link
Contributor

github-actions bot commented Mar 1, 2024

🎉 Verify package version passed!

PR package version PR title version
5.15.0 5.15.0

Copy link
Contributor

github-actions bot commented Mar 1, 2024

size-limit report 📦

Path Size
./dist/antd.min.js 334.19 KB (-117 B 🔽)
./dist/antd-with-locales.min.js 380 KB (-82 B 🔽)

CHANGELOG.en-US.md Outdated Show resolved Hide resolved
CHANGELOG.zh-CN.md Outdated Show resolved Hide resolved
xrkffgg and others added 2 commits March 1, 2024 22:12
Co-authored-by: kiner-tang <1127031143@qq.com>
Signed-off-by: xrkffgg <xrkffgg@vip.qq.com>
Co-authored-by: kiner-tang <1127031143@qq.com>
Signed-off-by: xrkffgg <xrkffgg@vip.qq.com>
Copy link

socket-security bot commented Mar 1, 2024

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/lodash@4.17.21 None 0 1.41 MB bnjmnt4n
npm/lz-string@1.5.0 None 0 176 kB pieroxy
npm/minimist@1.2.8 None 0 54.5 kB ljharb
npm/nprogress@0.2.0 None 0 31.8 kB rstacruz
npm/prettier@3.2.5 environment, filesystem, unsafe 0 8.39 MB prettier-bot
npm/prismjs@1.29.0 None 0 2.05 MB rundevelopment
npm/progress@2.0.3 None 0 15.5 kB turbopope
npm/react-copy-to-clipboard@5.1.0 Transitive: environment +3 375 kB nkbt
npm/react-draggable@4.4.6 Transitive: environment +2 5.06 MB strml
npm/typescript@5.3.3 None 0 32 MB typescript-bot

🚮 Removed packages: npm/@ant-design/colors@7.0.2, npm/@ant-design/compatible@5.1.2, npm/@ant-design/cssinjs@1.18.4, npm/@ant-design/happy-work-theme@1.0.0, npm/@ant-design/icons@5.3.1, npm/@ant-design/react-slick@1.0.2, npm/@ant-design/tools@18.0.2, npm/@antv/g6@4.8.24, npm/@babel/eslint-plugin@7.23.5, npm/@biomejs/biome@1.5.3, npm/@codesandbox/sandpack-react@2.13.5, npm/@ctrl/tinycolor@3.6.1, npm/@dnd-kit/core@6.1.0, npm/@dnd-kit/modifiers@7.0.0, npm/@dnd-kit/sortable@8.0.0, npm/@dnd-kit/utilities@3.2.2, npm/@emotion/react@11.11.4, npm/@emotion/server@11.11.0, npm/@ianvs/prettier-plugin-sort-imports@4.1.1, npm/@madccc/duplicate-package-checker-webpack-plugin@1.0.0, npm/@qixian.cs/github-contributors-list@2.0.1, npm/@rc-component/color-picker@1.5.2, npm/@rc-component/mutate-observer@1.1.0, npm/@rc-component/tour@1.12.3, npm/@rc-component/trigger@1.18.3, npm/@size-limit/file@11.0.2, npm/@stackblitz/sdk@1.9.0, npm/@testing-library/dom@9.3.4, npm/@testing-library/jest-dom@6.4.2, npm/@testing-library/react@14.2.1, npm/@testing-library/user-event@14.5.2, npm/@types/ali-oss@6.16.11, npm/@types/fs-extra@11.0.4, npm/@types/gtag.js@0.0.19, npm/@types/http-server@0.12.4, npm/@types/isomorphic-fetch@0.0.39, npm/@types/jest-axe@3.5.9, npm/@types/jest-environment-puppeteer@5.0.6, npm/@types/jest-image-snapshot@6.4.0, npm/@types/jest@29.5.12, npm/@types/jquery@3.5.29, npm/@types/jsdom@21.1.6, npm/@types/nprogress@0.2.3, npm/@types/pixelmatch@5.2.6, npm/@types/pngjs@6.0.4, npm/@types/prismjs@1.26.3, npm/@types/progress@2.0.7, npm/@types/react-dom@18.2.19, npm/@types/react-highlight-words@0.16.7, npm/@types/react-resizable@3.0.7, npm/@types/react@18.2.60, npm/@types/tar@6.1.11, npm/@types/throttle-debounce@5.0.2, npm/@types/warning@3.0.3, npm/@typescript-eslint/eslint-plugin@7.1.0, npm/@typescript-eslint/parser@7.1.0, npm/ali-oss@6.20.0, npm/antd-img-crop@4.21.0, npm/antd-style@3.6.1, npm/antd-token-previewer@2.0.8, npm/cheerio@1.0.0-rc.12, npm/circular-dependency-plugin@5.2.2, npm/cross-fetch@4.0.0, npm/crypto@1.0.1, npm/dekko@0.2.1, npm/dumi-plugin-color-chunk@1.1.0, npm/dumi@2.3.0-beta.7, npm/esbuild-loader@4.0.3, npm/eslint-config-airbnb@19.0.4, npm/eslint-import-resolver-typescript@3.6.1, npm/eslint-plugin-compat@4.2.0, npm/eslint-plugin-import@2.29.1, npm/eslint-plugin-jest@27.9.0, npm/eslint-plugin-jsx-a11y@6.8.0, npm/eslint-plugin-lodash@7.4.0, npm/eslint-plugin-markdown@3.0.1, npm/eslint-plugin-react@7.33.2, npm/eslint-plugin-unicorn@51.0.1, npm/eslint@8.57.0, npm/fetch-jsonp@1.3.0, npm/fs-extra@11.2.0, npm/gh-pages@6.1.1, npm/glob@10.3.10, npm/html2sketch@1.0.2, npm/http-server@14.1.1, npm/husky@9.0.11, npm/identity-obj-proxy@3.0.0, npm/inquirer@9.2.15, npm/is-ci@3.0.1, npm/isomorphic-fetch@3.0.0, npm/jest-axe@8.0.0, npm/jest-canvas-mock@2.5.2, npm/jest-environment-jsdom@29.7.0, npm/jest-environment-node@29.7.0, npm/jest@29.7.0, npm/qrcode.react@3.1.0, npm/rc-cascader@3.22.0, npm/rc-checkbox@3.2.0, npm/rc-collapse@3.7.2, npm/rc-dialog@9.4.0, npm/rc-drawer@7.1.0, npm/rc-dropdown@4.1.0, npm/rc-field-form@1.42.0, npm/rc-image@7.6.0, npm/rc-input-number@9.0.0, npm/rc-input@1.4.3, npm/rc-mentions@2.10.1, npm/rc-menu@9.12.4, npm/rc-motion@2.9.0, npm/rc-notification@5.3.0, npm/rc-pagination@4.0.4, npm/rc-progress@3.5.1, npm/rc-rate@2.12.0, npm/rc-resize-observer@1.4.0, npm/rc-segmented@2.3.0, npm/rc-select@14.12.0, npm/rc-slider@10.5.0, npm/rc-steps@6.0.1, npm/rc-switch@4.1.0, npm/rc-table@7.42.0, npm/rc-tabs@14.0.0, npm/rc-textarea@1.6.3, npm/rc-tooltip@6.1.3, npm/rc-tree-select@5.18.0, npm/rc-tree@5.8.5, npm/rc-upload@4.5.2, npm/rc-util@5.38.2, npm/scroll-into-view-if-needed@3.1.0, npm/throttle-debounce@5.0.0

View full report↗︎

Copy link

socket-security bot commented Mar 1, 2024

🚨 Potential security issues detected. Learn more about Socket for GitHub ↗︎

To accept the risk, merge this PR and you will not be notified again.

Alert Package NoteSource
Install scripts npm/esbuild@0.17.19
  • orphan: npm/esbuild@0.17.19

View full report↗︎

Next steps

What is an install script?

Install scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.

Packages should not be running non-essential scripts during install and there are often solutions to problems people solve with install scripts that can be run at publish time instead.

Take a deeper look at the dependency

Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev.

Remove the package

If you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency.

Mark a package as acceptable risk

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of ecosystem/package-name@version specifiers. e.g. @SocketSecurity ignore npm/foo@1.0.0 or ignore all packages with @SocketSecurity ignore-all

  • @SocketSecurity ignore npm/esbuild@0.17.19

CHANGELOG.zh-CN.md Outdated Show resolved Hide resolved
Signed-off-by: xrkffgg <xrkffgg@vip.qq.com>
Copy link

codesandbox-ci bot commented Mar 2, 2024

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Copy link

codecov bot commented Mar 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (6f68cf3) to head (04468f8).

Additional details and impacted files
@@            Coverage Diff            @@
##            master    #47672   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          736       736           
  Lines        12637     12637           
  Branches      3323      3323           
=========================================
  Hits         12637     12637           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@xrkffgg xrkffgg merged commit b2a83e4 into master Mar 2, 2024
106 checks passed
@xrkffgg xrkffgg deleted the k/changelog branch March 2, 2024 13:09
tanzhenyun pushed a commit to DraculaPrince/mark15 that referenced this pull request Mar 29, 2024
* docs: add 5.15.0 changelog

* Update CHANGELOG.zh-CN.md

Co-authored-by: kiner-tang <1127031143@qq.com>
Signed-off-by: xrkffgg <xrkffgg@vip.qq.com>

* Update CHANGELOG.en-US.md

Co-authored-by: kiner-tang <1127031143@qq.com>
Signed-off-by: xrkffgg <xrkffgg@vip.qq.com>

* Update CHANGELOG.zh-CN.md

Signed-off-by: xrkffgg <xrkffgg@vip.qq.com>

---------

Signed-off-by: xrkffgg <xrkffgg@vip.qq.com>
Co-authored-by: kiner-tang <1127031143@qq.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants