Skip to content

Releases: ydb-platform/yoj-project

YOJ 2.6.0 (FieldValue refactoring)

10 Oct 13:12
Compare
Choose a tag to compare
  • #75: FieldValue is now a sealed interface in a dedicated package (<...databind>.values); old FieldValue is now also an interface and is deprecated. You'll get warning if you use old FieldValue's methods.
    • ⚠️ BREAKING CHANGE: FieldValue.get<Xxx>() methods are no longer there, not even in the deprecated old FieldValue interface. Please use FieldValue's sealed implementations' types with instanceof and switch pattern matching instead, e.g., if (value instanceof StringFieldValue strValue) { return strValue.str(); }
    • ⚠️ BREAKING CHANGE: Tuple-related types FieldValue.Tuple and FieldValue.FieldAndValue are now just Tuple and Tuple.FieldAndValue; and they were moved to a dedicated package (<...databind>.values)
    • Please use FieldValue's sealed implementations' constructors (e.g., new StringFieldValue("str")) instead of deprecated old FieldValue.of<Xxx>() methods
    • Please use FieldValue's sealed implementations' types in instanceof and switch pattern matching instead (if (value instanceof StringFieldValue str) { ... }, switch (value) { StringFieldValue str -> ...; }), instead of deprecated old FieldValue.is<Xxx>() methods

YOJ 2.5.9 (Update YDB SDK to v2.3.2)

08 Oct 19:43
Compare
Choose a tag to compare
  • Update YDB SDK to v2.3.2 - 6ad68d2

YOJ 2.5.8 (FilterExpression.startsWith/endsWith)

27 Sep 11:29
Compare
Choose a tag to compare
  • #86 FilterExpression.startsWith(substring) and FilterExpression.endsWith(substring)
  • #90 FIX: Don't fail unique index check on re-saving the same entity

YOJ 2.5.7 (UNIQUE indexes)

26 Sep 18:18
Compare
Choose a tag to compare

😮 Please use this release instead of 2.5.6; it has fixed dependencies (see below).

  • f9605f5: FIX: Use YDB Proto API version 1.6.4 to support UNIQUE indexes (NoClassDefFoundError would otherwise result if you attempt to use yoj-repository-ydb-v2 without adding YDB Proto API 1.6.4+ to your classpath/module path).
  • #88: Support UNIQUE indexes (see https://ydb.tech/docs/en/concepts/secondary_indexes#unique)
  • #87: YdbRepositoryTransaction can now return YDB SDK's YdbTransaction to use with YDB SDK calls, e.g. for topics (see issue #80)

YOJ 2.5.6 (BAD deps - UNIQUE indexes)

26 Sep 14:23
Compare
Choose a tag to compare

⚠️ Please do not use this release, it has incorrect YDB Proto API version dependency (too old; 1.6.2 instead of at least 1.6.4). Use the subsequent 2.5.7 release instead.

YOJ 2.5.5 (Fix session closure in snapshot-isolated transaction)

02 Sep 15:10
Compare
Choose a tag to compare
  • #85: Fix session closure in snapshot-isolated transaction

YOJ 2.5.4 [mis-release; don't use]

02 Sep 14:24
Compare
Choose a tag to compare
Pre-release

⚠️ Mis-release, no actual code changes since 2.5.3. Do not use!

Use https://github.com/ydb-platform/yoj-project/releases/tag/v2.5.5 instead.

YOJ 2.5.3 (CLIENT_GRPC_ERROR status code in YdbValidator)

23 Aug 14:51
Compare
Choose a tag to compare
  • #83 FIX: Support CLIENT_GRPC_ERROR status code in YdbValidator

YOJ 2.5.2 (use YDB SDK 2.2.8 with less ERROR logging)

12 Aug 12:51
Compare
Choose a tag to compare
  • #82: Use YDB SDK 2.2.8 which makes YdbDiscovery log fatal ERROR only when there was a successful discovery of exactly 0 endpoints. Transient errors are now logged on WARN level, as they should.
    See also: ydb-platform/ydb-java-sdk#303

YOJ 2.5.1 (RO Snapshot Isolation support)

28 Jun 14:58
Compare
Choose a tag to compare