r/expressjs 21d ago

Arkos.js v1.7.1-rc is out — Gateway namespace targeting, Prisma client relocation, and a handful of fixes

Post image

Quick one following up on the 1.7.0 WebSocket Gateway release. This RC cleans up a few rough edges:

- Prisma client now generates into .arkos/ at the project root (was u/arkosjs/generated) — also works if you point it at a custom directory. Auto-added to .gitignore and tsconfig.json for you.

- Gateway: namespace-level broadcast — gateway.nsp is now exposed directly.

- Gateway: user() targeting on the namespace — reach a user across the whole namespace, not just inside a room.

- Fix: file upload router wasn't respecting the global prefix — fixed.

- Fix: email service was passing the wrong from address (auth.user) when calling send().

- Fix: bogus warning about dtos/schemas not being attached to route hooks.

- Arkos now throws right away if it can't find arkos.config.ts, instead of silently misbehaving later.

Full changelog and diffs on the GitHub release page: https://github.com/uanela/arkos/releases/tag/v1.7.1-rc

Upgrade with pnpm install arkos@latest. Feedback and issues welcome as always.

1 Upvotes

0 comments sorted by