Commons Codec is an attempt to provide definitive implementations of
commonly used encoders and decoders.
Provides
Requires
License
Apache-2.0
Changelog
* Fri Mar 28 2025 gus.kenion@suse.com
- Update to 1.18.0
* New features
+ Add Base32.Builder.setHexDecodeTable(boolean).
+ Add Base32.Builder.setHexEncodeTable(boolean).
* Changes
+ Bump org.apache.commons:commons-parent from 78 to 79.
- Includes changes from 1.17.2
* Fixed Bugs
+ Rewrite DaitchMokotoffSoundex.soundex(String) using
String.join().
+ CODEC-324: Use Resource.class to load resources, rather than
its class loader #353.
+ Deprecate CharSequenceUtils.CharSequenceUtils().
+ Deprecate Sha2Crypt.Sha2Crypt().
* Changes
+ Bump org.apache.commons:commons-lang3 from 3.14.0 to 3.17.0
[#296], #305, #313.
+ Bump org.apache.commons:commons-parent from 71 to 78 #310,
[#312], #319, #323, #326, #333.
+ [test] Bump commons-io:commons-io from 2.16.1 to 2.18.0 #318,
[#341].
+ Bump org.codehaus.mojo:taglist-maven-plugin from 3.1.0 to
3.2.1 #332.
* Mon Aug 12 2024 gus.kenion@suse.com
- Update to 1.17.1
* Bug fixes:
+ Md5Crypt now throws IllegalArgumentException on an invalid
prefix.
* Dependency Updates:
+ Bump org.apache.commons:commons-parent from 69 to 71 #286.
+ Bump org.codehaus.mojo:animal-sniffer-maven-plugin from 1.23
to 1.24 #293.
+ Bump org.codehaus.mojo:taglist-maven-plugin from 3.0.0 to
3.1.0 #292.
* Thu May 02 2024 gus.kenion@suse.com
- Update to 1.17.0
* New features:
+ Add override
org.apache.commons.codec.language.bm.Rule.PhonemeExpr.size().
+ Add support for Base64 custom alphabets #266.
+ Add Base64.Builder (allows custom alphabets).
+ Add Base32.Builder (allows custom alphabets).
+ Add Base64 support for a custom padding byte (like Base32).
* Fixes:
+ Wrong output of DoubleMetaphone in 1.16.1. Fixes CODEC-320.
+ Optimize memory allocation in PhoneticEngine.
+ BCodec and QCodec encode() methods throw
UnsupportedCharsetException instead of EncoderException.
+ Set Javadoc link to latest Java API LTS version.
+ Base32 constructor fails-fast with a NullPointerException if
the custom alphabet array is null.
+ Base32 constructor makes a defensive copy of the line
separator array.
+ Base64 constructor makes a defensive copy of the line
separator array.
+ Base64 constructor makes a defensive copy of a custom
alphabet array.
* Updates:
+ Bump org.apache.commons:commons-parent from 66 to 69 #250,
[#261].
+ Bump commons-io:commons-io from 2.15.1 to 2.16.1 #258, #265.
* Mon Feb 19 2024 fstrba@suse.com
- Update to 1.16.1:
* New features:
+ Add Maven property project.build.outputTimestamp for build
reproducibility
* Fixed Bugs:
+ CODEC-295: Test clean ups
+ CODEC-295: Correct error in Base64 Javadoc
+ CODEC-295: Add minimum Java version in changes.xml
+ CODEC-310: Documentation update for the
org.apache.commons.codec.digest.* package
+ Precompile regular expression in UnixCrypt.crypt(byte[],
String)
+ CODEC-315: Fix possible IndexOutOfBoundException in
PhoneticEngine.encode method
+ CODEC-313: Fix possible ArrayIndexOutOfBoundsException in
QuotedPrintableCodec.encodeQuotedPrintable() method
+ CODEC-312: Fix possible StringIndexOutOfBoundException in
MatchRatingApproachEncoder.encode() method
+ CODEC-311: Fix possible ArrayIndexOutOfBoundException in
RefinedSoundex.getMappingCode()
+ CODEC-314: Fix possible IndexOutOfBoundsException in
PercentCodec.insertAlwaysEncodeChars() method
+ Deprecate UnixCrypt 0-argument constructor
+ Deprecate Md5Crypt 0-argument constructor
+ Deprecate Crypt 0-argument constructor
+ Deprecate StringUtils 0-argument constructor
+ Deprecate Resources 0-argument constructor
+ Deprecate Charsets 0-argument constructor
+ Deprecate CharEncoding 0-argument constructor
* Wed Oct 18 2023 david.anes@suse.com
- Update to 1.16.0:
* Minor improvements #67. Fixes CODEC-295.
* Remove duplicated words from Javadocs.
* Simplify assertion #84. Fixes CODEC-301.
* Simplify assertion #84. Fixes CODEC-300.
* Use Standard Charset object #82. Fixes CODEC-298.
* Use