We can also migrate the metadata using Change sets but there are some extra features provided in this ANT migration tool: We will respond and improve this document as soon as migration tool(based on JAVA), is used to deploy the Metadata from one organization to other organization or we can use it to retrieve the metadata from one organization and then make some changes locally and then deploy that metadata again to the same organization. If you encounter problems during the upgrade, please go to GitHub issues and codemod Issues for feedback. We collected all known incompatible changes and related impacts as much as possible, but there may be some scenarios we have not considered.
V4 made a lot of detailed improvements and refactoring. Title: 'Do you Want to delete these items?', Legacy Icon usage will be discarded: import from icon: 'ant-design', + icon: , In 4.0, we adjusted the icon usage API to support tree shaking, reducing the default package size of antd by about 150 KB (Gzipped). The icon API using the string name cannot be loaded on demand, so the svg icon file is fully introduced, which greatly increases the size of the packaged product. In antd 3.9.0, we introduced the svg icon ( Why use the svg icon?). Less variables were changed like DatePicker/TimePicker/Calendar related variables or please check 3.x variables and 4.x variables for more details. Removed the rowSelection.hideDefaultSelections property of Table, please use SELECTION_ALL and SELECTION_INVERT in lections instead, Custom Selection.ĭeprecated Button.Group, please use Space instead. Removed combobox mode, please use AutoComplete instead.
Removed the lazy attribute of Transfer, which did not really optimize the effect. Removed the onSearchChange property of Transfer. Removed the autosize property of TextArea. Removed wrapClassName property of Drawer, please use className instead. Removed the vertical property of Carousel. Removed the noHovering property of Card, please use hoverable instead. Removed AfterClose attribute of Tag, please use OnClose instead.
Removed the allowEmpty property of TimePicker, please use allowClear instead. The setContentRef property of Typography has been removed, please use ref instead. Removed the Form.create method, form is now available in eForm. Removed the iconType attribute of Modal.xxx. LocaleProvider has been removed, please use ConfigProvider instead. The minimum supported version of less.js is 3.1.0, we recommend using less 4.x. Internal using useMemo for performance, do not use mutable data as props. The minimum supported version of React is React 16.9, and some components have started to refactor using hooks. The minimum supported version of IE is IE 11. New Tabs interaction and dom structure is changed in 4.3.0. Table change default background color from transparent to white. The color brightness of the dividing line has been reduced from #E8E8E8 to #F0F0F0.ĭatePicker interactive redo, range selection can now select start and end time separately.
The color of the error was adjusted from #F5222D to #FF4D4F. The color of selected components is changed to #E6F7FF, and the corresponding hover color is changed to #FAFAFA. Icon in the bubble confirmation box has been changed from a question mark to an exclamation mark. Global shadow optimization, adjusted to three layers of shadows to distinguish control hierarchies. 4.6.0īasic rounded corner adjustment, changed from 4px to 2px. Incompatible changes in v4 # Design specification #
#Ant migration tool undeployable changes upgrade#
If you are still using React 15, please refer to React 16 Upgrade Documentation.įor the remaining React 16 obsolete lifecycle APIs, please refer to Migration Guide. Please upgrade to the latest version of 3.x first, and remove / modify related APIs according to the console warning message. If you are using 2.x or older version, please refer to the previous upgrade document to 3.x. This document will help you upgrade from antd 3.x version to antd 4.x version.