Skip to content

Commit a6663f4

Browse files
authoredApr 6, 2023
fix(deps): update dependency com.vladsch.flexmark:flexmark-all to v0.64.0 (#1302)
2 parents b544d0b + 1475663 commit a6663f4

File tree

6 files changed

+23
-11
lines changed

6 files changed

+23
-11
lines changed
 

‎CHANGES.md

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format (
1717
### Changes
1818
* **POTENTIALLY BREAKING** Converted `googleJavaFormat` to a compile-only dependency and drop support for versions < `1.8`. ([#1630](https://github.com/diffplug/spotless/pull/1630))
1919
* Bump default `googleJavaFormat` version `1.15.0` -> `1.16.0`. ([#1630](https://github.com/diffplug/spotless/pull/1630))
20+
* Bump default `flexmark` version `0.62.2` -> `0.64.0`. ([#1302](https://github.com/diffplug/spotless/pull/1302))
2021

2122
## [2.37.0] - 2023-03-13
2223
### Added

‎lib/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ dependencies {
110110
diktatCompileOnly "org.cqfn.diktat:diktat-rules:$VER_DIKTAT"
111111

112112
// used for markdown formatting
113-
flexmarkCompileOnly 'com.vladsch.flexmark:flexmark-all:0.62.2'
113+
flexmarkCompileOnly 'com.vladsch.flexmark:flexmark-all:0.64.0'
114114

115115
gsonCompileOnly 'com.google.code.gson:gson:2.10.1'
116116

‎lib/src/main/java/com/diffplug/spotless/markdown/FlexmarkStep.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2016-2021 DiffPlug
2+
* Copyright 2016-2023 DiffPlug
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -29,7 +29,7 @@ public class FlexmarkStep {
2929
// prevent direct instantiation
3030
private FlexmarkStep() {}
3131

32-
private static final String DEFAULT_VERSION = "0.62.2";
32+
private static final String DEFAULT_VERSION = "0.64.0";
3333
private static final String NAME = "flexmark-java";
3434
private static final String MAVEN_COORDINATE = "com.vladsch.flexmark:flexmark-all:";
3535

‎plugin-gradle/CHANGES.md

+6-5
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format (
55
## [Unreleased]
66
### Added
77
* `removeUnusedImport` can be configured to rely on `cleanthat-javaparser-unnecessaryimport`. Default remains `google-java-format`. ([#1589](https://github.com/diffplug/spotless/pull/1589))
8-
### Changes
9-
* Bump default `cleanthat` version to latest `2.6` -> `2.8`. ([#1589](https://github.com/diffplug/spotless/pull/1589)
8+
* Added formatter for Gherkin feature files ([#1649](https://github.com/diffplug/spotless/issues/1649)).
109
* Support configuration of mirrors for P2 repositories ([#1629](https://github.com/diffplug/spotless/issues/1629)):
1110
```
1211
spotless {
@@ -18,12 +17,14 @@ We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format (
1817
Mirrors are selected by prefix match, for example `https://download.eclipse.org/eclipse/updates/4.26/` will be redirected to `https://some.internal.mirror/eclipse/eclipse/updates/4.26/`.
1918
The same configuration exists for `greclipse` and `eclipseCdt`.
2019
* The `style` option in Palantir Java Format ([#1654](https://github.com/diffplug/spotless/pull/1654)).
21-
* Added support for Gherkin feature files ([#1649](https://github.com/diffplug/spotless/issues/1649)).
20+
### Fixed
21+
* Stop using deprecated conventions when used in Gradle >= `7.1`. ([#1618](https://github.com/diffplug/spotless/pull/1618))
2222
### Changes
2323
* **POTENTIALLY BREAKING** Drop support for `googleJavaFormat` versions < `1.8`. ([#1630](https://github.com/diffplug/spotless/pull/1630))
24+
* Bump default `cleanthat` version to latest `2.6` -> `2.8`. ([#1589](https://github.com/diffplug/spotless/pull/1589)
2425
* Bump default `googleJavaFormat` version `1.15.0` -> `1.16.0`. ([#1630](https://github.com/diffplug/spotless/pull/1630))
25-
### Fixed
26-
* Stop using deprecated conventions when used in Gradle >= `7.1`. ([#1618](https://github.com/diffplug/spotless/pull/1618))
26+
* Bump default `flexmark` version `0.62.2` -> `0.64.0`. ([#1302](https://github.com/diffplug/spotless/pull/1302))
27+
2728

2829
## [6.17.0] - 2023-03-13
2930
### Added

‎plugin-maven/CHANGES.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,14 @@ We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format (
66
### Added
77
* `removeUnusedImport` can be configured to rely on `cleanthat-javaparser-unnecessaryimport`. Default remains `google-java-format`. ([#1589](https://github.com/diffplug/spotless/pull/1589))
88
* The `style` option in Palantir Java Format ([#1654](https://github.com/diffplug/spotless/pull/1654)).
9-
* Added support for Gherkin feature files ([#1649](https://github.com/diffplug/spotless/issues/1649)).
9+
* Added formatter for Gherkin feature files ([#1649](https://github.com/diffplug/spotless/issues/1649)).
1010
### Fixed
1111
* Fix non deterministic computation of cache fingerprint when using multiple formatters. ([#1643](https://github.com/diffplug/spotless/pull/1643) fixes [#1642](https://github.com/diffplug/spotless/pull/1642))
1212
### Changes
1313
* Bump default `cleanthat` version to latest `2.6` -> `2.8`. ([#1589](https://github.com/diffplug/spotless/pull/1589)
1414
* **POTENTIALLY BREAKING** Drop support for `googleJavaFormat` versions < `1.8`. ([#1630](https://github.com/diffplug/spotless/pull/1630))
1515
* Bump default `googleJavaFormat` version `1.15.0` -> `1.16.0`. ([#1630](https://github.com/diffplug/spotless/pull/1630))
16+
* Bump default `flexmark` version `0.62.2` -> `0.64.0`. ([#1302](https://github.com/diffplug/spotless/pull/1302))
1617

1718
## [2.35.0] - 2023-03-13
1819
### Added

‎testlib/src/test/java/com/diffplug/spotless/markdown/FlexmarkStepTest.java

+11-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2016-2021 DiffPlug
2+
* Copyright 2016-2023 DiffPlug
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -21,9 +21,18 @@
2121
import com.diffplug.spotless.TestProvisioner;
2222

2323
class FlexmarkStepTest {
24+
private static final String oldestSupported = "0.62.2";
2425

2526
@Test
26-
void behavior() throws Exception {
27+
void behaviorOldest() {
28+
StepHarness.forStep(FlexmarkStep.create(oldestSupported, TestProvisioner.mavenCentral()))
29+
.testResource(
30+
"markdown/flexmark/FlexmarkUnformatted.md",
31+
"markdown/flexmark/FlexmarkFormatted.md");
32+
}
33+
34+
@Test
35+
void behaviorLatest() {
2736
StepHarness.forStep(FlexmarkStep.create(TestProvisioner.mavenCentral()))
2837
.testResource(
2938
"markdown/flexmark/FlexmarkUnformatted.md",

0 commit comments

Comments
 (0)
Please sign in to comment.