Skip to content

v1.7.1-rc

Latest

Choose a tag to compare

@Uanela Uanela released this 02 Aug 09:57

Changes

Prisma client generation

  • Generated Prisma client now lives in a .arkos folder at the project root, instead of @arkosjs/generated
  • Added support for using a Prisma client generated in a custom directory
  • .arkos is now added automatically to .gitignore and wired into tsconfig.json paths

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.user as the from address when calling send()
  • Fixed an incorrect warning about dtos/schemas not being wired into a route hook's validation config
  • Arkos now throws immediately at startup if arkos.config.ts cannot be found, instead of failing silently later

Upgrade

pnpm install arkos@latest

Full details and diffs: check the GitHub release notes for v1.7.1-rc in the Arkos.js repository.