c15t
/
C15T Logo
DocsFrontendIntegrationsSelf HostChangelog

x

bsky

discord

github1.4k
arrow-leftBack to Changelog
May.12, 20252.03 min read

v1.2.1 โ€” API Architecture Hardening, Translations Cleanup, and Tailwind v3 Fix

Posted By

Christopher Burns
consent-icon-rounded
Christopher Burns
@burnedchris
Kaylee
consent-icon-rounded
Kaylee
@kaylee_dev

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 @layer wrappers
  • 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 base collision (fixed by removing layer wrappers)

โœจ What's Changed

  • refactor(api): switch to oRPC and unified contract routing by @BurnedChris in #213
  • feat(sdk): introduce Node.js client with OpenAPI support by @BurnedChris in #214
  • fix(styles): remove Tailwind layer to avoid collision by @KayleeWilliams in #217
C15T Logo
Leverage native React components for seamless integration and high performance in a robust Consent Management solution that empowers your development team while prioritizing privacy and compliance.
Product
  • Documentation
  • refactor(translations): consolidate into common + remove widget keys by @KayleeWilliams in #219
  • fix(schema): improve setConsent validation by @KayleeWilliams
  • Version Packages by @github-actions in #220
  • Published via commit f82e56a by @github-actions

    Full Changelog: c15t@1.2.0...c15t@1.2.1

    Thank you to our contributors

  • Components
  • Company
    • GitHub
    • Contact
    Legal
    • Privacy Policy
    • Cookie Policy
    c15t

    Thank you to our contributors

    Christopher BurnsKaylee