Skip to content

Commit 4d28095

Browse files
Version 1.1.0
1 parent 09b62c4 commit 4d28095

File tree

8 files changed

+35
-12
lines changed

8 files changed

+35
-12
lines changed

CHANGELOG.md

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

88
## [unreleased]
99

10+
## [1.1.0] - 2025-01-10
11+
12+
### Changed
13+
- Updated spring boot version to `3.4.1`
14+
1015
## [1.0.1] - 2024-11-11
1116

1217
### Changed
@@ -108,7 +113,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
108113
### Added
109114
- Initial functional version of Apigen
110115

111-
[unreleased]: https://github.com/apiaddicts/apigen/releases/tag/1.0.1...HEAD
116+
[unreleased]: https://github.com/apiaddicts/apigen/releases/tag/1.1.0...HEAD
117+
[1.1.0]: https://github.com/apiaddicts/apigen/releases/tag/1.1.0
112118
[1.0.1]: https://github.com/apiaddicts/apigen/releases/tag/1.0.1
113119
[1.0.0]: https://github.com/apiaddicts/apigen/releases/tag/1.0.0
114120
[0.6.2]: https://github.com/apiaddicts/apigen/releases/tag/0.6.2

MIGRATION_GUIDE.md

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

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

5+
## From [1.0.1] to [1.1.0]
6+
7+
Update the management endpoints properties
8+
9+
Old:
10+
```properties
11+
management.endpoints.enabled-by-default=false
12+
management.endpoint.<id>.enabled=true
13+
```
14+
15+
New:
16+
```properties
17+
management.endpoints.access.default=none
18+
management.endpoint.<id>.access=read-only
19+
```
20+
21+
Remove the deprecated `spring.mvc.throw-exception-if-no-handler-found` property
22+
523
## From [1.0.0] to [1.0.1]
624

725
No migration required
@@ -76,7 +94,8 @@ In this version Apigen has been updated to be auto documented with `spring-doc`
7694
- Perform the Spring Boot migration from `2.4.x` to `2.6.x`
7795
- Remove the property `apigen.documentation.enabled`, now the documentation is managed by the `spring-doc` official properties
7896

79-
[unreleased]: https://github.com/apiaddicts/apigen/releases/tag/1.0.1...HEAD
97+
[unreleased]: https://github.com/apiaddicts/apigen/releases/tag/1.1.0...HEAD
98+
[1.1.0]: https://github.com/apiaddicts/apigen/releases/tag/1.1.0
8099
[1.0.1]: https://github.com/apiaddicts/apigen/releases/tag/1.0.1
81100
[1.0.0]: https://github.com/apiaddicts/apigen/releases/tag/1.0.0
82101
[0.6.2]: https://github.com/apiaddicts/apigen/releases/tag/0.6.2

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-1.0.1-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.1.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:1.0.1"
45+
image: "apiaddicts/apitools-apigen:1.1.0"
4646
ports:
4747
- "8080:8080"
4848
```

archetype-core/src/test/resources/application-response.properties

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ spring.jpa.defer-datasource-initialization=true
55

66
spring.jackson.serialization.fail_on_empty_beans=false
77
spring.jackson.default-property-inclusion=NON_NULL
8-
spring.mvc.throw-exception-if-no-handler-found=true
98
spring.web.resources.add-mappings=false
109

1110
spring.sql.init.mode=never

archetype-core/src/test/resources/application.properties

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ spring.jpa.defer-datasource-initialization=true
55

66
spring.jackson.serialization.fail_on_empty_beans=false
77
spring.jackson.default-property-inclusion=NON_NULL
8-
spring.mvc.throw-exception-if-no-handler-found=true
98
spring.web.resources.add-mappings=false
109

1110
spring.sql.init.mode=never

archetype-parent-spring-boot/pom.xml

Lines changed: 2 additions & 2 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.5</version>
9+
<version>3.4.1</version>
1010
<relativePath/>
1111
</parent>
1212

@@ -38,7 +38,7 @@
3838

3939
<properties>
4040

41-
<revision>1.0.1</revision>
41+
<revision>1.1.0</revision>
4242

4343
<java.version>21</java.version>
4444
<maven.compiler.source>21</maven.compiler.source>

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ protected void init() {
2323
addProperty("spring.main.allow-circular-references", "true");
2424
addProperty("spring.mvc.throw-exception-if-no-handler-found", "true");
2525
addProperty("spring.web.resources.add-mappings", "false");
26-
addProperty("management.endpoints.enabled-by-default", "false");
27-
addProperty("management.endpoint.health.enabled", "true");
26+
addProperty("management.endpoints.access.default", "none");
27+
addProperty("management.endpoint.health.access", "read-only");
2828
addStandardResponseProperties();
2929
}
3030

pom.xml

Lines changed: 2 additions & 2 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.5</version>
9+
<version>3.4.1</version>
1010
<relativePath/> <!-- lookup parent from repository -->
1111
</parent>
1212

@@ -39,7 +39,7 @@
3939

4040
<properties>
4141

42-
<revision>1.0.1</revision>
42+
<revision>1.1.0</revision>
4343

4444
<java.version>21</java.version>
4545
<maven.compiler.source>21</maven.compiler.source>

0 commit comments

Comments
 (0)