You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Richer pagination metadata — findMany responses now include page, pages, limit, hasNextPage, and hasPrevPage alongside the existing total and results fields.
Cross-domain cookie sharing (#219) — JWT cookies now support a domain field (and JWT_COOKIE_DOMAIN env var) so cookies can be shared across subdomains (e.g. .example.com).
Disable file upload routes — new fileUpload.enabled: false config flag to opt out of built-in file upload endpoints entirely.
Fixes & Improvements
CORS config simplified — allowedOrigins, options, and customHandler are deprecated with warnings pointing to the migration guide. Pass cors.CorsOptions or a full handler directly instead. Note: default behavior has changed — dev now defaults to origin: true, credentials: true and production to origin: "*". This may break existing apps. See the [migration guide](https://www.arkosjs.com/blog/rethinking-cors-defaults-in-arkosj) before upgrading.
Sort + orderBy merging fixed — sort query param now correctly merges with both single-object and array orderBy values from the query string.
tsconfig.json with errors no longer crashes builds (#246) — switched to a comment-tolerant JSON parser (readJsonWithComments) so malformed or commented tsconfigs are handled gracefully.
Foreign key constraint errors now return 409 Conflict instead of 400 Bad Request.
cookieParser options improved — config now accepts { secret, options } object shape instead of a positional array.