From 56ad0df974feb8c01bb3a3ad5c3851ae66ac8841 Mon Sep 17 00:00:00 2001 From: Soybean Date: Sat, 25 Oct 2025 15:06:55 +0800 Subject: [PATCH] chore(projects): release v2.0.0-beta.1 --- CHANGELOG.md | 111 +++++++++++++++++++++++++++++++ package.json | 2 +- packages/alova/package.json | 2 +- packages/axios/package.json | 2 +- packages/color/package.json | 2 +- packages/hooks/package.json | 2 +- packages/materials/package.json | 2 +- packages/scripts/package.json | 2 +- packages/uno-preset/package.json | 2 +- packages/utils/package.json | 2 +- 10 files changed, 120 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d6a724f2..92601a1c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,117 @@ # Changelog +## [v2.0.0-beta.1](https://github.com/soybeanjs/soybean-admin/compare/v1.3.15...v2.0.0-beta.1) (2025-10-25) + +###    🚨 Breaking Changes + +- **hooks**: refactor useTable and enhance type definitions  -  by @soybeanjs [(8cc51)](https://github.com/soybeanjs/soybean-admin/commit/8cc5177) +- **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/b6ac310) +- **request**: remove cancelRequest method and related logic from request instances  -  by @soybeanjs [(b4e12)](https://github.com/soybeanjs/soybean-admin/commit/b4e1253) + +###    🚀 Features + +- **components**: + - add the IconTooltip component.  -  by **Azir-11** [(a55b4)](https://github.com/soybeanjs/soybean-admin/commit/a55b4dc) + - replace NTooltip with IconTooltip and optimize the layout of related components.  -  by **Azir-11** [(40057)](https://github.com/soybeanjs/soybean-admin/commit/4005763) +- **hooks**: + - add scrollX computation for total table width in useNaiveTable  -  by @Lruihao [(358e1)](https://github.com/soybeanjs/soybean-admin/commit/358e129) +- **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/61fa4b7) +- **projects**: + - refactor theme drawer with tabbed layout for better UX.  -  by **Azir** [(8ba71)](https://github.com/soybeanjs/soybean-admin/commit/8ba71a0) + - 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/f238fcb) + - add 'vertical-hybrid-header-first' layout mode  -  by @wenyuanw [(b4e5c)](https://github.com/soybeanjs/soybean-admin/commit/b4e5c6d) + - add prompt information for scrolling mode and tab bar caching.  -  by **Azir-11** [(29a2a)](https://github.com/soybeanjs/soybean-admin/commit/29a2a5c) + - support theme preset function.  -  by **Azir-11** [(257f1)](https://github.com/soybeanjs/soybean-admin/commit/257f118) + - modify the default value of the reset cache policy to 'refresh'.  -  by **Azir-11** [(3c0a5)](https://github.com/soybeanjs/soybean-admin/commit/3c0a528) + - 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/ef7acc6) + - support closing tabs with middle mouse button click  -  by @wenyuanw [(a8d1e)](https://github.com/soybeanjs/soybean-admin/commit/a8d1e5d) + - support set global redius  -  by **CyberShen123** [(24c6d)](https://github.com/soybeanjs/soybean-admin/commit/24c6df5) + - support set global redius  -  by **CyberShen123** [(3549c)](https://github.com/soybeanjs/soybean-admin/commit/3549c4d) +- **styles**: + - add text-autospace property to improve text layout  -  by @wenyuanw [(345aa)](https://github.com/soybeanjs/soybean-admin/commit/345aa29) + +###    🐞 Bug Fixes + +- **hooks**: + - correct chart rendering logic in useEcharts  -  by @soybeanjs [(8a7cd)](https://github.com/soybeanjs/soybean-admin/commit/8a7cd59) +- **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/9ea56c9) + - 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/5be864a) +- **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/41191d5) +- **styles**: + - show light color scrollbar while dark mode is on  -  by **whyang** [(dac50)](https://github.com/soybeanjs/soybean-admin/commit/dac5075) +- **table**: + - add type annotations for records in useTable hook  -  by @soybeanjs [(32b8f)](https://github.com/soybeanjs/soybean-admin/commit/32b8f99) +- **types**: + - fix proxy types  -  by @soybeanjs [(3d72f)](https://github.com/soybeanjs/soybean-admin/commit/3d72f95) + - fix ts type error  -  by @soybeanjs [(d5a3a)](https://github.com/soybeanjs/soybean-admin/commit/d5a3a25) + +###    🛠 Optimizations + +- **hooks**: + - optimize useEcharts  -  by @soybeanjs [(936b8)](https://github.com/soybeanjs/soybean-admin/commit/936b834) +- **packages**: + - remove ofetch package  -  by @soybeanjs [(abaaa)](https://github.com/soybeanjs/soybean-admin/commit/abaaa4a) +- **projects**: + - improve theme drawer responsive width for mobile devices  -  by @wenyuanw [(8439a)](https://github.com/soybeanjs/soybean-admin/commit/8439a60) + - improve robustness of second-level menu key logic  -  by @wenyuanw [(8b8a2)](https://github.com/soybeanjs/soybean-admin/commit/8b8a208) + - optimize theme drawer width  -  by @soybeanjs [(81468)](https://github.com/soybeanjs/soybean-admin/commit/8146858) + - optimize api type file  -  by @soybeanjs [(3a343)](https://github.com/soybeanjs/soybean-admin/commit/3a343ee) + - optimize radius settings  -  by @soybeanjs [(87a66)](https://github.com/soybeanjs/soybean-admin/commit/87a66a4) +- **request**: + - enhance request options and response handling with generic types  -  by @soybeanjs [(50a5c)](https://github.com/soybeanjs/soybean-admin/commit/50a5cba) + +###    💅 Refactors + +- **hooks**: + - optimize useContext and update useMixMenuContext  -  by @soybeanjs [(c9651)](https://github.com/soybeanjs/soybean-admin/commit/c965140) + - streamline column visibility handling in useTable and table components  -  by @soybeanjs [(ee434)](https://github.com/soybeanjs/soybean-admin/commit/ee43414) + - remove useSignal hook and update exports  -  by @soybeanjs [(87adc)](https://github.com/soybeanjs/soybean-admin/commit/87adc35) +- **menu**: + - optimize the margin on the menu  -  by **NicholasLD** [(d7311)](https://github.com/soybeanjs/soybean-admin/commit/d731111) +- **projects**: + - remove unnecessary logic in onRouteSwitchWhenLoggedIn  -  by @wenyuanw [(d6c81)](https://github.com/soybeanjs/soybean-admin/commit/d6c8142) +- **request**: + - unify response transformation methods and deprecate transformBackendResponse  -  by @soybeanjs [(f83ee)](https://github.com/soybeanjs/soybean-admin/commit/f83eefb) +- **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/d37ce04) + +###    📖 Documentation + +- **projects**: add github trendshift info.  -  by **恕瑞玛的皇帝** [(2a0c9)](https://github.com/soybeanjs/soybean-admin/commit/2a0c9f1) + +###    🏡 Chore + +- **deps**: + - update NodeJS and pnpm version requirements in package.json and documentation  -  by **Junior25306** [(a5c4b)](https://github.com/soybeanjs/soybean-admin/commit/a5c4b4e) + - update deps  -  by @soybeanjs [(5cb1c)](https://github.com/soybeanjs/soybean-admin/commit/5cb1ceb) + - update deps  -  by @soybeanjs [(aeb63)](https://github.com/soybeanjs/soybean-admin/commit/aeb6369) + - update deps  -  by @soybeanjs [(e89b8)](https://github.com/soybeanjs/soybean-admin/commit/e89b86c) + - update deps  -  by @soybeanjs [(c962f)](https://github.com/soybeanjs/soybean-admin/commit/c962f7b) + - update deps  -  by @soybeanjs [(12135)](https://github.com/soybeanjs/soybean-admin/commit/1213531) + - update deps  -  by @soybeanjs [(b041f)](https://github.com/soybeanjs/soybean-admin/commit/b041fdd) + - update deps  -  by @soybeanjs [(d567c)](https://github.com/soybeanjs/soybean-admin/commit/d567c05) + - update deps  -  by @soybeanjs [(6cbf5)](https://github.com/soybeanjs/soybean-admin/commit/6cbf570) +- **other**: + - update the ESLint validation configuration to support more file types.  -  by **Azir-11** [(be8f9)](https://github.com/soybeanjs/soybean-admin/commit/be8f915) +- **packages**: + - update Vite version to 7 in package.json and documentation.  -  by **Azir** [(03dd6)](https://github.com/soybeanjs/soybean-admin/commit/03dd64c) + - add picomatch to fix scripts  -  by @soybeanjs [(805c3)](https://github.com/soybeanjs/soybean-admin/commit/805c338) +- **vscode**: + - remove unused vue.server.hybridMode setting from .vscode/settings.json  -  by @soybeanjs [(13319)](https://github.com/soybeanjs/soybean-admin/commit/133196f) + +###    🎨 Styles + +- **projects**: format code.  -  by **Azir-11** [(100e0)](https://github.com/soybeanjs/soybean-admin/commit/100e0ea) + +###    ❤️ 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)   +[CyberShen123](mailto:s.lijun@qq.com), [whyang](mailto:whyang9701@gmail.com), [HongxuanG](mailto:1359774872@qq.com), [Azir-11](mailto:2075125282@qq.com), [NicholasLD](mailto:878639947@qq.com), [Junior25306](mailto:dayu429@qq.com) + ## [v1.3.15](https://github.com/soybeanjs/soybean-admin/compare/v1.3.14...v1.3.15) (2025-06-24) ###    🚀 Features diff --git a/package.json b/package.json index 36f9d451..ccaf7ec2 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "soybean-admin", "type": "module", - "version": "1.3.15", + "version": "2.0.0-beta.1", "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 1e3bb5f8..996ccc4f 100644 --- a/packages/alova/package.json +++ b/packages/alova/package.json @@ -1,6 +1,6 @@ { "name": "@sa/alova", - "version": "1.3.15", + "version": "2.0.0-beta.1", "exports": { ".": "./src/index.ts", "./fetch": "./src/fetch.ts", diff --git a/packages/axios/package.json b/packages/axios/package.json index c173a016..dda52dfa 100644 --- a/packages/axios/package.json +++ b/packages/axios/package.json @@ -1,6 +1,6 @@ { "name": "@sa/axios", - "version": "1.3.15", + "version": "2.0.0-beta.1", "exports": { ".": "./src/index.ts" }, diff --git a/packages/color/package.json b/packages/color/package.json index 151c79ce..0eab20e0 100644 --- a/packages/color/package.json +++ b/packages/color/package.json @@ -1,6 +1,6 @@ { "name": "@sa/color", - "version": "1.3.15", + "version": "2.0.0-beta.1", "exports": { ".": "./src/index.ts" }, diff --git a/packages/hooks/package.json b/packages/hooks/package.json index 598a0936..e315f420 100644 --- a/packages/hooks/package.json +++ b/packages/hooks/package.json @@ -1,6 +1,6 @@ { "name": "@sa/hooks", - "version": "1.3.15", + "version": "2.0.0-beta.1", "exports": { ".": "./src/index.ts" }, diff --git a/packages/materials/package.json b/packages/materials/package.json index 35000f8b..dd81ec2e 100644 --- a/packages/materials/package.json +++ b/packages/materials/package.json @@ -1,6 +1,6 @@ { "name": "@sa/materials", - "version": "1.3.15", + "version": "2.0.0-beta.1", "exports": { ".": "./src/index.ts" }, diff --git a/packages/scripts/package.json b/packages/scripts/package.json index 096dec08..381321c6 100644 --- a/packages/scripts/package.json +++ b/packages/scripts/package.json @@ -1,6 +1,6 @@ { "name": "@sa/scripts", - "version": "1.3.15", + "version": "2.0.0-beta.1", "bin": { "sa": "./bin.ts" }, diff --git a/packages/uno-preset/package.json b/packages/uno-preset/package.json index 0f1af9dd..17f964a9 100644 --- a/packages/uno-preset/package.json +++ b/packages/uno-preset/package.json @@ -1,6 +1,6 @@ { "name": "@sa/uno-preset", - "version": "1.3.15", + "version": "2.0.0-beta.1", "exports": { ".": "./src/index.ts" }, diff --git a/packages/utils/package.json b/packages/utils/package.json index 1538f622..0bbda573 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -1,6 +1,6 @@ { "name": "@sa/utils", - "version": "1.3.15", + "version": "2.0.0-beta.1", "exports": { ".": "./src/index.ts" },