|
1 | 1 | # Changelog |
2 | 2 |
|
3 | 3 |
|
| 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 - 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 - 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 - 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 - by @SkyRoc1 [<samp>(027ba)</samp>](https://github.com/Ohh-889/soybean-admin-react/commit/027bab1) |
| 14 | + |
| 15 | +### 🐞 Bug Fixes |
| 16 | + |
| 17 | +- **login**: update default username in login form and add primary color to submit button - by @SkyRoc1 [<samp>(72b73)</samp>](https://github.com/Ohh-889/soybean-admin-react/commit/72b73c0) |
| 18 | + |
| 19 | +### 💅 Refactors |
| 20 | + |
| 21 | +- **api**: |
| 22 | + - remove deprecated API module for authentication - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - by @SkyRoc1 [<samp>(ab925)</samp>](https://github.com/Ohh-889/soybean-admin-react/commit/ab92560) |
| 55 | + |
| 56 | +### 📖 Documentation |
| 57 | + |
| 58 | +- **cursor**: |
| 59 | + - refresh project-specific rules - 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 - by @SkyRoc1 [<samp>(b60ce)</samp>](https://github.com/Ohh-889/soybean-admin-react/commit/b60ced3) |
| 61 | + |
| 62 | +### 🏡 Chore |
| 63 | + |
| 64 | +- **prejiect**: |
| 65 | + - update readme - by @SkyRoc1 [<samp>(8fb1c)</samp>](https://github.com/Ohh-889/soybean-admin-react/commit/8fb1cdc) |
| 66 | +- **project**: |
| 67 | + - change name - by @SkyRoc1 [<samp>(00df3)</samp>](https://github.com/Ohh-889/soybean-admin-react/commit/00df37b) |
| 68 | + - change url - by @SkyRoc1 [<samp>(a0fbe)</samp>](https://github.com/Ohh-889/soybean-admin-react/commit/a0fbe00) |
| 69 | + - change all references related to soybean to "skyroc". - by @SkyRoc1 [<samp>(94c53)</samp>](https://github.com/Ohh-889/soybean-admin-react/commit/94c53d0) |
| 70 | + - change the document link - by @SkyRoc1 [<samp>(c8f3c)</samp>](https://github.com/Ohh-889/soybean-admin-react/commit/c8f3cf5) |
| 71 | + |
| 72 | +### ❤️ Contributors |
| 73 | + |
| 74 | +[](https://github.com/SkyRoc1) [](https://github.com/Ohh-889) |
| 75 | + |
4 | 76 | ## [v2.1.2](https://github.com/Ohh-889/soybean-admin-react/compare/v2.1.1...v2.1.2) (2025-10-11) |
5 | 77 |
|
6 | 78 | ### ❤️ Contributors |
|
0 commit comments