Releases: micronaut-projects/micronaut-data
Releases Β· micronaut-projects/micronaut-data
Micronaut Data v4.8.0
What's Changed
New Features π
- Support
@IdClass
and multiple@Id
by @dstepanov in #2871 - Support discriminator multitenancy by @dstepanov in #2876
- Initial addition of cursored pagination for SQL by @andriy-dmytruk in #2884
Bug Fixes π
- Support fetching non-unique ID entities without JOINs by @dstepanov in #2883
- Fix issue with building the CriteriaSort properly by @kareemelzayat in #2912
- Fix mongo aggregate projection by @radovanradic in #2950
- Transaction manager should catch
Throwable
by @dstepanov in #2954
Improvements β
- Reproduce query escape by @dstepanov in #2900
- Minor Improvement for Oracle JsonView optimistic locking by @radovanradic in #2915
Docs π
- jpamodelgen dependency must be updated in documentation by @shadai-rafael in #2921
- Additional example docs for programmatic transactions and repositories by @radovanradic in #2946
Dependency updates π
- fix(deps): update spring data by @renovate in #2877
- fix(deps): update dependency io.micronaut.spring:micronaut-spring-bom to v5.6.0 by @renovate in #2878
- chore(deps): update gradle/gradle-build-action action to v3.3.0 by @renovate in #2869
- fix(deps): update dependency org.springframework.boot:spring-boot-gradle-plugin to v3.2.5 by @renovate in #2897
- chore(deps): update gradle/gradle-build-action action to v3.3.1 by @renovate in #2895
- chore(deps): update gradle/wrapper-validation-action action to v3 by @renovate in #2880
- fix(deps): update dependency org.apache.groovy:groovy-dateutil to v4.0.21 by @renovate in #2874
- fix(deps): update dependency io.micronaut:micronaut-core-bom to v4.4.6 by @renovate in #2894
- fix(deps): update dependency io.micronaut:micronaut-core-bom to v4.4.7 by @renovate in #2928
- chore(deps): update plugin io.micronaut.build.shared.settings to v7 by @renovate in #2924
- chore(deps): update gradle/gradle-build-action action to v3.3.2 by @renovate in #2920
- fix(deps): update micronaut.testresources to v2.5.2 by @renovate in #2825
- fix(deps): update dependency org.springframework.data:spring-data-bom to v2024 by @renovate in #2948
- fix(deps): update dependency org.springframework.boot:spring-boot-gradle-plugin to v3.3.0 by @renovate in #2956
- fix(deps): update kotlin.coroutines to v1.8.1 by @renovate in #2941
- fix(deps): update spring data to v3.3.0 by @renovate in #2947
Other Changes π‘
- Support system/pseudo column as version field (ORA_ROWSCN) by @radovanradic in #2873
- Rollback PRs intended for 4.8.x by @dstepanov in #2882
- Revert "Rollback PRs intended for 4.8.x (#2882)" by @dstepanov in #2890
- replace .collect(Collectors.toList()) with toList by @sdelamo in #2905
- Add test and reflection metadata for Hibernate Reactive ManyToMany and ElementCollection by @radovanradic in #2919
- Fix json view to use expected identifier field name _id by @radovanradic in #2940
- Test cases for broken mapped entities by @rlconst in #2936
New Contributors
- @shadai-rafael made their first contribution in #2921
- @andriy-dmytruk made their first contribution in #2884
Full Changelog: v4.7.0...v4.8.0
Micronaut Data 4.7.1
What's Changed
Other Changes π‘
- fix: issue with building the CriteriaSort properly (#2912)
- Fix mongo aggregate projection (#2950)
- Test cases for broken mapped entities (#2936)
- Transaction manager should catch
Throwable
(#2954) - Additional example docs for programmatic transactions and repositories (#2946)
- Support
@IdClass
and multiple@Id
by @dstepanov in #2871 - Support system/pseudo column as version field (ORA_ROWSCN) by @radovanradic in #2873
Docs π
- docs: clarify how to add annotation processor dependencies for Kotlin and Groovy projects. by @wetted in #2910
- docs: note that TransactionalEventListener annotation is not supported for reactive transactions by @wetted in #2909
- Restore missing image by cherry picking from gh-pages/latest. by @wetted in #2925
Full Changelog: v4.7.0...v4.7.1
Micronaut Data 4.7.0
What's Changed
Other Changes π‘
- Apply count distinct to the criteria query when specified in the paging count query by @radovanradic in #2766
- Another fix using coroutine criteria executor with Hibernate by @dstepanov in #2786
- Fix the set Offset on JPA/Hibernate by @kareemelzayat in #2791
- fix the getOrders() method by @kareemelzayat in #2829
- Parameter expressions by @dstepanov in #2688
Bug Fixes π
- Fix using coroutine criteria executor with Hibernate by @dstepanov in #2775
- Fix DTO projection with embedded id in JPA by @radovanradic in #2794
- add explicit handling of JDBC type for Oracle boolean type by @graemerocher in #2852
Improvements β
- Diamonds by @altro3 in #2817
- Add missing
@Override
annotation by @altro3 in #2815 - Migrate to switch statements by @altro3 in #2816
- Remove unnecessary fully qualified names by @altro3 in #2812
- Remove redundant cast by @altro3 in #2818
- Remove redundant default constructor by @altro3 in #2813
- Remove redundant throws by @altro3 in #2814
- Java 17 Pattern matching by @altro3 in #2807
Docs π
- Proofreading by @altro3 in #2819
- doc: mention the validation requirement for auto-timestamps by @timyates in #2853
Dependency updates π
- fix(deps): update kotlin.coroutines to v1.8.0 by @renovate in #2796
- fix(deps): update dependency org.apache.groovy:groovy-dateutil to v4.0.20 by @renovate in #2827
- Update versions by @sdelamo in #2867
Spring Data
- fix(deps): update spring data by @renovate in #2799
- fix(deps): update spring data by @renovate in #2840
Kotlin
KSP
- fix(deps): update dependency com.google.devtools.ksp:symbol-processing-gradle-plugin to v1.9.23-1.0.19 by @renovate in #2821
- fix(deps): update dependency com.google.devtools.ksp:symbol-processing-gradle-plugin to v1.9.23-1.0.20 by @renovate in #2863
Micronaut Modules
Micronaut Core
- fix(deps): update dependency io.micronaut:micronaut-core-bom to v4.3.3 by @renovate in #2771
- fix(deps): update dependency io.micronaut:micronaut-core-bom to v4.3.4 by @renovate in #2782
- fix(deps): update dependency io.micronaut:micronaut-core-bom to v4.3.9 by @renovate in #2788
- fix(deps): update dependency io.micronaut:micronaut-core-bom to v4.4.0 by @renovate in #2830
- fix(deps): update dependency io.micronaut:micronaut-core-bom to v4.4.1 by @renovate in #2865
Micronaut Serialization
- fix(deps): update dependency io.micronaut.serde:micronaut-serde-bom to v2.8.1 by @renovate in #2772
- fix(deps): update dependency io.micronaut.serde:micronaut-serde-bom to v2.8.2 by @renovate in #2837
Micronaut Spring
- fix(deps): update dependency io.micronaut.spring:micronaut-spring-bom to v5.4.1 by @renovate in #2795
- fix(deps): update dependency io.micronaut.spring:micronaut-spring-bom to v5.5.0 by @renovate in #2833
Micronaut SQL
- fix(deps): update dependency io.micronaut.sql:micronaut-sql-bom to v5.5.0 by @renovate in #2773
- fix(deps): update dependency io.micronaut.sql:micronaut-sql-bom to v5.5.1 by @renovate in #2792
- fix(deps): update dependency io.micronaut.sql:micronaut-sql-bom to v5.5.2 by @renovate in #2850
Micronaut Validation
- fix(deps): update dependency io.micronaut.validation:micronaut-validation-bom to v4.4.0 by @renovate in #2769
- fix(deps): update dependency io.micronaut.validation:micronaut-validation-bom to v4.4.4 by @renovate in #2824
Micronaut MongoDB
- fix(deps): update dependency io.micronaut.mongodb:micronaut-mongo-bom to v5.3.0 by @renovate in #2859
Micronaut Logging
- fix(deps): update dependency io.micronaut.logging:micronaut-logging-bom to v1.2.3 by @renovate in #2785
Micronaut Azure
- fix(deps): update dependency io.micronaut.azure:micronaut-azure-cosmos to v5.3.1 by @renovate in #2838
Micronaut Test Resources
- fix(deps): update micronaut.testresources to v2.3.2 by @renovate in #2767
- fix(deps): update micronaut.testresources to v2.3.3 by @renovate in #2776
CI βοΈBuild π
- chore(deps): update gradle/gradle-build-action action to v3.2.0 by @renovate in #2866
- Testcontainers via test-resources version catalog by @wetted in #2777
Gradle
GraalVM
Spring Gradle Plugin
- fix(deps): update dependency org.springframework.boot:spring-boot-gradle-plugin to v3.2.3 by @renovate in #2805
- fix(deps): update dependency org.springframework.boot:spring-boot-gradle-plugin to v3.2.4 by @renovate in #2845
Micronaut Build Plugin
- chore(deps): update plugin io.micronaut.build.shared.settings to v6.6.4 by @renovate in #2822
- chore(deps): update plugin io.micronaut.build.shared.settings to v6.7.0 by @renovate in #2841
Micronaut Gradle Plugin
- fix(deps): update dependency io.micronaut.gradle:micronaut-gradle-plugin to v4.3.1 by @renovate in #2779
- fix(deps): update dependency io.micronaut.gradle:micronaut-gradle-plugin to v4.3.2 by @renovate in #2784
- fix(deps): update dependency io.micronaut.gradle:micronaut-gradle-plugin to v4.3.3 by @renovate in #2801
- fix(deps): update dependency io.micronaut.gradle:micronaut-gradle-plugin to v4.3.5 by @renovate in #2823
- fix(deps): update dependency io.micronaut.gradle:micronaut-gradle-plugin to v4.3.6 by @renovate in #2864
Full Changelog: v4.6.2...v4.7.0
Micronaut Data 4.6.2
What's Changed
Bug Fixes π
- Fix DTO projection with embedded id in JPA by @radovanradic in #2794
- Fix the set Offset on JPA/Hibernate by @kareemelzayat in #2791
Full Changelog: v4.6.1...v4.6.2
Micronaut Data 4.6.1
What's Changed
Bug Fixes π
- Fix using coroutine criteria executor with Hibernate by @dstepanov in #2775
Other Changes π‘
- Apply count distinct to the criteria query when specified in the paging count query by @radovanradic in #2766
- Another fix using coroutine criteria executor with Hibernate by @dstepanov in #2786
Full Changelog: v4.6.0...v4.6.1
Micronaut Data 4.6.0
What's Changed
Dependency updates π
Micronaut Modules
Micronaut Core
- fix(deps): update dependency io.micronaut:micronaut-core-bom to v4.3.0 by @renovate in #2754
- fix(deps): update dependency io.micronaut:micronaut-core-bom to v4.3.1 by @renovate in #2757
Micronaut Serialization
Micronaut Azure
- fix(deps): update dependency io.micronaut.azure:micronaut-azure-cosmos to v5.2.0 by @renovate in #2748
- fix(deps): update dependency io.micronaut.azure:micronaut-azure-cosmos to v5.3.0 by @renovate in #2758
Micronaut Flyway
- fix(deps): update dependency io.micronaut.flyway:micronaut-flyway-bom to v7.1.0 by @renovate in #2756
Micronaut r2dbc
Micronaut Logging
- fix(deps): update dependency io.micronaut.logging:micronaut-logging-bom to v1.2.2 by @renovate in #2749
Micronaut validation
- fix(deps): update dependency io.micronaut.validation:micronaut-validation-bom to v4.3.0 by @renovate in #2751
CI βοΈBuild π
- chore(deps): update gradle/gradle-build-action action to v2.12.0 by @renovate in #2760
- chore(deps): update gradle/wrapper-validation-action action to v2 by @renovate in #2762
Full Changelog: v4.5.0...v4.6.0
Micronaut Data 4.5.0
What's Changed
Bug Fixes π
- Handle null Specification parameter in repository methods by @radovanradic in #2735
- Fix parameter binding for countBy queries by @radovanradic in #2741
Other Changes π‘
- Use oracle database ojdbc dependency from micronaut-sql by @radovanradic in #2685
- Use JPA's criteria implementation if possible by @dstepanov in #2702
- Avoid marking transient fields as ignored for the introspection by @dstepanov in #2715
- Issue 2710: Add inList as a Kotlin Criteria Function by @kareemelzayat in #2723
- Apply distinct count in criteria find when specified by @radovanradic in #2696
- Add Kotlin Criteria API that implements QuerySpecification by @elzayakm in #2726
Docs π
- Fix warnings and errors with asciidoc generation. by @wetted in #2641
- doc - to use Criteria API you need the dependency jakarta.persistence-api by @wetted in #2649
- Add links to guides for Micronaut Data by @wetted in #2684
- Fix NamingStrategies javadoc and add note for hibernate join collection tests by @radovanradic in #2728
Dependency updates π
- fix(deps): update dependency org.apache.groovy:groovy-dateutil to v4.0.17 by @renovate in #2701
- fix(deps): update micronaut.testresources to v2.3.1 by @renovate in #2700
- fix(deps): update dependency org.apache.groovy:groovy-dateutil to v4.0.18 by @renovate in #2743
Spring Data
- fix(deps): update spring data by @renovate in #2718
- fix(deps): update spring data by @renovate in #2692
Kotlin
- fix(deps): update kotlin monorepo to v1.9.22 by @renovate in #2699
- fix(deps): update dependency com.google.devtools.ksp:symbol-processing-gradle-plugin to v1.9.22-1.0.17 by @renovate in #2742
- fix(deps): update dependency com.google.devtools.ksp:symbol-processing-gradle-plugin to v1.9.21-1.0.16 by @renovate in #2690
- fix(deps): update dependency com.google.devtools.ksp:symbol-processing-gradle-plugin to v1.9.22-1.0.16 by @renovate in #2703
Micronaut Modules
Micronaut Core
- fix(deps): update dependency io.micronaut:micronaut-core-bom to v4.2.1 by @renovate in #2677
- fix(deps): update dependency io.micronaut:micronaut-core-bom to v4.2.2 by @renovate in #2691
- fix(deps): update dependency io.micronaut:micronaut-core-bom to v4.2.3 by @renovate in #2709
Micronaut MongoDB
- fix(deps): update dependency io.micronaut.mongodb:micronaut-mongo-bom to v5.2.0 by @renovate in #2719
Micronaut Multi-Tenancy
- fix(deps): update dependency io.micronaut.multitenancy:micronaut-multitenancy-bom to v5.2.1 by @renovate in #2732
Micronaut SQL
- fix(deps): update dependency io.micronaut.sql:micronaut-sql-bom to v5.4.1 by @renovate in #2746
- fix(deps): update dependency io.micronaut.sql:micronaut-sql-bom to v5.4.0 by @renovate in #2683
Micronaut Serialization
- fix(deps): update dependency io.micronaut.serde:micronaut-serde-bom to v2.5.0 by @renovate in #2686
- fix(deps): update dependency io.micronaut.serde:micronaut-serde-bom to v2.5.1 by @renovate in #2687
- fix(deps): update dependency io.micronaut.serde:micronaut-serde-bom to v2.7.0 by @renovate in #2720
Micronaut RxJava2
- fix(deps): update dependency io.micronaut.rxjava2:micronaut-rxjava2-bom to v2.2.0 by @renovate in #2679
- fix(deps): update dependency io.micronaut.rxjava2:micronaut-rxjava2-bom to v2.2.1 by @renovate in #2716
Micronaut Kotin
- fix(deps): update dependency io.micronaut.kotlin:micronaut-kotlin-bom to v4.2.0 by @renovate in #2745
Micronaut Logging
- fix(deps): update dependency io.micronaut.logging:micronaut-logging-bom to v1.2.0 by @renovate in #2676
- fix(deps): update dependency io.micronaut.logging:micronaut-logging-bom to v1.2.1 by @renovate in #2712
Micronaut Spring
- fix(deps): update dependency io.micronaut.spring:micronaut-spring-bom to v5.4.0 by @renovate in #2731
Micronaut Flyway
- fix(deps): update dependency io.micronaut.flyway:micronaut-flyway-bom to v6.3.0 by @renovate in #2717
- fix(deps): update dependency io.micronaut.flyway:micronaut-flyway-bom to v7 by @renovate in #2733
Micronaut Reactor
- fix(deps): update dependency io.micronaut.reactor:micronaut-reactor-bom to v3.2.0 by @renovate in #2678
- fix(deps): update dependency io.micronaut.reactor:micronaut-reactor-bom to v3.2.1 by @renovate in #2714
CI βοΈBuild π
Spring Boot Gradle Plugin
- fix(deps): update dependency org.springframework.boot:spring-boot-gradle-plugin to v3.2.2 by @renovate in #2744
- fix(deps): update dependency org.springframework.boot:spring-boot-gradle-plugin to v3.2.1 by @renovate in #2698
Micronaut Build Plugin
Micronaut Gradle Plugin
- fix(deps): update dependency io.micronaut.gradle:micronaut-gradle-plugin to v4.2.1 by @renovate in #2681
New Contributors
- @kareemelzayat made their first contribution in #2723
- @elzayakm made their first contribution in #2726
Full Changelog: v4.4.0...v4.5.0
Micronaut Data 4.4.1
What's Changed
Other Changes π‘
- Upgrade to core 4.2.1 for patch release. by @radovanradic in #2689
Full Changelog: v4.4.0...v4.4.1
Micronaut Data 4.4.0
What's Changed
Docs π
- Add links to clarify What's New 4.2.0 items. by @wetted in #2650
- Update docs for mongodb package-names by @radovanradic in #2665
Dependency updates π
- fix(deps): update micronaut.testresources to v2.2.0 by @renovate in #2645
- fix(deps): update dependency io.spring.gradle:dependency-management-plugin to v1.1.4 by @renovate in #2640
- fix(deps): update dependency io.micronaut.gradle:micronaut-gradle-plugin to v4.2.0 by @renovate in #2643
- fix(deps): update dependency io.micronaut.serde:micronaut-serde-bom to v2.4.0 by @renovate in #2646
- fix(deps): update dependency io.micronaut.validation:micronaut-validation-bom to v4.2.0 by @renovate in #2647
- fix(deps): update dependency io.micronaut.spring:micronaut-spring-bom to v5.2.0 by @renovate in #2648
- fix(deps): update dependency org.testcontainers:testcontainers-bom to v1.19.2 by @renovate in #2651
- fix(deps): update dependency io.micronaut.r2dbc:micronaut-r2dbc-bom to v5.2.0 by @renovate in #2653
- fix(deps): update dependency io.micronaut.spring:micronaut-spring-bom to v5.3.0 by @renovate in #2655
- fix(deps): update dependency org.testcontainers:testcontainers-bom to v1.19.3 by @renovate in #2657
- fix(deps): update spring data by @renovate in #2654
- fix(deps): update dependency io.micronaut.multitenancy:micronaut-multitenancy-bom to v5.2.0 by @renovate in #2658
- fix(deps): update kotlin monorepo to v1.9.21 by @renovate in #2661
- fix(deps): update dependency com.google.devtools.ksp:symbol-processing-gradle-plugin to v1.9.21-1.0.15 by @renovate in #2666
- fix(deps): update dependency org.apache.groovy:groovy-dateutil to v4.0.16 by @renovate in #2671
- fix(deps): update dependency io.micronaut.sql:micronaut-sql-bom to v5.3.0 by @renovate in #2670
- fix(deps): update micronaut.testresources to v2.3.0 by @renovate in #2674
Other Changes π‘
- @Version type should support primitive by @JaneWardSandy in #2652
New Contributors
- @JaneWardSandy made their first contribution in #2652
Full Changelog: v4.3.1...v4.4.0
Micronaut Data 4.3.1
What's Changed
Bug Fixes π
- Fix inner TX synchronization invocation by @dstepanov in #2642
Full Changelog: v4.3.0...v4.3.1