Skip to content
This repository has been archived by the owner on Apr 10, 2023. It is now read-only.

fix(deps): update backend non-major dependencies #284

Open
wants to merge 1 commit into
base: staging
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 27, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
io.awspring.cloud:spring-cloud-aws-starter-s3 (source) 3.0.0-RC1 -> 3.0.0-RC2 age adoption passing confidence
org.springdoc:springdoc-openapi-ui (source) 1.6.15 -> 1.7.0 age adoption passing confidence
org.testcontainers:postgresql (source) 1.17.6 -> 1.18.0 age adoption passing confidence
org.springframework.boot:spring-boot-starter-parent (source) 3.0.4 -> 3.0.5 age adoption passing confidence

Release Notes

awspring/spring-cloud-aws

v3.0.0-RC2: 3.0.0-RC2

Compare Source

Reference documentation

📗 https://docs.awspring.io/spring-cloud-aws/docs/3.0.0-RC1/reference/html/index.html

What's Changed

S3
SNS
Secrets Manager & Parameter Store
SQS
DynamoDB
Other

New Contributors

Big thanks to all contributors! 🙂

Full Changelog: awspring/spring-cloud-aws@v3.0.0-RC1...v3.0.0-RC2

springdoc/springdoc-openapi

v1.7.0

Added
Changed
  • Upgrade spring-boot to 2.7.10
  • Upgrade swagger-core to 2.2.9
  • Upgrade swagger-ui to 4.18.2
  • Spring Native is now superseded by Spring Boot 3 official
  • #​2173 - Remove webjars-locator-core
Fixed
  • #​2122 - Super tiny fix typo
  • #​2131 - Fixed a bug that javadoc of record class parameters was not recognized.
  • #​2140 - Javadoc record class parameters not recognized
  • #​2123 #​2141 - fix spring authorization server response.
  • #​2148 - Fix properties show-oauth2-endpoints and SpringDocConfigProperties#showOauth2Endpoint properties name mismatch
  • #​2149 - Request parameters with default values are marked as required.
  • #​2155 - openApi.getServers() is null in OpenApiCustomiser when using different locales.
  • #​2152 - Redundant(wrong) direction appended to @​PageableDefault.
  • #​2181 #​2183 - Fixed DefaultFlatParamObject to work with annotated parameters.
  • #​2170 #​2187 - All request parameters marked as required for Java controllers in mixed projects in 2.0.3
  • #​2165 - Custom Converters are not excluded if not registered for Http Message Converter.
  • #​2185 - Fix behaviour of required flag for schema class fields.
testcontainers/testcontainers-java

v1.18.0

Compare Source

Core module
  • Modules images such as MySQLContainer are now automatically compatible with their corresponding images with the library prefix
MySQLContainer<?> mysql = new MySQLContainer<>("library/mysql");
  • testcontainers/vnc has been bumped to version 1.3.0, which brings ARM support.
  • Goodbye to the whale in the logs. In order to provide an easy way to filter container logs the tc prefix has been added to display all container logs or tc.<image-name:tag> for a specific one. Check the logging docs.
  • There is a new WaitStrategy, ShellStrategy. It can also be used by calling Wait.forSuccessfulCommand(<command>)
New integration

Jib has been integrated to Testcontainers in order to take advantage of the nice API it provides to create containers

GenericContainer<?> busybox = new GenericContainer<>(
                new JibImage(
                    "busybox:1.35",
                    jibContainerBuilder -> {
                        return jibContainerBuilder.setEntrypoint("echo", "Hello World");
                    }
                )
            )
                .withStartupCheckStrategy(new OneShotStartupCheckStrategy().withTimeout(Duration.ofSeconds(3)))
New modules 🆕
CrateDB module

In order to use CrateDBContainer , declare the dependency in your pom.xml/build.gradle

<dependency>
    <groupId>org.testcontainers</groupId>
    <artifactId>cratedb</artifactId>
    <version>1.18.0</version>
    <scope>test</scope>
