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 4.1.0 changelog #22721

Merged
merged 26 commits into from
Mar 29, 2020
Merged

docs: ✨ add 4.1.0 changelog #22721

merged 26 commits into from
Mar 29, 2020

Conversation

zombieJ
Copy link
Member

@zombieJ zombieJ commented Mar 29, 2020

🤔 This is a ...

  • New feature
  • Bug fix
  • Site / document update
  • Component style update
  • TypeScript definition update
  • Refactoring
  • Code style optimization
  • Test Case
  • Branch merge
  • Other (about what?)

Changelog

  • 🔥 Support compact mode theme. #22126 @AshoneA
  • 🔥 New Space component to resolve inline component margin style. #22363
  • 🔥 DatePicker support quarter picker. #22468
  • 🆕 Tree/TreeSelect/Select support virtual prop to disable virtual scroll. #21955
  • 🆕 Improve Pagination switch experience. #22711
    • Pagination will show size changer when total > 50.
    • Unify Pagination items to fixed length.
    • Change default size options to 10, 20, 50, 100.
  • Table
    • 🆕 Table pagination position add more option. #22647 @hengkx
    • 🆕 Table selection column support renderCell. #21711
    • 🆕 Table sorter adding hint tooltip and a new prop showSorterTooltip. #21631 @AshoneA
  • 🆕 Tag component support icon prop. #22418 @vtsybulin
  • 🆕 Grid add useBreakpoint hook. #22226
  • 🆕 Card support tabProps. #22207
  • 🆕 Pagination add autoResize prop. #21959 @wendellhu95
  • 🆕 Add render props support for Popover/Popconfirm. #22034 @nossbigg
  • 🆕 TimePicker.RangePicker support order prop. #21948
  • 🆕 Carousel dots support object to pass className. #21848
  • 🆕 Form validateMessages support ${label} variable. #21835
  • 🆕 Expose all Dropdown props in Breadcrumb.Item. #20763 @paranoidjk
  • ⌨️ Improve Tabs Accessibility. #22287
    • Add Tabs keyboard prop.
    • Tabs extraContent don't trigger keyboard navigation now.
  • 🛠 Warning Form.Item with defaultValue when it's controlled. #22571
  • 🛠 Menu.Item Tooltip could be hidden by falsy title prop. #22202
  • 🛠 Typography onExpand function support event parameter. #22092 @BlazPocrnja
  • 🛠 Simplify Popconfirm and Popover dom structure. #22052
  • 🐞 Fix Autocomplete display null when value is null. #21955
  • 🐞 Adjust Drawer close button without title style to avoid overlap with scroll bar. #22710
  • 🐞 Fix Calendar style details. #22676
  • Table
    • 🐞 Fix Table fixed column shadow style in Safari. #22680
    • 🐞 Fix Table style affect nest table element. #22643
    • 🐞 Fix Table emptyText is not centered and show pagination when empty data. #22548 @hengkx
    • 🐞 Fix Table rowSelection event bubbling with onRow. #22566 @hengkx
  • 🐞 Fix Input with suffix only align style issue. #22603
  • 🐞 Fix Alert cannot work with Tooltip/Popover. #22594
  • 🐞 Fix nest dynamic Form.Item get react unmounted update warning. #22575
  • 💄 Adjust Tag processing status color. #22303
  • 💄 Remove Select dropdown group title mouse click style. #22581
  • 💄 Redesign Table filter menu buttons and fix Dropdown edge padding style. #22072
  • 💄 Move @form-item-label-height from form styles to theme variables. #22600 @slavakam
  • 💄 Add less variables @link-focus-decoration and @link-focus-outline. #22511
  • 💄 add separator cursor disabled of DatePicker. #22563
  • RTL
    • 💄 Optimize Checkbox inner RTL style issue. #22627
    • 🐞 Optimize Upload picture-card RTL style issue. #22630
    • 🐞 Fix Badge RTL number style issue. #22665
    • 🐞 Fix Select RTL style issue when select multiple options can be cleared. #22596
    • 🐞 Fix Progress RTL style issue. #22558
    • 🐞 Fix Badge RTL style issue. #22551
    • 🐞 Fix Input RTL style issue. #22525
    • 🐞 Fix Steps RTL style issue. #22523
    • 💄 Optimize Tabs RTL icon style issue. #22653
    • 💄 Optimize Input.Group RTL style issue. #22624
    • 💄 Optimize Timeline label mode RTL style issue. #22652
    • 💄 Optimization Select dropdown group RTL style issue. #22584
    • 💄 Optimization Dropdown.Button RTL style issue. #22519
  • Typescript
    • 🛠 replace deprecated React.SFC with React.FC. #22691 @Rustin-Liu
    • 🐞 Fix Form.Item children definition. #22662

  • 🔥 支持紧凑模式主题。#22126 @AshoneA
  • 🔥 新的 Space 组件以支持内联组件的间距样式。#22363
  • 🔥 DatePicker 支持季度选择器。#22468
  • 🆕 Tree/TreeSelect/Select 支持 virtual 属性以关闭虚拟滚动。#21955
  • 🆕 改进 Pagination 使用体验。#22711
    • Pagination 当 total > 50 时默认显示切换页数选择器。
    • 统一 Pagination 十页以内的页码个数使其宽度更统一。
    • Pagination 调整默认页数选项为 10, 20, 50, 100
  • Table
    • 🆕 Table 分页位置增加更多选项。#22647 @hengkx
    • 🆕 Table 选择列支持 renderCell#21711
    • 🆕 Table 排序增加下次排序的提示,并增加 showSorterTooltip 属性开关。#21631 @AshoneA
  • 🆕 Tag 支持 icon 属性。#22418 @vtsybulin
  • 🆕 Grid 添加 useBreakpoint hook. #22226
  • 🆕 Card 支持 tabProps#22207
  • 🆕 Menu.Item 上的 Tooltip 现在可以使用 title={null} 来禁用。#22202
  • 🆕 Pagination supports autoResize prop。#21959 @wendellhu95
  • 🆕 Popover/Popconfirm 添加 render props 支持。#22034 @nossbigg
  • 🆕 TimePicker.RangePicker 支持 order 属性用于设置排序行为。#21948
  • 🆕 Carousel dots 支持对象传递 className#21848
  • 🆕 Form validateMessages 支持 ${label} 变量。#21835
  • 🆕 暴露 Breadcrumb.Item 组件的所有 Dropdown 的可配置属性。#20763 @paranoidjk
  • ⌨️ 增强 Tabs 可访问性。#22287
    • 新增 Tabs keyboard 属性用于开关键盘切换功能。
    • Tabs extraContent 里的元素不再触发键盘切换功能。
  • 🛠 添加 Form.Item 在受控时使用 defaultValue 的警告信息。#22571
  • 🛠 Typography onExpand 添加事件参数。#22092 @BlazPocrnja
  • 🛠 简化 Popconfirm 和 Popover 的 dom 结构。#22052
  • 🐞 修复 Autocomplete valuenull 时,值展示 null 的问题。#21955
  • 🐞 调整 Drawer 无 title 时关闭按钮样式以避免遮挡滚动条。#22710
  • 🐞 修复 Calendar 的一些样式细节问题。#22676
  • Table
    • 🐞 修复 Table 在 Safari 下固定列的阴影样式问题。#22680
    • 🐞 修复 Table 样式影响内嵌 table 的问题。#22643
    • 🐞 修复 Table 同时设置 rowSelectiononRow 事件冒泡问题。#22566 @hengkx
    • 🐞 修复 Table 空文本没有居中的问题与空数据依然展示了分页的问题。#22548 @hengkx
  • 🐞 修复 Input 只配置 suffix 时的样式对齐问题。#22603
  • 🐞 修复 Alert 无法和 Tooltip/Popover 一起使用的问题。#22594
  • 🐞 修复嵌套动态 Form.Item 会被 react 警告更新移除节点的信息。#22575
  • 💄 调整 Tag processing 状态颜色。#22303
  • 💄 移除 Select 下拉组标题的鼠标可点击样式。#22581
  • 💄 迁移 @form-item-label-height less 变量到主题变量中。#22600 @slavakam
  • 💄 优化 Table 筛选菜单按钮的样式并修复 Dropdown 二级菜单的上下边距。#22072
  • 💄 新增 less 变量 @link-focus-decoration@link-focus-outline#22511
  • 💄 新增 DatePicker disabled 时,分隔符鼠标禁用样式。#22563
  • RTL
    • 💄 优化 CheckBox inner RTL 样式问题。#22627
    • 🐞 优化 Upload picture-card RTL 样式问题。#22630
    • 🐞 修复 Badge RTL 数字显示样式问题。#22665
    • 🐞 修复 Select RTL 多选可清空时,选项样式问题。#22596
    • 🐞 修复 Progress RTL 样式问题。#22558
    • 🐞 修复 Badge RTL 样式问题。#22551
    • 🐞 修复 Input RTL 样式问题。#22525
    • 🐞 修复 Steps RTL 样式问题。#22523
    • 💄 优化 Tabs RTL 按钮样式问题。#22653
    • 💄 优化 Input.Group RTL 样式问题。#22624
    • 💄 优化 Timeline label RTL 样式问题。#22652
    • 💄 优化 Select group RTL 样式问题。#22584
    • 💄 优化 Dropdown.Button RTL 样式问题。#22519
  • Typescript
    • 🛠 替换废弃的 React.SFCReact.FC#22691 @Rustin-Liu
    • 🐞 修复 Form.Item children 的类型定义。#22662

