Skip to content

Releases: ydb-platform/yoj-project

YOJ 2.6.3 (bring back some deprecated YqlStatement ctors)

06 Dec 13:53
Compare
Choose a tag to compare
  • #108: Bring back (as @Deprecated(forRemoval=true)) old ctors for MultipleVarsYqlStatement, PredicateStatement and YqlStatement

YOJ 2.6.2 (TableDescriptor refactorings)

06 Dec 12:05
Compare
Choose a tag to compare
  • #32: TableDescriptor and related refactorings to make supporting multiple YDB tables under one YOJ Entity
  • #95: Fix ClassCastException during initial schema check

YOJ 2.5.11 (backport TableDescriptor from 2.6.3)

06 Dec 15:34
Compare
Choose a tag to compare

Backport of v2.6.3, excluding FieldValue refactorings from v2.6.0.

YOJ 2.5.10 (Fix ClassCastException during initial schema check)

26 Nov 12:26
Compare
Choose a tag to compare

Backported to 2.5.x:

  • #95 Fix ClassCastException during initial schema check

YOJ 2.6.1 (StdTxManager.useNewTxNameGeneration always enabled now)

04 Nov 16:30
Compare
Choose a tag to compare
  • ca389b2 - StdTxManager.useNewTxNameGeneration field now does nothing and is deprecated for removal. It will be removed in YOJ 3.0.0.

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.