</dependency>
testImplementation "org.testcontainers:cratedb:1.18.0"

Choose a crate image version and use it as declared below with your postgres driver

CrateDBContainer cratedb = new CrateDBContainer("crate:5.2.5");
Solace Module

In order to use SolaceContainer , declare the dependency in your pom.xml/build.gradle

<dependency>
    <groupId>org.testcontainers</groupId>
    <artifactId>solace</artifactId>
    <version>1.18.0</version>
    <scope>test</scope>
</dependency>
testImplementation "org.testcontainers:solace:1.18.0"

Now, you can use a Solace PubSub running in a container and connecting via AMQP by doing the following:

SolaceContainer solace = new SolaceContainer("solace/solace-pubsub-standard:10.2");
solace.start();
Session session = createSession(
                solaceContainer.getUsername(),
                solaceContainer.getPassword(),
                solaceContainer.getOrigin(Service.AMQP)
            );

More information about SolaceContainer can be found in the documentation.

Container modules
CockroachDB

Starting with cockroachdb/cockroach:22.1.0, there is support for setting the username, password and database name via environment variables. Now, the Testcontainers module provides convenient setters:

CockroachContainer cockroach = new CockroachContainer("cockroachdb/cockroach:22.1.0")
    .withUsername("test_user")
    .withPassword("test_password")
    .withDatabaseName("test_database");
GCloud module

Google has released a new image which supports ARM and therefore BigtableEmulatorContainer, DatastoreEmulatorContainer, FirestoreEmulatorContainer, PubSubEmulatorContainer now support it as well.

So, if previously you were doing something like

DockerImageName.parse("gcr.io/google.com/cloudsdktool/google-cloud-cli:380.0.0-emulators")
    .asCompatibleSubstituteFor("gcr.io/google.com/cloudsdktool/cloud-sdk");

Now, you can simply do

DockerImageName.parse("gcr.io/google.com/cloudsdktool/google-cloud-cli:380.0.0-emulators");
JUnit Jupiter Module

@Testcontainers offers a new attribute parallel, which start those containers classes annotated by @Container

@&#8203;Testcontainers(parallel = true)
class ParallelTest {

	@&#8203;Container
private static final PostgreSQLContainer<?> postgres = new PostgreSQLContainer<>("postgres:15-alpine")
    .withCopyFileToContainer(MountableFile.forClasspathResource("db.sql"), "/docker-entrypoint-initdb.d/")
    .withNetwork(network)
    .withNetworkAliases("postgres");

@&#8203;Container
private static final ToxiproxyContainer toxiproxy = new ToxiproxyContainer("ghcr.io/shopify/toxiproxy:2.5.0")
    .withNetwork(network);

}
Kafka Module

Self-managed or Kraft mode (a.k.a Zookeeperless) support has been added

KafkaContainer kafka = new KafkaContainer(DockerImageName.parse("confluentinc/cp-kafka:7.0.1")).withKraft()
LocalStack Module

SERVICES environment variable became optional in version 0.13.0 and instead LocalStack will initialize a service once the first request is served. So, nowadays LocalStackContainer can be used just like this:

LocalStackContainer localstack = new LocalStackContainer("localstack/localstack:2.0.0");

Also, LocalStack module supports version 2.0. It is highly recommended to use the latest version of LocalStack images.
Last but not least, dependency on AWS SDK V1 was dropped. So, that means by upgrading to version 1.18.0, the dependency can be removed if not used directly.

MongoDB Module

MongoDBContainer by default has been enabling ReplicaSet mode. Starting in this version, sharding has been added.

MongoDBContainer mongodb = new MongoDBContainer("mongo:6")
    .withSharding();
Selenium Module

Selenium 4 has built-in support for Microsoft Edge (which is based on Chromium) and now it is supported by BrowserWebDriverContainer as well:

BrowserWebDriverContainer<?> edge = new BrowserWebDriverContainer<>("selenium/standalone-edge:4.8.0")
    .withCapabilities(new EdgeOptions());
