Skip to content

Commit f424976

Browse files
committed
Add VM macro defines and generate release notes
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/codec/trunk@1308619 13f79535-47bb-0310-9956-ffa450edef68
1 parent db51d15 commit f424976

2 files changed

Lines changed: 194 additions & 234 deletions

File tree

RELEASE-NOTES.txt

Lines changed: 20 additions & 234 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,25 @@
1-
$Id$
2-
3-
The Commons Codec team is pleased to announce the commons-codec-X.Y release!
1+
Apache Commons Codec 1.7 RELEASE NOTES
42

53
The codec package contains simple encoder and decoders for
6-
various formats such as Base64 and Hexadecimal. In addition to these
4+
various formats such as Base64 and Hexadecimal. In addition to these
75
widely used encoders and decoders, the codec package also maintains a
86
collection of phonetic encoding utilities.
97

8+
Feature and fix release.
9+
1010
Changes in this version include:
1111

12+
New features:
13+
o CODEC-130: Base64InputStream.skip skips underlying stream, not output Thanks to tn.
14+
o CODEC-63: Implement NYSIIS Thanks to bayard.
15+
1216
Fixed Bugs:
17+
o CODEC-138: Complete FilterInputStream interface for BaseNCodecInputStream
18+
o CODEC-136: Use Charset objects when possible, create Charsets for required character encodings
19+
o CODEC-132: BeiderMorseEncoder OOM issues Thanks to rcmuir.
20+
o CODEC-131: DoubleMetaphone javadoc contains dead links Thanks to smolav.
21+
1322

14-
Changes:
1523

1624
Known issue only on IBM Java 5:
1725

@@ -24,17 +32,14 @@ testInputStreamReader(org.apache.commons.codec.binary.Base64InputStreamTest)
2432
Time elapsed: 0.004 sec <<< ERROR!
2533
sun.io.MalformedInputException
2634
at sun.io.ByteToCharUTF8.convert(ByteToCharUTF8.java:310)
27-
at
28-
sun.nio.cs.StreamDecoder$ConverterSD.convertInto(StreamDecoder.java:316)
29-
at
30-
sun.nio.cs.StreamDecoder$ConverterSD.implRead(StreamDecoder.java:366)
35+
at sun.nio.cs.StreamDecoder$ConverterSD.convertInto(StreamDecoder.java:316)
36+
at sun.nio.cs.StreamDecoder ConverterSD.implRead(StreamDecoder.java:366)
3137
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:252)
3238
at java.io.InputStreamReader.read(InputStreamReader.java:212)
3339
at java.io.BufferedReader.fill(BufferedReader.java:157)
3440
at java.io.BufferedReader.readLine(BufferedReader.java:320)
3541
at java.io.BufferedReader.readLine(BufferedReader.java:383)
36-
at
37-
org.apache.commons.codec.binary.Base64InputStreamTest.testInputStreamReader(Base64InputStreamTest.java:110)
42+
at org.apache.commons.codec.binary.Base64InputStreamTest.testInputStreamReader(Base64InputStreamTest.java:110)
3843
-------------------------------------------------------------------------------
3944
$ java -version
4045
java version "1.5.0"
@@ -47,230 +52,11 @@ JIT - 20100623_16197ifx10_r8
4752
GC - FP22011_06)
4853
JCL - 20110627
4954
-------------------------------------------------------------------------------
55+
]]>
5056

