Skip to content

Releases: ebean-orm/ebean

13.25.1

22 Nov 09:44
Compare
Choose a tag to compare

What's Changed

Full Changelog: 13.25.0...13.25.1

13.25.0

06 Nov 09:46
Compare
Choose a tag to compare

reason-for-version-bump

  • Fix to return DataSourceBuilder.Settings for getDataSourceConfig() an… by @rbygrave in #3264

Full Changelog: 13.24.0...13.25.0

13.24.0

05 Nov 10:07
Compare
Choose a tag to compare

reason-for-version-bump

  • Add DatabaseBuilder - builder patter to create Database by @rbygrave in #3263

What's Changed

  • Change loadMode to be 'safer' (for Grafana etc). e.g. change "(+lazy) " to "__lazy" by @rob-bygrave in #3259
  • Bump ebean-migration to 13.11.1 (with fastMode option and index file support) by @rbygrave in #3260
  • Improve the javadoc for deprecated methods (to assist IDE quick-fix actions) by @rbygrave in #3262

Full Changelog: 13.23.2...13.24.0

13.23.2

27 Oct 10:43
Compare
Choose a tag to compare

What's Changed

  • Use querybean-generator via provided scope rather than maven compiler plugin by @rbygrave in #3252
  • #3251 - QueryBeans: Entities can not have same name as some Ebean API… by @rbygrave in #3253
  • Use DIST with query plan capture for Yugabyte plus simplify by @rbygrave in #3254
  • Bump io.avaje:junit and bytebuddy version to support JDK 22+ by @rbygrave in #3255
  • Upgrade ANTLR4 from version 4.8-1 to 4.13.1 by @rob-bygrave in #3256

Full Changelog: 13.23.1...13.23.2

13.23.1

24 Oct 09:22
Compare
Choose a tag to compare

What's Changed

Full Changelog: 13.23.0...13.23.1

13.23.0

10 Oct 09:59
Compare
Choose a tag to compare

Reason-for-version-bump

  • Rename ebean-postgis -> ebean-postgis-types + add new composite ebean… by @rbygrave in #3231
  • Change SQL log to include executeBatch() via BatchedPstmt by @rbygrave in #3238

What's Changed

  • Deprecate ServletContextListener (for shutdown in servlet container) by @rbygrave in #3230
  • Add ebean-postgres-types to ebean-bom by @rbygrave in #3232
  • In version 13.22 if the entity definition is in a different package, … by @rbygrave in #3236
  • #3234 - Query Bean Generator Generates Non-Compilable Code When Entit… by @rbygrave in #3237
  • OneToOne with SoftDelete join missing deleted predicate by @rbygrave in #3240

Full Changelog: 13.22.1...13.23.0

13.22.1

06 Oct 09:31
Compare
Choose a tag to compare

What's Changed

Full Changelog: 13.22.0...13.22.1

12.16.2

07 Sep 03:04
Compare
Choose a tag to compare

What's Changed

  • [12x] Backport of fix for #3173 BeanSet init(), initClear() and BeanMap by @rbygrave in #3218

Full Changelog: ebean-parent-12.16.1...ebean-parent-12.16.2

13.22.0

30 Aug 10:55
Compare
Choose a tag to compare

Reason-for-version-bump

  • Add Query bean filterMany() taking a closure by @rbygrave in #3169
  • Follow up #3173 - Change BeanSet clear() with orphanRemoval to lazy load ALL properties (avoid 1+N) by @rbygrave in #3205

What's Changed

  • Remove extra space added to the generated SQL via the LIKE expression by @rbygrave in #3168
  • Refactor prefer char append by @rbygrave in #3170
  • FIX for filterMany with raw expression with single SQL query by @rbygrave in #3171
  • Add filterManyRaw() and Deprecate filterMany( ) by @rbygrave in #3172
  • Use char-append instead of String-append by @rPraml in #3174
  • For Lists.partition() fix for empty list input by @rbygrave in #3175
  • #3166 Remove InTuples literal mode by @rbygrave in #3177
  • BUG: Using a subquery with idEq or setId is missing the bind value by @jonasPoehler in #3180
  • Draft: Refactored delete-by-id by @rPraml in #3178
  • Experimental elliminate not in with too many params by @rPraml in #3179
  • When delete batching, use number of id properties by @rbygrave in #3182
  • #3183 - Fix for: Wrong limit using setMaxRows on delete between calls by @rbygrave in #3186
  • Update test only - TestDeleteCascadeById by @rbygrave in #3187
  • Bump to ebean-datasource 8.7 by @rbygrave in #3189
  • Refactor SpiEbeanServer to use SpiQuery by @rbygrave in #3190
  • #3188 Fix findFutureCount() when there is a current transaction in scope by @rbygrave in #3191
  • Refactor internal SpiEbeanServer API - transaction from SpiQuery by @rbygrave in #3192
  • Deprecate for removal Database.commitTransaction() and Database.rollb… by @rbygrave in #3195
  • Use ebean-parent as parent pom for composites and platforms by @rbygrave in #3196
  • Update ebean-agent to 13.22.0, required to support change in query bean generation by @rbygrave in #3197
  • #3173 - BeanSet lazy loading / Too many DataSource connections used by @rbygrave in #3203
  • Follow up #3173 - Add test for BeanSet clear() when hashCode/equals used by @rbygrave in #3204
  • Map.clear() on a @onetomany orphanRemoval=true invokes 1+N queries du… by @rbygrave in #3206

Full Changelog: 13.21.0...13.22.0

13.21.0

17 Aug 11:21
Compare
Choose a tag to compare

Reason for version bump

If using H2 in production, the H2 database will need an upgrade.

Enhancements

  • Add Query alsoIf() to conditionally apply changes to a query by @rbygrave in #3160
  • Add Lists.partition() helper method and use in DefaultPersister batch deletion by @rbygrave in #3163
  • [Postgres] Include buffers in Postgres explain - explain (analyze, buffers) by @rob-bygrave in #3138
  • Modify ebean-test H2Database setup to default KEY,VALUE as non-keywords by @rbygrave in #3131

What's Changed

  • #3123 Root cause error can be suppressed on initialisation by @rbygrave in #3130
  • Bump ebean-datasource to 8.6, increases validation timeout default to 30 secs by @rbygrave in #3140
  • #3134 - String cannot be cast to class io.ebean.bean.EntityBean" when deleting entities that use cascade = [CascadeType.ALL] with composite keys by @rbygrave in #3154
  • #3133 - For IdClass match on property name by @rbygrave in #3155
  • FIX: Query on formula m2o-property uses wrong alias: by @rPraml in #3145
  • FIX: Recursive batch flush can save beans in wrong order by @rPraml in #3148
  • Tidy IdBinderEmbedded final fields, StringBuilder sizes and reuse code by @rbygrave in #3157
  • Followup for #3133 - "Embedded id expansion on parentIds" for SQLServer and DB2 by @rbygrave in #3158
  • FIX: Rethrow error in commit path of callbacks by @rPraml in #3147
  • Change IdClass property name to _$IdClass$ by @rbygrave in #3159
  • Fix to #3133 changes for Postgres adding back support for MultiValue binding by @rbygrave in #3161
  • Tidy IdBinderEmbedded - merge use of getIdProperty() and idSelect() by @rbygrave in #3162
  • Add support for literal mode for InTuples with lots of entries by @rbygrave in #3165
  • BUG: Include drop for foreign keys without index when dropping table by @jonasPoehler in #3164
  • InTuples literal mode - don't cache ebean compiled query plan by @rob-bygrave in #3166

Full Changelog: 13.20.1...13.21.0