This is an automated email from the ASF dual-hosted git repository. garydgregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-codec.git
commit 73104b011a9758896904831f9b1bd29aad077f11 Author: Gary Gregory <[email protected]> AuthorDate: Sun Apr 19 11:10:11 2026 +0000 Prepare for the next release candidate --- README.md | 4 ++-- RELEASE-NOTES.txt | 42 ++++++++++++++++++++++++++++++++++++++++ src/changes/changes.xml | 2 +- src/site/xdoc/download_codec.xml | 26 ++++++++++++------------- 4 files changed, 58 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 372c3be7..5b4c3222 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ Apache Commons Codec [](https://github.com/apache/commons-codec/actions/workflows/maven.yml) [](https://search.maven.org/artifact/commons-codec/commons-codec) -[](https://javadoc.io/doc/commons-codec/commons-codec/1.21.0) +[](https://javadoc.io/doc/commons-codec/commons-codec/1.22.0) [](https://github.com/apache/commons-codec/actions/workflows/codeql-analysis.yml) [](https://api.securityscorecards.dev/projects/github.com/apache/commons-codec) @@ -71,7 +71,7 @@ Alternatively, you can pull it from the central Maven repositories: <dependency> <groupId>commons-codec</groupId> <artifactId>commons-codec</artifactId> - <version>1.21.0</version> + <version>1.22.0</version> </dependency> ``` diff --git a/RELEASE-NOTES.txt b/RELEASE-NOTES.txt index 40bb03d1..b1752995 100644 --- a/RELEASE-NOTES.txt +++ b/RELEASE-NOTES.txt @@ -1,3 +1,45 @@ +Apache Commons Codec 1.22.0 Release Notes +----------------------------------------- + +The Apache Commons Codec team is pleased to announce the release of Apache Commons Codec 1.22.0. + +The Apache Commons Codec component contains encoders and decoders for +formats such as Base16, Base32, Base64, digest, and Hexadecimal. In addition to these +widely used encoders and decoders, the codec package also maintains a +collection of phonetic encoding utilities. + +This is a feature and maintenance release. Java 8 or later is required. + + +New features +------------ + +* CODEC-326: Add Base58 support. Thanks to Inkeet, Gary Gregory, Wolff Bock von Wuelfingen. +* Add BaseNCodecInputStream.AbstracBuilder.setByteArray(byte[]). Thanks to Gary Gregory. +* CODEC-335: Add GitIdentifiers to compute Git blob and tree object identifiers. Thanks to Piotr P. Karwasz, Gary Gregory. + +Fixed Bugs +---------- + +* CODEC-249: Fix Incorrect transform of CH digraph according Metaphone basic rules #423. Thanks to Shalu Jha, Andrey, Gary Gregory. +* CODEC-317: ColognePhonetic can create duplicate consecutive codes in some cases. Thanks to DRUser123, Shalu Jha, Gary Gregory. +* Add boundary tests for BinaryCodec.fromAscii partial-bit inputs #425. Thanks to fancying, Gary Gregory. +* CODEC-336: Base64.Builder.setUrlSafe(boolean) Javadoc incorrectly states null is accepted for primitive boolean parameter. Thanks to Partha Paul, Gary Gregory. + +Changes +------- + +* Bump org.apache.commons:commons-parent from 96 to 98. Thanks to Gary Gregory. + + +For complete information on Apache Commons Codec, including instructions on how to submit bug reports, +patches, or suggestions for improvement, see the Apache Commons Codec website: + +https://commons.apache.org/proper/commons-codec/ + +Download page: https://commons.apache.org/proper/commons-codec/download_codec.cgi + +--------------------------------------------------------------------------------- Apache Commons Codec 1.21.0 Release Notes ----------------------------------------- diff --git a/src/changes/changes.xml b/src/changes/changes.xml index 7065b00e..037c28bc 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -43,7 +43,7 @@ The <action> type attribute can be add,update,fix,remove. <author>Apache Commons Developers</author> </properties> <body> - <release version="1.22.0" date="YYYY-MM-DD" description="This is a feature and maintenance release. Java 8 or later is required."> + <release version="1.22.0" date="2026-04-19" description="This is a feature and maintenance release. Java 8 or later is required."> <!-- FIX --> <action type="fix" dev="ggregory" due-to="Shalu Jha, Andrey, Gary Gregory" issue="CODEC-249">Fix Incorrect transform of CH digraph according Metaphone basic rules #423.</action> <action type="fix" dev="ggregory" due-to="DRUser123, Shalu Jha, Gary Gregory" issue="CODEC-317">ColognePhonetic can create duplicate consecutive codes in some cases.</action> diff --git a/src/site/xdoc/download_codec.xml b/src/site/xdoc/download_codec.xml index fe03b7b0..3d898c2e 100644 --- a/src/site/xdoc/download_codec.xml +++ b/src/site/xdoc/download_codec.xml @@ -115,32 +115,32 @@ limitations under the License. </p> </subsection> </section> - <section name="Apache Commons Codec 1.21.0 "> + <section name="Apache Commons Codec 1.22.0 "> <subsection name="Binaries"> <table> <tr> - <td><a href="[preferred]/commons/codec/binaries/commons-codec-1.21.0-bin.tar.gz">commons-codec-1.21.0-bin.tar.gz</a></td> - <td><a href="https://downloads.apache.org/commons/codec/binaries/commons-codec-1.21.0-bin.tar.gz.sha512">sha512</a></td> - <td><a href="https://downloads.apache.org/commons/codec/binaries/commons-codec-1.21.0-bin.tar.gz.asc">pgp</a></td> + <td><a href="[preferred]/commons/codec/binaries/commons-codec-1.22.0-bin.tar.gz">commons-codec-1.22.0-bin.tar.gz</a></td> + <td><a href="https://downloads.apache.org/commons/codec/binaries/commons-codec-1.22.0-bin.tar.gz.sha512">sha512</a></td> + <td><a href="https://downloads.apache.org/commons/codec/binaries/commons-codec-1.22.0-bin.tar.gz.asc">pgp</a></td> </tr> <tr> - <td><a href="[preferred]/commons/codec/binaries/commons-codec-1.21.0-bin.zip">commons-codec-1.21.0-bin.zip</a></td> - <td><a href="https://downloads.apache.org/commons/codec/binaries/commons-codec-1.21.0-bin.zip.sha512">sha512</a></td> - <td><a href="https://downloads.apache.org/commons/codec/binaries/commons-codec-1.21.0-bin.zip.asc">pgp</a></td> + <td><a href="[preferred]/commons/codec/binaries/commons-codec-1.22.0-bin.zip">commons-codec-1.22.0-bin.zip</a></td> + <td><a href="https://downloads.apache.org/commons/codec/binaries/commons-codec-1.22.0-bin.zip.sha512">sha512</a></td> + <td><a href="https://downloads.apache.org/commons/codec/binaries/commons-codec-1.22.0-bin.zip.asc">pgp</a></td> </tr> </table> </subsection> <subsection name="Source"> <table> <tr> - <td><a href="[preferred]/commons/codec/source/commons-codec-1.21.0-src.tar.gz">commons-codec-1.21.0-src.tar.gz</a></td> - <td><a href="https://downloads.apache.org/commons/codec/source/commons-codec-1.21.0-src.tar.gz.sha512">sha512</a></td> - <td><a href="https://downloads.apache.org/commons/codec/source/commons-codec-1.21.0-src.tar.gz.asc">pgp</a></td> + <td><a href="[preferred]/commons/codec/source/commons-codec-1.22.0-src.tar.gz">commons-codec-1.22.0-src.tar.gz</a></td> + <td><a href="https://downloads.apache.org/commons/codec/source/commons-codec-1.22.0-src.tar.gz.sha512">sha512</a></td> + <td><a href="https://downloads.apache.org/commons/codec/source/commons-codec-1.22.0-src.tar.gz.asc">pgp</a></td> </tr> <tr> - <td><a href="[preferred]/commons/codec/source/commons-codec-1.21.0-src.zip">commons-codec-1.21.0-src.zip</a></td> - <td><a href="https://downloads.apache.org/commons/codec/source/commons-codec-1.21.0-src.zip.sha512">sha512</a></td> - <td><a href="https://downloads.apache.org/commons/codec/source/commons-codec-1.21.0-src.zip.asc">pgp</a></td> + <td><a href="[preferred]/commons/codec/source/commons-codec-1.22.0-src.zip">commons-codec-1.22.0-src.zip</a></td> + <td><a href="https://downloads.apache.org/commons/codec/source/commons-codec-1.22.0-src.zip.sha512">sha512</a></td> + <td><a href="https://downloads.apache.org/commons/codec/source/commons-codec-1.22.0-src.zip.asc">pgp</a></td> </tr> </table> </subsection>
