What's Changed
- feat(lambda): support overriding props for functions by @aryasaatvik in #19
- 🔒 bring your own authorizer by @aryasaatvik in #20
- feat(api)!: add support for preflight requests to use presigned S3 urls by @aryasaatvik in #18
Breaking Changes in 2.0
Authentication
- Deprecated simple token-based authentication (
turboToken) - Added support for custom authorizers via
authorizerFunction - Authorizer must provide
teamIdin the context
Team Identification
- Removed support for
teamSlugin favor ofteamId - All artifact paths now use
teamIdinstead ofslug - API endpoints expect
teamIdquery parameter
New Features
- Added preflight/presigned URL support for S3 operations
- Added CORS support for S3 bucket
- Added custom user info endpoint support
- Support for direct S3 access using presigned URLs
Migration Guide:
- Replace
turboTokenwith a custom authorizer that providesteamIdin the context - Update all artifact paths to use
teamIdinstead ofslug - Update API requests to use
teamIdquery parameter - Configure CORS if needed for your use case
Full Changelog: v1.0.0...v2.0.0