Skip to content
This repository was archived by the owner on Feb 23, 2023. It is now read-only.

Commit 5ae0821

Browse files
committed
Upgrade to Spring Boot 2.3.1
Closes gh-178
1 parent a259a99 commit 5ae0821

File tree

33 files changed

+48
-34
lines changed

33 files changed

+48
-34
lines changed

README.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
:version: 0.7.0
22
:repository: milestone
3-
:boot-version: 2.3.0.RELEASE
3+
:boot-version: 2.3.1.RELEASE
44
:graalvm-version: 20.1.0
55
:graalvm-dev-version: 20.1.0
6-
:boot-dev-version: 2.3.0.RELEASE
6+
:boot-dev-version: 2.3.1.RELEASE
77
:documentation-url: https://repo.spring.io/{repository}/org/springframework/experimental/spring-graalvm-native-docs/{version}/spring-graalvm-native-docs-{version}.zip!
88

99
image:https://ci.spring.io/api/v1/teams/spring-graalvm-native/pipelines/spring-graalvm-native/badge["Build Status", link="https://ci.spring.io/teams/spring-graalvm-native/pipelines/spring-graalvm-native"] image:https://img.shields.io/badge/documentation-blue.svg["Documentation", link="{documentation-url}/reference/index.html"]

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<dependency>
3131
<groupId>org.springframework.boot</groupId>
3232
<artifactId>spring-boot-dependencies</artifactId>
33-
<version>2.3.0.RELEASE</version>
33+
<version>2.3.1.RELEASE</version>
3434
<type>pom</type>
3535
<scope>import</scope>
3636
</dependency>

spring-graalvm-native-configuration/src/main/java/org/springframework/boot/autoconfigure/web/servlet/WebMvcHints.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
import org.springframework.boot.web.server.ErrorPageRegistrarBeanPostProcessor;
2626
import org.springframework.boot.web.server.WebServerFactoryCustomizerBeanPostProcessor;
2727
import org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext;
28+
import org.springframework.boot.web.servlet.server.Encoding;
2829
import org.springframework.graalvm.extension.NativeImageConfiguration;
2930
import org.springframework.graalvm.extension.NativeImageHint;
3031
import org.springframework.graalvm.extension.TypeInfo;
@@ -40,7 +41,8 @@
4041
DefaultErrorViewResolver.class,
4142
// TODO Maybe the first and last of these 3 needs to be in a more generic configuration hint working for both reactive and servlet
4243
ConfigurableWebApplicationContext.class,TomcatEmbeddedWebappClassLoader.class,WebApplicationContext.class,
43-
ErrorPage.class,DefaultErrorViewResolver.class,BeanNameViewResolver.class, ErrorPageRegistrarBeanPostProcessor.class},
44+
ErrorPage.class,DefaultErrorViewResolver.class,BeanNameViewResolver.class, ErrorPageRegistrarBeanPostProcessor.class,
45+
Encoding.class},
4446
typeNames= {"org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$EmptyHandler"}),
4547
@TypeInfo(types= {Callable.class},access=AccessBits.CLASS|AccessBits.DECLARED_METHODS|AccessBits.DECLARED_CONSTRUCTORS)},abortIfTypesMissing = true)
4648
// TODO this is an interesting one as it is hinted at by both flavours of BeanPostProcessorsRegistrar (reactive and servlet)

spring-graalvm-native-configuration/src/main/resources/initialization.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@
7171
{"class": "org.springframework.transaction.annotation.Propagation"},
7272
{"class": "org.springframework.util.unit.DataUnit"},
7373
{"class": "org.springframework.util.unit.DataSize"},
74+
{"class": "org.springframework.http.converter.json.AbstractJackson2HttpMessageConverter"},
7475
// To avoid XML parsers to be included
7576
{"class": "org.springframework.messaging.simp.config.AbstractMessageBrokerConfiguration" },
7677
{"class": "org.springframework.http.MediaType" },

spring-graalvm-native-samples/actuator-webflux/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>org.springframework.boot</groupId>
77
<artifactId>spring-boot-starter-parent</artifactId>
8-
<version>2.3.0.RELEASE</version>
8+
<version>2.3.1.RELEASE</version>
99
<relativePath/> <!-- lookup parent from repository -->
1010
</parent>
1111
<groupId>com.example</groupId>

spring-graalvm-native-samples/actuator-webmvc/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>org.springframework.boot</groupId>
77
<artifactId>spring-boot-starter-parent</artifactId>
8-
<version>2.3.0.RELEASE</version>
8+
<version>2.3.1.RELEASE</version>
99
<relativePath/> <!-- lookup parent from repository -->
1010
</parent>
1111
<groupId>com.example</groupId>

spring-graalvm-native-samples/commandlinerunner-agent/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<groupId>org.springframework.boot</groupId>
99
<artifactId>spring-boot-starter-parent</artifactId>
10-
<version>2.3.0.RELEASE</version>
10+
<version>2.3.1.RELEASE</version>
1111
<relativePath/>
1212
</parent>
1313
<groupId>com.example</groupId>

spring-graalvm-native-samples/commandlinerunner/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<groupId>org.springframework.boot</groupId>
99
<artifactId>spring-boot-starter-parent</artifactId>
10-
<version>2.3.0.RELEASE</version>
10+
<version>2.3.1.RELEASE</version>
1111
<relativePath/>
1212
</parent>
1313
<groupId>com.example</groupId>

spring-graalvm-native-samples/function-aws/pom.xml

Lines changed: 1 addition & 1 deletion
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>2.3.0.RELEASE</version>
9+
<version>2.3.1.RELEASE</version>
1010
<relativePath/>
1111
</parent>
1212
<groupId>com.example</groupId>

spring-graalvm-native-samples/function-netty-fun/pom.xml

Lines changed: 1 addition & 1 deletion
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>2.3.0.RELEASE</version>
9+
<version>2.3.1.RELEASE</version>
1010
<relativePath/>
1111
</parent>
1212
<groupId>com.example</groupId>

0 commit comments

Comments
 (0)