v0.34.0
·
134 commits
to master
since this release
[0.34.0] - 2026-07-14
Bug Fixes
- Recognise DECIMAL(p,s) sqlType override -> ErmDataType.Decimal (erm)
Features
- UuidRepresentation option — kotlin.uuid.Uuid columns (erm-exposed)- DateTimeRepresentation option — kotlinx.datetime columns (erm-exposed)- «Column».fkEntity/fkAttribute — column-level FK override bypassing association derivation (erm)
Other
- ERM external enum type: enumType tag on ermMappingProfile «Column», ErmDataType.Enum.externalFqName, emitter support
Adds a retrofit escape hatch for ERM enum columns that must reference an
already existing Kotlin enum (e.g. a type shared across an RPC boundary)
instead of generating a fresh local enum class:
- ermMappingProfile «Column»: new optional enumType tag (ErmProfileNames.TAG_ENUM_TYPE)
- ErmDataType.Enum: new externalFqName field; null preserves the original
locally-generated enum class behaviour - ErmExposedEmitter: imports and references the external enum type instead
of emitting its own enum class when externalFqName is set - ErmModelDslPrinter / ErmScriptRenderer: round-trip the new field
- UmlErmTypeMapper: also recognises an explicit VARCHAR(n)-shaped sqlType
override (case-insensitive), mapping it to ErmDataType.Varchar(n) instead
of falling through to ErmDataType.Custom - Test coverage for the new mapping and emitter paths- CHANGELOG + version bump (v0.34.0)