Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[APPENG-849] Add spring boot 3.3 support #85

Merged
merged 15 commits into from
Jul 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,8 @@ jobs:
max-parallel: 100
matrix:
spring_boot_version:
- 3.3.1
- 3.2.2
- 3.1.6
- 3.0.13
- 2.7.18
env:
SPRING_BOOT_VERSION: ${{ matrix.spring_boot_version }}
GRADLE_OPTS: "-Djava.security.egd=file:/dev/./urandom -Dorg.gradle.parallel=true"
Expand Down
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,15 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.29.0] - 2024-07-16

### Added

- Added Spring Boot 3.3 support.

### Removed
- Removed support for spring boot 3.1 and 2.7.

## [0.28.3] - 2024-02-20

### Changed
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 @@ import org.eclipse.jgit.api.errors.RefAlreadyExistsException

buildscript {
if (!project.hasProperty("springBootVersion")) {
ext.springBootVersion = System.getenv("SPRING_BOOT_VERSION") ?: "2.7.18"
ext.springBootVersion = System.getenv("SPRING_BOOT_VERSION") ?: "3.2.2"
}
dependencies {
classpath 'com.google.protobuf:protobuf-gradle-plugin:0.9.4'
Expand Down
3 changes: 2 additions & 1 deletion build.libraries.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ext {
protobufVersion = "3.24.0"
springBootVersion = "${System.getenv("SPRING_BOOT_VERSION") ?: '2.7.18'}"
springBootVersion = "${System.getenv("SPRING_BOOT_VERSION") ?: '3.2.2'}"
libraries = [
// version defined
awaitility : 'org.awaitility:awaitility:4.2.0',
Expand Down Expand Up @@ -31,6 +31,7 @@ ext {
commonsLang3 : 'org.apache.commons:commons-lang3',
flywayCore : 'org.flywaydb:flyway-core',
flywayMysql : 'org.flywaydb:flyway-mysql',
flywayPostgresql : 'org.flywaydb:flyway-database-postgresql',
jacksonDatabind : 'com.fasterxml.jackson.core:jackson-databind',
kafkaClients : 'org.apache.kafka:kafka-clients',
lombok : 'org.projectlombok:lombok',
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version=0.28.3
version=0.29.0
6 changes: 4 additions & 2 deletions tw-tkms-starter/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,11 @@ dependencies {
testImplementation project(":tw-tkms-test-starter")

testImplementation libraries.awaitility
if (!springBootVersion.startsWith("2.6")) {
testImplementation libraries.flywayMysql
// If we are running on spring boot 3.3 or newer then we need to use the flyway-postgresql dependency.
if (!springBootVersion.startsWith("3.2")) {
testImplementation libraries.flywayPostgresql
}
testImplementation libraries.flywayMysql
testImplementation libraries.flywayCore
testImplementation libraries.lombok
testImplementation libraries.springBootStarterActuator
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ private static Stream<Arguments> compressionInput() {
var arguments = new ArrayList<Arguments>();

for (var deferUntilCommit : deferUntilCommits) {
arguments.add(Arguments.of(CompressionAlgorithm.GZIP, 112, 111, deferUntilCommit));
arguments.add(Arguments.of(CompressionAlgorithm.GZIP, 111, 110, deferUntilCommit));
arguments.add(Arguments.of(CompressionAlgorithm.NONE, 1172, 1171, deferUntilCommit));
arguments.add(Arguments.of(CompressionAlgorithm.LZ4, 135, 134, deferUntilCommit));
arguments.add(Arguments.of(CompressionAlgorithm.SNAPPY, 164, 160, deferUntilCommit));
Expand Down
Loading