YOJ 2.7.0 (API Cleanup)
Breaking API Changes
Breaking - Signature Change
- Require
T extends Entity<T>forListRequest<T>andGenericListResult<T, R> @YojTransactional.noRollbackFor: Allow some exceptions that don't cause a rollback
Breaking - APIs Permanently Removed
new RepositoryCache.Key(Class, Object)RepositoryCache.Key.getClazz()EntityIdSchema.SORT_ENTITY_BY_IDEntityIdSchema.getIdComparator(Class)InMemoryQueries.find(StreamSupplier, FilterExpression, OrderExpression, Integer, Long)
API Removal Rescheduled to 2.8.0
InMemoryTable.DbMemoryInMemoryRepositoryTransaction.getMemory(Class)
Legacy Behavior Removal Rescheduled to 3.0.0
EnumSerializer.LENIENTbeing the default
Dependency Updates
- Update to commons-text 1.10.0->1.14.0 with fix for CVE-2025-48924
Experimental API Improvements
#192: Improved Experimental API for ordering table queries and listings by index
- New naming and new enum type (instead of
orderByIndex/unorderedByIndex):
TableQueryBuilder.index("index name", IndexOrder.{UNORDERED|ASCENDING|DESCENDING}); - New naming (instead of
[with]OrderByIndex):ListRequest.withIndex("index name", SortOrder.{ASCENDING|DESCENDING});ListRequest.Builder.index("index name", SortOrder.{ASCENDING|DESCENDING});