Patch Changes
This release addresses a critical issue with translation functionality across the core and react packages, introducing better modularity, improved fallback behavior, and robust test coverage.
๐ New Features
- Exposed additional translation utility functions for external use
- Added support for initializing the consent manager store with a translation configuration
- Introduced a utility to streamline translation configuration preparation
๐ Bug Fixes
- #207 2d81c9f โ fix(core, react): translations not working. Thanks @KayleeWilliams!
- Improved language detection and translation merging logic, ensuring more accurate language selection and fallback behavior
- Fixed an issue where translations were not working in the core and react packages
๐งช Tests
- Added comprehensive tests for translation utilities and the translation hook
- Expanded test coverage to include both
.ts
and.tsx
files
๐งน Refactor
- Moved translation utilities from the react package to core for better reusability
- Simplified translation configuration logic in the consent manager provider for easier maintenance
โจ What's Changed
- feat(docs): re-added theme switcher, added color scheme docs by @KayleeWilliams in #206
- fix(core, react): translations not working by @KayleeWilliams in #207
- Version Packages by @github-actions in #209
Full Changelog: c15t@1.1.3...c15t@1.1.4
๐ฆ Releases
@c15t/cli@1.0.7
Patch Changes
- Updated dependencies [2d81c9f]:
- @c15t/react@1.1.4
- c15t@1.1.4
c15t@1.1.4
Patch Changes
- #207 2d81c9f Thanks @KayleeWilliams! - fix(core, react): translations not working
@c15t/react@1.1.4
Patch Changes
- #207 2d81c9f Thanks @KayleeWilliams! - fix(core, react): translations not working
- Updated dependencies [2d81c9f]:
- c15t@1.1.4
@c15t/dev-tools@1.1.4
Patch Changes
- Updated dependencies [2d81c9f]:
- c15t@1.1.4
Published via commit 21eb1a3 by @github-actions
This release restores critical translation functionality and establishes a solid foundation for international deployments with comprehensive testing and improved developer experience.