Skip to content

Releases: ydb-platform/yoj-project

YOJ 2.0.0 (DbType API Change)

15 Feb 22:17

Choose a tag to compare

BREAKING CHANGE: DbType

  • DbType is now an enum, not an interface with String constants for YDB column data types.
    It is also in a different package and a different module than before: tech.ydb.yoj.repository.ydbtech.ydb.yoj.databind, yoj-repository-ydb-commonyoj-databind.
  • @Column annotation uses the updated DbType for its dbType parameter, not a String value.
  • 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 used DbType constants' string values outside of the @Column(dbType=...) annotation, you will now need to explicitly call DbType.typeString() to get enum constant as a String.

YOJ 1.1.3 (minor improvements)

14 Feb 21:50

Choose a tag to compare

  • #17 Allow to use byte array as Entity ID component, if it is represented by a YOJ ByteArray type
  • #18 Support all YDB options for CDC (Change Data Capture) in @Changefeed Entity annotation
  • #25 Allow to use classes with single-argument String constructor as "string-value types" (constructed by static fromString(String), static valueOf(String) or String-argument constructor; written to the database as text using toString()).

YOJ 1.1.2 (more Kotlin fixes)

01 Feb 15:38

Choose a tag to compare

Important Kotlin data class mapping fixes:

  • #15 Invalid raw type for Kotlin data class properties (but correct generic type), manifesting in non-flattened ID fields
  • #16 Tried to introspect leaf-level schema fields in Kotlin data classes, most importantly, the properties annotated @Column(flatten=false)

YOJ 1.1.1 (Kotlin fix)

31 Jan 13:27

Choose a tag to compare

  • #14: Support private val properties in Kotlin data classes
  • #12: Low-level Stream API support for Scan Queries in QueryExecutor

YOJ 1.1.0 (basic Kotlin support)

30 Jan 12:39

Choose a tag to compare

  • 🎉 Support mapping Kotlin data classes (#7)
  • Add Jackson-based JsonConverter module, yoj-json-jackson-v2 (#10)
  • FIX: Don't skip GLOBAL_ASYNC indexes when building table schema (#11)

YOJ 1.0.2 (dependency updates)

26 Jan 15:26

Choose a tag to compare

Thorough dependency update: gRPC and Protobuf, YDB SDK v2, Jackson etc.

YOJ 1.0.1 (fix release)

10 Jan 17:03

Choose a tag to compare

Fixes: #4 (Don't rollback or commit invalidated transactions)

1.0.0 - Initial Open Source Release

28 Dec 14:33

Choose a tag to compare

YOJ (YDB ORM for Java) is finally open source, and is now available from Maven Central. Yay! 🎉