View rendered CHANGELOG.en-US.md
View rendered CHANGELOG.zh-CN.md

@ant-design-bot
Copy link
Contributor

ant-design-bot commented Mar 29, 2020

@codesandbox-ci
Copy link

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.

Latest deployment of this branch, based on commit 2839c2b:

Sandbox Source
antd reproduction template Configuration

CHANGELOG.en-US.md Outdated Show resolved Hide resolved
@codesandbox-ci
Copy link

codesandbox-ci bot commented Mar 29, 2020

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.

Latest deployment of this branch, based on commit 475e2bc:

Sandbox Source
antd reproduction template Configuration

CHANGELOG.zh-CN.md Outdated Show resolved Hide resolved
Co-Authored-By: 偏右 <afc163@gmail.com>
CHANGELOG.zh-CN.md Outdated Show resolved Hide resolved
@afc163
Copy link
Member

afc163 commented Mar 29, 2020

@afc163
Copy link
Member

afc163 commented Mar 29, 2020

同理,feature 里升级 了 minor 版本的 rc 组件都要检查一下有没有 bugfix 提交到 minor 版本上了,changelog 里要提及。

@codecov
Copy link

codecov bot commented Mar 29, 2020

Codecov Report

Merging #22721 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master   #22721   +/-   ##
=======================================
  Coverage   98.07%   98.07%           
