Releases: ydb-platform/yoj-project
Releases · ydb-platform/yoj-project
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)
YOJ 2.5.5 (Fix session closure in snapshot-isolated transaction)
- #85: Fix session closure in snapshot-isolated transaction
YOJ 2.5.4 [mis-release; don't 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)
- #83 FIX: Support
CLIENT_GRPC_ERROR
status code inYdbValidator
YOJ 2.5.2 (use YDB SDK 2.2.8 with less ERROR logging)
- #82: Use YDB SDK 2.2.8 which makes
YdbDiscovery
log fatalERROR
only when there was a successful discovery of exactly 0 endpoints. Transient errors are now logged onWARN
level, as they should.
See also: ydb-platform/ydb-java-sdk#303