Changelog

Older Version

2.3.0#

2.3 will be the last version of the Ant Design Pro component library, mainly used to fix ts errors, after which the functionality of the component library will not be added. Components will be migrated to Ant Design. These components will be more fully supported and maintained, and maintained in Pro. These components will be more fully supported and maintained in Ant Design, and Pro will focus on Layout and scaffolding.

脚手架#

  • Added demo for the diagram editor. G6 can be easily used in pro. #3810
  • defaultSettings has a new menu.enableLocale configuration to turn off the globalization of the menu. #3310
  • defaultSettings A new pwa configuration has been added to turn off the pwa feature. #3508
  • Add IconFont components and menu icons to use your own IconFont project icons. #3517
  • Fix the login 'onPressEnter` which will trigger twice in IE11. #3557
  • Fixed a problem where the breadcrumbs could not be displayed when the menu item setting hideInMenu was true. #3606
  • Rewritten the permission control module. #3587
  • There are two loading issues when fixing the network too slowly. #3746
  • When the menu in the repair layout is empty, you will get another layout menu problem. #3724
  • Fix the problem that if the screen size is less than 1200 and the content on the right side of the top menu is occluded when the "top menu layout" and the content area width is "fixed width". #3726

组件#

  • Fix the problem that PageHeader does not render without title. aa2f140
  • Fix issues with TagCloud style overrides. #3632
  • NoticeIcon removed the extra parameters and added a button to see more. #3439
  • MiniProgress adds targetLabel props. #3778
  • Rewrite the judgment logic of the Authorized component. #3813
  • Fixed multiple types of TypeScript errors.

2.2.0#

In the next version of Pro, we will gradually remove all the components that will be added to the Ant Design, which are under development:

These components will be more fully supported and maintained in Ant Design, and Pro will focus on Layout and scaffolding.

Scaffold#

  • The captcha button supports internationalization. #2810
  • Fix bug when logging out of login will jump to the wrong path when configuring base : 'demo'. #2865
  • Added docker image to quickly preview Pro via docker image. #2890)
  • PWA is supported and has been enabled by default. #2816
  • The prettier now works correctly in windows as well. ac86837
  • Added gitpod to preview Pro faster. #3349
  • Added a new configuration title to quickly configure the header title. #3332
  • Tree-shaking is turned on by default. #3350
  • The hardSource is turned off by default. #3358

组件#

  • The NoticeIconTab component adds conut props. #2862
  • Fixed an issue where the Login component reported an error if children was an object. d97935
  • Fixed a bug where breadcrumbList didn't work. #2955
  • The word cloud fixes the offset of the color change when the mouse moves over and supports the number of Tooltip displays. #2896
  • The AvatarList component supports maxLength props. #2984
  • Fixed an issue where resetFields didn't work for the TagSelect component. #3031
  • Fixed an issue where HeaderSearch did not trigger the onSearch callback. #3227
  • NoticeIcon adds LoadMore support. #3221

2.1.1#

Scaffold#

  • Added typescript support, now you can create new tsx files for development. deb1433
  • Added tests for isUrl and fixedZero. #2600
  • Fixed a bug in verifying the phone number. #2605
  • Fixed an issue where the menu did not match correctly when there was only one level menu. #2630
  • Added support for netlify. #2651
  • Fixed a bug where the menu was automatically hidden. #2681
  • The e2e test supports custom ports. #2633

Components#

  • Ellipsis component tooltip property supports TooltipProps. #2713
  • Fix chart Gauge median display floating point exception problem. #2682
  • Better support for typescript.

2.1.0#

2018-10-14

