v1.6.1-beta
Summary
This release focuses on improving OpenAPI documentation for file uploads, enhancing strict validation rules, adding configurable entry points, and fixing various bugs across the framework. Significant improvements have been made to the CLI, router OpenAPI generation, and developer experience.
Major Changes
OpenAPI Upload Fields Enhancement
- Fixed
requiredflag handling for upload fields in OpenAPI documentation - Improved multipart/form-data requestBody generation in ArkosRouter
- Added proper validation for upload field requirements in OpenAPI schemas
Strict Validation Improvements
- Enhanced strict validation rules with better error messages
- Added support for
nullto forbid all request inputs - Improved validation error messages to include documentation links
Configurable Entry Points
- Added
source.entryPointconfiguration option for custom application entry points - CLI now respects custom entry points in
devandstartcommands - Added entry point selection in
create-arkosCLI (src/apporsrc/server) - Updated templates to support both entry point patterns
Authentication & User Context
- Made
req.usernullable in ServiceBaseContext - Fixed authentication routing and configuration resolution
Bug Fixes
- Fixed OpenAPI upload field schema generation for all upload types (single, array, fields)
- Improved scalar API reference CDN path resolution with global prefix
- Fixed CLI config resolution for
export-auth-actioncommand - Added missing
path.relativemock in CLI tests - Fixed OpenAPI server prioritization when custom servers are defined
- Corrected ArkosRouter typo in README documentation
Documentation Updates
- Updated Bible Verse API tutorial for version 1.6.1
- Fixed various typos and improved code examples
- Added documentation for strict validation mode
Dependencies
- Updated
@scalar/api-referenceto v1.55.3 - Updated compression and CORS packages to latest versions
- Updated scalar CDN to version 1.55.3 in sandbox example
Chores
- Added global.helpers mock for initialize-app tests
- Added test route with upload and custom OpenAPI in v1-4 sandbox
- Improved TypeScript detection in CLI helpers
- Cleaned up package.json files and removed unused dependencies
- Deleted outdated pnpm-lock.yaml file
What's Changed
- Canary by @Uanela in #242
- fix(cli): use relative entry point path to fix spawn on paths with spaces by @adem02 in #244
- docs(readme): fix ArkosRouter typo by @owaish3301 in #248
- release(v1.6.1-beta) by @Uanela in #249
New Contributors
- @adem02 made their first contribution in #244
- @owaish3301 made their first contribution in #248
Full Changelog: v1.6.0-beta...v1.6.1-beta