Skip to content

Commit ad104d1

Browse files
committed
on the way to version 5
1 parent 3e7b363 commit ad104d1

1 file changed

Lines changed: 28 additions & 28 deletions

File tree

README.md

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -24,25 +24,11 @@ The code is being expanded, restructured and improved primarily to meet the requ
2424

2525
#### Version 5
2626

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

2930

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

4733
### Maven
4834

@@ -52,7 +38,7 @@ Add to your `pom.xml`:
5238
<dependency>
5339
<groupId>org.htmlunit</groupId>
5440
<artifactId>htmlunit-csp</artifactId>
55-
<version>4.22.0</version>
41+
<version>5.0.0</version>
5642
</dependency>
5743
```
5844

@@ -61,7 +47,7 @@ Add to your `pom.xml`:
6147
Add to your `build.gradle`:
6248

6349
```groovy
64-
implementation group: 'org.htmlunit', name: 'htmlunit-csp', version: '4.22.0'
50+
implementation group: 'org.htmlunit', name: 'htmlunit-csp', version: '5.0.0'
6551
```
6652

6753
## Projects Using This Library
@@ -130,9 +116,23 @@ Policy policy = Policy.parseSerializedCSP("script-src 'strict-dynamic'", Policy.
130116
System.out.println(policy.getFetchDirective(FetchDirectiveKind.ScriptSrc).get().strictDynamic());
131117
```
132118

119+
<a name="legacy-support-jdk-8"></a>
120+
#### Legacy Support (JDK 8)
121+
122+
If you need to continue using **JDK 8**, versions 4.x remain available as-is.
123+
Ongoing maintenance and fixes for JDK 8 are only available through sponsorship —
124+
please contact me via email to discuss options. Sponsorship provides:
125+
126+
- Backporting security and bug fixes to the 4.x branch
127+
- Compatibility maintenance with older Java versions
128+
- Timely releases for critical issues
129+
130+
Without sponsorship, the 4.x branch will not receive further updates.
131+
132+
133133
### Last CI build
134134
The latest builds are available from our
135-
[Jenkins CI build server](https://jenkins.wetator.org/job/HtmlUnit%20-%20CSS%20Parser/ "HtmlUnit - CSS Parser CI")
135+
[Jenkins CI build server](https://jenkins.wetator.org/job/HtmlUnit%20-%20CSP/ "HtmlUnit - CSP CI")
136136

137137
[![Build Status](https://jenkins.wetator.org/buildStatus/icon?job=HtmlUnit+-+CSP)](https://jenkins.wetator.org/job/HtmlUnit%20-%20CSP/)
138138

@@ -224,14 +224,14 @@ This part is intended for committer who are packaging a release.
224224
* click Releases > Draft new release
225225
* fill the tag and title field with the release number (e.g. 4.0.0)
226226
* append
227-
* htmlunit-csp-4.x.x.jar
228-
* htmlunit-csp-4.x.x.jar.asc
229-
* htmlunit-csp-4.x.x.pom
230-
* htmlunit-csp-4.x.x.pom.asc
231-
* htmlunit-csp-4.x.x-javadoc.jar
232-
* htmlunit-csp-4.x.x-javadoc.jar.asc
233-
* htmlunit-csp-4.x.x-sources.jar
234-
* htmlunit-csp-4.x.x-sources.jar.asc
227+
* htmlunit-csp-5.x.x.jar
228+
* htmlunit-csp-5.x.x.jar.asc
229+
* htmlunit-csp-5.x.x.pom
230+
* htmlunit-csp-5.x.x.pom.asc
231+
* htmlunit-csp-5.x.x-javadoc.jar
232+
* htmlunit-csp-5.x.x-javadoc.jar.asc
233+
* htmlunit-csp-5.x.x-sources.jar
234+
* htmlunit-csp-5.x.x-sources.jar.asc
235235
* and publish the release
236236

237237
* Update the version number in pom.xml to start next snapshot development

0 commit comments

Comments
 (0)