Scaffold#

  • Added and improved multiple documents.
  • Fixed an issue where exiting the login did not work. #2157
  • Add an environment variable APP_TYPE. In the non-pro official website environment, the default sidebar is not added by default. 8e28420
  • Fixed an issue where the logo and sidebar border styles were incorrect under the white theme. 3472590 57cb464
  • The sidebar can now be scrolled separately. #2191
  • Fix a bug that was reported after successful registration. de86a3
  • Fixed an issue where it did not jump to the login screen when not logged in. #2157
  • Fixed an issue where a blank area was left after the sidebar was automatically retracted when the side menu was fixed.#2175
  • Added support for Traditional Chinese and Portuguese.
  • Added test at the layout level.#2499
  • Added support for docker. #2430
  • Supported IE11. 88be0d2
  • Refactored the Render method of AdvancedForm. 5bcf89
  • Extract the ArticleListContent as a public component. #2482

Components#

  • HeaderSearch add openonVisibleChange props. 5b5a737
  • PageHeader adds the hiddenBreadcrumb attribute. 231e72
  • Fix Ellipsis's tooltip bug in exception. 0d47d5
  • Fixed a bug that was unusual in Firefox 40.0.3. 85f466
  • Fix the problem that the chart does not render when the Pie percent value is 0. 5b2daa
  • Fix the problem that LoginItem custom rules doesn't work. 9f89ce
  • Fixed an issue where the Ellipsis component and the Table component mismatched. #2405

2.0.0#

2018-09-01

V2 is a huge change with 600 commits, including many changes, see for more And Design Pro release .

Scaffold#

Components#

  • 🌟 TagSelect adds the hideCheckAll attribute to hide the 全部 button.
  • 🌟 PageHeader adds home and itemRender attributes.

1.4.4#

2018-08-09

restored the es directory and index.less.

1.4.1#

2018-08-07

1.4.0 was released using beta tag, This version uses the correct tag.

1.4.0#

2018-08-05

Scaffold#

  • 🐞 Fix the problem that the login page is misplaced at the bottom of IE11. #1315
  • 🐞 Fix the problem that the (official website) advanced details page is not displayed in the IE11 section. #1287
  • 🐞 Fix the problem of the breadcrumb path problem in the Step Form. #1324
  • 🐞 Fixed an issue where dynamic parameter routing could not get title. #1248
  • 🐞 Fix the problem that the breadcrumbs on the distribution form page are not updated. #1409

Components#

  • 🐞 Fix the error that the chart does not show when WaterWave precent is 0. 27a2353
  • 🐞 Fix Ellipsis break in Firefox. #1921
  • 🌟 Trend adds the reverseColor attribute. #1399
  • 🌟 Ellipsis adds the caculateShowLength attribute. #1673
  • 🌟 Ellipsis length now includes .... #1592
  • 🌟 Login.Captcha adds the buttonText property. 11df359

2.0.0-beta.1#

This update supports babel-plugin-import.

Configuration is as follows

  {
     libraryName: 'ant-design-pro',
     libraryDirectory: 'lib',
     Style: true,
     camel2DashComponentName: false,
   }

in code

import { Charts, NumberInfo, Trend } from 'ant-design-pro';

1.3.0#

2018-04-19

Scaffold#

  • 🐞 Fix error when the exception is triggered. #1188
  • 🐞 Fix error when the browser switched to mobile phone mode. #1215
  • 🐞 Fix error when request.js uses FormData to upload files. #1217 @ChieveiT
  • Pages

    • 🌟 Add rowKey prop for StandardTable in table-list page. #1175 @neoscript99
    • 🐞 Fix the problem of invalid filter setting after re-search in table-list page. #1209

Components#

  • 🌟 Add defaultOpen prop for HeaderSearch to support default expansion state. #1179 @zhujun24
  • Charts

    • 🐞 Fix the issue of misaligned axes and incorrect format with TimelineChart. #1283 @mdluo
    • 🐞 Fix Charts can not be imported directly. commit/3bc5c5

1.2.1#

2018-03-27

  • 🌟 Support prettier. #1155
  • 🐞 Fix error when use PageHeader. #1169

1.2.0#

2018-03-25

~ Ant Design Pro has chinese mirror site now -> http://ant-design-pro.gitee.io ~

