Skip to content

Commit 5e3a802

Browse files
committed
chore(projects): release v1.0.0
1 parent d38a865 commit 5e3a802

File tree

3 files changed

+154
-2
lines changed

3 files changed

+154
-2
lines changed

CHANGELOG.md

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

33

4+
## [v1.0.0](https://github.com/soybeanjs/elegant-router/compare/v0.3.8...v1.0.0) (2025-05-14)
5+
6+
###    🚨 Breaking Changes
7+
8+
- **projects**: refactor `customRoutes` to `reuseRoutes` &nbsp;-&nbsp; by @soybeanjs [<samp>(5c172)</samp>](https://github.com/soybeanjs/elegant-router/commit/5c1724b)
9+
10+
### &nbsp;&nbsp;&nbsp;🚀 Features
11+
12+
- **build**:
13+
- add support for additional build tools and update configuration &nbsp;-&nbsp; by @soybeanjs [<samp>(71f6e)</samp>](https://github.com/soybeanjs/elegant-router/commit/71f6ebb)
14+
- **cli**:
15+
- add CLI functionality with configuration loading and version display &nbsp;-&nbsp; by @soybeanjs [<samp>(1ccef)</samp>](https://github.com/soybeanjs/elegant-router/commit/1cceff1)
16+
- implement CLI commands for adding and removing routes, enhance configuration handling &nbsp;-&nbsp; by @soybeanjs [<samp>(97e69)</samp>](https://github.com/soybeanjs/elegant-router/commit/97e69af)
17+
- add backup management command to CLI for route backup handling &nbsp;-&nbsp; by @soybeanjs [<samp>(a6605)</samp>](https://github.com/soybeanjs/elegant-router/commit/a660514)
18+
- document new `er backup` command for managing route backups in README &nbsp;-&nbsp; by @soybeanjs [<samp>(ba271)</samp>](https://github.com/soybeanjs/elegant-router/commit/ba2713c)
19+
- **config**:
20+
- add new configuration file for elegant-router and update CLI to support multiple config sources &nbsp;-&nbsp; by @soybeanjs [<samp>(6d230)</samp>](https://github.com/soybeanjs/elegant-router/commit/6d23083)
21+
- **docs**:
22+
- update README to reflect new CLI commands and usage details for route management &nbsp;-&nbsp; by @soybeanjs [<samp>(a5c94)</samp>](https://github.com/soybeanjs/elegant-router/commit/a5c94a3)
23+
- **projects**:
24+
- init next version &nbsp;-&nbsp; by @soybeanjs [<samp>(8d5b0)</samp>](https://github.com/soybeanjs/elegant-router/commit/8d5b07d)
25+
- resolve node &nbsp;-&nbsp; by @soybeanjs [<samp>(4c308)</samp>](https://github.com/soybeanjs/elegant-router/commit/4c30868)
26+
- resolve node &nbsp;-&nbsp; by @soybeanjs [<samp>(1dae2)</samp>](https://github.com/soybeanjs/elegant-router/commit/1dae212)
27+
- add alias & optimize resolve glob &nbsp;-&nbsp; by @soybeanjs [<samp>(cd1c5)</samp>](https://github.com/soybeanjs/elegant-router/commit/cd1c54e)
28+
- generate dts & optimize node &nbsp;-&nbsp; by @soybeanjs [<samp>(5b854)</samp>](https://github.com/soybeanjs/elegant-router/commit/5b8541a)
29+
- init generate routes code &nbsp;-&nbsp; by @soybeanjs [<samp>(5840e)</samp>](https://github.com/soybeanjs/elegant-router/commit/5840e90)
30+
- generate routes &nbsp;-&nbsp; by @soybeanjs [<samp>(ba64b)</samp>](https://github.com/soybeanjs/elegant-router/commit/ba64b34)
31+
- generate transformer and shared &nbsp;-&nbsp; by @soybeanjs [<samp>(a80fd)</samp>](https://github.com/soybeanjs/elegant-router/commit/a80fd18)
32+
- apply plugin in example &nbsp;-&nbsp; by @soybeanjs [<samp>(d87f8)</samp>](https://github.com/soybeanjs/elegant-router/commit/d87f841)
33+
- support inject route name to route file component &nbsp;-&nbsp; by @soybeanjs [<samp>(2bc28)</samp>](https://github.com/soybeanjs/elegant-router/commit/2bc2829)
34+
- add cli recovery &nbsp;-&nbsp; by @soybeanjs [<samp>(b8031)</samp>](https://github.com/soybeanjs/elegant-router/commit/b8031fe)
35+
- add cli command recovery-route &nbsp;-&nbsp; by @soybeanjs [<samp>(4c418)</samp>](https://github.com/soybeanjs/elegant-router/commit/4c418a1)
36+
- add example for custom routes &nbsp;-&nbsp; by @soybeanjs [<samp>(60186)</samp>](https://github.com/soybeanjs/elegant-router/commit/60186fb)
37+
- **router**:
38+
- enhance AutoRouter with configuration loading, glob resolution, and improved route handling &nbsp;-&nbsp; by @soybeanjs [<samp>(a4418)</samp>](https://github.com/soybeanjs/elegant-router/commit/a4418fe)
39+
- introduce built-in custom routes and refactor custom node resolution &nbsp;-&nbsp; by @soybeanjs [<samp>(32a0c)</samp>](https://github.com/soybeanjs/elegant-router/commit/32a0c4a)
40+
- replace HomeChild5 with HomeChild2 and add corresponding route and view files &nbsp;-&nbsp; by @soybeanjs [<samp>(c22f9)</samp>](https://github.com/soybeanjs/elegant-router/commit/c22f9b9)
41+
- enhance route configuration with meta data generation and update route initialization logic &nbsp;-&nbsp; by @soybeanjs [<samp>(e00dd)</samp>](https://github.com/soybeanjs/elegant-router/commit/e00dd9d)
42+
- refactor route handling to support custom routes and improve type definitions &nbsp;-&nbsp; by @soybeanjs [<samp>(c443e)</samp>](https://github.com/soybeanjs/elegant-router/commit/c443e96)
43+
- update delete route command to display custom route indicators and filter configurable nodes &nbsp;-&nbsp; by @soybeanjs [<samp>(8525d)</samp>](https://github.com/soybeanjs/elegant-router/commit/8525d2b)
44+
- implement interactive route update command to modify component and layout properties &nbsp;-&nbsp; by @soybeanjs [<samp>(74fe2)</samp>](https://github.com/soybeanjs/elegant-router/commit/74fe23e)
45+
- add custom route command to CLI for interactive route management &nbsp;-&nbsp; by @soybeanjs [<samp>(3b3a3)</samp>](https://github.com/soybeanjs/elegant-router/commit/3b3a31b)
46+
- enhance delete route command to support config file updates for custom routes &nbsp;-&nbsp; by @soybeanjs [<samp>(1111b)</samp>](https://github.com/soybeanjs/elegant-router/commit/1111bd6)
47+
- **routes**:
48+
- support parse params of custom route &nbsp;-&nbsp; by @soybeanjs [<samp>(5b9e1)</samp>](https://github.com/soybeanjs/elegant-router/commit/5b9e115)
49+
- **temp**:
50+
- implement exclude glob management for improved route recovery handling &nbsp;-&nbsp; by @soybeanjs [<samp>(09939)</samp>](https://github.com/soybeanjs/elegant-router/commit/0993991)
51+
- **tests**:
52+
- integrate Vitest for testing framework and add initial test setup &nbsp;-&nbsp; by @soybeanjs [<samp>(5b0b4)</samp>](https://github.com/soybeanjs/elegant-router/commit/5b0b427)
53+
- **todos**:
54+
- update TODO list with completed tasks and add new item for updating route data &nbsp;-&nbsp; by @soybeanjs [<samp>(d9835)</samp>](https://github.com/soybeanjs/elegant-router/commit/d983588)
55+
- update TODO list to include management of route backup table and clarify CLI command descriptions &nbsp;-&nbsp; by @soybeanjs [<samp>(cac7a)</samp>](https://github.com/soybeanjs/elegant-router/commit/cac7a40)
56+
- **types**:
57+
- add PluginOptions type to exclude customRoutes from AutoRouterOptions &nbsp;-&nbsp; by @soybeanjs [<samp>(93c18)</samp>](https://github.com/soybeanjs/elegant-router/commit/93c18d4)
58+
59+
### &nbsp;&nbsp;&nbsp;🐞 Bug Fixes
60+
61+
- **projects**:
62+
- fix template-vue vite config &nbsp;-&nbsp; by @soybeanjs [<samp>(e8581)</samp>](https://github.com/soybeanjs/elegant-router/commit/e8581f9)
63+
- fix generated dts &nbsp;-&nbsp; by @soybeanjs [<samp>(8c486)</samp>](https://github.com/soybeanjs/elegant-router/commit/8c48680)
64+
- **route**:
65+
- update route sorting to use elements from routesExpression &nbsp;-&nbsp; by @soybeanjs [<samp>(884db)</samp>](https://github.com/soybeanjs/elegant-router/commit/884db48)
66+
- **router**:
67+
- enhance updateMetaProperty function to handle empty newMeta and ensure proper meta property assignment &nbsp;-&nbsp; by @soybeanjs [<samp>(09185)</samp>](https://github.com/soybeanjs/elegant-router/commit/091853e)
68+
69+
### &nbsp;&nbsp;&nbsp;🛠 Optimizations
70+
71+
- **projects**:
72+
- move debug files to debug directory &nbsp;-&nbsp; by @soybeanjs [<samp>(b7b7a)</samp>](https://github.com/soybeanjs/elegant-router/commit/b7b7a3f)
73+
- remove legacy packages code &nbsp;-&nbsp; by @soybeanjs [<samp>(2991a)</samp>](https://github.com/soybeanjs/elegant-router/commit/2991aac)
74+
- optimize temp functions &nbsp;-&nbsp; by @soybeanjs [<samp>(94a90)</samp>](https://github.com/soybeanjs/elegant-router/commit/94a908b)
75+
- optimize example layout &nbsp;-&nbsp; by @soybeanjs [<samp>(929ce)</samp>](https://github.com/soybeanjs/elegant-router/commit/929ce97)
76+
- optimize ts-morph function of route &nbsp;-&nbsp; by @soybeanjs [<samp>(00910)</samp>](https://github.com/soybeanjs/elegant-router/commit/0091074)
77+
- optimize cli &nbsp;-&nbsp; by @soybeanjs [<samp>(84692)</samp>](https://github.com/soybeanjs/elegant-router/commit/846920d)
78+
- optimize cli &nbsp;-&nbsp; by @soybeanjs [<samp>(4daca)</samp>](https://github.com/soybeanjs/elegant-router/commit/4daca0c)
79+
- optimize recovery route &nbsp;-&nbsp; by @soybeanjs [<samp>(606b1)</samp>](https://github.com/soybeanjs/elegant-router/commit/606b123)
80+
- optimize command add custom route &nbsp;-&nbsp; by @soybeanjs [<samp>(214e2)</samp>](https://github.com/soybeanjs/elegant-router/commit/214e28f)
81+
- optimize import statement &nbsp;-&nbsp; by @soybeanjs [<samp>(8ad4e)</samp>](https://github.com/soybeanjs/elegant-router/commit/8ad4e1f)
82+
- remove useless file &nbsp;-&nbsp; by @soybeanjs [<samp>(2cd45)</samp>](https://github.com/soybeanjs/elegant-router/commit/2cd451e)
83+
84+
### &nbsp;&nbsp;&nbsp;💅 Refactors
85+
86+
- **cli**:
87+
- simplify CLI command structure and enhance command parsing logic &nbsp;-&nbsp; by @soybeanjs [<samp>(58c34)</samp>](https://github.com/soybeanjs/elegant-router/commit/58c3496)
88+
- **name**:
89+
- enhance filtering logic to support multiple file types and streamline directory handling &nbsp;-&nbsp; by @soybeanjs [<samp>(07a2d)</samp>](https://github.com/soybeanjs/elegant-router/commit/07a2ded)
90+
- **projects**:
91+
- refactor example template-vue &nbsp;-&nbsp; by @soybeanjs [<samp>(5770f)</samp>](https://github.com/soybeanjs/elegant-router/commit/5770fbf)
92+
- move `template-vue` to `example` &nbsp;-&nbsp; by @soybeanjs [<samp>(9e5e4)</samp>](https://github.com/soybeanjs/elegant-router/commit/9e5e4e8)
93+
- **route**:
94+
- streamline route updates by consolidating element retrieval and move utility functions to a new module &nbsp;-&nbsp; by @soybeanjs [<samp>(8697a)</samp>](https://github.com/soybeanjs/elegant-router/commit/8697a02)
95+
- **router**:
96+
- update node and route backup handling for improved state management &nbsp;-&nbsp; by @soybeanjs [<samp>(7bc2f)</samp>](https://github.com/soybeanjs/elegant-router/commit/7bc2f36)
97+
- remove routeLayoutMap option and update route handling to directly manage layout properties &nbsp;-&nbsp; by @soybeanjs [<samp>(ffea4)</samp>](https://github.com/soybeanjs/elegant-router/commit/ffea4af)
98+
- **watcher**:
99+
- improve file watching logic and simplify directory filtering &nbsp;-&nbsp; by @soybeanjs [<samp>(ad269)</samp>](https://github.com/soybeanjs/elegant-router/commit/ad26958)
100+
101+
### &nbsp;&nbsp;&nbsp;📖 Documentation
102+
103+
- **README**:
104+
- add file watching mechanism details to enhance development experience &nbsp;-&nbsp; by @soybeanjs [<samp>(f28a0)</samp>](https://github.com/soybeanjs/elegant-router/commit/f28a0d9)
105+
- add warning about migration to legacy branch and package name change &nbsp;-&nbsp; by @soybeanjs [<samp>(1c07e)</samp>](https://github.com/soybeanjs/elegant-router/commit/1c07e56)
106+
- add Command Line Interface section with installation instructions and usage examples &nbsp;-&nbsp; by @soybeanjs [<samp>(29417)</samp>](https://github.com/soybeanjs/elegant-router/commit/294170f)
107+
- update language switch position &nbsp;-&nbsp; by @soybeanjs [<samp>(4d651)</samp>](https://github.com/soybeanjs/elegant-router/commit/4d6512f)
108+
- add component name injection details for Vue Router KeepAlive functionality &nbsp;-&nbsp; by @soybeanjs [<samp>(dbe78)</samp>](https://github.com/soybeanjs/elegant-router/commit/dbe7846)
109+
- **TODO**:
110+
- add initial TODO list for routing features &nbsp;-&nbsp; by @soybeanjs [<samp>(76cf1)</samp>](https://github.com/soybeanjs/elegant-router/commit/76cf115)
111+
- update task &nbsp;-&nbsp; by @soybeanjs [<samp>(d1e82)</samp>](https://github.com/soybeanjs/elegant-router/commit/d1e82b8)
112+
- update task &nbsp;-&nbsp; by @soybeanjs [<samp>(90806)</samp>](https://github.com/soybeanjs/elegant-router/commit/90806b8)
113+
- update task &nbsp;-&nbsp; by @soybeanjs [<samp>(e9eeb)</samp>](https://github.com/soybeanjs/elegant-router/commit/e9eeb63)
114+
- update task &nbsp;-&nbsp; by @soybeanjs [<samp>(12ae5)</samp>](https://github.com/soybeanjs/elegant-router/commit/12ae5af)
115+
- update task &nbsp;-&nbsp; by @soybeanjs [<samp>(d2e3f)</samp>](https://github.com/soybeanjs/elegant-router/commit/d2e3f0c)
116+
- **projects**:
117+
- add README.md &nbsp;-&nbsp; by @soybeanjs [<samp>(3c3a1)</samp>](https://github.com/soybeanjs/elegant-router/commit/3c3a16f)
118+
- update README &nbsp;-&nbsp; by @soybeanjs [<samp>(8dad5)</samp>](https://github.com/soybeanjs/elegant-router/commit/8dad53c)
119+
- add introduce for CustomRoute &nbsp;-&nbsp; by @soybeanjs [<samp>(27634)</samp>](https://github.com/soybeanjs/elegant-router/commit/276342d)
120+
- update `customRoutes` to `reuseRoutes` & optimize README &nbsp;-&nbsp; by @soybeanjs [<samp>(9c0cd)</samp>](https://github.com/soybeanjs/elegant-router/commit/9c0cd61)
121+
- **readme**:
122+
- update configuration file naming and simplify ElegantRouter usage examples &nbsp;-&nbsp; by @soybeanjs [<samp>(490ca)</samp>](https://github.com/soybeanjs/elegant-router/commit/490ca9a)
123+
- simplify ElegantRouter customRoute example for clarity &nbsp;-&nbsp; by @soybeanjs [<samp>(079a2)</samp>](https://github.com/soybeanjs/elegant-router/commit/079a207)
124+
125+
### &nbsp;&nbsp;&nbsp;🏡 Chore
126+
127+
- **dependencies**:
128+
- update package versions and add unplugin-utils for path normalization &nbsp;-&nbsp; by @soybeanjs [<samp>(0d71d)</samp>](https://github.com/soybeanjs/elegant-router/commit/0d71deb)
129+
- **deps**:
130+
- update deps &nbsp;-&nbsp; by @soybeanjs [<samp>(3d344)</samp>](https://github.com/soybeanjs/elegant-router/commit/3d3446d)
131+
- bump vue from 3.5.4 to 3.5.12 &nbsp;-&nbsp; by **dependabot[bot]** [<samp>(80a79)</samp>](https://github.com/soybeanjs/elegant-router/commit/80a791e)
132+
- update deps &nbsp;-&nbsp; by @soybeanjs [<samp>(26087)</samp>](https://github.com/soybeanjs/elegant-router/commit/26087f5)
133+
- update deps &nbsp;-&nbsp; by @soybeanjs [<samp>(cd4a3)</samp>](https://github.com/soybeanjs/elegant-router/commit/cd4a358)
134+
- lock deps &nbsp;-&nbsp; by @soybeanjs [<samp>(3a7d2)</samp>](https://github.com/soybeanjs/elegant-router/commit/3a7d230)
135+
- update deps &nbsp;-&nbsp; by @soybeanjs [<samp>(4b9f1)</samp>](https://github.com/soybeanjs/elegant-router/commit/4b9f1f9)
136+
- update deps &nbsp;-&nbsp; by @soybeanjs [<samp>(edd66)</samp>](https://github.com/soybeanjs/elegant-router/commit/edd66f7)
137+
- **eslint**:
138+
- disable 'class-methods-use-this' rule and keep 'no-continue' off &nbsp;-&nbsp; by @soybeanjs [<samp>(28f43)</samp>](https://github.com/soybeanjs/elegant-router/commit/28f43ec)
139+
- **projects**:
140+
- remove dependabot.yml &nbsp;-&nbsp; by @soybeanjs [<samp>(68d0c)</samp>](https://github.com/soybeanjs/elegant-router/commit/68d0c98)
141+
- init project &nbsp;-&nbsp; by @soybeanjs [<samp>(ddfc8)</samp>](https://github.com/soybeanjs/elegant-router/commit/ddfc85c)
142+
- **todos**:
143+
- remove outdated TODO list from repository &nbsp;-&nbsp; by @soybeanjs [<samp>(c0552)</samp>](https://github.com/soybeanjs/elegant-router/commit/c0552d6)
144+
- **vscode**:
145+
- remove unused extensions from configuration &nbsp;-&nbsp; by @soybeanjs [<samp>(aed14)</samp>](https://github.com/soybeanjs/elegant-router/commit/aed1446)
146+
147+
### &nbsp;&nbsp;&nbsp;🎨 Styles
148+
149+
- **projects**: format code &nbsp;-&nbsp; by @soybeanjs [<samp>(5fc15)</samp>](https://github.com/soybeanjs/elegant-router/commit/5fc151c)
150+
151+
### &nbsp;&nbsp;&nbsp;❤️ Contributors
152+
153+
[![soybeanjs](https://github.com/soybeanjs.png?size=48)](https://github.com/soybeanjs)&nbsp;&nbsp;
154+
[dependabot[bot]](mailto:49699333+dependabot[bot]@users.noreply.github.com)
155+
4156
## [v1.0.0-rc.1](https://github.com/soybeanjs/elegant-router/compare/v1.0.0-beta.3...v1.0.0-rc.1) (2025-05-14)
5157

6158
### &nbsp;&nbsp;&nbsp;❤️ Contributors

example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "template-vue",
33
"type": "module",
4-
"version": "1.0.0-rc.1",
4+
"version": "1.0.0",
55
"private": true,
66
"packageManager": "pnpm@10.11.0",
77
"scripts": {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "elegant-router",
33
"type": "module",
4-
"version": "1.0.0-rc.1",
4+
"version": "1.0.0",
55
"packageManager": "pnpm@10.11.0",
66
"description": "A plugin to create router elegantly",
77
"author": {

0 commit comments

Comments
 (0)