Releases: ydb-platform/yoj-project
Releases · ydb-platform/yoj-project
YOJ 2.0.0 (DbType API Change)
BREAKING CHANGE: DbType
DbTypeis now an enum, not an interface withStringconstants for YDB column data types.
It is also in a different package and a different module than before:tech.ydb.yoj.repository.ydb→tech.ydb.yoj.databind,yoj-repository-ydb-common→yoj-databind.@Columnannotation uses the updatedDbTypefor itsdbTypeparameter, not aStringvalue.- This is a semi-source-compatible change: constant names have not been changed, so you adjusting your dependencies and change the package in your
imports is probably enough.
If you usedDbTypeconstants' string values outside of the@Column(dbType=...)annotation, you will now need to explicitly callDbType.typeString()to get enum constant as aString.
YOJ 1.1.3 (minor improvements)
- #17 Allow to use byte array as Entity ID component, if it is represented by a YOJ
ByteArraytype - #18 Support all YDB options for CDC (Change Data Capture) in
@ChangefeedEntity annotation - #25 Allow to use classes with single-argument
Stringconstructor as "string-value types" (constructed bystatic fromString(String),static valueOf(String)or String-argument constructor; written to the database as text usingtoString()).
YOJ 1.1.2 (more Kotlin fixes)
Important Kotlin data class mapping fixes:
YOJ 1.1.1 (Kotlin fix)
YOJ 1.1.0 (basic Kotlin support)
YOJ 1.0.2 (dependency updates)
Thorough dependency update: gRPC and Protobuf, YDB SDK v2, Jackson etc.
YOJ 1.0.1 (fix release)
Fixes: #4 (Don't rollback or commit invalidated transactions)
1.0.0 - Initial Open Source Release
YOJ (YDB ORM for Java) is finally open source, and is now available from Maven Central. Yay! 🎉