Skip to content
This repository was archived by the owner on Sep 10, 2025. It is now read-only.

v0.6.5-alpha.0: Platform Package Ready

Pre-release
Pre-release

Choose a tag to compare

@bowlofarugula bowlofarugula released this 19 Aug 20:35
· 197 commits to main since this release

πŸš€ Platform Package v0.6.5-alpha.0

This release completes the platform package implementation for FTL deployment platforms.

Key Features

πŸ”§ Version Control

  • Platform now controls gateway and authorizer component versions
  • Uses SynthesizeWithOverrides for clean version injection
  • No manual component manipulation needed

πŸ‘₯ Org Access Mode Support

  • Platform computes allowed_subjects from WorkOS APIs
  • Filters by allowed_roles from app configuration
  • Clean separation of concerns between platform and synthesis

πŸ“¦ Package Restructuring

  • Moved synthesis from internal/ftl to pkg/synthesis (public API)
  • Removed obsolete internal/ftl package
  • Clean, stable API in pkg/platform

For Platform Teams

The pkg/platform package provides everything needed for deployment:

import "github.com/fastertools/ftl-cli/pkg/platform"

// Configure platform settings
config := platform.DefaultConfig()
config.GatewayVersion = "0.0.13-alpha.0"
config.AuthorizerVersion = "0.0.15-alpha.0"

// Process deployments
processor := platform.NewProcessor(config)
result, err := processor.Process(platform.ProcessRequest{
    ConfigData: appYAML,
    Format: "yaml",
    AllowedSubjects: computedFromWorkOS, // For org mode
})

// Get Spin TOML
spinManifest := result.SpinTOML

Breaking Changes

  • internal/ftl package removed - use pkg/synthesis instead
  • Go version downgraded to 1.24 for toolchain compatibility

Testing

All tests passing βœ