From e3c425ba37264530bb7758b9cf5e27c97b909a1a Mon Sep 17 00:00:00 2001 From: Guillaume Le Cousin Date: Sun, 2 Jan 2022 09:57:23 +0100 Subject: [PATCH] v0.8.0 --- README.md | 23 +++++++++++-------- core/pom.xml | 2 +- .../simplemodel/AbstractTestSimpleModel.java | 2 +- h2/pom.xml | 2 +- jacoco-report-aggregate/pom.xml | 2 +- mysql/pom.xml | 2 +- pom.xml | 2 +- postgres/pom.xml | 2 +- test-junit-5/pom.xml | 2 +- test-spring-boot/pom.xml | 2 +- 10 files changed, 23 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index 2bd218a..c2b7627 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,14 @@ # lc-spring-data-r2dbc -net.lecousin.reactive-data-relational [![Maven Central](https://img.shields.io/maven-central/v/net.lecousin.reactive-data-relational/core.svg)](http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22net.lecousin.reactive-data-relational%22%20AND%20a%3A%22core%22) -[![Javadoc](https://img.shields.io/badge/javadoc-0.7.0-brightgreen.svg)](https://www.javadoc.io/doc/net.lecousin.reactive-data-relational/core/0.7.0) +[![Javadoc](https://img.shields.io/badge/javadoc-0.8.0-brightgreen.svg)](https://www.javadoc.io/doc/net.lecousin.reactive-data-relational/core/0.8.0) ![Build status](https://github.com/lecousin/lc-spring-data-r2dbc/actions/workflows/maven.yml/badge.svg?branch=master) + [![Codecov](https://codecov.io/gh/lecousin/lc-spring-data-r2dbc/branch/master/graph/badge.svg)](https://codecov.io/gh/lecousin/lc-spring-data-r2dbc/branch/master) +[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=lecousin_lc-spring-data-r2dbc&metric=coverage)](https://sonarcloud.io/summary/new_code?id=lecousin_lc-spring-data-r2dbc) +[![Bugs](https://sonarcloud.io/api/project_badges/measure?project=lecousin_lc-spring-data-r2dbc&metric=bugs)](https://sonarcloud.io/summary/new_code?id=lecousin_lc-spring-data-r2dbc) +[![Vulnerabilities](https://sonarcloud.io/api/project_badges/measure?project=lecousin_lc-spring-data-r2dbc&metric=vulnerabilities)](https://sonarcloud.io/summary/new_code?id=lecousin_lc-spring-data-r2dbc) +[![Code Smells](https://sonarcloud.io/api/project_badges/measure?project=lecousin_lc-spring-data-r2dbc&metric=code_smells)](https://sonarcloud.io/summary/new_code?id=lecousin_lc-spring-data-r2dbc) The goal this library is to provide basic ORM features not covered by [Spring Data R2DBC](https://github.com/spring-projects/spring-data-r2dbc). @@ -27,6 +31,7 @@ this library aims at providing the most useful features that are really missing - Delete with cascade - Composite Id - Sequence + - Insert multiple rows in a single INSERT request (except for MySql) - Schema generation, with indexes, foreign key constraints, sequences Features are detailed with examples in the [wiki section](https://github.com/lecousin/lc-spring-data-r2dbc/wiki) @@ -60,13 +65,13 @@ Maven net.lecousin.reactive-data-relational h2 - 0.7.0 + 0.8.0 ``` Gradle ```groovy -implementation group: 'net.lecousin.reactive-data-relational', name: 'h2', version: '0.7.0' +implementation group: 'net.lecousin.reactive-data-relational', name: 'h2', version: '0.8.0' ``` ### Postgres @@ -76,13 +81,13 @@ Maven net.lecousin.reactive-data-relational postgres - 0.7.0 + 0.8.0 ``` Gradle ```groovy -implementation group: 'net.lecousin.reactive-data-relational', name: 'postgres', version: '0.7.0' +implementation group: 'net.lecousin.reactive-data-relational', name: 'postgres', version: '0.8.0' ``` ### MySql @@ -92,13 +97,13 @@ Maven net.lecousin.reactive-data-relational mysql - 0.7.0 + 0.8.0 ``` Gradle ```groovy -implementation group: 'net.lecousin.reactive-data-relational', name: 'mysql', version: '0.7.0' +implementation group: 'net.lecousin.reactive-data-relational', name: 'mysql', version: '0.8.0' ``` ## Spring Boot configuration @@ -244,7 +249,7 @@ In order to make sure the initializer is launched before any test class is loade net.lecousin.reactive-data-relational test-junit-5 - 0.7.0 + 0.8.0 test ``` diff --git a/core/pom.xml b/core/pom.xml index a434d0d..31f882d 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -3,7 +3,7 @@ net.lecousin.reactive-data-relational parent - 0.7.0 + 0.8.0 core diff --git a/core/src/test/java/net/lecousin/reactive/data/relational/test/simplemodel/AbstractTestSimpleModel.java b/core/src/test/java/net/lecousin/reactive/data/relational/test/simplemodel/AbstractTestSimpleModel.java index b60e7d7..e86924e 100644 --- a/core/src/test/java/net/lecousin/reactive/data/relational/test/simplemodel/AbstractTestSimpleModel.java +++ b/core/src/test/java/net/lecousin/reactive/data/relational/test/simplemodel/AbstractTestSimpleModel.java @@ -961,7 +961,7 @@ public void testGetRequiredIdError() { @Test public void testInsertAndDeleteManyEntities() { - final int nb = lcClient.getSchemaDialect().isMultipleInsertSupported() ? 1000000 : 10000; + final int nb = lcClient.getSchemaDialect().isMultipleInsertSupported() ? 1000000 : 1000; lcClient.save(Flux.range(0, nb) .map(i -> { BooleanTypes entity = new BooleanTypes(); diff --git a/h2/pom.xml b/h2/pom.xml index afe9947..938efbc 100644 --- a/h2/pom.xml +++ b/h2/pom.xml @@ -3,7 +3,7 @@ net.lecousin.reactive-data-relational parent - 0.7.0 + 0.8.0 h2 diff --git a/jacoco-report-aggregate/pom.xml b/jacoco-report-aggregate/pom.xml index 098a919..89eab3e 100644 --- a/jacoco-report-aggregate/pom.xml +++ b/jacoco-report-aggregate/pom.xml @@ -3,7 +3,7 @@ net.lecousin.reactive-data-relational parent - 0.7.0 + 0.8.0 jacoco-report-aggregate pom diff --git a/mysql/pom.xml b/mysql/pom.xml index fce41f5..f09a7b9 100644 --- a/mysql/pom.xml +++ b/mysql/pom.xml @@ -3,7 +3,7 @@ net.lecousin.reactive-data-relational parent - 0.7.0 + 0.8.0 mysql diff --git a/pom.xml b/pom.xml index cc9b7f8..66664f9 100644 --- a/pom.xml +++ b/pom.xml @@ -2,7 +2,7 @@ 4.0.0 net.lecousin.reactive-data-relational parent - 0.7.0 + 0.8.0 pom net.lecousin.reactive-data-relational aka lc-spring-data-r2dbc diff --git a/postgres/pom.xml b/postgres/pom.xml index 9ebba94..6e86d57 100644 --- a/postgres/pom.xml +++ b/postgres/pom.xml @@ -3,7 +3,7 @@ net.lecousin.reactive-data-relational parent - 0.7.0 + 0.8.0 postgres diff --git a/test-junit-5/pom.xml b/test-junit-5/pom.xml index ac20fd8..bbfb4a6 100644 --- a/test-junit-5/pom.xml +++ b/test-junit-5/pom.xml @@ -3,7 +3,7 @@ net.lecousin.reactive-data-relational parent - 0.7.0 + 0.8.0 test-junit-5 diff --git a/test-spring-boot/pom.xml b/test-spring-boot/pom.xml index b586c30..afec499 100644 --- a/test-spring-boot/pom.xml +++ b/test-spring-boot/pom.xml @@ -3,7 +3,7 @@ net.lecousin.reactive-data-relational parent - 0.7.0 + 0.8.0 test-spring-boot