| | |
| | | ## 2.8.0(2021-11.03) |
| | | |
| | | ### Upgrade Instructions |
| | | |
| | | - Package manager changed from `yarn` to `pnpm` |
| | | - Delete `node_modules` and `yarn.lock`, install `pnpm` globally |
| | | - Execute `pnpm install` |
| | | |
| | | ### ✨ Features |
| | | |
| | | - **Others** |
| | | - The `VITE_PROXY` configuration in the `.env` file supports single quotes |
| | | - Remove warnings during build |
| | | |
| | | ### 🐛 Bug Fixes |
| | | |
| | | - **BasicTable** |
| | | - Fix the issue that editable cells cannot be submitted in some cases |
| | | - Fix the problem that the `inset` attribute does not work |
| | | - Fix the problem that the performance of `useTable` and `reload` method `await` of `BasicTable` instance are inconsistent |
| | | - Fix the issue that `clickToRowSelect` would ignore the disabled state of the row selection box |
| | | - Fix the problem that the page of `BasicTable` will be reset in some cases |
| | | - Modify the `deleteTableDataRecord` method |
| | | - **BasicModal** |
| | | - Fixed the problem that `Modal` could not be closed even when clicking on the mask and pressing the `Esc` key |
| | | - Fixed the issue that clicking the close button and the blank area next to the maximize button would also cause `Modal` to close |
| | | - **BasicTree** Fix the problem that the node slot does not work |
| | | - **CodeEditor** Fix the problem that may cause `Build` failure |
| | | - **BasicForm** Fix the problem that the content width of the custom FormItem component may be out of range |
| | | - **ApiTreeSelect** Fix the problem that the change of `params` failed to trigger the re-request of api data |
| | | - **Others** -Fixed an issue where multiple tabs would not jump to routing when closing tabs in some cases |
| | | - Fix the issue that some components may cause abnormal hot update |
| | | - Fix the problem that some sub-components of `antdv` will be reported in the build process when directly `import` part of the `antdv`, such as: TabPane, RadioGroup |
| | | |
| | | ## 2.7.2(2021-09-14) |
| | | |
| | | ### ✨ Features |
| | | |
| | | - **BasicForm** New `Divider` in the form component for dividing the area of longer forms |
| | | - **BasicTable** |
| | | - Cell editor adds submit callback, which will decide whether to submit data to the form based on the result returned by the callback function |
| | | - Add check method for row editing, allowing only check but not submit value, so asynchronously save data successfully before submit to table |
| | | - Fix the problem that the `rowClassName` property cannot be used at the same time as `striped`. |
| | | - New component **MarkdownViewer** for displaying rich text in Markdown format |
| | | |
| | | ### 🐛 Bug Fixes |
| | | |
| | | - **CodeEditor** Fix JSON editor throwing exception when formatting invalid JSON text |
| | | - **Tinymce** fixes an issue where inline mode throws an exception in some scenarios |
| | | - **BasicTable** |
| | | - Repair the problem that the editing icon is not displayed when the content of editable cell is empty |
| | | - Repair the problem that the total row at the end of the table sometimes fails to align with the columns in the main part of the table. |
| | | - **MarkDown** Repair the problem that the value of initial value property does not work. |
| | | - **BasicUpload** Repair the problem that `accept` property does not support `MIME` and suffix name starting with dot. |
| | | - **ApiSelect** Fix the problem of type definition of `value` property. |
| | | - **Other** |
| | | - Repair the problem that some wrapper components give error when using slots. |
| | | - Repair the problem that `theme` parameter of `useECharts` does not work. |
| | | - Repair the problem that when `Token` is invalid, pressing F5 to refresh the page may cause abnormal page loading. |
| | | - Repair the problem that the improper call of `useRedo` may lead to `path` redirection abnormality. |
| | | - Repair the problem that `vite` custom mode name does not support underscore. |
| | | |
| | | ## 2.7.1(2021-08-16) |
| | | |
| | | - Upgrade vue 3.2, if the operation fails, delete node_modules and reinstall it |
| | | |
| | | ### ✨ Features |
| | | |
| | | - **BasicTree** Add search function related properties and methods |
| | | - **BasicForm** added `alwaysShowLines` to set the number of lines kept displayed when folding |
| | | |
| | | ### 🐛 Bug Fixes |
| | | |
| | | - **Cropper** Fix the problem of failure to destroy in time |
| | | - **BasicTable** |
| | | - Fix the problem that `CellFormat` cannot use `Map` type data |
| | | - Fixed an issue where the editable cell failed to display the `0` value correctly |
| | | - Fixed the issue that selection-change event failed to trigger correctly when unchecked |
| | | - Fix the problem that the background color of the full screen state under the light theme is incorrect |
| | | - Fix the problem of obtaining complete data when `getSelectRows` does not support remote data cross-page selection |
| | | - Fix the issue that the `size` property provided for editing components in `editComponentProps` is invalid |
| | | - **Qrcode** Fixed the problem that the QR code component could not be drawn in time when it was created |
| | | - **BasicModal** Fix the problem that the `helpMessage` property does not work |
| | | - **BasicButton** Fix the problem that the button style performance is inconsistent with the official antd |
| | | - **Others** Fix the problem that `useRedo` (reload the current route) will lose route `params` data |
| | | |
| | | ## 2.7.0(2021-08-03) |
| | | |
| | | ## (Breaking changes) Breaking changes |
| | | |
| | | - Restore the project `tailwindcss` back to `windicss`, tried `tailwindcss`, there may be a lot of problems, first switch back to `windicss` to improve development efficiency and lower switching costs. |
| | | - There are currently incompatible areas of the project |
| | | - The wording of `xl:!m-4` needs to be changed to `!xl:m-4`, note that only `!` is incompatible. If you don’t use it, you don’t need to change it. |
| | | - The memory overflow problem may still exist (low frequency, just restart, restart vite faster) |
| | | |
| | | ### ✨ Features |
| | | |
| | | - **Preview** Add new properties and events |
| | | - **Dark Theme** added support for tailwindcss night mode |
| | | - **Others** add setTip method for useLoading |
| | | |
| | | ### 🐛 Bug Fixes |
| | | |
| | | - **ApiTreeSelect** Fixed the problem of failing to monitor `params` changes correctly |
| | | - **ImgRotateDragVerify** Fix the problem that the component `resume` method cannot be called |
| | | - **TableAction** Fix the problem that the stopButtonPropagation property does not work in some cases |
| | | - **PageWrapper** Fix the problem of invalid `class` attribute |
| | | - **BasicTree** Fix the problem that the `checkAll` method will affect the `disabled` state node |
| | | - **BasicTable** |
| | | - Fix the issue that editable cells do not support `ellipsis` configuration |
| | | - Fixed the problem that the pop-up layer of sub-components (popconfirm and edit components such as select and treeSelect) cannot be seen in full-screen mode |
| | | - Fixed an issue where when `expandRowByClick` is enabled, clicking non-expandable rows may cause style errors |
| | | - Fix the problem that the dynamic change of `pagination` property does not take effect |
| | | - Fix the problem that `getSelectRows` does not support the child data of the tree table -**Dark Theme** Fix the color matching problem under the dark theme |
| | | - Fix the background color of the selected node of the `Tree` component |
| | | - Fix the color configuration of the `Alert` component |
| | | - Fix the problem of the button color of `link` type in the disabled state |
| | | - Fix the style problem of checked checkboxes in `Tree` -**Others** Fix the problem that useScript failed to automatically remove the script node |
| | | |
| | | ## 2.6.1(2021-07-19) |
| | | |
| | | ### ✨ Features |
| | | |
| | | - **NoticeList** Add pagination, auto omit for overlength, title click event, title strikethrough, etc. |
| | | - **MixSider** Optimize the style of the bottom collapse button in the Mix menu layout to be consistent with the style of other menu layouts |
| | | - **ApiTreeSelect** Extend `TreeSelect` component of `antdv` to support remote data source, similar to `ApiSelect`. |
| | | - **BasicTable** New `ApiTreeSelect` editing component |
| | | - Different backend home pages can be specified for different users. |
| | | - Add `homePath` field (optional) to the user information returned by the `getUserInfo` interface to customize the home page path for the current user |
| | | |
| | | ### 🐛 Bug Fixes |
| | | |
| | | - **BasicTable** |
| | | - Fix scrollbar style issue (removed scroll style patch) |
| | | - Fix the alignment problem of cells with expanded icons in tree tables |
| | | - Add `headerTop` slot. |
| | | - Fix the color display of the operation column button in disabled state. |
| | | - Repair the problem that the values of editable cells cannot be updated by modifying `dataSource` directly. |
| | | - Repair the problem of data replay when using `ApiSelect` to edit components. |
| | | - Repair the problem that editing components may report `onXXX` type error in some scenarios. |
| | | - **TableAction** |
| | | - Create Tooltip component only if `action.tooltip` exists. |
| | | - Fix the problem that the content of the round button inside the component is not centered |
| | | - **AppSearch** Fix the problem that the hidden menu may be searched. |
| | | - **BasicUpload** Repair the problem of error when handling non-`array` values. |
| | | - **Form** Repair the `suffix` slot style problem of `FormItem`. |
| | | - **Menu** |
| | | - Repair the hovering trigger logic of the left mixed menu |
| | | - Repair the problem that the top bar menu is wrong when displaying menu items that need to be hidden. |
| | | - Fix the left mixed menu in hover trigger mode will jump to route directly when there is no submenu and it is activated |
| | | - **Breadcrumb** Repair the problem that the menu with redirection cannot be jumped when clicked |
| | | - **Markdown** fixes an initialization exception and an issue where value was not set dynamically correctly |
| | | - **Modal** Make sure props are passed correctly |
| | | - **MultipleTab** fixes an issue that could accidentally create login route tabs |
| | | - **BasicTree** Fix the problem that the search function may cause `checkedKeys` to be lost |
| | | - **CodeEditor** Fix the problem that value does not support v-model usage. |
| | | - **CountdownInput** Fix the problem that `input` slot is not supported. |
| | | - **ApiSelect** Fix the problem that the `options-change` event parameter is not the standard `options` data used by `select |
| | | - **Other** |
| | | - Fix the problem that the configuration of default menu collapse does not work |
| | | - Repair the problem that `safari` browser reports an error and the website cannot be opened. |
| | | - Repair the problem that eslint keeps error due to endOfLine after pulling the code on window. |
| | | - Fix `Vue Router warn` caused by dynamic routing |
| | | |
| | | ### 🎫 Chores |
| | | |
| | | - Add test environment test command |
| | | |
| | | ## 2.6.0(2021-07-04) |
| | | |
| | | ### ✨ Features |