Skip to content

Commit

Permalink
Bump version to 2.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
arkanovicz committed Jul 3, 2022
1 parent 7022327 commit 02a795a
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 11 deletions.
2 changes: 1 addition & 1 deletion modality-api-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ under the License.
<parent>
<groupId>com.republicate.modality</groupId>
<artifactId>modality</artifactId>
<version>2.1.1</version>
<version>2.1.2</version>
</parent>

<artifactId>modality-api-client</artifactId>
Expand Down
8 changes: 5 additions & 3 deletions modality-core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Lightweight ORM for Java, providing:
+ works with any JDBC-compliant data source
+ instances (rows) can be mapped to any POJO
+ connections and prepared statements pooling
+ database schema versionning
+ database migration scripts

## Main Concepts

Expand Down Expand Up @@ -240,9 +240,9 @@ model.filters.write.*.html_* = -no_html
model.filters.read.*.html_* = escape_html
```

### Database schema versionning
### Database schema versioning

Modality provides a basic schema versionning feature.
Modality provides a basic schema versioning feature.

Migration scripts are specific to each database schema. They are searched in the `migations/$modelId` directory, which can be changed using the `model.migration_scripts` configuration property.

Expand All @@ -265,3 +265,5 @@ That's it. No checksum tests as in Flyway or Liquibase, which I found rather cou
Be aware that when using an engine which is not able to handle rollbacks of DDL statements (like `mysql` and `mariadb`), you will have to manually revert those if something wrong happens.

When updating a schema, if you are maintaining global creation scripts, you would typically add the `model_version` table and populate it with the considered scripts.

Note that for now, Modality requires the target schema to already exist.
2 changes: 1 addition & 1 deletion modality-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<parent>
<groupId>com.republicate.modality</groupId>
<artifactId>modality</artifactId>
<version>2.1.1</version>
<version>2.1.2</version>
</parent>

<artifactId>modality-core</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion modality-examples/modality-example-bookshelf/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ under the License.
<parent>
<groupId>com.republicate.modality</groupId>
<artifactId>modality-examples</artifactId>
<version>2.1.1</version>
<version>2.1.2</version>
</parent>

<artifactId>modality-example-bookshelf</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion modality-examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ under the License.
<parent>
<groupId>com.republicate.modality</groupId>
<artifactId>modality</artifactId>
<version>2.1.1</version>
<version>2.1.2</version>
</parent>

<artifactId>modality-examples</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion modality-webapp-auth/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ under the License.
<parent>
<groupId>com.republicate.modality</groupId>
<artifactId>modality</artifactId>
<version>2.1.1</version>
<version>2.1.2</version>
</parent>

<artifactId>modality-webapp-auth</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion modality-webapp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ under the License.
<parent>
<groupId>com.republicate.modality</groupId>
<artifactId>modality</artifactId>
<version>2.1.1</version>
<version>2.1.2</version>
</parent>

<artifactId>modality-webapp</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ under the License.

<groupId>com.republicate.modality</groupId>
<artifactId>modality</artifactId>
<version>2.1.1</version>
<version>2.1.2</version>

<packaging>pom</packaging>
<name>${project.groupId}:${project.artifactId}</name>
Expand Down
2 changes: 1 addition & 1 deletion velocity-tools-model/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ under the License.
<groupId>com.republicate.modality</groupId>
<artifactId>modality</artifactId>

<version>2.1.1</version>
<version>2.1.2</version>
</parent>

<artifactId>velocity-tools-model</artifactId>
Expand Down

0 comments on commit 02a795a

Please sign in to comment.