|
1 | 1 | $Id$ |
2 | 2 |
|
3 | | - Commons Codec Package |
4 | | - Version 1.5 |
5 | | - Release Notes |
| 3 | +The Commons Codec team is pleased to announce the commons-codec-1.5 release! |
6 | 4 |
|
7 | | -http://commons.apache.org/codec/ |
8 | | - |
9 | | -The codec package contains simple encoder and decoders for various formats |
10 | | -such as Base64 and Hexadecimal. In addition to these widely used encoders and |
11 | | -decoders, the codec package also maintains a collection of phonetic encoding |
12 | | -utilities. |
13 | | - |
14 | | -Compatibility |
15 | | -o Codec 1.5 is binary compatible with Codec 1.3 with the exception of |
16 | | - [CODEC-111]: org.apache.commons.codec.net.URLCodec.ESCAPE_CHAR isn't final but should be. |
17 | | -o Codec 1.5 fixes some accidental binary incompatibilities between |
18 | | - 1.4 and 1.3, and thus it is NOT binary compatible with 1.4. |
19 | | -o Codec 1.5 has a minimum requirement of JDK 1.4 |
| 5 | +The codec package contains simple encoder and decoders for |
| 6 | + various formats such as Base64 and Hexadecimal. In addition to these |
| 7 | + widely used encoders and decoders, the codec package also maintains a |
| 8 | + collection of phonetic encoding utilities. |
20 | 9 |
|
21 | 10 | Changes in this version include: |
22 | 11 |
|
23 | | - New Features: |
24 | | - |
25 | | -o [CODEC-XYZ] TBD |
26 | | - |
27 | | - Fixed bugs: |
28 | | - |
29 | | -o [CODEC-89] new Base64().encode() appends a CRLF, and chunks results into 76 character lines |
30 | | -o [CODEC-98] Base64InputStream causes NullPointerException on some input. |
31 | | -o [CODEC-111] org.apache.commons.codec.net.URLCodec.ESCAPE_CHAR isn't final but should be. |
32 | | -o [CODEC-112] Base64.encodeBase64(byte[] binaryData, boolean isChunked, boolean urlSafe, int maxResultSize) throws IAE for valid maxResultSize if isChunked is false |
33 | | - |
34 | | - Changes: |
35 | | - |
36 | | -o [CODEC-XYZ] TBD |
| 12 | +New features: |
| 13 | +o Add test(s) to check that encodeBase64() does not chunk output. Issue: CODEC-93. Thanks to sebb. |
| 14 | +o ArrayIndexOutOfBoundsException when doing multiple reads() on encoding Base64InputStream. Issue: CODEC-105. Thanks to zak. |
| 15 | +o Add the "Kölner Phonetik" encoder (cologne phonetic) to codec.lang. Issue: CODEC-106. Thanks to it2mmeyerfa. |
| 16 | +o org.apache.commons.codec.net.URLCodec.ESCAPE_CHAR isn't final but should be. Issue: CODEC-111. Thanks to ggregory. |
| 17 | +o Base64.encodeBase64(byte[] binaryData, boolean isChunked, boolean urlSafe, int maxResultSize) throws IAE for valid maxResultSize if isChunked is false. Issue: CODEC-112. Thanks to sebb. |
| 18 | +o org.apache.commons.codec.language.RefinedSoundex.US_ENGLISH_MAPPING should be package protected MALICIOUS_CODE. Issue: CODEC-113. Thanks to ggregory. |
| 19 | +o org.apache.commons.codec.language.Soundex.US_ENGLISH_MAPPING should be package protected MALICIOUS_CODE. Issue: CODEC-114. Thanks to ggregory. |
| 20 | +o DoubleMetaphone.maxCodeLen should probably be private. Issue: CODEC-115. Thanks to sebb. |
| 21 | +o Split Caverphone class into two classes for Caverphone 1.0 and 2.0. Issue: CODEC-118. Thanks to ggregory. |
| 22 | + |
| 23 | +Fixed Bugs: |
| 24 | +o new Base64().encode() appends a CRLF, and chunks results into 76 character lines. Issue: CODEC-89. |
| 25 | +o Many test cases use getBytes() which uses the default platform encoding so tests may fail on some platforms. Issue: CODEC-92. |
| 26 | +o Base64 default constructor behaviour changed to enable chunking in 1.4. Issue: CODEC-97. Thanks to mjryall. |
| 27 | +o Base64.encodeBase64String() shouldn't chunk. Issue: CODEC-99. Thanks to julius. |
| 28 | +o Base64InputStream#read(byte[]) incorrectly returns 0 at end of any stream which is multiple of 3 bytes long. Issue: CODEC-101. Thanks to balusc. |
| 29 | +o Typo in DecoderException message thrown from Hex.decodeHex. Issue: CODEC-103. Thanks to gnuf. |
| 30 | +o Caverphone encodes names starting and ending with "mb" incorrectly. Issue: CODEC-117. Thanks to ggregory. |
| 31 | + |
| 32 | + |
| 33 | +Removed: |
| 34 | +o Remove deprecated package private method Base64.discardWhitespace(byte[]) Issue: CODEC-116. Thanks to ggregory. |
37 | 35 |
|
38 | 36 | Have fun! |
39 | | --The commons-codec team |
| 37 | +-Commons Codec team |
| 38 | + |
0 commit comments