fix: upgrade startup script controls
This commit is contained in:
@@ -7,6 +7,30 @@ This project follows the repository versioning rule:
|
||||
- `feature` -> `+0.1.0`
|
||||
- `bugfix` -> `+0.0.1`
|
||||
|
||||
## 0.21.3
|
||||
|
||||
Released: 2026-03-27
|
||||
|
||||
### Highlights
|
||||
|
||||
- Upgraded the startup script into a more resilient local control entrypoint with retry-based service boot, selective restart targeting, and guided CLI user creation.
|
||||
- Reduced friction when developing across slower machines by making backend and frontend startup checks more tolerant and operator-friendly.
|
||||
|
||||
### Added
|
||||
|
||||
- Added interactive `createuser` support to [planet.sh](/home/ray/dev/linkong/planet/planet.sh) for CLI-driven username, email, password, and admin-role creation.
|
||||
|
||||
### Improved
|
||||
|
||||
- Improved `start` and `restart` in [planet.sh](/home/ray/dev/linkong/planet/planet.sh) with optional backend/frontend port targeting and on-demand port cleanup.
|
||||
- Improved startup robustness with repeated health checks and automatic retry loops for both backend and frontend services.
|
||||
- Improved restart ergonomics so `restart -b` and `restart -f` can restart only the requested service instead of forcing a full stack restart.
|
||||
|
||||
### Fixed
|
||||
|
||||
- Fixed false startup failures on slower environments where services needed longer than a single fixed wait window to become healthy.
|
||||
- Fixed first-run login dead-end by ensuring a default admin user is created during backend initialization when the database has no users.
|
||||
|
||||
## 0.21.2
|
||||
|
||||
Released: 2026-03-26
|
||||
|
||||
Reference in New Issue
Block a user