Skip to content

v1.6.8-beta

Choose a tag to compare

@Uanela Uanela released this 02 Aug 09:59
· 11 commits to beta-1.6 since this release

Changes

Prisma client generation overhaul

  • The generated Prisma type-sync package moved from node_modules/@arkosjs/generated to a .arkos/ folder at the project root
  • Dropped the CJS build and generated package.json for this package — now just index.d.ts + an ESM index.js
  • Added support for a custom Prisma Client output path (reads the output value from your generator block in schema.prisma)
  • arkos prisma generate now automatically:
    • adds a @arkosjs/generated path mapping to tsconfig.json, pointing at ./.arkos/index.d.ts
    • adds .arkos to .gitignore
  • arkos dev no longer prompts "Would you like to run npx arkos prisma generate?" — if base service types are missing, it now runs prisma generate automatically instead of asking

Fixes

  • File upload router now correctly builds its "not found" file path using the configured globalPrefix, instead of hardcoding /api
  • Email service: when only an email user is configured (no password), that user is now correctly used as the from address instead of being dropped
  • arkos.config loading: the "using default configs" warning now only fires when the config file itself is genuinely missing, instead of swallowing any "cannot find module" error (e.g. a bad import inside your config file)

create-arkos

  • Removed the "Would you like to use Strict Routing?" prompt from project scaffolding
  • Scaffolded tsconfig.json and .gitignore now include the @arkosjs/generated path mapping and .arkos ignore entry by default
  • Bumped scaffolded dependency versions (Prisma, TypeScript, class-validator, Scalar, etc.)

Dependency updates

  • Notable bumps: @prisma/client / prisma → 6.19.3, zod → 3.25.76, class-validator → 0.15.1, multer → 2.2.0, nodemailer → 9.0.3, sharp → 0.35.3, express-rate-limit → 8.6.1, @scalar/express-api-reference → 0.10.12

Upgrade

pnpm install arkos@latest

Note: after upgrading, run npx arkos prisma generate once to regenerate types into the new .arkos/ location.

Full diff on GitHub: packages/arkos v1.6.8-beta.