Skip to content

Commit

Permalink
Bump quarkus.version from 3.13.3 to 3.14.0 (#407)
Browse files Browse the repository at this point in the history
Bumps `quarkus.version` from 3.13.3 to 3.14.0.

Updates `io.quarkus:quarkus-bom` from 3.12.3 to 3.14.0
- [Release notes](https://github.com/quarkusio/quarkus/releases)
- [Commits](quarkusio/quarkus@3.12.3...3.14.0)

Updates `io.quarkus:quarkus-extension-processor` from 3.12.3 to 3.14.0

Updates `io.quarkus:quarkus-extension-maven-plugin` from 3.12.3 to 3.14.0
- [Release notes](https://github.com/quarkusio/quarkus/releases)
- [Commits](quarkusio/quarkus@3.12.3...3.14.0)

---
updated-dependencies:
- dependency-name: io.quarkus:quarkus-bom
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: io.quarkus:quarkus-extension-processor
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: io.quarkus:quarkus-extension-maven-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Migrate legacy @configroot to new approach

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Łukasz Witkowski <contact@lukaszwitkowski.com>
  • Loading branch information
dependabot[bot] and lwitkowski authored Aug 28, 2024
1 parent e9db0e7 commit 2de775d
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/maven-regression.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
quarkus-version: [ "3.0", "3.1", "3.2", "3.3", "3.4", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12" ]
quarkus-version: [ "3.0", "3.1", "3.2", "3.3", "3.4", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13" ]
json-provider: [ "jsonb-classic", "jackson-classic" ]

steps:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,22 +1,26 @@
package com.tietoevry.quarkus.resteasy.problem.deployment;

import io.quarkus.runtime.annotations.ConfigItem;
import io.quarkus.runtime.annotations.ConfigPhase;
import io.quarkus.runtime.annotations.ConfigRoot;
import io.smallrye.config.ConfigMapping;
import io.smallrye.config.WithDefault;
import io.smallrye.config.WithName;
import java.util.Set;

@ConfigRoot(name = "resteasy.problem", phase = ConfigPhase.BUILD_TIME)
public class ProblemBuildConfig {
@ConfigMapping(prefix = "quarkus.resteasy.problem")
@ConfigRoot(phase = ConfigPhase.BUILD_TIME)
public interface ProblemBuildConfig {

/**
* MDC properties that should be included in problem responses.
*/
@ConfigItem(defaultValue = "uuid")
public Set<String> includeMdcProperties;
@WithDefault("uuid")
Set<String> includeMdcProperties();

/**
* Whether or not metrics should be enabled if quarkus-smallrye-metrics is used.
* Whether metrics should be enabled if quarkus-smallrye-metrics is used.
*/
@ConfigItem(name = "metrics.enabled", defaultValue = "false")
public boolean metricsEnabled;
@WithName("metrics.enabled")
@WithDefault("false")
boolean metricsEnabled();
}
Original file line number Diff line number Diff line change
Expand Up @@ -154,13 +154,13 @@ void resetRecorder(ProblemRecorder recorder, LiveReloadBuildItem liveReload) {
@Record(RUNTIME_INIT)
@BuildStep
void setupMdc(ProblemRecorder recorder, ProblemBuildConfig config) {
recorder.configureMdc(config.includeMdcProperties);
recorder.configureMdc(config.includeMdcProperties());
}

@Record(RUNTIME_INIT)
@BuildStep(onlyIf = QuarkusSmallryeMetricsDetector.class)
void setupMetrics(ProblemRecorder recorder, ProblemBuildConfig config) {
if (config.metricsEnabled) {
if (config.metricsEnabled()) {
recorder.enableMetrics();
}
}
Expand Down
7 changes: 7 additions & 0 deletions integration-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,13 @@
</properties>
</profile>

<profile>
<id>quarkus-3.13</id>
<properties>
<quarkus.version>3.13.3</quarkus.version>
</properties>
</profile>

<profile>
<id>native</id>
<properties>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>

<!-- runtime/test dependencies -->
<quarkus.version>3.13.3</quarkus.version>
<quarkus.version>3.14.0</quarkus.version>
<zalando-problem.version>0.27.1</zalando-problem.version>
<assertj.version>3.26.3</assertj.version>
<jmh.version>1.37</jmh.version>
Expand Down

0 comments on commit 2de775d

Please sign in to comment.