From d81d439fb4e89695bde80540e312ea96aa9dd79a Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Sat, 27 Apr 2024 12:24:53 +0200 Subject: [PATCH] version 4.1.0 --- README.md | 45 ++++++++++++++++++++++++++------------------- pom.xml | 12 ++++++------ 2 files changed, 32 insertions(+), 25 deletions(-) diff --git a/README.md b/README.md index 156b7370..d792345d 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ This made it possible to remove many unneeded parts and dependencies to ensure e [HtmlUnit@mastodon][4] | [HtmlUnit@Twitter][3] -### Latest release Version 4.0.0 / April 1, 2024 +### Latest release Version 4.1.0 / April 28, 2024 #### [CVE-2022-29546](https://nvd.nist.gov/vuln/detail/CVE-2022-29546) #### HtmlUnit - NekoHtml Parser suffers from a denial of service vulnerability on versions 2.60.0 and below. A specifically crafted input regarding the parsing of processing instructions leads to heap memory consumption. Please update to at least version 2.62.0. @@ -34,7 +34,7 @@ Add to your `pom.xml`: org.htmlunit neko-htmlunit - 4.0.0 + 4.1.0 ``` @@ -43,7 +43,7 @@ Add to your `pom.xml`: Add to your `build.gradle`: ```groovy -implementation group: 'org.htmlunit', name: 'neko-htmlunit', version: '4.0.0' +implementation group: 'org.htmlunit', name: 'neko-htmlunit', version: '4.1.0' ``` ## HowTo use @@ -135,7 +135,9 @@ Supported properties: * DEFAULT_ENCODING * ERROR_REPORTER - Error reporter; an instance of org.htmlunit.cyberneko.HTMLErrorReporter or null -* ENCODING_TRANSLATOR - an implementation of org.htmlunit.cyberneko.xerces.util.EncodingTranslator +* ENCODING_TRANSLATOR - an implementation of org.htmlunit.cyberneko.xerces.util.EncodingTranslator. Starting with version 4.0.0 + the default encoding translator is set to the StandardEncodingTranslator which provides a much better and standard compliant + handling of encodings. You can switch back the EncodingMap, if you still need the old behavior. * DOCTYPE_PUBID - Doctype declaration public identifier * DOCTYPE_SYSID - Doctype declaration system identifier. */ @@ -154,7 +156,7 @@ If you use maven please add: org.htmlunit neko-htmlunit - 4.1.0-SNAPSHOT + 4.2.0-SNAPSHOT You have to add the sonatype snapshot repository to your pom `repositories` section also: @@ -238,9 +240,14 @@ Every contribution - from bug reports to feature requests, typos to full new fea This part is intended for committer who are packaging a release. * Check all your files are checked in -* Execute "mvn -U clean test" to be sure all tests are passing -* Execute "mvn versions:display-plugin-updates" to check if all maven plugins are up to date -* Execute "mvn versions:display-dependency-updates" to check if all dependencies are up to date +* Execute these mvn commands to be sure all tests are passing and everything is up to data + +``` + mvn versions:display-plugin-updates + mvn versions:display-dependency-updates + mvn -U clean test +``` + * Update the version number in pom.xml and readme.md * Commit the changes @@ -258,18 +265,18 @@ This part is intended for committer who are packaging a release. * Create the version on Github * login to Github and open project https://github.com/HtmlUnit/htmlunit-neko * click Releases > Draft new release - * fill the tag and title field with the release number (e.g. 3.7.0) + * fill the tag and title field with the release number (e.g. 4.0.0) * append - * neko-htmlunit-3.xx-javadoc.jar - * neko-htmlunit-3.xx-javadoc.jar.asc - * neko-htmlunit-3.xx-sources.jar - * neko-htmlunit-3.xx-sources.jar.asc - * neko-htmlunit-3.xx-tests.jar - * neko-htmlunit-3.xx-tests.jar.asc - * neko-htmlunit-3.xx.jar - * neko-htmlunit-3.xx.jar.asc - * neko-htmlunit-3.xx.pom - * neko-htmlunit-3.xx.pom.asc + * neko-htmlunit-4.xx-javadoc.jar + * neko-htmlunit-4.xx-javadoc.jar.asc + * neko-htmlunit-4.xx-sources.jar + * neko-htmlunit-4.xx-sources.jar.asc + * neko-htmlunit-4.xx-tests.jar + * neko-htmlunit-4.xx-tests.jar.asc + * neko-htmlunit-4.xx.jar + * neko-htmlunit-4.xx.jar.asc + * neko-htmlunit-4.xx.pom + * neko-htmlunit-4.xx.pom.asc * and publish the release * Update the version number in pom.xml to start next snapshot development diff --git a/pom.xml b/pom.xml index d05fa915..f58deaaa 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ 4.0.0 org.htmlunit neko-htmlunit - 4.1.0-SNAPSHOT + 4.1.0 HtmlUnit NekoHtml HtmlUnit @@ -26,7 +26,7 @@ 5.10.2 9.3 - 4.8.3 + 4.8.4 6.55.0 9.1.0 @@ -58,7 +58,7 @@ maven-jar-plugin - 3.3.0 + 3.4.1 @@ -83,7 +83,7 @@ org.apache.maven.plugins maven-source-plugin - 3.3.0 + 3.3.1 @@ -114,7 +114,7 @@ org.apache.maven.plugins maven-gpg-plugin - 3.2.2 + 3.2.4 verify @@ -159,7 +159,7 @@ com.github.spotbugs spotbugs-maven-plugin - 4.8.3.1 + 4.8.4.0 com.github.spotbugs