Skip to content

Commit ea36673

Browse files
Version 1.0.0
1 parent b204b22 commit ea36673

File tree

9 files changed

+36
-24
lines changed

9 files changed

+36
-24
lines changed

CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [unreleased]
99

10+
## [1.0.0] - 2024-10-15
11+
12+
### Changed
13+
- Updated spring boot version to `3.3.4`
14+
- Update to use Java 21
15+
1016
## [0.6.2] - 2024-09-02
1117

1218
### Changed
@@ -97,7 +103,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
97103
### Added
98104
- Initial functional version of Apigen
99105

100-
[unreleased]: https://github.com/apiaddicts/apigen/releases/tag/0.6.2...HEAD
106+
[unreleased]: https://github.com/apiaddicts/apigen/releases/tag/1.0.0...HEAD
107+
[1.0.0]: https://github.com/apiaddicts/apigen/releases/tag/1.0.0
101108
[0.6.2]: https://github.com/apiaddicts/apigen/releases/tag/0.6.2
102109
[0.6.1]: https://github.com/apiaddicts/apigen/releases/tag/0.6.1
103110
[0.6.0]: https://github.com/apiaddicts/apigen/releases/tag/0.6.0

MIGRATION_GUIDE.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
All changes required to migrate generated Apigen projects to new versions will be documented in this file.
44

5+
## From [0.6.2] to [1.0.0]
6+
7+
Update to Java 21
8+
59
## From [0.6.1] to [0.6.2]
610

711
No migration required
@@ -68,7 +72,8 @@ In this version Apigen has been updated to be auto documented with `spring-doc`
6872
- Perform the Spring Boot migration from `2.4.x` to `2.6.x`
6973
- Remove the property `apigen.documentation.enabled`, now the documentation is managed by the `spring-doc` official properties
7074

71-
[unreleased]: https://github.com/apiaddicts/apigen/releases/tag/0.6.2...HEAD
75+
[unreleased]: https://github.com/apiaddicts/apigen/releases/tag/1.0.0...HEAD
76+
[1.0.0]: https://github.com/apiaddicts/apigen/releases/tag/1.0.0
7277
[0.6.2]: https://github.com/apiaddicts/apigen/releases/tag/0.6.2
7378
[0.6.1]: https://github.com/apiaddicts/apigen/releases/tag/0.6.1
7479
[0.6.0]: https://github.com/apiaddicts/apigen/releases/tag/0.6.0

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
# 🛠️ Apigen ![Release](https://img.shields.io/badge/release-0.6.2-purple) ![Swagger](https://img.shields.io/badge/-openapi-%23Clojure?style=flat&logo=swagger&logoColor=white) ![Java](https://img.shields.io/badge/java-%23ED8B00.svg?style=flat&logo=openjdk&logoColor=white) ![Spring](https://img.shields.io/badge/spring-%236DB33F.svg?style=flat&logo=spring&logoColor=white) [![License: LGPL v3](https://img.shields.io/badge/license-LGPL_v3-blue.svg)](https://www.gnu.org/licenses/lgpl-3.0)
2+
# 🛠️ Apigen ![Release](https://img.shields.io/badge/release-1.0.0-purple) ![Swagger](https://img.shields.io/badge/-openapi-%23Clojure?style=flat&logo=swagger&logoColor=white) ![Java](https://img.shields.io/badge/java-%23ED8B00.svg?style=flat&logo=openjdk&logoColor=white) ![Spring](https://img.shields.io/badge/spring-%236DB33F.svg?style=flat&logo=spring&logoColor=white) [![License: LGPL v3](https://img.shields.io/badge/license-LGPL_v3-blue.svg)](https://www.gnu.org/licenses/lgpl-3.0)
33

