This release migrates auth from next-auth → better-auth (#885, #895).
We moved because next-auth is no longer actively maintained; better-auth gives us a modern, maintained foundation with finer control over sessions, accounts, and OAuth.
🛟 Back up first via Admin → Backup & Restore.
https://ztnet.network/usage/backup-restore
Heads up: users may need to log in again;
🌐 Live updates now use WebSockets. If you run ZTNET behind a reverse proxy,
make sure it forwards WebSocket upgrades (/socket.io/), otherwise the UI
still works but falls back to a slower poll instead of instant updates.
See: https://ztnet.network/installation/reverse-proxy
✨ Highlights
- 🔐 Better-auth migration, modern auth, with OAuth/password-sync hardening (#885, #895, #884)
- ⚡ DB-first member sync + live WebSocket updates, big networks load fast, changes appear instantly (#934)
- 📱 Refactored members table, responsive, fixes IPv6 overflow & edit focus loss (#933)
🛡️ Ztnet
- Prevent duplicate OAuth accounts after email rename (Gmail) (#884)
- Migrate from next-auth to better-auth (#885)
- Bump axios to v1.15.0 (#888)
- Update flowRules to flowRule in NetworkSchema.yml for consistency (#891)
- Bump dependencies (#894)
- Harden better-auth migration: OAuth, password sync, security checks (#895)
- Fix
exectued->executedtypo (#896) - Fix: prevent modifying stashed members via API, add deleted:false restore (#932)
- Refactor network members table: responsive layout + fix IPv6 overflow & edit focus loss (#933)
- DB-first member sync + live WebSocket updates (#934)
- chore(deps): npm audit fixes; pin daisyUI to v4 (#935)
- fix(networks): sort network list by member count (#936)
- fix: resolve CodeQL code-scanning alerts (#937)
- perf(organization): load org page from DB and reconcile controller in background (#919)
- fix(members): restore IP column sorting (#939)
- fix(members): "show all" pagination (#940)
- fix(auth): remove unused invalidateUser endpoint (#941)
- adaptive member-table refresh fallback (#942)
- fix(auth): don't fail registration on notification email error (#943)
📝 Documentation
- Update flowRules to flowRule in NetworkSchema.yml for consistency (#891)
- Fix
exectued->executedtypo (#896) - Fix: prevent modifying stashed members via API, add deleted:false restore (#932)
📦 Installer
- fix: resolve CodeQL code-scanning alerts (#937)
Full Changelog: v0.7.18...0.8.0
Documentation
Contributors to this release: @evertoncustodio, @pikammmmm and @schmidt-software 🎉