Skip to content

Commit 8543c9d

Browse files
committed
Bring back CHANGELOG.md
1 parent 4043dcc commit 8543c9d

File tree

1 file changed

+60
-0
lines changed

1 file changed

+60
-0
lines changed

CHANGELOG.md

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
## [Unreleased]
6+
7+
### Added
8+
9+
- Comprehensive test coverage for all public functions (40 tests total)
10+
11+
### Fixed
12+
13+
- **BREAKING**: Fixed `translations_from_nested_json()` - Now properly handles deeply nested JSON structures
14+
- **BREAKING**: Fixed ordinal suffix logic - `ordinal_suffix()` now includes position in output
15+
- Improved nested JSON conversion using `decode.recursive` for better performance
16+
17+
### Changed
18+
19+
## [2.0.0] - 2025-09-07
20+
21+
### Changed
22+
23+
- **BREAKING**: Major refactor and code reorganization
24+
- Moved locale functions to separate `g18n/locale` module
25+
- Cleaned up internal module structure
26+
- Removed unnecessary internal files and dependencies
27+
28+
### Fixed
29+
30+
- Various bug fixes and performance improvements
31+
32+
## [1.1.0] - 2025-09-06
33+
34+
### Added
35+
36+
- **RTL/LTR Text Direction Support**: Added `TextDirection` type, `get_text_direction()`, `is_rtl()`, `get_css_direction()`
37+
- **Locale Negotiation System**: Added `negotiate_locale()`, `parse_accept_language()`, `get_locale_quality_score()`
38+
- **Complete Pluralization Coverage**: Added plural rules for 12 languages (Spanish, French, German, Italian, Arabic, Chinese, Japanese, Korean, Hindi)
39+
- **Context-Sensitive Translations**: Added `TranslationContext` type, `translate_with_context()`, `add_context_translation()`
40+
- **Advanced Translation Features**: Number formatting, date/time formatting, validation tools
41+
- **CLI Code Generation**: Command-line tool for generating Gleam modules from JSON translation files
42+
43+
### Changed
44+
45+
- Expanded pluralization from 3/12 to 12/12 supported languages
46+
- Enhanced locale support with comprehensive CLDR-based plural rules
47+
48+
## [1.0.0] - 2025-09-06
49+
50+
### Added
51+
52+
- Initial release of g18n internationalization library
53+
- Core translation functionality with key-value lookups
54+
- Parameter substitution in translation templates
55+
- Basic pluralization support for English, Polish, and Russian
56+
- Trie-based translation storage for efficient lookups
57+
- JSON import/export functionality
58+
- Locale creation and management
59+
- Basic date/time formatting
60+
- Comprehensive test suite and documentation

0 commit comments

Comments
 (0)