Skip to content

YOJ 2.9.0 (Table improvements)

Choose a tag to compare

@nvamelichev nvamelichev released this 28 Apr 16:55
· 21 commits to main since this release

❌ DO NOT USE THIS RELEASE! IT CAN CAUSE ISSUES WITH SUBCLASSING AbstractDelegatingTable
Use version 2.9.2 or higher.


API Changes

  • ❌ AbstractDelegatingTable now delegates to all Table methods, including default ones
    THIS CAUSES A FATAL ISSUE WITH SUBCLASSES OF AbstractDelegatingTable THAT OVERRIDE save() OR delete()

  • Table.postLoad() becomes non-default, and its arguments and result are explicitly specified as non-null
    ⚠️ This is a breaking API change for direct implementors of Table which now must override postLoad(), and those who called Internal YOJ API (Table.postLoad() is annotated @InternalApi) and expected it to handle null values

Improvements

  • (65743c1) Implement Table.bulkUpsert() for InMemoryTable

Bugfixes

  • (61b344e) FIX: YdbTable.bulkUpsert() didn't execute Entity.preSave()