Changes
Prisma client generation
- Generated Prisma client now lives in a
.arkosfolder at the project root, instead of@arkosjs/generated - Added support for using a Prisma client generated in a custom directory
.arkosis now added automatically to.gitignoreand wired intotsconfig.jsonpaths
Gateway (WebSockets)
- Exposed a namespace-level broadcast API (
gateway.nsp) - Added a
user()target on the namespace object, for reaching a user across the entire namespace rather than just within a room
Fixes
- File upload router now correctly respects the configured global prefix
- Email service now correctly passes
auth.useras thefromaddress when callingsend() - Fixed an incorrect warning about
dtos/schemasnot being wired into a route hook'svalidationconfig - Arkos now throws immediately at startup if
arkos.config.tscannot be found, instead of failing silently later
Upgrade
pnpm install arkos@latestFull details and diffs: check the GitHub release notes for v1.7.1-rc in the Arkos.js repository.