Releases: ydb-platform/yoj-project
Releases · ydb-platform/yoj-project
YOJ 2.6.3 (bring back some deprecated YqlStatement ctors)
- #108: Bring back (as
@Deprecated(forRemoval=true)
) old ctors forMultipleVarsYqlStatement
,PredicateStatement
andYqlStatement
YOJ 2.6.2 (TableDescriptor refactorings)
YOJ 2.5.11 (backport TableDescriptor from 2.6.3)
YOJ 2.5.10 (Fix ClassCastException during initial schema check)
Backported to 2.5.x:
- #95 Fix ClassCastException during initial schema check
YOJ 2.6.1 (StdTxManager.useNewTxNameGeneration always enabled now)
- 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)
- #75:
FieldValue
is now asealed interface
in a dedicated package (<...databind>.values
); oldFieldValue
is now also an interface and is deprecated. You'll get warning if you use oldFieldValue
's methods.⚠️ BREAKING CHANGE:FieldValue.get<Xxx>()
methods are no longer there, not even in the deprecated oldFieldValue
interface. Please useFieldValue
's sealed implementations' types withinstanceof
andswitch
pattern matching instead, e.g.,if (value instanceof StringFieldValue strValue) { return strValue.str(); }
⚠️ BREAKING CHANGE: Tuple-related typesFieldValue.Tuple
andFieldValue.FieldAndValue
are now justTuple
andTuple.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 oldFieldValue.of<Xxx>()
methods - Please use
FieldValue
's sealed implementations' types ininstanceof
andswitch
pattern matching instead (if (value instanceof StringFieldValue str) { ... }
,switch (value) { StringFieldValue str -> ...; }
), instead of deprecated oldFieldValue.is<Xxx>()
methods
YOJ 2.5.9 (Update YDB SDK to v2.3.2)
- Update YDB SDK to v2.3.2 - 6ad68d2
YOJ 2.5.8 (FilterExpression.startsWith/endsWith)
YOJ 2.5.7 (UNIQUE indexes)
😮 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 useyoj-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'sYdbTransaction
to use with YDB SDK calls, e.g. for topics (see issue #80)
YOJ 2.5.6 (BAD deps - UNIQUE indexes)
- #88: Support
UNIQUE
indexes (see https://ydb.tech/docs/en/concepts/secondary_indexes#unique) - #87:
YdbRepositoryTransaction
can now return YDB SDK'sYdbTransaction
to use with YDB SDK calls, e.g. for topics (see issue #80)