All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Updated the following libraries
spring-boot-starter-parent -> 3.4.1
hibernate-jpamodelgen -> 6.6.4.Final
assertj -> 3.27.0
- Fix Jib image to
eclipse-temurin:23-jdk-alpine
- Updated the following libraries
junit.version -> 5.11.4
- Jib image to
eclipse-temurin:23.0.1_11-jre-nanoserver-ltsc2022
- Updated the following libraries
spring-boot-starter-parent -> 3.4.0
maven-surefire-junit5-tree-reporter -> 1.4.0
springdoc-openapi-starter-webmvc-ui -> 2.7.0
modelmapper -> 3.2.2
lombok -> 1.18.36
hibernate-jpamodelgen -> 6.6.3.Final
datafaker -> 2.4.2
testcontainers -> 1.20.4
- Updated the following libraries
maven-surefire-plugin -> 3.5.2
hibernate-jpamodelgen -> 6.6.2.Final
- Removed Lombok
- Java 23 adoption
- Updated the following libraries
spring-boot-starter-parent -> 3.3.5
jib-maven-plugin -> 3.4.4
junit -> 5.11.3
datafaker -> 2.4.1
testcontainers -> 1.20.3
- Fixed the
Simulation
entity by replacing the@Min
and@Max
in theamount
field by@DecimalMin
and@DecimalMax
- Project and GitHub workflow updated to Java 23
- Added
<maven.compiler.proc>full</maven.compiler.proc>
to solve the JDK 23 + Lombok issues - Updated Maven Wrapper
- Updated the following libraries
spring-boot-starter-parent -> 3.3.4
maven-surefire-plugin -> 3.5.1
modelmapper -> 3.2.1
hibernate-jpamodelgen -> 6.6.1.Final
h2 -> 2.3.232
junit -> 5.11.2
datafaker -> 2.4.0
testcontainers -> 1.20.2
commons-compress -> 1.27.1
- Updated the following libraries
junit -> 5.10.3
- Added the
maven-surefire-junit5-tree-reporter
plugin to themaven-surefire-plugin
execution - Changed the GitHub actions workflow to not quite the output while running tests
- Updated the Maven Wrapper
- Updated Maven Wrapper
- Updated the following libraries
spring-boot-starter-parent -> 3.3.2
springdoc-openapi-starter-webmvc-ui -> 2.6.0
modelmapper -> 3.2.0
lombok -> 1.18.34
h2 -> 2.3.230
jib-maven-plugin -> 3.4.3
restassured -> 5.5.0
assertj -> 3.26.3
datafaker -> 2.3.1
testcontainers -> 1.20.0
- Updated Maven Wrapper
- Bump actions/cache
- Updated the following libraries
spring-boot-starter-parent -> 3.3.0
hibernate-jpamodelgen.version -> 6.5.2.Final
junit.version -> 5.11.0-M2
assertj.version -> 3.26.0
datafaker.version -> 2.2.2
testcontainers.version -> 1.19.8
- Updated the following libraries
springdoc-openapi-starter-webmvc-ui -> 2.5.0
jib-maven-plugin -> 3.4.2
- Change action to publish docker image
- Added docker image for Java 22 using jib-maven-plugin
- Added the automatic Docker image publishing while merging
- Added
system.properties
to deploy on Heroku - New pipeline to run only during PR
- Added conditional in GitHub actions to not publish the artifact if it's not merged
- Added the following testing libraries
junit -> 5.10.2
restassured -> 5.4.0
assertj -> 3.25.3
datafaker -> 2.1.0
testcontainers -> 1.19.7
- Added integration tests along with the necessary code
- Added the
spring-boot-starter-test
- Added test properties
- Removed custom e-mail validation from the
Simulation
entity
maven.config
at the.mvn
folder
- Added Java 22
- Updated Maven Wrapper
- Updated the following libraries
spring-boot-starter-parent -> 3.2.4
maven-compiler-plugin -> 3.13.0
springdoc-openapi-starter-webmvc-ui -> 2.4.0
lombok -> 1.18.32
hibernate-jpamodelgen -> 6.4.4.Final
jakarta-xml-bind-api -> 4.0.2
jib-maven-plugin -> 3.4.1
- Updated the following libraries
spring-boot-starter-parent -> 3.2.2
maven-surefire-plugin.version -> 3.2.5
hibernate-jpamodelgen.version -> 6.4.2.Final
- Updated the following libraries
spring-boot-starter-parent -> 3.2.1
maven-compiler-plugin.version -> 3.12.1
maven-surefire-plugin -> 3.2.3
- Updated the following libraries
hibernate-jpamodelgen -> 6.4.1.Final
- Removed
snakeyaml
explicitly dependency and exclusion - Removed
spring-boot-starter-test
- Updated the following libraries
spring-boot-starter-parent -> 3.2.0
maven-surefire-plugin.version -> 3.2.2
springdoc-openapi-starter-webmvc-ui.version -> 2.3.0
hibernate-jpamodelgen.version -> 6.4.0.Final
jib.version -> 3.4.0
- Update
pom.xml
to use Java 21 - Updated the following libraries
spring-boot-starter-parent -> 3.1.5
maven-surefire-plugin.version -> 3.2.1
modelmapper.version -> 3.2.0
lombok.version -> 1.18.30
jakarta-xml-bind-api.version -> 4.0.1
h2.version -> 2.2.224
guava.version -> 32.1.3-jre
snakeyaml.version -> 2.2
- Update Maven Wrapper
- Update GitHub action to use Java 21
- Update OpenAPI spec
- Updated the following libraries
spring-boot-starter-parent -> 3.1.2
springdoc-openapi-starter-webmvc-ui -> 2.2.0
h2 -> 2.2.220
commons-codec -> 1.16.0
jackson-databind -> 2.15.2
guava -> 32.1.2-jre
- Added the Maven Wrapper
- Updated the following libraries
spring-boot-starter-parent -> 3.1.0
lombok.version -> 1.18.28
hibernate-jpamodelgen.version -> 6.2.2.Final
jackson-databind.version -> 2.15.0
- Updated the following libraries
spring-boot-starter-parent -> 3.0.6
springdoc-openapi-starter-webmvc-ui.version -> 2.1.0
lombok.version -> 1.18.26
hibernate-jpamodelgen.version -> 6.2.3.Final
maven-compiler-plugin.version -> 3.11.0
maven-surefire-plugin.version -> 3.1.0
jib.version -> 3.3.2
guava.version -> 32.0.0-jre
- Fix the
Message
model in the OpenAPI spec
- Custom banner
- Internal request during
POST /simulations
to check for a restriction - Bump
spring-boot-starter-parent
to3.0.2
- Fix path in the
GET
request for theSimulationsController
- Changed the initial load data in
LoadDatabase
RestTemplateErrorHandler
to control de errors and HTTP status when check for the restrictions
SimulationsController
checking for a restriction before sending thePOST
request
jvm.config
to remove Maven verbosityDockerfile
to generate a container
- Fixed
start-class
property value inpom.xml
- Bump
spring-boot-starter-parent -> 3.0.1
- Added
jib-maven-plugin
to push the project as a docker image
- Removal of database
derby
, replaced byh2
- Removal of
springdoc-openapi-ui
, replaced byspringdoc-openapi-starter-webmvc-ui
- Added
spring.datasource
forh2
atapplication.properties
- Changed the default OpenAPI URL in the
application.properties
- Adoption of new packages for the OpenAPI in the
OpenApiConfig
- Adoption of SpringBoot 3
- Updated the following libraries
springdoc-openapi-ui -> 1.6.14
modelmapper -> 3.1.1
hibernate-jpamodelgen -> 6.1.6.Final
- Removal of the test in favor of the branch
manage-data
for educational purposes
- General improvements
- Added the openapi spec as a yaml file at /src/main/resources/static
- Added
springdoc-openapi-ui
dependency and related changes
- Removed the spring-fox annotation from several classes
- Update
spring-boot-starter-parent
,junit
,model-mapper
,hibernate-jpamodelgen
andlombok
library version - Update actions in the GitHub workflow
- Removed the spring-fox dependency and related code
- Updated the following libraries
modelmapper-3.1.0
lombok-1.18.24
hibernate-jpamodelgen-6.0.0.Final
- Added
jakarta.xml.bind-api
library to preventjava.lang.NoClassDefFoundError: jakarta/xml/bind/JAXBException: jakarta.xml.bind.JAXBException
- OpenAPIs docs link updated in the
README.md
file
- Dummy PR to solve GitHub Packages problem
- Updated the following dependencies
modelmapper-2.4.3
lombok-1.18.20
hibernate-jpamodelgen-6.0.0.Alpha8
spring-boot-starter-parent-2.5.0
- Added missing
insurance
field in the simulation update
- General refactor in some classes
- Data changed in the
LoadDatabase
class spring-boot-starter-parent
version update
- Renamed the Simulation advice
- Added generic exception for Simulation not found by name
- Custom exception for Simulation not found by name
- Bump version due to the GitHub Actions conflict with the previous version
- Renamed all the classes replacing Simulator by Simulation
- Changed the Api response example for the GET and PUT endpoints on SimulationController
- Added
system.properties
file to enable the Heroku deploy
- Added
spring.profiles.active=default
- Updated lombok dependency to
1.18.18
- Updated
README
with the two different ways to change the port
- Changed the log levels to remove the console logger verbosity
- GitHub workflow
- Added configuration for swagger on
application.properties
- Added
springfox-swagger2
library - Added
ApiParam
description for theGET
mappings onRestrictionController
- Updated the following library versions
- spring-boot-starter-parent-2.4.1
- springfox-3.0.0
- maven.compiler.plugin-3.8.1
- maven-failsafe.version>3.0.0-M5
- Removed
SneakyThrows
onSimulatorController
- Removed
@Swagger2
annotation onSwaggerConfig
- Renamed the main class to
Run