Skip to content

v1.5.15-beta

Choose a tag to compare

@Uanela Uanela released this 30 Jun 09:30

Bug Fixes

  • Fixed production build hanging or failing to exit cleanly. The build process now spawns the server with an IPC channel and waits for a started signal before shutting it down, instead of relying on a fixed timeout and killing the child process blindly.
  • Fixed file upload pathname being incorrect when a base route prefix was set. Previously the pathname stored on req.file did not include the configured base route, causing mismatches between file.pathname and file.url.
  • Fixed create-arkos generated package.json having broken or trailing commas in dependencies when no Prisma provider or no validation library was selected.
  • Fixed authentication setup not properly being marked as type none when the project has no Prisma provider configured (previously this case was skipped without setting a fallback config).
  • Fixed multipleRoles field in generated project config being required even when not applicable.

Improvements

  • Auth error messages are now action and resource specific. Instead of a generic "You do not have permission to perform this operation", users now see messages like "You cannot perform create for user" or "You cannot perform delete for product".
  • CLI dev, start, and build commands now use IPC-enabled stdio so the parent process can reliably detect when the server has started, replacing the previous shell-based spawn approach.
  • create-arkos prompts now show clearer, color highlighted info messages when skipping authentication setup or multiple roles configuration due to incompatible choices (e.g. sqlite with static auth).
  • Bumped @scalar/express-api-reference and tsx versions in generated project templates.
  • Added an "or" handlebars helper to create-arkos templates for more flexible conditional logic in generated files.

Internal

  • Reorganized sandbox test projects under sandbox/arkos/v-1-5, consolidating and removing several outdated sandbox folders (class-validator-auth-swagger, file-upload-window-debug, js-esm-define-config).
  • Updated CLI test suites to reflect the new IPC based spawn behavior for dev, start, and build commands.