Skip to content

v2.0.0

Latest

Choose a tag to compare

@aryasaatvik aryasaatvik released this 20 Jan 22:17

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 teamId in the context

Team Identification

  • Removed support for teamSlug in favor of teamId
  • All artifact paths now use teamId instead of slug
  • API endpoints expect teamId query 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:

  1. Replace turboToken with a custom authorizer that provides teamId in the context
  2. Update all artifact paths to use teamId instead of slug
  3. Update API requests to use teamId query parameter
  4. Configure CORS if needed for your use case

Full Changelog: v1.0.0...v2.0.0