Scaffold#

  • 🌟 request can handle FormData now. #884 @chengs
  • 🌟 Support using Fragment instead of useless div. #330
  • 🌟 Use puppeteer instead of nightmare. #1006
  • 🌟 Support setting the exact prop in the routes config. #1148 @ws456999
  • 🌟 Add the menu levels(which are not listed in routes config) into breadcrumb. #1053 @ReedSun
  • 🐞 Fix the menu with multiple levels of routing but no submenus can not be selected. #821
  • 🐞 Fix clicking on the logo will redirect to 403 page when the home page is not authorized. #1098
  • Pages

    • 🐞 Fix some problems of the editable table in advanced-form page, and make some improvements of user experience. #846 @wunayou
    • 🐞 Fix card-list page overflow issue when the title is too long. #948
    • 🐞 Fix step-form page title missing. #984
    • 🐞 Fix table-list page data is not reset when a new rule is created. #1015
    • 🐞 Fix infinite loading when an exception is triggered. #976

Components#

  • Charts

    • 🐞 Fix Pie legend data can not be updated. #819
    • 🐞 Fix display issue of ChartCard total prop. #1110
    • 🌟❗️ total prop of Pie 和 ChartCard can support function type now. We removed the unsafe using of dangerouslySetInnerHTML, which may lead to a breaking change in the usage of total and valueFormat. #1142
  • PageHeader

    • 🌟 Add tabDefaultActiveKey prop for supporting default selected pane. commit/e618d4
    • 🐞 Fix location can not take effect. #970 @Alexorz
  • Authorized

    • 🐞 Fix Secured calling failed. #862
    • 🐞 Fix invalid Promise type authority. #843
    • 🐞 Fix PromiseRender update issue. #987 @guowenfh
  • SiderMenu

    • 🐞 Hide the parent menu when the submenu does not have permission or there is no submenu. #1047 @hzq001
    • 💄 Optimized the display of SiderMenu. #964
    • 🐞 Fixed the menu name with img type icon can not be hidden when the SiderMenu is folded. commit/bacc20
  • 🐞 Fix CountDown display issue at initialization. #1009

1.1.0#

2018-01-26

Scaffold#

  • 🌟 Now the authority role can be updated after registration! #724
  • 🌟 Refactor the global exception handling code, move the exception-trigger page into the top drop-down list. #675
  • 🌟 Optimize login/register/register-result page display on big screen/mobile phone. #665 @andriijas
  • 🐞 Fix page height issue on the mobile phone. #788
  • 🐞 Fix the breadcrumb title match issue when there are routes with parameters. #801 @Jeepeng
  • 🐞 Fix error when browserHistory is used. #649
  • 🐞 Fix path splicing issue when menu path is absolute. #697
  • 🐞 Fix can not fall back normally. #729
  • Pages

    • 🐞 Fix the falsely triggered issue of the edit button in editable-form of advanced-form page. #744
    • 🐞 Fix monitor page error in firefox. #677
    • 🐞 Fixed registration information synchronization issue in register-result page. #695 @elevensky
    • 🐞 Fixed validation was falsely triggered in table-list page. #755

Components#

  • 🌟 TagSelect add controlled mode. #761 @yunxifd
  • PageHeader

    • 🌟 Add tabBarExtraContent prop to support extra elements config on tab bar. #793 @kamote
    • 🌟 Add breadcrumbSeparator prop to support custom separator. #811 @unrealsmart
    • 🐞 Fix invalid tabActiveKey. #681
  • 🌟 Add the current authority parameters for Authorized with function type authority. #692
  • 🌟 Refactor StandardTable, now the columns can be passed from outside to control rendering, and support multiple column summation results display. commit/33ef0a
  • 🐞 Fix the input issue of Login without Tab. #674 @lyingd
  • 🐞 Fix Ellipsis word wrap issue. #688

1.0.0 🎆#

2018-01-10

~ The first version of 2018, say goodbye to 0.x finally, let's take a look ~

Major changes 💎#

  • Upgrade to BizCharts, fix some legacy issues and update the UI. #370
  • Use a new way to config new menus and routes which can support more and more flexible demand scenarios. Fix some legacy issues, and support hidden specified menu/route. #442
  • Add Authorized component and authority manage module, now we can meet basic authority management requirements through simple configuration. #508
  • Upgrade to Roadhog@2, support configurable code splitting(default off). #542 #562 @sorrycc

