xref: /aosp_15_r20/external/apache-commons-io/src/site/xdoc/upgradeto2_0_1.xml (revision 0c4d7b72e49a04598d65c566f44504b95342d75a)
1<?xml version="1.0"?>
2<!--
3Licensed to the Apache Software Foundation (ASF) under one or more
4contributor license agreements.  See the NOTICE file distributed with
5this work for additional information regarding copyright ownership.
6The ASF licenses this file to You under the Apache License, Version 2.0
7(the "License"); you may not use this file except in compliance with
8the License.  You may obtain a copy of the License at
9
10     http://www.apache.org/licenses/LICENSE-2.0
11
12Unless required by applicable law or agreed to in writing, software
13distributed under the License is distributed on an "AS IS" BASIS,
14WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15See the License for the specific language governing permissions and
16limitations under the License.
17-->
18<document>
19 <properties>
20  <title>Upgrade from 2.0 to 2.0.1</title>
21  <author email="[email protected]">Commons Documentation Team</author>
22 </properties>
23<body>
24
25<section name="Upgrade">
26<p>
27These are the release notes and advice for upgrading Commons-IO from
28version 2.0 to version 2.0.1
29<source>
30Commons IO is a package of Java utility classes for java.io's hierarchy.
31Classes in this package are considered to be so standard and of such high
32reuse as to justify existence in java.io.
33
34Commons IO contains utility classes, stream implementations, file filters,
35file comparators and endian transformation classes.
36
37
38Compatibility with 2.0 and 1.4
39------------------------------
40Binary compatible - Yes
41
42Source compatible - Yes
43
44Semantic compatible - Yes
45  Check the bug fixes section for semantic bug fixes
46
47Commons IO 2.0.1 requires a minimum of JDK 1.5
48 (Commons IO 1.4 had a minimum of JDK 1.3)
49
50
51Enhancements from 2.0
52---------------------
53
54   * [IO-256] - Provide thread factory for FileAlternationMonitor
55
56
57Bug fixes from 2.0
58------------------
59
60   * [IO-257] - BOMInputStream.read(byte[]) can return 0 which it should not
61   * [IO-258] - XmlStreamReader consumes the stream during encoding detection
62</source>
63</p>
64</section>
65
66</body>
67</document>
68