Skip to content

Commit aac20ab

Browse files
committed
5.0.0
1 parent 2eb147d commit aac20ab

2 files changed

Lines changed: 25 additions & 26 deletions

File tree

README.md

Lines changed: 19 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -20,25 +20,11 @@ We will try to stay in sync with CSSParser regarding the features in the future.
2020

2121
#### Version 5
2222

23-
Work on HtmlUnit-CSSParser 5.0 has started. This new major version will require **JDK 17 or higher**.
23+
Starting with version 5.0.0, **JDK 17 or higher is required**.
24+
If you are still on JDK 8, see [Legacy Support (JDK 8)](#legacy-support-jdk-8) below.
2425

2526

26-
#### Legacy Support (JDK 8)
27-
28-
If you need to continue using **JDK 8**, please note that versions 4.x will remain available as-is. However,
29-
**ongoing maintenance and fixes for JDK 8 compatibility are only available through sponsorship**.
30-
31-
Maintaining separate fix versions for JDK 8 requires significant additional effort for __backporting__, testing, and release management.
32-
33-
**To enable continued JDK 8 support**, please contact me via email to discuss sponsorship options. Sponsorship provides:
34-
35-
- __Backporting__ security and bug fixes to the 4.x branch
36-
- Maintaining compatibility with older Java versions
37-
- Timely releases for critical issues
38-
39-
Without sponsorship, the 4.x branch will not receive updates. Your support ensures the long-term __sustainability__ of this project across multiple Java versions.
40-
41-
### Latest release Version 4.21.0 / December 28, 2025
27+
### Latest release Version 5.0.0 / May 24, 2026
4228

4329
## Get it!
4430

@@ -50,7 +36,7 @@ Add to your `pom.xml`:
5036
<dependency>
5137
<groupId>org.htmlunit</groupId>
5238
<artifactId>htmlunit-cssparser</artifactId>
53-
<version>4.21.0</version>
39+
<version>5.0.0</version>
5440
</dependency>
5541
```
5642

@@ -59,10 +45,23 @@ Add to your `pom.xml`:
5945
Add to your `build.gradle`:
6046

6147
```groovy
62-
implementation group: 'org.htmlunit', name: 'htmlunit-cssparser', version: '4.21.0'
48+
implementation group: 'org.htmlunit', name: 'htmlunit-cssparser', version: '5.0.0'
6349
```
6450

6551

52+
<a name="legacy-support-jdk-8"></a>
53+
### Legacy Support (JDK 8)
54+
55+
If you need to continue using **JDK 8**, versions 4.x remain available as-is.
56+
Ongoing maintenance and fixes for JDK 8 are only available through sponsorship —
57+
please contact me via email to discuss options. Sponsorship provides:
58+
59+
- Backporting security and bug fixes to the 4.x branch
60+
- Compatibility maintenance with older Java versions
61+
- Timely releases for critical issues
62+
63+
Without sponsorship, the 4.x branch will not receive further updates.
64+
6665

6766
### Latest CI build
6867
The latest builds are available from our
@@ -75,7 +74,7 @@ If you use maven please add:
7574
<dependency>
7675
<groupId>org.htmlunit</groupId>
7776
<artifactId>htmlunit-cssparser</artifactId>
78-
<version>4.22.0-SNAPSHOT</version>
77+
<version>5.1.0-SNAPSHOT</version>
7978
</dependency>
8079

8180
You have to add the sonatype-central snapshot repository to your pom `repositories` section also:

pom.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<modelVersion>4.0.0</modelVersion>
55
<groupId>org.htmlunit</groupId>
66
<artifactId>htmlunit-cssparser</artifactId>
7-
<version>5.0.0-SNAPSHOT</version>
7+
<version>5.0.0</version>
88
<name>HtmlUnit CSS Parser</name>
99
<organization>
1010
<name>HtmlUnit</name>
@@ -24,8 +24,8 @@
2424
<maven.version.ignore>(?i).*-(alpha|beta|m|rc)([\.-]?\d+)?</maven.version.ignore>
2525

2626
<!-- test dependencies -->
27-
<junit.version>6.0.3</junit.version>
28-
<commons-io.version>2.21.0</commons-io.version>
27+
<junit.version>6.1.0</junit.version>
28+
<commons-io.version>2.22.0</commons-io.version>
2929

3030
<!-- quality -->
3131
<checkstyle.version>12.3.1</checkstyle.version>
@@ -36,13 +36,13 @@
3636
<build-helper-plugin.version>3.6.1</build-helper-plugin.version>
3737
<checkstyle-plugin.version>3.6.0</checkstyle-plugin.version>
3838
<gpg-plugin.version>3.2.8</gpg-plugin.version>
39-
<enforcer-plugin.version>3.6.2</enforcer-plugin.version>
40-
<compiler-plugin.version>3.14.1</compiler-plugin.version>
39+
<enforcer-plugin.version>3.6.3</enforcer-plugin.version>
40+
<compiler-plugin.version>3.15.0</compiler-plugin.version>
4141
<jar-plugin.version>3.5.0</jar-plugin.version>
4242
<release-plugin.version>3.3.1</release-plugin.version>
4343
<source-plugin.version>3.4.0</source-plugin.version>
4444
<javadoc-plugin.version>3.12.0</javadoc-plugin.version>
45-
<surefire-plugin.version>3.5.4</surefire-plugin.version>
45+
<surefire-plugin.version>3.5.5</surefire-plugin.version>
4646
</properties>
4747

4848
<build>

0 commit comments

Comments
 (0)