Scaffold#

  • 🌟 Add inner getting-start doc.
  • 🌟 Optimize mobile phone experience of sidebar. #463 @jljsj33
  • 🌟 Add global exception handler. #500
  • 🌟 Add dva-loading to remove some redundant loading handling code. #587 @andriijas
  • 🌟 Menu icon supports configuration as picture address or component. commit/74f0a0
  • 🌟 Add loading effect for button in login page. #576
  • 🐞 Fix some routes did not redirect. #507
  • 🐞 Extend dymaicWrapper to prevent model from repeatedly importing errors. #506 @henrydf
  • 🐞 Fix the problem of step-forms page can not match any menu item, and clicking on the logo can not switch the expanded menu. commit/e2b126

Components#

  • 🌟 Add new component Login. #147
  • PageHeader

    • 🌟 Add activeTabKey prop. commit/a8caa5
    • 🐞 Fix priority issue of breadcrumbList prop and updated related documents. commit/d8b0a9
  • 🐞 Solve the problem that some components depend on external resources. #528 #560

0.3.0#

2017-11-20

  • Scaffold

    • 🌟 Upgrade to Dynamic Router, on-demand loading accelerate page display speed. #184 @WhatAKitty
    • 🌟 Access sentry.io to monitor js error and improve project feedback. b8a96c5
    • 🐞 Fix abnormal display of three-level routing breadcrumbs. #128
    • 🐞 Fix warning when repeatedly clicking on the currently active menu. #159
    • 🐞 Fix NO_PROXY in windows. #181
    • 🐞 Fix Lodash Debounce can not take effect when window.onResize is triggered. 5cce044
  • Components

    • 🌟 Keep component style independence, remove the dependency of antd v2-compatible-reset.less. 63b7645
    • 🐞 Fix Timeline get incorrect values. #130
    • 🐞 Refactor the TagSelect state handler to avoid abnormal state in multiple scenes. #161
    • 🐞 Fix many issues of Ellipsis. #167 #212
    • 🐞 Upgrade the packaging tool to fix the problem that the repetition of className causes the style to appear garbled. #205

0.2.2#

2017-11-09

  • 🌟 Open international support. #120

  • 🌟 Optimize multiple detail styles, making the overall look more refined.

  • Scaffold

    • 🌟 Optimize network request error interface response and fault tolerance. #82
    • 🐞 Fix third level menu expansion issue. #125
  • Components

    • 🌟 Separate component styles for compatibility with non-CssModule projects. #85
    • 🐞 Fix PageHeader can not support url parameter. #64
    • 🐞 Fix HeaderSearch onPressEnter method can not get parameters. #131
    • 🌟 Add new component Ellipsis. #133

0.2.1#

2017-11-02

  • 🐞 Fix package dependency error and module export exception. #73

  • Scaffold

    • 🐞 Fix the Charts.Pie position offset issue in the analysis-page. #76
    • 🐞 Fix Editable Table edit/save issue. #68
    • 📱 Increase responsive support for search form in table-list page. 9709268
  • Components

0.2.0#

2017-10-31

  • 📱 Fully optimize and upgrade template responsiveness.

  • 🌟 Completely optimize the overall design details.

  • Scaffold

    • 🐞 Fix the logout issue. #52
    • 🐞 Fix monitor-page style issue. #40
  • Components

    • 🌟 optimize the logo size of PageHeader. 0d177915
    • 🌟 Optimize display of chart loading. #33
    • 🐞 Fix responsive style issue about title of Pie. 34027103
    • 🐞 Fix overflow issue of Radar in safari. 39

0.1.10#

2017-10-27

💎 The first version of Ant Design Pro.

We provide:

  • A React scaffold.
  • 7 standard scenes, 22 page templates.
  • A complete set of processes and supporting documentation include develop, debug, simulate data and deploy.
  • 14 boutique components.