Repository navigation
v0.2.0
Deci 0.2.0
A major expansion of the library with new targets, error handling, configuration, and developer tooling.
Added
DeciContext-- immutable precision + rounding mode bundle with built-in presets (DEFAULT,CURRENCY_USD,BANKING)- Sealed
DeciExceptionhierarchy -- domain-specific exceptions replacing rawArithmeticException - New operators and extensions --
rem,unaryMinus,divide(context),toDeci()extensions forInt,Long,String - Injectable logging --
DeciLogSinkreplaces the Cedar dependency; disabled by default for zero-overhead production builds - Comprehensive test suite -- covering exceptions, context, extensions, operators, and all rounding modes
- Build tooling -- ktlint formatting, binary-compatibility-validator (
apiDump/apiCheck), PR template, CI changelog enforcement - Compose Multiplatform sample app -- tabbed navigation demo exercising the full API on Desktop, Android, Web, and iOS
Changed
- All APIs promoted to stable --
@ExperimentalDeciApiannotation removed - Logging refactored to
expect/actualpattern for cross-platform support - Build extracted into convention plugin under
build-logic/
Fixed
- Trailing-zero preservation in
toString()on non-JVM platforms
Full Changelog: v0.1.1...v0.2.0