From 3c729c08ffd4e58377a6b66b7add0f8b4fb147af Mon Sep 17 00:00:00 2001 From: admin Date: Thu, 23 Apr 2026 06:59:43 +0000 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20RELEASES.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- RELEASES.md | 145 ++++++++++++++++++++++++++++++++-------------------- 1 file changed, 90 insertions(+), 55 deletions(-) diff --git a/RELEASES.md b/RELEASES.md index 7dca5ff..7478031 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1,55 +1,90 @@ -# Releases - -## v0.3.0 - Ubuntu one-click lifecycle - -### Added -- Ubuntu scripts for full lifecycle: - - `install.sh` (build + start) - - `uninstall.sh` (stop + remove containers, optional image cleanup) - - `reinstall.sh` (rebuild + restart) - -### Changed -- `README.md` updated from Windows flow to Ubuntu flow. -- Added executable step for scripts: - - `chmod +x install.sh uninstall.sh reinstall.sh` - -### Removed -- Windows-specific scripts removed: - - `install.bat`, `uninstall.bat`, `reinstall.bat` - - `install.ps1`, `uninstall.ps1`, `reinstall.ps1` - ---- - -## v0.2.0 - One-click automation (initial) - -### Added -- Initial one-click lifecycle scripts (first implementation). -- Documentation for install/uninstall/reinstall workflow. - ---- - -## v0.1.0 - MVP RemnaWave VPN Panel - -### Added -- Go web app with routes: - - `/` home page - - `/register` registration - - `/login` authorization - - `/logout` sign out - - `/cabinet` personal cabinet - - `/buy` VPN config purchase -- Session auth via HTTP-only cookie token. -- In-memory users and purchases storage for MVP. -- Purchase integration with real external API using env key: - - `API_BASE_URL` - - `API_BUY_PATH` - - `API_KEY` -- Docker support: - - `Dockerfile` - - `docker-compose.yml` -- UI templates and styles: - - `templates/*.html` - - `static/styles.css` -- Setup docs: - - `.env.example` - - `README.md` +# Releases + +## v0.5.0 - PostgreSQL 17 integration + +### Added +- PostgreSQL 17 service in `docker-compose.yml`. +- Persistent volume `remnawave_pgdata`. +- DB env variables in `.env.example`: + - `POSTGRES_DB` + - `POSTGRES_USER` + - `POSTGRES_PASSWORD` + - `DATABASE_URL` + +### Changed +- Application storage migrated from in-memory to PostgreSQL for: + - users + - purchases + - admin servers +- Auto DB initialization on startup (`CREATE TABLE IF NOT EXISTS`). +- Admin user is upserted from `ADMIN_EMAIL`/`ADMIN_PASSWORD` at startup. +- Documentation updated with PostgreSQL section. + +--- + +## v0.4.0 - Default port changed to 3050 + +### Changed +- Application default bind port changed from `8080` to `3050`. +- Docker and docs updated to use `3050`: + - `main.go` default `APP_ADDR` -> `:3050` + - `docker-compose.yml` port mapping -> `3050:3050` + - `Dockerfile` `EXPOSE 3050` + - `install.sh`/`reinstall.sh` URL output -> `http://localhost:3050` + - `README.md` URLs updated to `http://localhost:3050` + +--- + +## v0.3.0 - Ubuntu one-click lifecycle + +### Added +- Ubuntu scripts for full lifecycle: + - `install.sh` (build + start) + - `uninstall.sh` (stop + remove containers, optional image cleanup) + - `reinstall.sh` (rebuild + restart) + +### Changed +- `README.md` updated from Windows flow to Ubuntu flow. +- Added executable step for scripts: + - `chmod +x install.sh uninstall.sh reinstall.sh` + +### Removed +- Windows-specific scripts removed: + - `install.bat`, `uninstall.bat`, `reinstall.bat` + - `install.ps1`, `uninstall.ps1`, `reinstall.ps1` + +--- + +## v0.2.0 - One-click automation (initial) + +### Added +- Initial one-click lifecycle scripts (first implementation). +- Documentation for install/uninstall/reinstall workflow. + +--- + +## v0.1.0 - MVP RemnaWave VPN Panel + +### Added +- Go web app with routes: + - `/` home page + - `/register` registration + - `/login` authorization + - `/logout` sign out + - `/cabinet` personal cabinet + - `/buy` VPN config purchase +- Session auth via HTTP-only cookie token. +- In-memory users and purchases storage for MVP. +- Purchase integration with real external API using env key: + - `API_BASE_URL` + - `API_BUY_PATH` + - `API_KEY` +- Docker support: + - `Dockerfile` + - `docker-compose.yml` +- UI templates and styles: + - `templates/*.html` + - `static/styles.css` +- Setup docs: + - `.env.example` + - `README.md`