More
⚠️ Breaking API changes
  • Removed deprecated methods and undeclared transitive dependency to AWS SDK v1 (#​5827) @​AB-xdev
  • Move junit-jupiter-api's dependency configuration to implementation (#​5985) @​edysli
🚀 Features & Enhancements
☠️ Deprecations
🐛 Bug Fixes
  • Short-circuit CompletableFuture returned by Startables#deepStart on exception (#​5930) @​pivovarit
  • fix: Don't return JSON auth config for partial registry name match (#​6323) @​kiview
  • Fix allowInsecure() on HttpWaitStrategy for non-localhost Docker daemon (#​6314) @​kiview
spring-projects/spring-boot

v3.0.5

Compare Source

🐞 Bug Fixes
  • EmbeddedWebServerFactoryCustomizerAutoConfiguration should not run when embedded web server is not configured #​34659
  • StandardConfigDataResource can import the same file twice if the classpath includes '.' #​34617
  • Loading application.yml fails with NoSuchMethodError when using SnakeYAML 2.0 #​34515
  • @ConfigurationProperties no longer works on a mutable Kotlin data classes #​34500
  • Image builds with podman fail when image buildpacks are configured #​34495
  • Use of @EntityScan causes AOT instance supplier code generation error #​34371
📔 Documentation
  • Document support for Java 20 #​34726
  • Clarify conventions for custom error pages in WebFlux #​34705
  • Add documentation tip showing how to configure publishRegistry Maven properties from the command line #​34704
  • Typo in Batch documentation: content instead of context #​34646
  • Update two references to old APIs #​34602
  • Fix Javadoc in JobLauncherApplicationRunner #​34596
  • Document how to get socket ___location for image building configuration with podman #​34475
🔨 Dependency Upgrades
❤️ Contributors

Thank you to all the contributors who worked on this release:

@​1993heqiang, @​anthonydahanne, @​benelog, @​dsyer, @​izeye, @​swapy, and @​terminux


Configuration

📅 Schedule: Branch creation - "before 3am on Monday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/backend-minor-patch branch 2 times, most recently from 8928c41 to 1a54be7 Compare March 4, 2023 03:25
@renovate renovate bot force-pushed the renovate/backend-minor-patch branch from 1a54be7 to 29e7285 Compare March 9, 2023 21:39
@renovate renovate bot changed the title chore(deps): update backend non-major dependencies chore(deps): update backend non-major dependencies - autoclosed Mar 18, 2023
@renovate renovate bot closed this Mar 18, 2023
@renovate renovate bot deleted the renovate/backend-minor-patch branch March 18, 2023 18:11
@renovate renovate bot changed the title chore(deps): update backend non-major dependencies - autoclosed chore(deps): update backend non-major dependencies Mar 23, 2023
@renovate renovate bot reopened this Mar 23, 2023
@renovate renovate bot restored the renovate/backend-minor-patch branch March 23, 2023 13:36
@renovate renovate bot force-pushed the renovate/backend-minor-patch branch from 29e7285 to 15a42f7 Compare March 23, 2023 18:55
@renovate renovate bot changed the title chore(deps): update backend non-major dependencies fix(deps): update dependency org.springframework.boot:spring-boot-starter-parent to v3.0.5 Mar 23, 2023
@renovate renovate bot changed the title fix(deps): update dependency org.springframework.boot:spring-boot-starter-parent to v3.0.5 fix(deps): update backend non-major dependencies Mar 25, 2023
@renovate renovate bot force-pushed the renovate/backend-minor-patch branch from 15a42f7 to 612ba60 Compare March 25, 2023 22:22
@renovate renovate bot force-pushed the renovate/backend-minor-patch branch from 612ba60 to 8540a15 Compare April 2, 2023 03:28
@renovate renovate bot force-pushed the renovate/backend-minor-patch branch from 8540a15 to a4e5857 Compare April 4, 2023 16:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants