|
1 | 1 | # Changelog
|
2 | 2 |
|
3 | 3 |
|
| 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` - by @soybeanjs [<samp>(5c172)</samp>](https://github.com/soybeanjs/elegant-router/commit/5c1724b) |
| 9 | + |
| 10 | +### 🚀 Features |
| 11 | + |
| 12 | +- **build**: |
| 13 | + - add support for additional build tools and update configuration - 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 - 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 - by @soybeanjs [<samp>(97e69)</samp>](https://github.com/soybeanjs/elegant-router/commit/97e69af) |
| 17 | + - add backup management command to CLI for route backup handling - 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 - 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 - 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 - by @soybeanjs [<samp>(a5c94)</samp>](https://github.com/soybeanjs/elegant-router/commit/a5c94a3) |
| 23 | +- **projects**: |
| 24 | + - init next version - by @soybeanjs [<samp>(8d5b0)</samp>](https://github.com/soybeanjs/elegant-router/commit/8d5b07d) |
| 25 | + - resolve node - by @soybeanjs [<samp>(4c308)</samp>](https://github.com/soybeanjs/elegant-router/commit/4c30868) |
| 26 | + - resolve node - by @soybeanjs [<samp>(1dae2)</samp>](https://github.com/soybeanjs/elegant-router/commit/1dae212) |
| 27 | + - add alias & optimize resolve glob - by @soybeanjs [<samp>(cd1c5)</samp>](https://github.com/soybeanjs/elegant-router/commit/cd1c54e) |
| 28 | + - generate dts & optimize node - by @soybeanjs [<samp>(5b854)</samp>](https://github.com/soybeanjs/elegant-router/commit/5b8541a) |
| 29 | + - init generate routes code - by @soybeanjs [<samp>(5840e)</samp>](https://github.com/soybeanjs/elegant-router/commit/5840e90) |
| 30 | + - generate routes - by @soybeanjs [<samp>(ba64b)</samp>](https://github.com/soybeanjs/elegant-router/commit/ba64b34) |
| 31 | + - generate transformer and shared - by @soybeanjs [<samp>(a80fd)</samp>](https://github.com/soybeanjs/elegant-router/commit/a80fd18) |
| 32 | + - apply plugin in example - by @soybeanjs [<samp>(d87f8)</samp>](https://github.com/soybeanjs/elegant-router/commit/d87f841) |
| 33 | + - support inject route name to route file component - by @soybeanjs [<samp>(2bc28)</samp>](https://github.com/soybeanjs/elegant-router/commit/2bc2829) |
| 34 | + - add cli recovery - by @soybeanjs [<samp>(b8031)</samp>](https://github.com/soybeanjs/elegant-router/commit/b8031fe) |
| 35 | + - add cli command recovery-route - by @soybeanjs [<samp>(4c418)</samp>](https://github.com/soybeanjs/elegant-router/commit/4c418a1) |
| 36 | + - add example for custom routes - 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 - by @soybeanjs [<samp>(a4418)</samp>](https://github.com/soybeanjs/elegant-router/commit/a4418fe) |
| 39 | + - introduce built-in custom routes and refactor custom node resolution - 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 - 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 - 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 - 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 - 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 - by @soybeanjs [<samp>(74fe2)</samp>](https://github.com/soybeanjs/elegant-router/commit/74fe23e) |
| 45 | + - add custom route command to CLI for interactive route management - 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 - by @soybeanjs [<samp>(1111b)</samp>](https://github.com/soybeanjs/elegant-router/commit/1111bd6) |
| 47 | +- **routes**: |
| 48 | + - support parse params of custom route - 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 - 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 - 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 - 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 - by @soybeanjs [<samp>(cac7a)</samp>](https://github.com/soybeanjs/elegant-router/commit/cac7a40) |
| 56 | +- **types**: |
| 57 | + - add PluginOptions type to exclude customRoutes from AutoRouterOptions - by @soybeanjs [<samp>(93c18)</samp>](https://github.com/soybeanjs/elegant-router/commit/93c18d4) |
| 58 | + |
| 59 | +### 🐞 Bug Fixes |
| 60 | + |
| 61 | +- **projects**: |
| 62 | + - fix template-vue vite config - by @soybeanjs [<samp>(e8581)</samp>](https://github.com/soybeanjs/elegant-router/commit/e8581f9) |
| 63 | + - fix generated dts - by @soybeanjs [<samp>(8c486)</samp>](https://github.com/soybeanjs/elegant-router/commit/8c48680) |
| 64 | +- **route**: |
| 65 | + - update route sorting to use elements from routesExpression - 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 - by @soybeanjs [<samp>(09185)</samp>](https://github.com/soybeanjs/elegant-router/commit/091853e) |
| 68 | + |
| 69 | +### 🛠 Optimizations |
| 70 | + |
| 71 | +- **projects**: |
| 72 | + - move debug files to debug directory - by @soybeanjs [<samp>(b7b7a)</samp>](https://github.com/soybeanjs/elegant-router/commit/b7b7a3f) |
| 73 | + - remove legacy packages code - by @soybeanjs [<samp>(2991a)</samp>](https://github.com/soybeanjs/elegant-router/commit/2991aac) |
| 74 | + - optimize temp functions - by @soybeanjs [<samp>(94a90)</samp>](https://github.com/soybeanjs/elegant-router/commit/94a908b) |
| 75 | + - optimize example layout - by @soybeanjs [<samp>(929ce)</samp>](https://github.com/soybeanjs/elegant-router/commit/929ce97) |
| 76 | + - optimize ts-morph function of route - by @soybeanjs [<samp>(00910)</samp>](https://github.com/soybeanjs/elegant-router/commit/0091074) |
| 77 | + - optimize cli - by @soybeanjs [<samp>(84692)</samp>](https://github.com/soybeanjs/elegant-router/commit/846920d) |
| 78 | + - optimize cli - by @soybeanjs [<samp>(4daca)</samp>](https://github.com/soybeanjs/elegant-router/commit/4daca0c) |
| 79 | + - optimize recovery route - by @soybeanjs [<samp>(606b1)</samp>](https://github.com/soybeanjs/elegant-router/commit/606b123) |
| 80 | + - optimize command add custom route - by @soybeanjs [<samp>(214e2)</samp>](https://github.com/soybeanjs/elegant-router/commit/214e28f) |
| 81 | + - optimize import statement - by @soybeanjs [<samp>(8ad4e)</samp>](https://github.com/soybeanjs/elegant-router/commit/8ad4e1f) |
| 82 | + - remove useless file - by @soybeanjs [<samp>(2cd45)</samp>](https://github.com/soybeanjs/elegant-router/commit/2cd451e) |
| 83 | + |
| 84 | +### 💅 Refactors |
| 85 | + |
| 86 | +- **cli**: |
| 87 | + - simplify CLI command structure and enhance command parsing logic - 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 - by @soybeanjs [<samp>(07a2d)</samp>](https://github.com/soybeanjs/elegant-router/commit/07a2ded) |
| 90 | +- **projects**: |
| 91 | + - refactor example template-vue - by @soybeanjs [<samp>(5770f)</samp>](https://github.com/soybeanjs/elegant-router/commit/5770fbf) |
| 92 | + - move `template-vue` to `example` - 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 - 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 - 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 - by @soybeanjs [<samp>(ffea4)</samp>](https://github.com/soybeanjs/elegant-router/commit/ffea4af) |
| 98 | +- **watcher**: |
| 99 | + - improve file watching logic and simplify directory filtering - by @soybeanjs [<samp>(ad269)</samp>](https://github.com/soybeanjs/elegant-router/commit/ad26958) |
| 100 | + |
| 101 | +### 📖 Documentation |
| 102 | + |
| 103 | +- **README**: |
| 104 | + - add file watching mechanism details to enhance development experience - 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 - 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 - by @soybeanjs [<samp>(29417)</samp>](https://github.com/soybeanjs/elegant-router/commit/294170f) |
| 107 | + - update language switch position - by @soybeanjs [<samp>(4d651)</samp>](https://github.com/soybeanjs/elegant-router/commit/4d6512f) |
| 108 | + - add component name injection details for Vue Router KeepAlive functionality - by @soybeanjs [<samp>(dbe78)</samp>](https://github.com/soybeanjs/elegant-router/commit/dbe7846) |
| 109 | +- **TODO**: |
| 110 | + - add initial TODO list for routing features - by @soybeanjs [<samp>(76cf1)</samp>](https://github.com/soybeanjs/elegant-router/commit/76cf115) |
| 111 | + - update task - by @soybeanjs [<samp>(d1e82)</samp>](https://github.com/soybeanjs/elegant-router/commit/d1e82b8) |
| 112 | + - update task - by @soybeanjs [<samp>(90806)</samp>](https://github.com/soybeanjs/elegant-router/commit/90806b8) |
| 113 | + - update task - by @soybeanjs [<samp>(e9eeb)</samp>](https://github.com/soybeanjs/elegant-router/commit/e9eeb63) |
| 114 | + - update task - by @soybeanjs [<samp>(12ae5)</samp>](https://github.com/soybeanjs/elegant-router/commit/12ae5af) |
| 115 | + - update task - by @soybeanjs [<samp>(d2e3f)</samp>](https://github.com/soybeanjs/elegant-router/commit/d2e3f0c) |
| 116 | +- **projects**: |
| 117 | + - add README.md - by @soybeanjs [<samp>(3c3a1)</samp>](https://github.com/soybeanjs/elegant-router/commit/3c3a16f) |
| 118 | + - update README - by @soybeanjs [<samp>(8dad5)</samp>](https://github.com/soybeanjs/elegant-router/commit/8dad53c) |
| 119 | + - add introduce for CustomRoute - by @soybeanjs [<samp>(27634)</samp>](https://github.com/soybeanjs/elegant-router/commit/276342d) |
| 120 | + - update `customRoutes` to `reuseRoutes` & optimize README - 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 - by @soybeanjs [<samp>(490ca)</samp>](https://github.com/soybeanjs/elegant-router/commit/490ca9a) |
| 123 | + - simplify ElegantRouter customRoute example for clarity - by @soybeanjs [<samp>(079a2)</samp>](https://github.com/soybeanjs/elegant-router/commit/079a207) |
| 124 | + |
| 125 | +### 🏡 Chore |
| 126 | + |
| 127 | +- **dependencies**: |
| 128 | + - update package versions and add unplugin-utils for path normalization - by @soybeanjs [<samp>(0d71d)</samp>](https://github.com/soybeanjs/elegant-router/commit/0d71deb) |
| 129 | +- **deps**: |
| 130 | + - update deps - by @soybeanjs [<samp>(3d344)</samp>](https://github.com/soybeanjs/elegant-router/commit/3d3446d) |
| 131 | + - bump vue from 3.5.4 to 3.5.12 - by **dependabot[bot]** [<samp>(80a79)</samp>](https://github.com/soybeanjs/elegant-router/commit/80a791e) |
| 132 | + - update deps - by @soybeanjs [<samp>(26087)</samp>](https://github.com/soybeanjs/elegant-router/commit/26087f5) |
| 133 | + - update deps - by @soybeanjs [<samp>(cd4a3)</samp>](https://github.com/soybeanjs/elegant-router/commit/cd4a358) |
| 134 | + - lock deps - by @soybeanjs [<samp>(3a7d2)</samp>](https://github.com/soybeanjs/elegant-router/commit/3a7d230) |
| 135 | + - update deps - by @soybeanjs [<samp>(4b9f1)</samp>](https://github.com/soybeanjs/elegant-router/commit/4b9f1f9) |
| 136 | + - update deps - 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 - by @soybeanjs [<samp>(28f43)</samp>](https://github.com/soybeanjs/elegant-router/commit/28f43ec) |
| 139 | +- **projects**: |
| 140 | + - remove dependabot.yml - by @soybeanjs [<samp>(68d0c)</samp>](https://github.com/soybeanjs/elegant-router/commit/68d0c98) |
| 141 | + - init project - by @soybeanjs [<samp>(ddfc8)</samp>](https://github.com/soybeanjs/elegant-router/commit/ddfc85c) |
| 142 | +- **todos**: |
| 143 | + - remove outdated TODO list from repository - by @soybeanjs [<samp>(c0552)</samp>](https://github.com/soybeanjs/elegant-router/commit/c0552d6) |
| 144 | +- **vscode**: |
| 145 | + - remove unused extensions from configuration - by @soybeanjs [<samp>(aed14)</samp>](https://github.com/soybeanjs/elegant-router/commit/aed1446) |
| 146 | + |
| 147 | +### 🎨 Styles |
| 148 | + |
| 149 | +- **projects**: format code - by @soybeanjs [<samp>(5fc15)</samp>](https://github.com/soybeanjs/elegant-router/commit/5fc151c) |
| 150 | + |
| 151 | +### ❤️ Contributors |
| 152 | + |
| 153 | +[](https://github.com/soybeanjs) |
| 154 | +[dependabot[bot]](mailto:49699333+dependabot[bot]@users.noreply.github.com) |
| 155 | + |
4 | 156 | ## [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)
|
5 | 157 |
|
6 | 158 | ### ❤️ Contributors
|
|
0 commit comments