diff --git a/CHANGELOG.md b/CHANGELOG.md index ed7e059c..92e390b9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,141 @@ # Changelog +## [v2.0.0](https://github.com/soybeanjs/soybean-admin/compare/v1.3.15...v2.0.0) (2025-11-02) + +###    🚨 Breaking Changes + +- **hooks**: refactor useTable and enhance type definitions  -  by @soybeanjs [(8cc51)](https://github.com/soybeanjs/soybean-admin/commit/8cc5177c) +- **projects**: optimize layout mode, split horizontal mix component into two layouts, and rename the component.  -  by **Azir** [(b6ac3)](https://github.com/soybeanjs/soybean-admin/commit/b6ac3106) +- **request**: remove cancelRequest method and related logic from request instances  -  by @soybeanjs [(b4e12)](https://github.com/soybeanjs/soybean-admin/commit/b4e12530) + +###    🚀 Features + +- **components**: + - add the IconTooltip component.  -  by **Azir-11** [(a55b4)](https://github.com/soybeanjs/soybean-admin/commit/a55b4dc0) + - replace NTooltip with IconTooltip and optimize the layout of related components.  -  by **Azir-11** [(40057)](https://github.com/soybeanjs/soybean-admin/commit/4005763c) +- **global-tab**: + - add support for switching tabs with right mouse button click  -  by @soybeanjs [(b2c91)](https://github.com/soybeanjs/soybean-admin/commit/b2c919b6) +- **hooks**: + - add scrollX computation for total table width in useNaiveTable  -  by @Lruihao [(358e1)](https://github.com/soybeanjs/soybean-admin/commit/358e1297) +- **packages**: + - materials support slider-tab. closed #823  -  by @CyberShen in https://github.com/soybeanjs/soybean-admin/issues/823 [(61fa4)](https://github.com/soybeanjs/soybean-admin/commit/61fa4b7f) +- **projects**: + - refactor theme drawer with tabbed layout for better UX.  -  by **Azir** [(8ba71)](https://github.com/soybeanjs/soybean-admin/commit/8ba71a08) + - Add current time display option for watermark  -  by @wenyuanw in https://github.com/soybeanjs/soybean-admin/issues/772 [(f238f)](https://github.com/soybeanjs/soybean-admin/commit/f238fcbd) + - add 'vertical-hybrid-header-first' layout mode  -  by @wenyuanw [(b4e5c)](https://github.com/soybeanjs/soybean-admin/commit/b4e5c6d9) + - add prompt information for scrolling mode and tab bar caching.  -  by **Azir-11** [(29a2a)](https://github.com/soybeanjs/soybean-admin/commit/29a2a5c6) + - support theme preset function.  -  by **Azir-11** [(257f1)](https://github.com/soybeanjs/soybean-admin/commit/257f1183) + - modify the default value of the reset cache policy to 'refresh'.  -  by **Azir-11** [(3c0a5)](https://github.com/soybeanjs/soybean-admin/commit/3c0a5282) + - optimize tabs cache cleaning strategy. close #820.  -  by **Azir-11** in https://github.com/soybeanjs/soybean-admin/issues/820 [(ef7ac)](https://github.com/soybeanjs/soybean-admin/commit/ef7acc62) + - support closing tabs with middle mouse button click  -  by @wenyuanw [(a8d1e)](https://github.com/soybeanjs/soybean-admin/commit/a8d1e5d2) + - support set global redius  -  by **CyberShen123** [(24c6d)](https://github.com/soybeanjs/soybean-admin/commit/24c6df52) + - support set global redius  -  by **CyberShen123** [(3549c)](https://github.com/soybeanjs/soybean-admin/commit/3549c4db) + - compatible with the new Echarts API and optimized styles.  -  by **Azir-11** [(9755c)](https://github.com/soybeanjs/soybean-admin/commit/9755c313) +- **styles**: + - add text-autospace property to improve text layout  -  by @wenyuanw [(345aa)](https://github.com/soybeanjs/soybean-admin/commit/345aa293) + +###    🐞 Bug Fixes + +- **hooks**: + - correct chart rendering logic in useEcharts  -  by @soybeanjs [(8a7cd)](https://github.com/soybeanjs/soybean-admin/commit/8a7cd593) +- **layout**: + - fix getSiderWidth  -  by @soybeanjs [(e471e)](https://github.com/soybeanjs/soybean-admin/commit/e471e914) +- **packages**: + - fix the parsing logic for stored data to ensure correct return of boolean values  -  by @Lruihao [(9ea56)](https://github.com/soybeanjs/soybean-admin/commit/9ea56c9b) + - axios: fix json response. fixed #815  -  by @soybeanjs in https://github.com/soybeanjs/soybean-admin/issues/815 [(fd087)](https://github.com/soybeanjs/soybean-admin/commit/fd087f59) + - axios: fix json response. fixed #815  -  by @soybeanjs in https://github.com/soybeanjs/soybean-admin/issues/815 [(5be86)](https://github.com/soybeanjs/soybean-admin/commit/5be864a8) +- **projects**: + - Fix i18n-ally not working when setting moduleResolution to bundler. fixed #780  -  by @xiaobao0505 in https://github.com/soybeanjs/soybean-admin/issues/780 [(41191)](https://github.com/soybeanjs/soybean-admin/commit/41191d54) + - adjust legend position in line chart options.  -  by **Azir-11** [(0b998)](https://github.com/soybeanjs/soybean-admin/commit/0b9982bd) +- **readme**: + - update GitHub stars and forks links for gitee  -  by @soybeanjs [(923eb)](https://github.com/soybeanjs/soybean-admin/commit/923eb98a) +- **scripts**: + - update command to use 'npm-check-updates' instead of 'ncu'  -  by @soybeanjs [(8dc17)](https://github.com/soybeanjs/soybean-admin/commit/8dc17e62) +- **styles**: + - show light color scrollbar while dark mode is on  -  by **whyang** [(dac50)](https://github.com/soybeanjs/soybean-admin/commit/dac5075b) +- **table**: + - add type annotations for records in useTable hook  -  by @soybeanjs [(32b8f)](https://github.com/soybeanjs/soybean-admin/commit/32b8f990) +- **types**: + - fix proxy types  -  by @soybeanjs [(3d72f)](https://github.com/soybeanjs/soybean-admin/commit/3d72f954) + - fix proxy types  -  by @soybeanjs [(12b25)](https://github.com/soybeanjs/soybean-admin/commit/12b25e0d) + - fix ts type error  -  by @soybeanjs [(d5a3a)](https://github.com/soybeanjs/soybean-admin/commit/d5a3a25d) + +###    🛠 Optimizations + +- **hooks**: + - optimize useEcharts  -  by @soybeanjs [(936b8)](https://github.com/soybeanjs/soybean-admin/commit/936b834e) +- **packages**: + - remove ofetch package  -  by @soybeanjs [(abaaa)](https://github.com/soybeanjs/soybean-admin/commit/abaaa4a0) +- **projects**: + - improve theme drawer responsive width for mobile devices  -  by @wenyuanw [(8439a)](https://github.com/soybeanjs/soybean-admin/commit/8439a600) + - improve robustness of second-level menu key logic  -  by @wenyuanw [(8b8a2)](https://github.com/soybeanjs/soybean-admin/commit/8b8a2083) + - optimize theme drawer width  -  by @soybeanjs [(81468)](https://github.com/soybeanjs/soybean-admin/commit/8146858b) + - optimize api type file  -  by @soybeanjs [(3a343)](https://github.com/soybeanjs/soybean-admin/commit/3a343eea) + - optimize radius settings  -  by @soybeanjs [(87a66)](https://github.com/soybeanjs/soybean-admin/commit/87a66a42) +- **request**: + - enhance request options and response handling with generic types  -  by @soybeanjs [(50a5c)](https://github.com/soybeanjs/soybean-admin/commit/50a5cba0) +- **typings**: + - update component typings  -  by @soybeanjs [(1d142)](https://github.com/soybeanjs/soybean-admin/commit/1d142695) + +###    💅 Refactors + +- **hooks**: + - optimize useContext and update useMixMenuContext  -  by @soybeanjs [(c9651)](https://github.com/soybeanjs/soybean-admin/commit/c965140b) + - streamline column visibility handling in useTable and table components  -  by @soybeanjs [(ee434)](https://github.com/soybeanjs/soybean-admin/commit/ee434145) + - remove useSignal hook and update exports  -  by @soybeanjs [(87adc)](https://github.com/soybeanjs/soybean-admin/commit/87adc35f) +- **menu**: + - optimize the margin on the menu  -  by **NicholasLD** [(d7311)](https://github.com/soybeanjs/soybean-admin/commit/d7311111) +- **projects**: + - remove unnecessary logic in onRouteSwitchWhenLoggedIn  -  by @wenyuanw [(d6c81)](https://github.com/soybeanjs/soybean-admin/commit/d6c8142b) +- **request**: + - unify response transformation methods and deprecate transformBackendResponse  -  by @soybeanjs [(f83ee)](https://github.com/soybeanjs/soybean-admin/commit/f83eefbc) +- **types**: + - move Auth and Route namespaces to separate files and clean up api.d.ts  -  by **Azir** [(d37ce)](https://github.com/soybeanjs/soybean-admin/commit/d37ce046) + +###    📖 Documentation + +- **projects**: + - add github trendshift info.  -  by **恕瑞玛的皇帝** [(e18d3)](https://github.com/soybeanjs/soybean-admin/commit/e18d3972) + - add github trendshift info.  -  by **恕瑞玛的皇帝** [(2a0c9)](https://github.com/soybeanjs/soybean-admin/commit/2a0c9f1b) + - add contribution leaderboard  -  by @wenyuanw [(01744)](https://github.com/soybeanjs/soybean-admin/commit/017440c1) + +###    🏡 Chore + +- **deps**: + - update NodeJS and pnpm version requirements in package.json and documentation  -  by **Junior25306** [(a5c4b)](https://github.com/soybeanjs/soybean-admin/commit/a5c4b4e3) + - update deps  -  by @soybeanjs [(5cb1c)](https://github.com/soybeanjs/soybean-admin/commit/5cb1cebd) + - update deps  -  by @soybeanjs [(aeb63)](https://github.com/soybeanjs/soybean-admin/commit/aeb63690) + - update deps  -  by @soybeanjs [(e89b8)](https://github.com/soybeanjs/soybean-admin/commit/e89b86ce) + - update deps  -  by @soybeanjs [(c962f)](https://github.com/soybeanjs/soybean-admin/commit/c962f7b2) + - update deps  -  by @soybeanjs [(12135)](https://github.com/soybeanjs/soybean-admin/commit/1213531b) + - update deps  -  by @soybeanjs [(e33f9)](https://github.com/soybeanjs/soybean-admin/commit/e33f944a) + - update deps  -  by @soybeanjs [(9fa95)](https://github.com/soybeanjs/soybean-admin/commit/9fa951aa) + - update deps  -  by @soybeanjs [(b041f)](https://github.com/soybeanjs/soybean-admin/commit/b041fdd8) + - update deps  -  by @soybeanjs [(d567c)](https://github.com/soybeanjs/soybean-admin/commit/d567c057) + - update deps  -  by @soybeanjs [(6cbf5)](https://github.com/soybeanjs/soybean-admin/commit/6cbf5705) + - update deps  -  by @soybeanjs [(6010f)](https://github.com/soybeanjs/soybean-admin/commit/6010f518) + - update deps  -  by @soybeanjs [(232f5)](https://github.com/soybeanjs/soybean-admin/commit/232f56fd) +- **other**: + - update the ESLint validation configuration to support more file types.  -  by **Azir-11** [(8d7f9)](https://github.com/soybeanjs/soybean-admin/commit/8d7f91dc) + - update the ESLint validation configuration to support more file types.  -  by **Azir-11** [(be8f9)](https://github.com/soybeanjs/soybean-admin/commit/be8f915a) +- **packages**: + - update Vite version to 7 in package.json and documentation.  -  by **Azir** [(03dd6)](https://github.com/soybeanjs/soybean-admin/commit/03dd64c5) + - add picomatch to fix scripts  -  by @soybeanjs [(805c3)](https://github.com/soybeanjs/soybean-admin/commit/805c3381) +- **readme**: + - remove DartNode sponsorship badge from README files  -  by @soybeanjs [(33ade)](https://github.com/soybeanjs/soybean-admin/commit/33ade539) +- **vscode**: + - remove unused vue.server.hybridMode setting from .vscode/settings.json  -  by @soybeanjs [(13319)](https://github.com/soybeanjs/soybean-admin/commit/133196f3) + +###    🎨 Styles + +- **projects**: format code.  -  by **Azir-11** [(100e0)](https://github.com/soybeanjs/soybean-admin/commit/100e0ea5) + +###    ❤️ Contributors + +[![soybeanjs](https://github.com/soybeanjs.png?size=48)](https://github.com/soybeanjs)  [![wenyuanw](https://github.com/wenyuanw.png?size=48)](https://github.com/wenyuanw)  [![CyberShen](https://github.com/CyberShen.png?size=48)](https://github.com/CyberShen)  [![Lruihao](https://github.com/Lruihao.png?size=48)](https://github.com/Lruihao)  [![xiaobao0505](https://github.com/xiaobao0505.png?size=48)](https://github.com/xiaobao0505)   +[Azir-11](mailto:2075125282@qq.com), [CyberShen123](mailto:s.lijun@qq.com), [whyang](mailto:whyang9701@gmail.com), [HongxuanG](mailto:1359774872@qq.com), [NicholasLD](mailto:878639947@qq.com), [Junior25306](mailto:dayu429@qq.com) + ## [v2.0.0-beta.2](https://github.com/soybeanjs/soybean-admin/compare/v2.0.0-beta.1...v2.0.0-beta.2) (2025-10-27) ###    🚀 Features diff --git a/package.json b/package.json index 10f2843e..1863e7f6 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "soybean-admin", "type": "module", - "version": "2.0.0-beta.2", + "version": "2.0.0", "description": "A fresh and elegant admin template, based on Vue3、Vite7、TypeScript、NaiveUI and UnoCSS. 一个基于Vue3、Vite7、TypeScript、NaiveUI and UnoCSS的清新优雅的中后台模版。", "author": { "name": "Soybean", diff --git a/packages/alova/package.json b/packages/alova/package.json index 98be27dd..b771d478 100644 --- a/packages/alova/package.json +++ b/packages/alova/package.json @@ -1,6 +1,6 @@ { "name": "@sa/alova", - "version": "2.0.0-beta.2", + "version": "2.0.0", "exports": { ".": "./src/index.ts", "./fetch": "./src/fetch.ts", diff --git a/packages/axios/package.json b/packages/axios/package.json index 115c836d..9463ffc6 100644 --- a/packages/axios/package.json +++ b/packages/axios/package.json @@ -1,6 +1,6 @@ { "name": "@sa/axios", - "version": "2.0.0-beta.2", + "version": "2.0.0", "exports": { ".": "./src/index.ts" }, diff --git a/packages/color/package.json b/packages/color/package.json index eb764bbe..327f8330 100644 --- a/packages/color/package.json +++ b/packages/color/package.json @@ -1,6 +1,6 @@ { "name": "@sa/color", - "version": "2.0.0-beta.2", + "version": "2.0.0", "exports": { ".": "./src/index.ts" }, diff --git a/packages/hooks/package.json b/packages/hooks/package.json index 0967a1bb..0402f151 100644 --- a/packages/hooks/package.json +++ b/packages/hooks/package.json @@ -1,6 +1,6 @@ { "name": "@sa/hooks", - "version": "2.0.0-beta.2", + "version": "2.0.0", "exports": { ".": "./src/index.ts" }, diff --git a/packages/materials/package.json b/packages/materials/package.json index 99b2a991..2b220ede 100644 --- a/packages/materials/package.json +++ b/packages/materials/package.json @@ -1,6 +1,6 @@ { "name": "@sa/materials", - "version": "2.0.0-beta.2", + "version": "2.0.0", "exports": { ".": "./src/index.ts" }, diff --git a/packages/scripts/package.json b/packages/scripts/package.json index 1acc4a4a..564a826d 100644 --- a/packages/scripts/package.json +++ b/packages/scripts/package.json @@ -1,6 +1,6 @@ { "name": "@sa/scripts", - "version": "2.0.0-beta.2", + "version": "2.0.0", "bin": { "sa": "./bin.ts" }, diff --git a/packages/uno-preset/package.json b/packages/uno-preset/package.json index 2a067e79..a0c47091 100644 --- a/packages/uno-preset/package.json +++ b/packages/uno-preset/package.json @@ -1,6 +1,6 @@ { "name": "@sa/uno-preset", - "version": "2.0.0-beta.2", + "version": "2.0.0", "exports": { ".": "./src/index.ts" }, diff --git a/packages/utils/package.json b/packages/utils/package.json index b37094aa..57172af8 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -1,6 +1,6 @@ { "name": "@sa/utils", - "version": "2.0.0-beta.2", + "version": "2.0.0", "exports": { ".": "./src/index.ts" },