Summary
This release delivers a major refactor and architecture upgrade across the API system, along with enhanced translation handling, styling fixes, and groundwork for future CLI and dashboard features. It introduces a type-safe Node.js SDK, centralized routing, and better configuration defaults β paving the way for production-ready scaling.
π New Features
- Introduced a Node.js SDK for type-safe client access to the C15T API
- Added OpenAPI support for backend contracts
- New contract-based routing for consent and meta endpoints
- Support for common translation strings across UI components
- Early support for dev vs prod instance logic and origin handling
π Bug Fixes
- Fixed Tailwind CSS v3 layer collision by removing unused
@layerwrappers - Improved schema validation for
setConsent - Fixed environment variable parsing for trusted origins
- Improved fallback handling for translations and jurisdiction detection
π§ͺ Tests
- Added test coverage for new consent contracts and schema validation
- Extended coverage for translations, error handling, and Node.js SDK
- Cleaned up outdated tests and fixtures
π§Ή Refactor
- Migrated backend from H3 to oRPC for improved type safety
- Consolidated translation logic and removed widget-specific translations
- Introduced a unified logger utility
- Simplified consent manager configuration and routing structure
π Closed Issues
- #222 β duplicate/overlapping translation keys between dialog and widget (resolved by consolidation to
common) - #217 / #218 β Tailwind v3
@layer basecollision (fixed by removing layer wrappers)
β¨ What's Changed
- refactor(api): switch to oRPC and unified contract routing by @BurnedChris in