Skip to content

Releases: aws-solutions/dynamic-image-transformation-for-amazon-cloudfront

v8.0.0

18 Nov 16:50
8719f90

Choose a tag to compare

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

08 Oct 16:35
7091606

Choose a tag to compare

[7.0.8] - 2025-10-07

Added

  • Added deprecation notice for S3 Object Lambda architecture usage

v7.0.7

22 Sep 16:08
47c7dda

Choose a tag to compare

[7.0.7] - 2025-09-22

Security

Changed

  • Modified sourcebucketpattern to allow valid s3 bucket names

Removed

  • AppRegistry application at resource level

v7.0.6

28 Jul 17:36
79db5a1

Choose a tag to compare

What's Changed

Security

Full Changelog: v7.0.5...v7.0.6

v7.0.5

07 Jul 17:09
dc535ba

Choose a tag to compare

What's Changed

Changed

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 provided autoOrient() (#590)

Full Changelog: v7.0.4...v7.0.5

Contributors

@markatom

v7.0.4

10 Jun 19:43
4246e7a

Choose a tag to compare

What's Changed

Security

Full Changelog: v7.0.3...v7.0.4

v7.0.3

08 May 17:42
3294dd8

Choose a tag to compare

What's Changed

Fixed

  • SOLUTION_VERSION environment variable in metrics lambda construct

Full Changelog: v7.0.2...v7.0.3

v7.0.2

09 Apr 18:15
81f6c36

Choose a tag to compare

What's Changed

Security

  • Bump aws-cdk-lib to 2.188.0
  • Update solution metrics lambda runtime to nodejs22.x

Full Changelog: v7.0.1...v7.0.2

v7.0.1

14 Mar 19:08
6ef162a

Choose a tag to compare

Changed

  • Updated metrics module to support identical metrics for different resources
  • Updated aws-cdk-lib and aws-cdk package versions

Security

Fixed

  • Minor eslint warnings