Releases: aws-solutions/dynamic-image-transformation-for-amazon-cloudfront
v8.0.0
Dynamic Image Transformation v8.0.0 - Major Architecture Update
🚀 What's New
Version 8.0.0 introduces a complete architectural overhaul with a new ECS-based processing engine, Admin UI, and policy-driven configuration system.
🎯 Key Highlights
• Admin UI - Web-based configuration management interface
• ECS Architecture - Image processing with container-based engine
• Policy System - Declarative transformation policies with support for auto-optimizations and conditional header transformations
• Multi-tenant Support - Host and path-based routing capabilities
✨ New Features
Admin UI and Configuration Management
• Admin UI built with React and TypeScript for configuration management
• CRUD operations for Origins, Transformation Policies, and Mappings
• Authentication integration with Amazon Cognito User Pools
• Real-time form validation and AWS Cloudscape Design System components
Management API and Backend Services
• RESTful management API using Amazon API Gateway
• DynamoDB integration with single-table design for configuration storage
• Lambda-based management functions with AWS SDK v3 integration
• OpenAPI specification for API documentation
• Comprehensive error handling and structured logging
• Pagination support on list APIs
ECS-Based Container Architecture for Image Processing Engine
• Amazon ECS Fargate-based image processing engine
• Express.js-based REST API server with Docker containerization
• Auto-scaling capabilities and t-shirt sizing deployment options (Small, Medium, Large, X-Large)
• Container health check endpoints
• CloudFront Function for header normalization to improve cache hit ratio
• URL validation and sanitization
• Caching policy with DIT specific custom cache keys (dit-host, dit-accept, dit-dpr, dit-viewport-width)
Origin
• Support for S3 and external HTTPS image sources
• S3 URL helper utilities for secure access
• Connection management for external origin sources
• Origin validation and error handling
Transformation Policy
• Declarative transformation policy system with schema validation
• Support for one default transformation policy as fallback
• Auto-optimization based on client hints (Sec-ch-viewport-width, Sec-ch-dpr, Accept headers)
• Conditional transformations based on request headers and query parameters
• Policy and transformation override capabilities via query string in request
Mapping (Routing Rules)
• Path-based mapping to route based on request path
• Host header-based mapping for multi-tenant support and routing on host-header
• Support for configuring policy with the mappings/routing rules
Data Models and Validation
• Comprehensive TypeScript data models using Zod for runtime validation
• Strict type safety across all configuration entities
• Request validation and sanitization
🔧 Deployment Options
Choose from pre-configured deployment sizes:
• Small - Basic workloads
• Medium - Standard production use
• Large - High-volume processing
• X-Large - Enterprise scale
📋 Migration Notes
This is a major version with architectural changes. Please review the guide before upgrading from v7.x.
🔗 Quick Deploy
ECS Architecture (Recommended):
https://solutions-reference.s3.us-east-1.amazonaws.com/dynamic-image-transformation-for-amazon-cloudfront/latest/dynamic-image-transformation-for-amazon-cloudfront-ecs.template
Lambda Architecture:
https://solutions-reference.s3.us-east-1.amazonaws.com/dynamic-image-transformation-for-amazon-cloudfront/latest/dynamic-image-transformation-for-amazon-cloudfront-lambda.template
v7.0.8
v7.0.7
[7.0.7] - 2025-09-22
Security
- Bumped
axiosto 1.12.2 to mitigate CVE-2025-58754
Changed
- Modified sourcebucketpattern to allow valid s3 bucket names
Removed
- AppRegistry application at resource level
v7.0.6
v7.0.5
What's Changed
Changed
- Migrated to AWS SDK for JavaScript v3 (#548)
- Bundling instruction for sharp module as per cross-platform installation instruction
- Bumped dependencies, sharp bumped to
0.34.2
Fixed
- Return image metadata for all cases by default using withMetadata()
- In thumbor-styled requests, align
filters:rotate()with sharp rotate behavior, if no angle is providedautoOrient()(#590)
Full Changelog: v7.0.4...v7.0.5
Contributors
v7.0.4
What's Changed
Security
- Bump
tar-fsto mitigate CVE-2025-48387 - Bump
aws-cdk-libto mitigate GHSA-5pq3-h73f-66hr
Full Changelog: v7.0.3...v7.0.4
v7.0.3
v7.0.2
v7.0.1
Changed
- Updated metrics module to support identical metrics for different resources
- Updated aws-cdk-lib and aws-cdk package versions
Security
- Upgraded esbuild to v0.25.0 for advisory GHSA-67mh-4wv8-2f99
- Upgraded axios to 1.8.2 for advisory GHSA-jr5f-v2jv-69x6
Fixed
- Minor eslint warnings