Skip to content

Commit 5f20d64

Browse files
committed
chore(projects): release v2.2.0
1 parent 57d2704 commit 5f20d64

File tree

10 files changed

+81
-9
lines changed

10 files changed

+81
-9
lines changed

CHANGELOG.md

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,78 @@
11
# Changelog
22

33

4+
## [v2.2.0](https://github.com/Ohh-889/soybean-admin-react/compare/v2.1.2...v2.2.0) (2025-11-16)
5+
6+
###    🚀 Features
7+
8+
- **docs**:
9+
- enhance README with detailed TanStack Query integration, architecture design, and core features for improved data management &nbsp;-&nbsp; by @SkyRoc1 [<samp>(053f3)</samp>](https://github.com/Ohh-889/soybean-admin-react/commit/053f3c8)
10+
- **project**:
11+
- integrate @tanstack/react-query for data fetching and caching &nbsp;-&nbsp; by @SkyRoc1 [<samp>(1d5ac)</samp>](https://github.com/Ohh-889/soybean-admin-react/commit/1d5acc1)
12+
- add common enums and types for user management and system operations &nbsp;-&nbsp; by @SkyRoc1 [<samp>(d6908)</samp>](https://github.com/Ohh-889/soybean-admin-react/commit/d69088f)
13+
- refactor API endpoints to use centralized URL constants and add service hooks for authentication, routing, and system management &nbsp;-&nbsp; by @SkyRoc1 [<samp>(027ba)</samp>](https://github.com/Ohh-889/soybean-admin-react/commit/027bab1)
14+
15+
### &nbsp;&nbsp;&nbsp;🐞 Bug Fixes
16+
17+
- **login**: update default username in login form and add primary color to submit button &nbsp;-&nbsp; by @SkyRoc1 [<samp>(72b73)</samp>](https://github.com/Ohh-889/soybean-admin-react/commit/72b73c0)
18+
19+
### &nbsp;&nbsp;&nbsp;💅 Refactors
20+
21+
- **api**:
22+
- remove deprecated API module for authentication &nbsp;-&nbsp; by @SkyRoc1 [<samp>(f2bcc)</samp>](https://github.com/Ohh-889/soybean-admin-react/commit/f2bccea)
23+
- improve error handling in token refresh and enhance type definitions for authentication and system management &nbsp;-&nbsp; by @SkyRoc1 [<samp>(36f58)</samp>](https://github.com/Ohh-889/soybean-admin-react/commit/36f5821)
24+
- update fetchLogin function to accept a single params object and enhance useLogin hook with token validation &nbsp;-&nbsp; by @SkyRoc1 [<samp>(65296)</samp>](https://github.com/Ohh-889/soybean-admin-react/commit/6529672)
25+
- replace FlatRequestInstance with RequestInstance for improved type consistency in error handling &nbsp;-&nbsp; by @SkyRoc1 [<samp>(5c63d)</samp>](https://github.com/Ohh-889/soybean-admin-react/commit/5c63d67)
26+
- **app**:
27+
- move QueryClientProvider to main entry point for improved data management &nbsp;-&nbsp; by @SkyRoc1 [<samp>(50525)</samp>](https://github.com/Ohh-889/soybean-admin-react/commit/50525cf)
28+
- **auth**:
29+
- streamline loading state management in useInitAuth hook by moving endLoading call to onSuccess condition &nbsp;-&nbsp; by @SkyRoc1 [<samp>(7c1e0)</samp>](https://github.com/Ohh-889/soybean-admin-react/commit/7c1e06a)
30+
- simplify toLogin function by consolidating parameters and improving readability &nbsp;-&nbsp; by @SkyRoc1 [<samp>(5c4bb)</samp>](https://github.com/Ohh-889/soybean-admin-react/commit/5c4bbe5)
31+
- enhance authentication flow by managing user state and clearing tabs on reset. close #80 &nbsp;-&nbsp; by @SkyRoc1 in https://github.com/Ohh-889/soybean-admin-react/issues/80 [<samp>(423d8)</samp>](https://github.com/Ohh-889/soybean-admin-react/commit/423d8e5)
32+
- **config**:
33+
- initialize default theme, language, and dark mode in GlobalConfig constructor using local storage &nbsp;-&nbsp; by @SkyRoc1 [<samp>(9daf0)</samp>](https://github.com/Ohh-889/soybean-admin-react/commit/9daf09e)
34+
- **env**:
35+
- update application title, description, and storage prefix for SkyrocAdmin &nbsp;-&nbsp; by @SkyRoc1 [<samp>(bf15c)</samp>](https://github.com/Ohh-889/soybean-admin-react/commit/bf15c34)
36+
- **global-menu**:
37+
- introduce HorizontalMenuMode enum for improved menu display mode management &nbsp;-&nbsp; by @SkyRoc1 [<samp>(f5668)</samp>](https://github.com/Ohh-889/soybean-admin-react/commit/f5668ee)
38+
- **images**:
39+
- remove unused soybean.jpg image to clean up asset directory &nbsp;-&nbsp; by @SkyRoc1 [<samp>(57d27)</samp>](https://github.com/Ohh-889/soybean-admin-react/commit/57d2704)
40+
- **login**:
41+
- move COLOR_WHITE constant outside of useBgColor function for improved readability &nbsp;-&nbsp; by @SkyRoc1 [<samp>(1dbec)</samp>](https://github.com/Ohh-889/soybean-admin-react/commit/1dbecfe)
42+
- **project**:
43+
- replace userInfo selector with useUserInfo hook for improved data fetching and handling &nbsp;-&nbsp; by @SkyRoc1 [<samp>(5e703)</samp>](https://github.com/Ohh-889/soybean-admin-react/commit/5e7036b)
44+
- **request**:
45+
- remove use-request component and simplify request handling in favor of a new structure &nbsp;-&nbsp; by @SkyRoc1 [<samp>(c8da0)</samp>](https://github.com/Ohh-889/soybean-admin-react/commit/c8da042)
46+
- remove useRequest component and related files to streamline request handling &nbsp;-&nbsp; by @SkyRoc1 [<samp>(6da88)</samp>](https://github.com/Ohh-889/soybean-admin-react/commit/6da88b4)
47+
- **router**:
48+
- update user info fetching in initAuthRoutes to use ensureQueryData for improved data consistency &nbsp;-&nbsp; by @SkyRoc1 [<samp>(77032)</samp>](https://github.com/Ohh-889/soybean-admin-react/commit/770325e)
49+
- implement dynamic router creation based on global configuration for improved flexibility &nbsp;-&nbsp; by @SkyRoc1 [<samp>(cc723)</samp>](https://github.com/Ohh-889/soybean-admin-react/commit/cc7238a)
50+
- **table**:
51+
- enhance useTable hook by simplifying configuration and improving pagination handling. close #65 &nbsp;-&nbsp; by @SkyRoc1 in https://github.com/Ohh-889/soybean-admin-react/issues/65 [<samp>(cce04)</samp>](https://github.com/Ohh-889/soybean-admin-react/commit/cce04cb)
52+
- update handleChange function to improve parameter handling and simplify onChange callback integration &nbsp;-&nbsp; by @SkyRoc1 [<samp>(56f1c)</samp>](https://github.com/Ohh-889/soybean-admin-react/commit/56f1c6e)
53+
- **vercel**:
54+
- remove vercel.json configuration file to simplify deployment settings &nbsp;-&nbsp; by @SkyRoc1 [<samp>(ab925)</samp>](https://github.com/Ohh-889/soybean-admin-react/commit/ab92560)
55+
56+
### &nbsp;&nbsp;&nbsp;📖 Documentation
57+
58+
- **cursor**:
59+
- refresh project-specific rules &nbsp;-&nbsp; by @Ohh-889 [<samp>(08b42)</samp>](https://github.com/Ohh-889/soybean-admin-react/commit/08b4241)
60+
- update commenting and documentation style to reflect new React component conventions for Skyroc Admin &nbsp;-&nbsp; by @SkyRoc1 [<samp>(b60ce)</samp>](https://github.com/Ohh-889/soybean-admin-react/commit/b60ced3)
61+
62+
### &nbsp;&nbsp;&nbsp;🏡 Chore
63+
64+
- **prejiect**:
65+
- update readme &nbsp;-&nbsp; by @SkyRoc1 [<samp>(8fb1c)</samp>](https://github.com/Ohh-889/soybean-admin-react/commit/8fb1cdc)
66+
- **project**:
67+
- change name &nbsp;-&nbsp; by @SkyRoc1 [<samp>(00df3)</samp>](https://github.com/Ohh-889/soybean-admin-react/commit/00df37b)
68+
- change url &nbsp;-&nbsp; by @SkyRoc1 [<samp>(a0fbe)</samp>](https://github.com/Ohh-889/soybean-admin-react/commit/a0fbe00)
69+
- change all references related to soybean to "skyroc". &nbsp;-&nbsp; by @SkyRoc1 [<samp>(94c53)</samp>](https://github.com/Ohh-889/soybean-admin-react/commit/94c53d0)
70+
- change the document link &nbsp;-&nbsp; by @SkyRoc1 [<samp>(c8f3c)</samp>](https://github.com/Ohh-889/soybean-admin-react/commit/c8f3cf5)
71+
72+
### &nbsp;&nbsp;&nbsp;❤️ Contributors
73+
74+
[![SkyRoc1](https://github.com/SkyRoc1.png?size=48)](https://github.com/SkyRoc1)&nbsp;&nbsp;[![Ohh-889](https://github.com/Ohh-889.png?size=48)](https://github.com/Ohh-889)&nbsp;&nbsp;
75+
476
## [v2.1.2](https://github.com/Ohh-889/soybean-admin-react/compare/v2.1.1...v2.1.2) (2025-10-11)
577

678
### &nbsp;&nbsp;&nbsp;❤️ Contributors

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "skyroc-admin",
33
"type": "module",
4-
"version": "2.1.2",
4+
"version": "2.2.0",
55
"private": false,
66
"packageManager": "[email protected]",
77
"description": "A fresh and elegant admin template, based on React18、Vite5、TypeScript、Ant Design and UnoCSS. 一个基于React18、Vite5、TypeScript、Ant Design and UnoCSS的清新优雅的中后台模版。",

packages/axios/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sa/axios",
3-
"version": "2.1.2",
3+
"version": "2.2.0",
44
"exports": {
55
".": "./src/index.ts"
66
},

packages/color/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sa/color",
3-
"version": "2.1.2",
3+
"version": "2.2.0",
44
"exports": {
55
".": "./src/index.ts"
66
},

packages/hooks/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sa/hooks",
3-
"version": "2.1.2",
3+
"version": "2.2.0",
44
"exports": {
55
".": "./src/index.ts"
66
},

packages/materials/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sa/materials",
3-
"version": "2.1.2",
3+
"version": "2.2.0",
44
"exports": {
55
".": "./src/index.ts"
66
},

packages/ofetch/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sa/fetch",
3-
"version": "2.1.2",
3+
"version": "2.2.0",
44
"exports": {
55
".": "./src/index.ts"
66
},

packages/scripts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sa/scripts",
3-
"version": "2.1.2",
3+
"version": "2.2.0",
44
"bin": {
55
"sa": "./bin.ts"
66
},

packages/uno-preset/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sa/uno-preset",
3-
"version": "2.1.2",
3+
"version": "2.2.0",
44
"exports": {
55
".": "./src/index.ts"
66
},

packages/utils/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sa/utils",
3-
"version": "2.1.2",
3+
"version": "2.2.0",
44
"exports": {
55
".": "./src/index.ts"
66
},

0 commit comments

Comments
 (0)