雪忆
2024-07-29 f314826230d5c584edd95ac6f7905f454f311e2e
CHANGELOG.en_US.md
@@ -1,3 +1,122 @@
## 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
@@ -189,7 +308,7 @@
- Fix the height issue of the lock screen pop-up window
- Fixed the problem that the half-selected state of the `Column Display` checkbox of `BaiscTable` was incorrectly displayed
- Fixed the problem that the preview list of the `BasicUpload` component could not be displayed in some cases
- Fix the problem that the `options` setting of ` RadioButtonGroup``disabled ` does not take effect
- Fix the problem that the `options` setting of `RadioButtonGroup``disabled` does not take effect
- Fix the problem that the button for uploading pictures in the read-only mode of the `Tinymce` component is still available
- Fix the stuttering problem of `BasicForm` under certain circumstances
- Fix the problem that "directory" routing does not work