44
Welcome to **apigen.springboot**, made in spain ![Spain](https://raw.githubusercontent.com/stevenrskelton/flag-icon/master/png/16/country-4x3/es.png "Spain"), the opensource project in Java that allows you to generate an archetype of the springboot framework using the openapi file as a mapping tool between the openapi definition and the database. Click maven to see available mvnrepository dependencies.
55

@@ -42,7 +42,7 @@ Feel free to drop by and greet us on our GitHub discussion or Discord chat. You
4242
version: "3.3"
4343
services:
4444
apigen:
45-
image: "apiaddicts/apitools-apigen:0.6.2"
45+
image: "apiaddicts/apitools-apigen:1.0.0"
4646
ports:
4747
- "8080:8080"
4848
```

archetype-core/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@
9898
<artifactId>maven-compiler-plugin</artifactId>
9999
<version>3.8.1</version>
100100
<configuration>
101-
<source>17</source>
102-
<target>17</target>
101+
<source>21</source>
102+
<target>21</target>
103103
<annotationProcessorPaths>
104104
<path>
105105
<groupId>org.mapstruct</groupId>

archetype-parent-spring-boot/pom.xml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>org.springframework.boot</groupId>
88
<artifactId>spring-boot-starter-parent</artifactId>
9-
<version>3.3.3</version>
9+
<version>3.3.4</version>
1010
<relativePath/>
1111
</parent>
1212

@@ -38,11 +38,11 @@
3838

3939
<properties>
4040

41-
<revision>0.6.2</revision>
41+
<revision>1.0.0</revision>
4242

43-
<java.version>17</java.version>
44-
<maven.compiler.source>17</maven.compiler.source>
45-
<maven.compiler.target>17</maven.compiler.target>
43+
<java.version>21</java.version>
44+
<maven.compiler.source>21</maven.compiler.source>
45+
<maven.compiler.target>21</maven.compiler.target>
4646

4747
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
4848
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
@@ -244,8 +244,8 @@
244244
<artifactId>maven-compiler-plugin</artifactId>
245245
<version>3.8.1</version>
246246
<configuration>
247-
<source>17</source>
248-
<target>17</target>
247+
<source>21</source>
248+
<target>21</target>
249249
<annotationProcessorPaths>
250250
<path>
251251
<groupId>org.mapstruct</groupId>

generator-core/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
</scm>
3737

3838
<properties>
39-
<archunit.version>1.0.1</archunit.version>
39+
<archunit.version>1.3.0</archunit.version>
4040
</properties>
4141

4242
<dependencies>

generator-core/src/main/java/org/apiaddicts/apitools/apigen/generatorcore/generator/implementations/java/common/base/AbstractPomGenerator.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ protected void addParent(Model model) {
5050
}
5151

5252
protected void addProperties(Model model) {
53-
model.addProperty("java.version", "17");
54-
model.addProperty("maven.compiler.source", "17");
55-
model.addProperty("maven.compiler.target", "17");
53+
model.addProperty("java.version", "21");
54+
model.addProperty("maven.compiler.source", "21");
55+
model.addProperty("maven.compiler.target", "21");
5656
model.addProperty("project.build.sourceEncoding", "UTF-8");
5757
model.addProperty("project.reporting.outputEncoding", "UTF-8");
5858
}

generator-rest/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM amazoncorretto:17
1+
FROM amazoncorretto:21
22
VOLUME /tmp
33
ARG JAR_FILE
44
COPY ${JAR_FILE} app.jar

pom.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>org.springframework.boot</groupId>
88
<artifactId>spring-boot-starter-parent</artifactId>
9-
<version>3.3.3</version>
9+
<version>3.3.4</version>
1010
<relativePath/> <!-- lookup parent from repository -->
1111
</parent>
1212

@@ -39,11 +39,11 @@
3939

4040
<properties>
4141

42-
<revision>0.6.2</revision>
42+
<revision>1.0.0</revision>
4343

44-
<java.version>17</java.version>
45-
<maven.compiler.source>17</maven.compiler.source>
46-
<maven.compiler.target>17</maven.compiler.target>
44+
<java.version>21</java.version>
45+
<maven.compiler.source>21</maven.compiler.source>
46+
<maven.compiler.target>21</maven.compiler.target>
4747

4848
<mapstruct.version>1.5.3.Final</mapstruct.version>
4949
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
@@ -59,7 +59,7 @@
5959
<jsonpatch.version>0.4.16</jsonpatch.version>
6060
<springdoc.version>2.6.0</springdoc.version>
6161

62-
<jacoco.maven.plugin.version>0.8.8</jacoco.maven.plugin.version>
62+
<jacoco.maven.plugin.version>0.8.12</jacoco.maven.plugin.version>
6363
<flatten.maven.plugin.version>1.2.7</flatten.maven.plugin.version>
6464
<sonartype.nexus.plugin.version>1.6.13</sonartype.nexus.plugin.version>
6565

0 commit comments

Comments
 (0)