51-
Have fun!
52-
-Commons Codec team
53-
54-
55-
===============================================================================
56-
57-
The Commons Codec team is pleased to announce the commons-codec-1.6 release!
58-
59-
The codec package contains simple encoder and decoders for
60-
various formats such as Base64 and Hexadecimal. In addition to these
61-
widely used encoders and decoders, the codec package also maintains a
62-
collection of phonetic encoding utilities.
63-
64-
Changes in this version include:
65-
66-
Fixed Bugs:
67-
o Use standard Maven directory layout. Issue: CODEC-129. Thanks to ggregory.
68-
o Documentation spelling fixes. Issue: CODEC-128. Thanks to ville.skytta@iki.fi.
69-
o Fix various character encoding issues in comments and test cases. Issue: CODEC-127.
70-
o ColognePhonetic Javadoc should use HTML entities for special characters. Issue: CODEC-123.
71-
72-
Changes:
73-
o Implement a Beider-Morse phonetic matching codec. Issue: CODEC-125. Thanks to Matthew Pocock.
74-
o Migrate to Java 5. Issue: CODEC-119.
75-
o Migrate to JUnit 4. Issue: CODEC-120.
76-
77-
Have fun!
78-
-Commons Codec team
79-
80-
81-
===============================================================================
82-
83-
Commons Codec Package Version 1.5 Release Notes
84-
85-
New features:
86-
o Add test(s) to check that encodeBase64() does not chunk output. Issue: CODEC-93. Thanks to sebb.
87-
o ArrayIndexOutOfBoundsException when doing multiple reads() on encoding Base64InputStream. Issue: CODEC-105. Thanks to zak.
88-
o Add the Cologne Phonetic to codec.lang. Issue: CODEC-106. Thanks to it2mmeyerfa.
89-
o org.apache.commons.codec.net.URLCodec.ESCAPE_CHAR isn't final but should be. Issue: CODEC-111. Thanks to ggregory.
90-
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.
91-
o org.apache.commons.codec.language.RefinedSoundex.US_ENGLISH_MAPPING should be package protected MALICIOUS_CODE. Issue: CODEC-113. Thanks to ggregory.
92-
o org.apache.commons.codec.language.Soundex.US_ENGLISH_MAPPING should be package protected MALICIOUS_CODE. Issue: CODEC-114. Thanks to ggregory.
93-
o DoubleMetaphone.maxCodeLen should probably be private. Issue: CODEC-115. Thanks to sebb.
94-
o Split Caverphone class into two classes for Caverphone 1.0 and 2.0. Issue: CODEC-118. Thanks to ggregory.
95-
96-
Fixed Bugs:
97-
o new Base64().encode() appends a CRLF, and chunks results into 76 character lines. Issue: CODEC-89.
98-
o Many test cases use getBytes() which uses the default platform encoding so tests may fail on some platforms. Issue: CODEC-92.
99-
o Base64 default constructor behaviour changed to enable chunking in 1.4. Issue: CODEC-97. Thanks to mjryall.
100-
o Base64.encodeBase64String() shouldn't chunk. Issue: CODEC-99. Thanks to julius.
101-
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.
102-
o Typo in DecoderException message thrown from Hex.decodeHex. Issue: CODEC-103. Thanks to gnuf.
103-
o Caverphone encodes names starting and ending with "mb" incorrectly. Issue: CODEC-117. Thanks to ggregory.
104-
105-
Removed:
106-
o Remove deprecated package private method Base64.discardWhitespace(byte[]) Issue: CODEC-116. Thanks to ggregory.
107-
108-
Have fun!
109-
-Commons Codec team
110-
111-
===============================================================================
112-
113-
Commons Codec Package Version 1.4 Release Notes
114-
115-
Compatibility
116-
o Codec 1.4 is binary compatible with Codec 1.3
117-
o Codec 1.4 has a minimum requirement of JDK 1.4
118-
119-
Changes in this version include:
120-
121-
New Features:
122-
123-
o [CODEC-60] Implement Caverphone.
124-
o [CODEC-52] Digest on InputStreams.
125-
o [CODEC-39] DigestUtils: Add methods for SHA-256, SHA-384, and SHA-512.
126-
o [CODEC-69] Streaming Base64 (Base64InputStream and Base64OutputStream added).
127-
o [CODEC-59] Add methods to Base64 which work with String instead of byte[]
128-
129-
Fixed bugs:
130-
131-
o [CODEC-77] Base64 bug with empty input (new byte[0]).
132-
o [CODEC-72] Soundex and RefinedSoundex issues with character arrays.
133-
o [CODEC-71] Base64.isArrayByteBase64() method is inefficient for large byte arrays.
134-
o [CODEC-70] Thread safety and malicious code safety improvements.
135-
o [CODEC-68] isBase64 throws ArrayIndexOutOfBoundsException on some non-BASE64 bytes.
136-
o [CODEC-65] Fix case-insensitive string handling.
137-
o [CODEC-61] Base64.encodeBase64() throws NegativeArraySizeException on large files.
138-
o [CODEC-58] Character set used by Base64 not documented.
139-
o [CODEC-56] RefinedSoundex creates instance before al fields have been initialized.
140-
o [CODEC-51] Test failures in SoundexTest
141-
o [CODEC-10] Using US_ENGLISH in Soundex caused an NullPointerException.
142-
o [CODEC-6] Source tarball spews files all over the place.
143-
o [CODEC-22] Base64.isArrayByteBase64() throws an ArrayIndexOutOfBoundsException for negative octets
144-
o [CODEC-78] Base64: Improve Code Coverage
145-
o [CODEC-81] Base64's new constructor parameters ignored
146-
o [CODEC-83] Improve Double Metaphone test coverage
147-
o [CODEC-84] Double Metaphone bugs in alternative encoding
148-
o [CODEC-73] Make string2byte conversions indepedent of platform default encoding
149-
150-
Changes:
151-
152-
o [CODEC-75] Make Base64 URL-safe
153-
o [CODEC-74] Allow for uppercase letters output in Hex.encodeHex().
154-
o [CODEC-40] Add crypto-compatible BigInteger encoding support to Base64.
155-
156-
===============================================================================
157-
158-
Commons Codec Package Version 1.3 Release Notes
159-
160-
New Features:
161-
162-
o BinaryCodec: Encodes and decodes binary to and from Strings of 0s and 1s.
163-
Issue: 27813. Thanks to Alex Karasulu.
164-
o QuotedPrintableCodec: Codec for RFC 1521 MIME (Multipurpose Internet Mail
165-
Extensions) Part One. Rules #3, #4, and #5 of the quoted-printable spec are
166-
not implemented yet. See also issue 27789. Issue: 26617. Thanks to Oleg
167-
Kalnichevski.
168-
o BCodec: Identical to the Base64 encoding defined by RFC 1521 and allows a
169-
character set to be specified. Issue: 26617. Thanks to Oleg Kalnichevski.
170-
o QCodec: Similar to the Quoted-Printable content-transfer-encoding defined
171-
in RFC 1521 and designed to allow text containing mostly ASCII characters
172-
to be decipherable on an ASCII terminal without decoding. Issue: 26617.
173-
Thanks to Oleg Kalnichevski.
174-
o Soundex: Implemented the DIFFERENCE algorithm. Issue: 25243. Thanks to
175-
Matthew Inger.
176-
o RefinedSoundex: Implemented the DIFFERENCE algorithm. Issue: 25243. Thanks
177-
to Matthew Inger.
178-
179-
Fixed bugs:
180-
181-
o The default URL encoding logic was broken. Issue: 25995. Thanks to Oleg
182-
Kalnichevski.
183-
o Base64 chunked encoding not compliant with RFC 2045 section 2.1 CRLF.
184-
Issue: 27781. Thanks to Gary D. Gregory.
185-
o Hex converts illegal characters to 255. Issue: 28455.
186-
o Metaphone now correctly handles a silent B in a word that ends in MB.
187-
"COMB" is encoded as "KM", before this fix "COMB" was encoded as "KMB".
188-
Issue: 28457.
189-
o Added missing tags in Javadoc comments.
190-
o General Javadoc improvements.
191-
192-
Changes:
193-
194-
o This version is relesed under the Apache License 2.0 , please see
195-
LICENSE.txt. Previous versions were released under the Apache License 1.1.
196-
o The Board recommendation to remove Javadoc author tags has been
197-
implemented. All author tags are now "Apache Software Foundation".
198-
199-
===============================================================================
200-
201-
Commons Codec Package Version 1.2 Release Notes
202-
203-
NEW FEATURES:
204-
205-
* URLCodec - Implements the 'www-form-urlencoded' encoding scheme
206-
207-
* DigestUtils - Simple utility class that provides static convenience
208-
methods for calculating md5 and hex digests.
209-
210-
211-
BUG FIXES:
212-
213-
* Fix for Bug 19860: Modified Base64 to remedy non-compliance with RFC
214-
2045. Non-Base64 characters were not being discarded during the
215-
decode. RFC 2045 explicitly states that all characters outside of the
216-
base64 alphabet are to be ignored.
217-
218-
* Fix for Bug 24360: Hex.decode(Object) throws a ClassCastException
219-
when a String argument is passed in.
220-
221-
* Fix for Bug 24471: Soundex: The HW rule is not applied; hyphens and
222-
apostrophes are not ignored.
223-
224-
* Fix for Bug 24484: Soundex.setMaxLength causes bugs and is not needed.
225-
Calling Soundex.setMaxLength() with a value of 2 or less causes the wrong
226-
answer to be returned. Since the encoding returned by Soundex is always
227-
of length 4 by definition (we do not use the '-' in as a letter-nnn
228-
separator) the need for a maxLength attribute is not needed. Deprecate
229-
the field and accessor methods.
230-
231-
* Fix in Metaphone relating to the handling of the maximum code length.
232-
233-
===============================================================================
234-
235-
Commons Codec Package Version 1.1 Release Notes
236-
237-
INTRODUCTION:
238-
239-
This document contains the release notes for this version of the Commons
240-
Codec package, and highlights changes since the previous version. Version
241-
1.1 is the first official release of Codec. Numerous projects had been
242-
depending on Version 1.0-dev while Codec was in the Sandbox, and backwards
243-
compatibility has been preserved to ease the transition to this official
244-
release.
245-
246-
NEW FEATURES:
247-
248-
* A newer version of the Base64 class reflecting improvements from
249-
both the commons-httpclient and xml-rpc versions of code forked
250-
from catalina.
251-
* Base64 class from commons-httpclient in org.apache.commons.codec.base64
252-
has been retained for backwards compatibility but has been deprecated
253-
* Soundex class from commons-util in org.apache.commons.codec
254-
* Metaphone class from commons-util in org.apache.commons.codec
255-
* RefinedSoundex class in org.apache.commons.codec
256-
* Encoder/Decoder interfaces in org.apache.commons
257-
* String and Binary specific Encoder/Decoder interfaces in
258-
org.apache.commons
259-
* StringEncoderComparator replaces the SoundexComparator from the
260-
language package.
261-
262-
BUG FIXES:
263-
264-
* Base64 now discards whitespace characters when decoding encoded
265-
content.
266-
267-
===============================================================================
57+
For complete information on Commons Codec, including instructions on how to submit bug reports,
58+
patches, or suggestions for improvement, see the Apache Commons Codec website:
26859

269-
Commons Codec Package Version 1.0-dev Release Notes
60+
http://commons.apache.org/codec/
27061

271-
NEW FEATURES:
27262

273-
* Base64 class from commons-httpclient in org.apache.commons.codec.base64
274-
* Soundex class from commons-util in org.apache.commons.codec
275-
* Metaphone class from commons-util in org.apache.commons.codec
276-
* SoundexComparator class from commons-util in org.apache.commons.codec

0 commit comments

Comments
 (0)