Skip to content

Tags

Tags give the ability to mark specific points in history as being important
  • v1.18.0-0

    668c7e0a · Version 1.18.0-0 ·
    Update to commons-codec 1.18.0:
    New features
    ------------
    
    *             Add Base32.Builder.setHexDecodeTable(boolean). Thanks to
    Gary Gregory, Julian Reschke.
    *             Add Base32.Builder.setHexEncodeTable(boolean). Thanks to
    Gary Gregory, Julian Reschke.
    
    Changes
    -------
    
    *             Bump org.apache.commons:commons-parent from 78 to 79.
    Thanks to Gary Gregory.
    
    And from skipped 1.17.2:
    Fixed Bugs
    ----------
    
    *             Rewrite DaitchMokotoffSoundex.soundex(String) using
    String.join(). Thanks to Gary Gregory.
    * CODEC-324:  Use Resource.class to load resources, rather than its
    class loader #353. Thanks to Michael Froh.
    *             Deprecate CharSequenceUtils.CharSequenceUtils(). Thanks to
    Gary Gregory.
    *             Deprecate Sha2Crypt.Sha2Crypt(). Thanks to Gary Gregory.
    
    Changes
    -------
    
    *             Bump org.apache.commons:commons-lang3 from 3.14.0 to
    3.17.0 #296, #305, #313. Thanks to Dependabot.
    *             Bump org.apache.commons:commons-parent from 71 to
    78 #310, #312, #319, #323, #326, #333. Thanks to Gary Gregory.
    *             [test] Bump commons-io:commons-io from 2.16.1 to
    2.18.0 #318, #341. Thanks to Gary Gregory, Dependabot.
    *             Bump org.codehaus.mojo:taglist-maven-plugin from 3.1.0 to
    3.2.1 #332. Thanks to Gary Gregory, Dependabot.
  • v1.17.1-1

    ed3f16f9 · Version 1.17.1-1: ·
    - update to gwt 2.12.1 and elemental 1.2.3
    - doctype updated for gwt.xml files
  • v1.17.1-0

    2d51e1e7 · Version 1.17.1-0 ·
    Update to commons-codec 1.17.1:
    
    Fixed Bugs
    ----------
    
    * Md5Crypt now throws IllegalArgumentException on an invalid prefix.
    Thanks to Gary Gregory.
    
    Changes
    -------
    
    * Bump org.apache.commons:commons-parent from 69 to 71 #286. Thanks to
    Gary Gregory.
    * Bump org.codehaus.mojo:animal-sniffer-maven-plugin from 1.23 to
    1.24 #293. Thanks to Dependabot.
    * Bump org.codehaus.mojo:taglist-maven-plugin from 3.0.0 to 3.1.0 #292.
    Thanks to Dependabot.
  • v1.17.0-0

    2656c57d · Version 1.17.0-0 ·
    Update to commons-codec 1.17.0:
    New features
    ------------
    
    *             Add override
    org.apache.commons.codec.language.bm.Rule.PhonemeExpr.size(). Thanks to
    Gary Gregory.
    *             Add support for Base64 custom alphabets #266. Thanks to
    Chris Kocel, Gary Gregory.
    *             Add Base64.Builder (allows custom alphabets). Thanks to
    Gary Gregory.
    *             Add Base32.Builder (allows custom alphabets). Thanks to
    Gary Gregory.
    *             Add Base64 support for a custom padding byte (like
    Base32). Thanks to Gary Gregory.
    
    Fixed Bugs
    ----------
    
    * CODEC-320:  Wrong output of DoubleMetaphone in 1.16.1. Thanks to
    Martin Frydl, Gary Gregory.
    *             Optimize memory allocation in PhoneticEngine. Thanks to
    Gary Gregory.
    *             BCodec and QCodec encode() methods throw
    UnsupportedCharsetException instead of EncoderException. Thanks to Gary
    Gregory.
    *             Set Javadoc link to latest Java API LTS version. Thanks to
    Gary Gregory.
    *             Base32 constructor fails-fast with a NullPointerException
    if the custom alphabet array is null. Thanks to Gary Gregory.
    *             Base32 constructor makes a defensive copy of the line
    separator array. Thanks to Gary Gregory.
    *             Base64 constructor makes a defensive copy of the line
    separator array. Thanks to Gary Gregory.
    *             Base64 constructor makes a defensive copy of a custom
    alphabet array. Thanks to Gary Gregory.
    
    Changes
    -------
    
    *             Bump org.apache.commons:commons-parent from 66 to
    69 #250, #261. Thanks to Dependabot, Gary Gregory.
    *             Bump commons-io:commons-io from 2.15.1 to
    2.16.1 #258, #265. Thanks to Dependabot, Gary Gregory.
  • v1.16.1-0

    d3d0d351 · Version 1.16.1-0 ·
    Update to commons-codec 1.16.1:
    New features:
    o             Add Maven property project.build.outputTimestamp for build
    reproducibility. Thanks to Gary Gregory.
    
    Fixed Bugs:
    o CODEC-295:  Test clean ups. Thanks to Gary Gregory.
    o             [StepSecurity] ci: Harden GitHub Actions #187. Thanks to
    step-security-bot, Gary Gregory.
    o CODEC-295:  Correct error in Base64 Javadoc #188. Thanks to Evan
    Saulpaugh.
    o CODEC-295:  Add minimum Java version in changes.xml #186. Thanks to
    Olivier Jaquemet, Gary Gregory.
    o CODEC-310:  Documentation update for the
    org.apache.commons.codec.digest.* package #208. Thanks to Yakov
    Shafranovich.
    o             Precompile regular expression in UnixCrypt.crypt(byte[],
    String). Thanks to Gary Gregory.
    o CODEC-315:  Fix possible IndexOutOfBoundException in
    PhoneticEngine.encode method #223. Thanks to Arthur Chan, Gary Gregory.
    o CODEC-313:  Fix possible ArrayIndexOutOfBoundsException in
    QuotedPrintableCodec.encodeQuotedPrintable() method #221. Thanks to
    Arthur Chan, Gary Gregory.
    o CODEC-312:  Fix possible StringIndexOutOfBoundException in
    MatchRatingApproachEncoder.encode() method #220. Thanks to Arthur Chan,
    Gary Gregory.
    o CODEC-311:  Fix possible ArrayIndexOutOfBoundException in
    RefinedSoundex.getMappingCode() #219. Thanks to Arthur Chan, Gary
    Gregory.
    o CODEC-314:  Fix possible IndexOutOfBoundsException in
    PercentCodec.insertAlwaysEncodeChars() method #222. Thanks to Arthur
    Chan, Gary Gregory.
    o             Deprecate UnixCrypt 0-argument constructor. Thanks to Gary
    Gregory.
    o             Deprecate Md5Crypt 0-argument constructor. Thanks to Gary
    Gregory.
    o             Deprecate Crypt 0-argument constructor. Thanks to Gary
    Gregory.
    o             Deprecate StringUtils 0-argument constructor. Thanks to
    Gary Gregory.
    o             Deprecate Resources 0-argument constructor. Thanks to Gary
    Gregory.
    o             Deprecate Charsets 0-argument constructor. Thanks to Gary
    Gregory.
    o             Deprecate CharEncoding 0-argument constructor. Thanks to
    Gary Gregory.
    o             Add missing version for animal-sniffer-maven-plugin.
    Thanks to Gary Gregory.
    
    Changes:
    o             Bump commons-parent from 58 to 66. Thanks to Dependabot,
    Gary Gregory.
    o             Bump commons-lang3 from 3.12.0 to 3.14.0. Thanks to Gary
    Gregory.
    o             Bump commons-io from 2.13.0 to 2.15.1. Thanks to Gary
    Gregory.
    
    Updates from commons-codec 1.16.0:
    New features:
    o CODEC-296:  Add support for Blake3 family of hashes. Thanks to Matt
    Sicker.
    o             Add github/codeql-action.
    
    Fixed Bugs:
    o CODEC-295:  Minor improvements #67. Thanks to Arturo Bernal.
    o             Remove duplicated words from Javadocs. Thanks to James
    Gan.
    o CODEC-301:  Simplify assertion #84. Thanks to Alexander Pinske, Alex
    Herbert.
    o CODEC-300:  Simplify assertion #84. Thanks to Arturo Bernal.
    o CODEC-298:  Use Standard Charset object #82. Thanks to Arturo Bernal.
    o             Use String.contains() functions #125. Thanks to Arturo
    Bernal.
    o             Avoid use toString() or substring() in favor of a
    simplified expression #126. Thanks to Arturo Bernal.
    o CODEC-305:  Fix byte-skipping in Base16 decoding #135. Thanks to
    Florian.
    o             Fix several typos, improve writing in some javadocs #139.
    Thanks to Marc Wrobel.
    o             BaseNCodecOutputStream.eof() should not throw IOException.
    Thanks to Gary Gregory.
    o             Javadoc improvements and cleanups. Thanks to Gary Gregory.
    o             Deprecate BaseNCodec.isWhiteSpace(byte) and use
    Character.isWhitespace(int). Thanks to Gary Gregory.
    
    Changes:
    o             Bump actions/cache from v2 to
    v3.0.10 #75, #99, #119, #138, #149, #152. Thanks to Dependabot, Gary
    Gregory.
    o             Bump actions/setup-java from v1.4.1 to
    3.5.1 #60, #62, #121. Thanks to Dependabot, Gary Gregory.
    o             Bump actions/checkout from 2.3.2 to
    3.1.0 #65, #98, #114, #153. Thanks to Dependabot, Gary Gregory.
    o             Bump commons-parent from 52 to 58, #147, #165, #170.
    Thanks to Dependabot, Gary Gregory.
    o CODEC-285:  Bump junit from 4.13.1 to 5.9.1 #76, #39, #140, #148.
    Thanks to Dependabot, John Patrick.
    o             Bump Java 7 to 8. Thanks to Gary Gregory.
    o             Bump japicmp-maven-plugin from 0.14.3 to 0.17.1. Thanks to
    Gary Gregory.
    o             Bump jacoco-maven-plugin from 0.8.5 to 0.8.8 (Fixes Java
    15 builds). Thanks to Gary Gregory.
    o             Bump maven-surefire-plugin from 2.22.2 to
    3.0.0-M7 #122, #134. Thanks to Gary Gregory.
    o             Bump maven-javadoc-plugin from 3.2.0 to 3.4.1. Thanks to
    Gary Gregory.
    o             Bump animal-sniffer-maven-plugin from 1.19 to 1.22. Thanks
    to Gary Gregory.
    o             Bump maven-pmd-plugin from 3.13.0 to
    3.19.0, #133, #142, #145. Thanks to Gary Gregory, Dependabot.
    o             Bump pmd from 6.47.0 to 6.52.0. Thanks to Gary Gregory.
    o             Bump maven-checkstyle-plugin from 2.17 to 3.2.0 #143.
    Thanks to Gary Gregory.
    o             Bump checkstyle from 8.45.1 to 9.3 #97, #100, #101, #103.
    Thanks to Dependabot.
    o             Bump taglist-maven-plugin from 2.4 to 3.0.0 #102. Thanks
    to Dependabot.
    o             Bump jacoco-maven-plugin from 0.8.7 to 0.8.8. Thanks to
    Gary Gregory.
  • v1.15-3

    efa36258 · Version 1.15-3 ·
    - update to gwt 2.10.0 (with org.gwtproject group id)
    - switch gwt-maven plugin from codehous to tbroyer
    - dependency updates
  • v1.15-2

    4625ddc9 · Version 1.15-2 ·
    - build against gwt-mt-jre-emulation 1.0.2
    - now should be j2cl compatible
  • v1.15-1

    d508d075 · Version 1.15-1 ·
    - dependency updates
    - sign with new pgp key
  • v1.15-0

    00e9f4ec · Version 1.15-0 ·
    Update to commons-codec 1.15:
    
    New features:
    o CODEC-290:  Base16Codec and Base16Input/OutputStream.
                  Thanks to Adam Retter.
    o CODEC-291:  Hex encode/decode with existing arrays.
                  Thanks to Adam Retter.
    
    Fixed Bugs:
    o CODEC-264:  MurmurHash3: Ensure hash128 maintains the sign extension
                  bug.
                  Thanks to Andy Seaborne.
    
    Changes:
    o CODEC-280:  Base32/Base64/BCodec: Added strict decoding property to
                  control handling of trailing bits. Default lenient mode
                  discards them without error. Strict mode raise an
                  exception.
    o CODEC-289:  Base32/Base64 Input/OutputStream: Added strict decoding
                  property to control handling of trailing bits. Default
                  lenient mode discards them without error. Strict mode
                  raise an exception.
    o             Update tests from JUnit 4.12 to 4.13.
                  Thanks to Gary Gregory.
    o             Update actions/checkout from v1 to v2.3.2 #50, #56.
                  Thanks to Dependabot.
    o             Update actions/setup-java from v1.4.0 to v1.4.1 #57.
                  Thanks to Dependabot.
  • v1.14-4

    3b239c7a · Version 1.14-4 ·
    - excluded jre emulation
    - removed gwt-user dependency with gwtproject libs
  • v1.14-3

    14ad5822 · Version 1.14-3 ·
    added gwt-nio and removed own implementation, fixes compatibility
    problems and reduces the support effort
  • v1.14-2

    ccff1f32 · Version 1.14-2 ·
    - build against gwt 2.9.0
    - added source version in javadoc plugin to fix build in java 11
  • v1.14-1

    2d5aad41 · Version 1.14-1 ·
    updated EmulatedCharset to work together with gwt 2.9.0
  • v1.14-0

    38c2931f · Version 1.14-0 ·
    New features:
    o CODEC-264:  Add MurmurHash3.hash128x64 methods to fix sign extension
    error during seeding in hash128 methods. Thanks to Claude Warren.
    o CODEC-267:  Add MurmurHash3.hash32x86 methods and IncrementalHash32x86
    to fix sign extension error in hash32 methods. Thanks to Claude Warren.
    o CODEC-272:  Add RandomAccessFile digest methods #31. Thanks to
    Behrang, Alex Herbert, Gary Gregory.
    o CODEC-273:  Add Path APIs to
    org.apache.commons.codec.digest.DigestUtils similar to File APIs. Thanks
    to Gary Gregory.
    o CODEC-274:  Add SHA-512/224 and SHA-512/256 to DigestUtils for Java 9
    and up. Thanks to Gary Gregory.
    o CODEC-275:  Add missing note in javadoc when sign extension error is
    present #34. Thanks to Claude Warren.
    
    Fixed Bugs:
    o CODEC-261:  Hex: Allow encoding read-only ByteBuffer.
    o CODEC-259:  Hex: Only use an available ByteBuffer backing array if the
    length equals the remaining byte count.
    o CODEC-265:  BaseNCodec to expand buffer using overflow conscious code.
    o CODEC-270:  Base32/64: Fixed decoding check that all the final
    trailing bits to discard are zero.
    o CODEC-269:  Allow repeat calls to MurmurHash3.IncrementalHash32.end()
    to generate the same value.
    o CODEC-276:  Reliance on default encoding in MurmurHash2 and
    MurmurHash3. Thanks to Gary Gregory.
    
    Changes:
    o CODEC-268:  MurmurHash3: Deprecate hash64 methods and hash methods
    accepting a String that use the default encoding.
    o CODEC-277:  Don't reload standard Charsets in
    org.apache.commons.codec.Charsets. Thanks to Gary Gregory.
    o CODEC-278:  Deprecate Charset constants in
    org.apache.commons.codec.Charsets in favor of
    java.nio.charset.StandardCharsets. Thanks to Gary Gregory.
  • v1.12-1

    78c54094 · Version 1.6-2 ·
    using url shortener to work around false positive cve warnings
  • v1.12-0

    6de85f67 · Version 1.12-0 ·
    New features:
    o Add Percent-Encoding Codec (described in RFC3986 and RFC7578)  Issue:
    CODEC-240. Thanks to Ioannis Sermetziadis.
    o Add SHA-3 methods in DigestUtils  Issue: CODEC-251. Thanks to Gary
    Gregory.
    
    Fixed Bugs:
    o B64 salt generator: Random -> ThreadLocalRandom  Issue: CODEC-252.
    o Wrong value calculated by Cologne Phonetic if a special character is
    placed between equal letters  Issue: CODEC-250. Thanks to Alex Volodko.
    o ColognePhoneticTest.testIsEncodeEquals missing assertions  Issue:
    CODEC-246. Thanks to Oscar Luis Vera Pérez.
    
    Changes:
    o Update from Java 7 to Java 8  Issue: CODEC-253.
  • v1.11-0

    04339747 · Version 1.11-0 ·
    New features:
    o Add support for XXHash32  Issue: CODEC-241. 
    o Fluent interface for DigestUtils  Issue: CODEC-220. 
    o Fluent interface for HmacUtils  Issue: CODEC-222. 
    o Add support for CRC32-C  Issue: CODEC-171. Thanks to Brett Okken. 
    o Add HmacAlgorithms.HMAC_SHA_224 (Java 8 only)  Issue: CODEC-217.
    Thanks to Gary Gregory. 
    o Support JEP 287: SHA-3 Hash Algorithms  Issue: CODEC-213. Thanks to
    Gary Gregory. 
    o Create a minimal Digest command line utility:
    org.apache.commons.codec.digest.Digest  Issue: CODEC-212. Thanks to Gary
    Gregory. 
    o Add DigestUtils.getDigest(String, MessageDigest)  Issue: CODEC-210.
    Thanks to Gary Gregory. 
    o Make some DigestUtils APIs public  Issue: CODEC-208. Thanks to Gary
    Gregory. 
    o Add java.io.File APIs to MessageDigestAlgorithm  Issue: CODEC-206.
    Thanks to Gary Gregory. 
    o BaseNCodecOutputStream only supports writing EOF on close()  Issue:
    CODEC-183. Thanks to Steven Wurster. 
    o Support SHA-224 in DigestUtils on Java 8  Issue: CODEC-195. Thanks to
    Gary Gregory. 
    o Support java.nio.ByteBuffer in org.apache.commons.codec.binary.Hex
    Issue: CODEC-194. Thanks to Gary Gregory. 
    o Support java.nio.ByteBuffer in DigestUtils  Issue: CODEC-193. Thanks
    to Michael Donaghy. 
    o Add BaseNCodec.encode(byte[], int, int) input with offset and length
    parameters for Base64 and Base32.  Issue: CODEC-202. Thanks to Oleg
    Kalnichevski. 
    o Add convenience method decodeHex(String).  Issue: CODEC-203. Thanks to
    Gary Gregory. 
    o Add faster CRC32 implementation.  Issue: CODEC-205. Thanks to Gary
    Gregory. 
    o Add convenience API
    org.apache.commons.codec.binary.Hex.encodeHexString(byte[]|ByteBuffer,
    boolean).  Issue: CODEC-224. Thanks to Gary Gregory. 
    o Add Automatic-Module-Name manifest entry for Java 9.  Issue:
    CODEC-242. Thanks to Gary Gregory. 
    
    Fixed Bugs:
    o Base64.encodeBase64String could better use newStringUsAscii (ditto
    encodeBase64URLSafeString)  Issue: CODEC-145. Thanks to Jesse Glick. 
    o BaseNCodec: encodeToString and encodeAsString methods are identical
    Issue: CODEC-144. 
    o URLCodec is neither immutable nor threadsafe  Issue: CODEC-232. 
    o StringUtils.equals(CharSequence cs1, CharSequence cs2) can fail with
    String Index OBE  Issue: CODEC-231. 
    o URLCodec.WWW_FORM_URL should be private  Issue: CODEC-230. 
    o StringUtils.newStringxxx(null) should return null, not NPE  Issue:
    CODEC-229. 
    o Fix minor resource leaks  Issue: CODEC-225. Thanks to Svetlin Zarev. 
    o Base32.HEX_DECODE_TABLE contains the wrong value 32  Issue: CODEC-200.
    Thanks to Luciano Vernaschi. 
    o Charsets Javadoc breaks build when using Java 8  Issue: CODEC-207.
    Thanks to Gary Gregory. 
    o Bug in HW rule in Soundex  Issue: CODEC-199. Thanks to Yossi Tamari. 
    o Javadoc for SHA-224 DigestUtils methods should mention Java 1.8.0
    restriction instead of 1.4.0.  Issue: CODEC-209. Thanks to Gary Gregory. 
    o Don't deprecate Charsets Charset constants in favor of Java 7's
    java.nio.charset.StandardCharsets  Issue: CODEC-219. Thanks to Gary
    Gregory, Sebb. 
    
    Changes:
    o Base32.decode should support lowercase letters  Issue: CODEC-234.
    Thanks to Christopher Schultz, Sebb. 
    o Soundex should support more algorithm variants  Issue: CODEC-233.
    Thanks to Yossi Tamari. 
    o HmacUtils.updateHmac calls reset() unnecessarily  Issue: CODEC-221. 
    
    Removed:
    o Drop obsolete Ant build  Issue: CODEC-223. 
  • v1.10-4

    d53af53f · Version 1.10-4 ·
    - updated jre emulation classes for better compatibility with gwt 2.8
  • v1.10-3

    a14d383f · Version 1.10-3 ·
    - fixed compile problems with gwt-2.8.0-rc2 without breaking gwt-2.7.0
  • v1.10-2

    63158e85 · Version 1.10-2 ·
    - depdendency updates
    - included sources in binary jar, it's no longer necessary to add source
    jar to gwt projects