Releases: micronaut-projects/micronaut-data
Releases · micronaut-projects/micronaut-data
Micronaut Data 3.4.1
What's Changed
Regressions 🧐
- Fix regression with Enums not being persisted using
toString
by @dstepanov in #1531
Other Changes 💡
- Add regressions to release notes by @dstepanov in #1532
Full Changelog: v3.4.0...v3.4.1
- Regression: Enums should be stored as
String
usingtoString
method (JDB) (#1530)
Micronaut Data 3.4.0
What's Changed
New Features 🎉
- Support Postgres enums for JDBC by @dstepanov in #1501
- Update R2DBC to
1.0.0.RELEASE
by @dstepanov in #1508 - Implement pagination for reactive repositories and specifications by @dstepanov in #1512
- Implement pagination for async, coroutines repositories and specifications by @dstepanov in #1522
Bug Fixes 🐞
- Correct using custom save and deleteBy methods by @dstepanov in #1437
- Allow using multiple projections by @dstepanov in #1436
- Fix double order by by @dstepanov in #1434
- Fix MongoDB custom query with multiple parameters by @dstepanov in #1498
- Correct MongoDB database name mapping by @dstepanov in #1499
- Fix compilation flakiness by @melix in #1514
- Correct
findAll
projection for R2DBC by @dstepanov in #1513 - Fix
getPersistentPropertyNames
regression introduced in 3.4 by @dstepanov in #1525
Improvements ⭐
- Bump Spring versions to avoid CVE warnings by @graemerocher in #1418
- Transaction management improvements and Kotlin synchronous TX propagation in coroutines by @dstepanov in #1439
- Limit results for Hibernate's
findOne
method by @dstepanov in #1500
Docs 📖
- fixes 2 javadoc links by @burtbeckwith in #1505
Dependency updates 🚀
- Bump mikepenz/action-junit-report from 3.0.1 to 3.0.2 by @dependabot in #1435
- chore(deps): update dependency io.micronaut.gradle:micronaut-gradle-plugin to v3.3.2 by @renovate in #1453
- chore(deps): update dependency org.springframework.boot:spring-boot-gradle-plugin to v2.6.7 by @renovate in #1460
- chore(deps): update dependency com.oracle.database.jdbc:ojdbc8 to v21.5.0.0 by @renovate in #1465
- chore(deps): update spring core to v5.3.19 by @renovate in #1464
- chore(deps): update org.jetbrains.kotlin to v1.6.21 by @renovate in #1463
- chore(deps): update io.micronaut.serde to v1.0.1 by @renovate in #1461
- chore(deps): update dependency io.micronaut.gradle:micronaut-gradle-plugin to v3.4.0 by @renovate in #1466
- chore(deps): update dependency org.mariadb.jdbc:mariadb-java-client to v2.7.5 by @renovate in #1459
- chore(deps): update dependency org.codehaus.groovy:groovy-dateutil to v3.0.10 by @renovate in #1458
- chore(deps): update dependency org.postgresql:postgresql to v42.3.4 by @renovate in #1469
- chore(deps): update dependency org.testcontainers:testcontainers-bom to v1.17.1 by @renovate in #1470
- chore(deps): update dependency mysql:mysql-connector-java to v8.0.29 by @renovate in #1457
- chore(deps): update hibernate core to v5.6.8.final by @renovate in #1471
- chore(deps): update io.micronaut.sql to v4.3.0 by @renovate in #1472
- chore(deps): update org.openjdk.jmh to v1.35 by @renovate in #1474
- chore(deps): update dependency org.postgresql:postgresql to v42.3.5 by @renovate in #1488
- chore(deps): update spring core to v5.3.20 by @renovate in #1507
- chore(deps): update spring data to v2.6.4 by @renovate in #1475
- chore(deps): update mongodb to v4.6.0 by @renovate in #1490
- chore(deps): update hibernate core to v5.6.9.final by @renovate in #1520
- chore(deps): update micronaut-sql to v4.4.0 by @renovate in #1518
Other Changes 💡
- 3.3.2-SNAPSHOT by @sdelamo in #1414
- Create release.yml by @dstepanov in #1526
- Update release.yml by @dstepanov in #1528
New Contributors
- @renovate made their first contribution in #1453
- @burtbeckwith made their first contribution in #1505
Full Changelog: v3.3.1...v3.4.0
Micronaut Data 3.3.1
v3.3.1 (2022-03-23)
Merged pull requests:
- [data] Update common files for branch master #1401 (@micronaut-build)
- [data] Update common files for branch master #1396 (@micronaut-build)
- [data] Update common files for branch master #1395 (@micronaut-build)
- [data] Update common files for branch master #1392 (@micronaut-build)
What's Changed
- [data] Update common files for branch master by @micronaut-build in #1392
- [data] Update common files for branch master by @micronaut-build in #1395
- [data] Update common files for branch master by @micronaut-build in #1396
- [data] Update common files for branch master by @micronaut-build in #1401
- Exclude TCK from BOM by @timyates in #1404
New Contributors
Full Changelog: v3.3.0...v3.3.1
Micronaut Data 3.3.0
What's Changed
- [data] Update common files for branch master by @micronaut-build in #1244
- Don't expand queries for JSON lists by @dstepanov in #1264
- Fix update batch with IN by @dstepanov in #1266
- Disable MySql hanging tests on GraalVM JVM by @dstepanov in #1268
- Use R2DBC Arabba-SR12 and OracleDB R2DBC 0.4.0 by @dstepanov in #1267
- Fix incorrect multiple join query when selecting by entity identity by @dstepanov in #1272
- Fix invalid handling of AND/OR conjunctions/disjunctions by @dstepanov in #1273
- MongoDB implementation by @dstepanov in #1262
- Add Gradle Enterprise badge by @alextu in #1275
- fix introspection lookups missing isPresent() check by @graemerocher in #1279
- rename packages and modules to mongodb by @graemerocher in #1281
- Fix join query when filtering by foreign key joined entity property by @Paullo612 in #1283
- Allow not to use a transaction per operation by @dstepanov in #1277
- Gradle refactoring and migration to catalog by @dstepanov in #1284
- Propagate TX context in Kotlin coroutines by @dstepanov in #1274
- Fix GraalVM warning by @ilopmar in #1288
- Bump application plugin and sql by @dstepanov in #1286
- Correct benchmarks builds by @dstepanov in #1287
- Add 3.3 whats new by @dstepanov in #1289
- do not add inject-java as implementation dependency by @graemerocher in #1291
- Fix transformer alias escape by @dstepanov in #1298
- Update documentation with @TransactionalAdvice by @zsiegel in #1303
- Return correct nullable results for Kotlin by @dstepanov in #1302
- [data] Update common files for branch master by @micronaut-build in #1312
- Small perf improvement. Use
BeanIntrospection
's string switch lookup instead ofHashMap
inRuntimePersistentEntity
. by @dstepanov in #1314 - Reactive Mongo implementation by @dstepanov in #1311
- Allow specifying MongoDB's database name using annotation by @dstepanov in #1315
- Introduce Mongo stored and prepared queries to precache Mongo specific value. by @dstepanov in #1317
- Character should be converted to a String for JDBC/R2DBC by @dstepanov in #1320
- [data] Update common files for branch master by @micronaut-build in #1322
- Correct Micronaut serialization usage by @dstepanov in #1327
- Implement JPA criteria IN operator with custom values by @dstepanov in #1329
- [data] Update common files for branch master by @micronaut-build in #1333
- Update jdbcQuickStart.adoc to bump Jakarta versión to v3.0.0 by @alejandropg in #1335
- [data] Update common files for branch master by @micronaut-build in #1339
- [data] Update common files for branch master by @micronaut-build in #1340
- Test for #1334 by @dstepanov in #1348
- [data] Update common files for branch master by @micronaut-build in #1346
- Test for #1323 by @dstepanov in #1349
- Fix composite id by @dstepanov in #1350
- MongoDB queries customization by @dstepanov in #1337
- Fix JDBC arrays in constructor by @dstepanov in #1352
- [data] Update common files for branch master by @micronaut-build in #1351
- Mongo's
MongoQueryExecutor
by @dstepanov in #1353 - Fix Sonar bugs by @dstepanov in #1355
- Allow escaping variable identifier by @dstepanov in #1356
- Micronaut Serialization RC by @dstepanov in #1357
- Fix custom query by @dstepanov in #1361
- [data] Update common files for branch master by @micronaut-build in #1364
- ci: checkout v3 by @micronaut-build in #1369
- build: update build plugin to 5.2.3 by @sdelamo in #1374
- [data] Update common files for branch master by @micronaut-build in #1375
- [data] Update common files for branch master by @micronaut-build in #1379
- Enable disabled tests and correct Oracle query by @dstepanov in #1384
- rename root project name to -parent by @sdelamo in #1373
- Fix combination of pageable and
for update
by @dstepanov in #1386 - Correct Core branch by @dstepanov in #1388
- Update libs by @dstepanov in #1387
- Fix incorrect join by @dstepanov in #1391
- Correct JPA sorting by @dstepanov in #1390
- Fix embedded mapping for MongoDB by @dstepanov in #1393
New Contributors
- @alextu made their first contribution in #1275
- @Paullo612 made their first contribution in #1283
- @alejandropg made their first contribution in #1335
Full Changelog: v3.2.2...v3.3.0
Micronaut Data 3.3.0-RC1
[v3.3.0-RC1(https://github.com/micronaut-projects/micronaut-data/tree/v3.3.0-RC1) (2022-03-01)
Implemented enhancements:
- Add support for specifying the database and collection on the repository #1308
- Add a MongoQueryExecutor interface that you can extend from #1306
- Add support for Reactive repositories with MongoDB #1305
- Allow specifying the database name to the
@MongoRepository
annotation #1292
Fixed bugs:
- do not add inject-java as implementation dependency #1291 (@graemerocher)
Closed issues:
- the document of finderpattern svg not found #1358
- Colons in SQL strings in native queries doesn't work and can't be escaped (Postgres) #1354
save\(anEntity\)
doesn't result in a record in the database when run in unit test #1347- repository findBy* broken for entities with IdClass #1344
- Empty Postgres array e.g.
{}
inVARCHAR\(255\) \[\]
interpreted as Java'snew String\[\] { "{}" }
. #1334 - Select for Update default implementation in
AbstractSqlLikeQueryBuilder
#1330 - [Bug] Wrong covertion enums to characters if use micronaut-jdbc #1313
- Jdbc CoroutineCrudRepository does not handle nullable return types #1297
- Respositories with Criteria API converts ORed predicates into ANDs at query generation time #1296
- Mongo Integration: java.lang.IllegalStateException: Read only 0 bytes #1295
@ColumnTransformer
acts strange when a non-placeholder variant of@
is in the string #1294- Add R2DBC Postgres Health Indicator #1239
- Hibernate native image start fails due to entities with enums #1046
Merged pull requests:
- Micronaut Serialization RC #1357 (@dstepanov)
- Allow escaping variable identifier #1356 (@dstepanov)
- Fix Sonar bugs #1355 (@dstepanov)
- Mongo's
MongoQueryExecutor
#1353 (@dstepanov) - Fix JDBC arrays in constructor #1352 (@dstepanov)
- [data] Update common files for branch master #1351 (@micronaut-build)
- Fix composite id #1350 (@dstepanov)
- Test for #1323 #1349 (@dstepanov)
- Test for #1334 #1348 (@dstepanov)
- [data] Update common files for branch master #1346 (@micronaut-build)
- [data] Update common files for branch master #1340 (@micronaut-build)
- [data] Update common files for branch master #1339 (@micronaut-build)
- MongoDB queries customization #1337 (@dstepanov)
- Update jdbcQuickStart.adoc to bump Jakarta versión to v3.0.0 #1335 (@alejandropg)
- [data] Update common files for branch master #1333 (@micronaut-build)
- Implement JPA criteria IN operator with custom values #1329 (@dstepanov)
- Correct Micronaut serialization usage #1327 (@dstepanov)
- [data] Update common files for branch master #1322 (@micronaut-build)
- Character should be converted to a String for JDBC/R2DBC #1320 (@dstepanov)
- Introduce Mongo stored and prepared queries to precache Mongo specific value. #1317 (@dstepanov)
- Allow specifying MongoDB's database name using annotation #1315 (@dstepanov)
- Small perf improvement. Use
BeanIntrospection
's string switch lookup instead ofHashMap
inRuntimePersistentEntity
. #1314 (@dstepanov) - [data] Update common files for branch master #1312 (@micronaut-build)
- Reactive Mongo implementation #1311 (@dstepanov)
- Update documentation with @TransactionalAdvice #1303 (@zsiegel)
- Return correct nullable results for Kotlin #1302 (@dstepanov)
- Fix transformer alias escape #1298 (@dstepanov)
Micronaut Data 3.3.0-M1
What's Changed
- [data] Update common files for branch master by @micronaut-build in #1244
- Don't expand queries for JSON lists by @dstepanov in #1264
- Fix update batch with IN by @dstepanov in #1266
- Disable MySql hanging tests on GraalVM JVM by @dstepanov in #1268
- Use R2DBC Arabba-SR12 and OracleDB R2DBC 0.4.0 by @dstepanov in #1267
- Fix incorrect multiple join query when selecting by entity identity by @dstepanov in #1272
- Fix invalid handling of AND/OR conjunctions/disjunctions by @dstepanov in #1273
- MongoDB implementation by @dstepanov in #1262
- Add Gradle Enterprise badge by @alextu in #1275
- fix introspection lookups missing isPresent() check by @graemerocher in #1279
- rename packages and modules to mongodb by @graemerocher in #1281
- Fix join query when filtering by foreign key joined entity property by @Paullo612 in #1283
- Allow not to use a transaction per operation by @dstepanov in #1277
- Gradle refactoring and migration to catalog by @dstepanov in #1284
- Propagate TX context in Kotlin coroutines by @dstepanov in #1274
- Fix GraalVM warning by @ilopmar in #1288
- Bump application plugin and sql by @dstepanov in #1286
- Correct benchmarks builds by @dstepanov in #1287
- Add 3.3 whats new by @dstepanov in #1289
New Contributors
- @alextu made their first contribution in #1275
- @Paullo612 made their first contribution in #1283
Full Changelog: v3.2.2...v3.3.0-M1
Micronaut Data 3.2.2
v3.2.2 (2021-12-20)
Fixed bugs:
- @embeddable object can't be retrieved when having @nullable fields #1245
- Using @where on entity or repository does not work with overriden repository methods #1237
Closed issues:
- Micronaut-jdbc doesn't cascade one-to-many for Embeddable entities #1173
Merged pull requests:
- Fix missing embedded beans #1248 (@dstepanov)
- Allow to persist cascade for non-null embedded id #1242 (@dstepanov)
- Fix reactive/async
findById
for entities with@Where
#1238 (@dstepanov)
Micronaut Data 3.2.1
v3.2.1 (2021-12-07)
Fixed bugs:
- Problems with the Micronaut Data @where since the last update #1233
- javax.persistence.OptimisticLockException: Batch update returned unexpected row count from update after upgrading to Micronaut 3.1+ #1230
- NPE when returning NULL from Specification implementing PageableRepository, JpaSpecificationExecutor #1224
Closed issues:
- InvalidPathException when using join in Specification implementing PageableRepository, JpaSpecificationExecutor #1225
Merged pull requests:
- Disable runtime version incrementer for Hibernate #1236 (@dstepanov)
- Fix setting null Hibernate query values #1235 (@dstepanov)
- Fix JPA specification bugs #1234 (@dstepanov)
- Fix GraalVM warning #1232 (@ilopmar)
- Fix NPE when returning NULL from Specification implementing PageableRepository #1226 (@dstepanov)
- Use interface default methods in Kotlin example #1222 (@dstepanov)
- Docs: Fix MySQL and MariaDB R2DBC dependencies #1221 (@debuglevel)
- [data] Update common files for branch master #1217 (@micronaut-build)
Micronaut Data 3.2.0
v3.2.0 (2021-11-19)
Fixed bugs:
Closed issues:
- Generate Nullable relation to manage Zero-To-One relation #1213
Merged pull requests:
- Expandable parameters in queries #1219 (@dstepanov)
- Fix GraalVM warnings regarding Oracle converters #1215 (@ilopmar)
- Criteria API #1198 (@dstepanov)
Micronaut Data 3.1.2
v3.1.2 (2021-11-02)
Closed issues:
- ORDER-BY with joined properties #1209
- Micronaut-jpa cascade won't set parent id for child entity #1208
- micronaut-data jdbc throws an exception when @Version is used in a Record #1207
Merged pull requests:
- Fix JPA order by #1211 (@dstepanov)
- Disable
autoApply
Converter
check #1203 (@dstepanov)