Skip to content

Commit

Permalink
5.1.0.RELEASE.20231011
Browse files Browse the repository at this point in the history
  • Loading branch information
JesusHdez960717 committed Oct 11, 2023
1 parent d52aa69 commit 600746c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
* 5.1.0.RELEASE.20231011:
* **GENERAL** :
* **FIX** :bug: : Fix `5.0.1.RELEASE.20231011`: Rename `clean-core` to `commons`. Fix at class level.

* 5.0.1.RELEASE.20231011:
* **GENERAL** :
* **FIX** :raised: : Rename `clean-core` to `commons`.
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Multilanguage:

This library aims to provide standards and utilities that make work easier when creating microservices.

Docs updated for version: `5.0.1.RELEASE.20231011`
Docs updated for version: `5.1.0.RELEASE.20231011`

## Table of Contents
- [1 - Validations](#1)
Expand Down Expand Up @@ -39,7 +39,7 @@ Docs updated for version: `5.0.1.RELEASE.20231011`
- To validate an object, the `dev.root101.commons.utils.validation.ValidationService` class and its static methods are used. Example: `ValidationService.validateAndThrow(some_object);`.
- If all validations passed correctly, the code runs normally. If at least one validation fails, a `ValidationException` will be thrown or **a `List` in case of need** (`ValidationService.validate(some_object);`, without `andThrow`).
- ALL validation examples are located in the examples folder `dev.root101.commons.examples.validation...`.
- **NOTE**: ALL the objects used are `record` to reduce the example code, but everything explained here works EXACTLY the same with standard Java classes.
- **NOTE**: ALL the objects used are `record` to reduce the example code, but everything explained here works *EXACTLY* the same with standard Java classes.

### 1.1 - Validation Exception <a name="1.1"></a>
Once validations are executed on an object, and some fail, an exception of type `dev.root101.commons.exceptions.ValidationException` will be thrown.
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ plugins {

group = 'dev.root101.commons'

version = '5.0.1.RELEASE.20231011'
version = '5.1.0.RELEASE.20231011'

repositories {
jcenter()
Expand Down

0 comments on commit 600746c

Please sign in to comment.