diff --git a/CHANGES.md b/CHANGES.md index aa342ff466..2853c2069e 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -19,6 +19,7 @@ We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format ( * Made ShadowCopy (`npmInstallCache`) more robust by re-creating the cache dir if it goes missing ([#1984](https://github.com/diffplug/spotless/issues/1984),[2096](https://github.com/diffplug/spotless/pull/2096)) * scalafmt.conf fileOverride section now works correctly ([#1854](https://github.com/diffplug/spotless/pull/1854)) ### Changes +* Bump default `gherkin-utils` version to latest `8.0.2` -> `9.0.0`. ([#1703](https://github.com/diffplug/spotless/pull/1703)) * Bump default `jackson` version to latest `2.14.2` -> `2.17.1`. ([#1685](https://github.com/diffplug/spotless/pull/1685)) * Bump default `ktfmt` version to latest `0.46` -> `0.47`. ([#2045](https://github.com/diffplug/spotless/pull/2045)) * Bump default `ktlint` version to latest `1.1.1` -> `1.2.1`. ([#2057](https://github.com/diffplug/spotless/pull/2057)) diff --git a/lib/build.gradle b/lib/build.gradle index 8de0bd2cd0..15f135d00c 100644 --- a/lib/build.gradle +++ b/lib/build.gradle @@ -90,7 +90,7 @@ dependencies { // flexmark flexmarkCompileOnly 'com.vladsch.flexmark:flexmark-all:0.64.0' // gherkin - gherkinCompileOnly 'io.cucumber:gherkin-utils:8.0.2' + gherkinCompileOnly 'io.cucumber:gherkin-utils:9.0.0' gherkinCompileOnly 'org.slf4j:slf4j-api:2.0.0' // googleJavaFormat googleJavaFormatCompileOnly 'com.google.googlejavaformat:google-java-format:1.19.2' diff --git a/lib/src/main/java/com/diffplug/spotless/gherkin/GherkinUtilsStep.java b/lib/src/main/java/com/diffplug/spotless/gherkin/GherkinUtilsStep.java index b606789052..6cb35ad8da 100644 --- a/lib/src/main/java/com/diffplug/spotless/gherkin/GherkinUtilsStep.java +++ b/lib/src/main/java/com/diffplug/spotless/gherkin/GherkinUtilsStep.java @@ -28,7 +28,7 @@ public class GherkinUtilsStep implements java.io.Serializable { private static final long serialVersionUID = 1L; private static final String MAVEN_COORDINATE = "io.cucumber:gherkin-utils:"; - private static final String DEFAULT_VERSION = "8.0.2"; + private static final String DEFAULT_VERSION = "9.0.0"; public static final String NAME = "gherkinUtils"; private final JarState.Promised jarState; diff --git a/plugin-gradle/CHANGES.md b/plugin-gradle/CHANGES.md index 182ec36c8e..3a3a0d2fd9 100644 --- a/plugin-gradle/CHANGES.md +++ b/plugin-gradle/CHANGES.md @@ -14,6 +14,7 @@ We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format ( * Made ShadowCopy (`npmInstallCache`) more robust by re-creating the cache dir if it goes missing ([#1984](https://github.com/diffplug/spotless/issues/1984),[2096](https://github.com/diffplug/spotless/pull/2096)) * scalafmt.conf fileOverride section now works correctly ([#1854](https://github.com/diffplug/spotless/pull/1854)) ### Changes +* Bump default `gherkin-utils` version to latest `8.0.2` -> `9.0.0`. ([#1703](https://github.com/diffplug/spotless/pull/1703)) * Bump default `jackson` version to latest `2.14.2` -> `2.17.1`. ([#1685](https://github.com/diffplug/spotless/pull/1685)) * Bump default `ktfmt` version to latest `0.46` -> `0.47`. ([#2045](https://github.com/diffplug/spotless/pull/2045)) * Bump default `ktlint` version to latest `1.1.1` -> `1.2.1`. ([#2057](https://github.com/diffplug/spotless/pull/2057)) diff --git a/plugin-gradle/README.md b/plugin-gradle/README.md index 819ff3d42a..d6a88134f8 100644 --- a/plugin-gradle/README.md +++ b/plugin-gradle/README.md @@ -1097,7 +1097,7 @@ spotless { gherkin { target 'src/**/*.feature' // required to be set explicitly gherkinUtils() - .version('8.0.2') // optional: custom version of 'io.cucumber:gherkin-utils' + .version('9.0.0') // optional: custom version of 'io.cucumber:gherkin-utils' } } ``` diff --git a/plugin-maven/CHANGES.md b/plugin-maven/CHANGES.md index 4eb2d8a205..d1cf10dd9e 100644 --- a/plugin-maven/CHANGES.md +++ b/plugin-maven/CHANGES.md @@ -12,6 +12,7 @@ We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format ( * Made ShadowCopy (`npmInstallCache`) more robust by re-creating the cache dir if it goes missing ([#1984](https://github.com/diffplug/spotless/issues/1984),[2096](https://github.com/diffplug/spotless/pull/2096)) * scalafmt.conf fileOverride section now works correctly ([#1854](https://github.com/diffplug/spotless/pull/1854)) ### Changes +* Bump default `gherkin-utils` version to latest `8.0.2` -> `9.0.0`. ([#1703](https://github.com/diffplug/spotless/pull/1703)) * Bump default `jackson` version to latest `2.14.2` -> `2.17.1`. ([#1685](https://github.com/diffplug/spotless/pull/1685)) * Bump default `ktfmt` version to latest `0.46` -> `0.47`. ([#2045](https://github.com/diffplug/spotless/pull/2045)) * Bump default `ktlint` version to latest `1.1.1` -> `1.2.1`. ([#2057](https://github.com/diffplug/spotless/pull/2057)) diff --git a/plugin-maven/README.md b/plugin-maven/README.md index 782d685b67..d9c63b5eb4 100644 --- a/plugin-maven/README.md +++ b/plugin-maven/README.md @@ -1082,7 +1082,7 @@ Uses a Gherkin pretty-printer that optionally allows configuring the number of s ```xml - 8.0.2 + 9.0.0 ``` diff --git a/testlib/src/main/resources/gherkin/complex_backgroundAfter.feature b/testlib/src/main/resources/gherkin/complex_backgroundAfter.feature index 5a9553d98d..eb4d4de89a 100644 --- a/testlib/src/main/resources/gherkin/complex_backgroundAfter.feature +++ b/testlib/src/main/resources/gherkin/complex_backgroundAfter.feature @@ -12,7 +12,7 @@ Feature: Complex background Rule: My Rule - Background: + Background: Given a rule background step Scenario: with examples diff --git a/testlib/src/main/resources/gherkin/descriptionsAfter.feature b/testlib/src/main/resources/gherkin/descriptionsAfter.feature index 9c0eb7e303..897133527d 100644 --- a/testlib/src/main/resources/gherkin/descriptionsAfter.feature +++ b/testlib/src/main/resources/gherkin/descriptionsAfter.feature @@ -29,7 +29,7 @@ This is a description without indentation This description has a comment after - # this is a comment + # this is a comment Given the minimalism Scenario: comment right after description