diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c94a613..a5a1a46 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -85,3 +85,4 @@ jobs: with: github-token: ${{secrets.GITHUB_TOKEN}} milestone-title: ${{steps.metadata.outputs.current-version}} + milestone-next: ${{steps.metadata.outputs.next-version}} diff --git a/docs/modules/ROOT/pages/includes/attributes.adoc b/docs/modules/ROOT/pages/includes/attributes.adoc index 02e82de..7dbce2d 100644 --- a/docs/modules/ROOT/pages/includes/attributes.adoc +++ b/docs/modules/ROOT/pages/includes/attributes.adoc @@ -1,4 +1,4 @@ -:quarkus-version: 3.3.0 +:quarkus-version: 3.4.1 :quarkus-config-extensions-version: 2.2.0 :maven-version: 3.8.1+ diff --git a/docs/modules/ROOT/pages/includes/quarkus-consul-config.adoc b/docs/modules/ROOT/pages/includes/quarkus-consul-config.adoc index 01b3bfb..7661fa5 100644 --- a/docs/modules/ROOT/pages/includes/quarkus-consul-config.adoc +++ b/docs/modules/ROOT/pages/includes/quarkus-consul-config.adoc @@ -294,11 +294,17 @@ ifndef::no-duration-note[] [id='duration-note-anchor-{summaryTableId}'] .About the Duration format ==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. +To write duration values, use the standard `java.time.Duration` format. +See the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() javadoc] for more information. -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. +You can also use a simplified format, starting with a number: + +* If the value is only a number, it represents time in seconds. +* If the value is a number followed by `ms`, it represents time in milliseconds. + +In other cases, the simplified format is translated to the `java.time.Duration` format for parsing: + +* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`. +* If the value is a number followed by `d`, it is prefixed with `P`. ==== endif::no-duration-note[]