=======================================
  Files         360      360           
  Lines        7227     7227           
  Branches     1938     1938           
=======================================
  Hits         7088     7088           
  Misses        139      139

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7212a97...475e2bc. Read the comment docs.

CHANGELOG.en-US.md Outdated Show resolved Hide resolved
CHANGELOG.en-US.md Outdated Show resolved Hide resolved
CHANGELOG.en-US.md Outdated Show resolved Hide resolved
CHANGELOG.zh-CN.md Outdated Show resolved Hide resolved
CHANGELOG.zh-CN.md Outdated Show resolved Hide resolved
CHANGELOG.zh-CN.md Outdated Show resolved Hide resolved
zombieJ and others added 2 commits March 29, 2020 22:33
Co-Authored-By: 偏右 <afc163@gmail.com>
CHANGELOG.zh-CN.md Outdated Show resolved Hide resolved
CHANGELOG.zh-CN.md Outdated Show resolved Hide resolved
CHANGELOG.zh-CN.md Outdated Show resolved Hide resolved
CHANGELOG.zh-CN.md Outdated Show resolved Hide resolved
CHANGELOG.zh-CN.md Outdated Show resolved Hide resolved
Co-Authored-By: 偏右 <afc163@gmail.com>
CHANGELOG.zh-CN.md Outdated Show resolved Hide resolved
CHANGELOG.zh-CN.md Outdated Show resolved Hide resolved
@afc163
Copy link
Member

afc163 commented Mar 29, 2020

按组件归类一下。

Co-Authored-By: 偏右 <afc163@gmail.com>
@afc163 afc163 changed the title docs: add 4.1.0 changelog docs: ✨ add 4.1.0 changelog Mar 29, 2020
zombieJ and others added 3 commits March 29, 2020 22:37
Co-Authored-By: 偏右 <afc163@gmail.com>
CHANGELOG.zh-CN.md Outdated Show resolved Hide resolved
CHANGELOG.en-US.md Outdated Show resolved Hide resolved
zombieJ and others added 2 commits March 29, 2020 23:06
Co-Authored-By: 偏右 <afc163@gmail.com>
- 🆕 Grid 添加 `useBreakpoint` hook. [#22226](https://github.com/ant-design/ant-design/pull/22226)
- 🆕 Card 支持 `tabProps`。[#22207](https://github.com/ant-design/ant-design/pull/22207)
- 🆕 Menu.Item 上的 Tooltip 现在可以使用 `title={null}` 来禁用。[#22202](https://github.com/ant-design/ant-design/pull/22202)
- 🆕 Pagination supports `autoResize` prop。[#21959](https://github.com/ant-design/ant-design/pull/21959) [@wendellhu95](https://github.com/wendellhu95)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

中文

CHANGELOG.zh-CN.md Outdated Show resolved Hide resolved
@zombieJ zombieJ merged commit d3d7cf8 into master Mar 29, 2020
@zombieJ zombieJ deleted the changelog branch March 29, 2020 15:43
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.

5 participants