This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-vfs.git
commit ef09013f8ac4e8b5818247a64b3f882506bb44ab Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Sun Oct 18 16:54:40 2020 -0400 Prepare for Apache Commons VFS 2.7.0-RC1. --- README.md | 7 +- RELEASE-NOTES.txt | 75 +++++++++++++++++++++- SECURITY.md | 17 +++++ .../vfs2/impl/test/DefaultFileMonitorTest.java | 1 + src/changes/changes.xml | 2 +- src/site/xdoc/download_vfs.xml | 26 ++++---- src/site/xdoc/mail-lists.xml | 20 ++++-- 7 files changed, 125 insertions(+), 23 deletions(-) diff --git a/README.md b/README.md index 3fd762a..effbbbc 100644 --- a/README.md +++ b/README.md @@ -43,10 +43,11 @@ Apache Commons VFS Project =================== -[](https://travis-ci.org/apache/commons-vfs) +[](https://travis-ci.org/apache/commons-vfs) +[](https://github.com/apache/commons-vfs/actions) [](https://coveralls.io/r/apache/commons-vfs) [](https://maven-badges.herokuapp.com/maven-central/org.apache.commons/commons-vfs2/) -[](https://javadoc.io/doc/org.apache.commons/commons-vfs2/2.6.0) +[](https://javadoc.io/doc/org.apache.commons/commons-vfs2/2.7.0) Apache Commons VFS is a Virtual File System library. @@ -67,7 +68,7 @@ Alternatively you can pull it from the central Maven repositories: <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-vfs2</artifactId> - <version>2.6.0</version> + <version>2.7.0</version> </dependency> ``` diff --git a/RELEASE-NOTES.txt b/RELEASE-NOTES.txt index 23aa068..1f5d133 100644 --- a/RELEASE-NOTES.txt +++ b/RELEASE-NOTES.txt @@ -1,3 +1,76 @@ + Apache Commons VFS Project 2.7.0 + RELEASE NOTES + 2020-10-19 + +The Apache Commons VFS Project team is pleased to announce the release of Apache Commons VFS Project 2.7.0. + +Apache Commons VFS is a Virtual File System library. + +Maintenance release. Requires Java 8. + +Changes in this version include: + +New features: +o VFS-757: [SFTP] Configure whether exec detection is enabled #80. Thanks to ddg-igh. +o Add proxy config for some HTTP/HTTPS test #108. Thanks to PeterAlfredLee. +o Fix some test error when JVM's default language is not US en #107. Thanks to PeterAlfredLee. +o VFS-787: Allow users to set proxy schemes like http/https #122. Thanks to satish bhor. +o VFS-786: Allow users to set custom keystore types like JCEKS, PKCS12 #121. Thanks to satish bhor. +o VFS-570: Add HDFS write support #114. Thanks to garpinc, Gary Gregory. +o Add FileObject.getURI(). Thanks to Gary Gregory. +o Add FileObject.getPath(). Thanks to Gary Gregory. +o VFS-768: Update Apache httpclient 4.5.11 to 4.5.13 and httpclient5 5.0-beta7 to 5.0.3. Thanks to ddg-igh, Gary Gregory. + +Fixed Bugs: +o VFS-753: NumberFormatException in SftpFileSystem::getUId. Thanks to John Webb, Gary Gregory. +o VFS-779: Possible null pointer dereference in org.apache.commons.vfs2.impl.DefaultFileReplicator.close() due to return value of called method. Thanks to Gary Gregory. +o Add org.apache.commons.vfs2.provider.sftp.SftpFileSystemConfigBuilder.isDisableDetectExecChannel(FileSystemOptions) and setDisableDetectExecChannel(FileSystemOptions, boolean). Thanks to Gary Gregory. +o Add org.apache.commons.vfs2.FileSystemConfigBuilder.toBooleanObject(boolean). Thanks to Gary Gregory. +o Modify some loop using stream API #96. Thanks to PeterAlfredLee. +o VFS-780: SftpFileSystem returns null channel and produce NPE - fix get… #110. Thanks to Wuchte. +o VFS-788: [webdav/webdav4] Jackrabbit1 and jackrabbit2 modules getting same OSGi symbolic name. Thanks to satish bhor. +o VFS-624: Fix for read() in constructors of LocalFileRandomAccessContent and RamFileRandomAccessContent #93. Thanks to PeterAlfredLee. +o VFS-769: Fix .tgz and .tbz2 createFileSystem fails #94 Thanks to PeterAlfredLee. +o VFS-664: Fix for file names with exclamation mark can not be read #95. Thanks to PeterAlfredLee. +o VFS-777: NoSuchMethodError due to multiple versions of commons-codec:commons-codec:jar. Thanks to Bing-ok, Gary Gregory. +o Remove workaround for JDK BUG: 6192331 which was fixed way back in Java 6: https://bugs.java.com/bugdatabase/view_bug.do?bug_id=6192331 Thanks to Gary Gregory. +o FileObject.getURL() returns an illegal URL when a it should escape a space. Thanks to Gary Gregory. +o Fix test fail caused by lack proxy configuration for machines behind a proxy #139. Thanks to PeterAlfredLee. + +Changes: +o org.apache.commons.vfs2.provider.VfsComponent now implements java.io.Closeable. Thanks to Gary Gregory. +o Modify some code use try-with-resources #138. Thanks to PeterAlfredLee. +o Update some file from CRLF to LF #141. Thanks to PeterAlfredLee. +o VFS-755: Update org.apache.httpcomponents:httpclient from 4.5.10 to 4.5.11. Thanks to Gary Gregory. +o VFS-756: Update org.apache.jackrabbit:jackrabbit-standalone-components from 2.19.6 to 2.21.3. Thanks to Gary Gregory. +o VFS-754: Update Apache Commons Compress from 1.19 to 1.20. Thanks to Gary Gregory. +o Update tests from Apache Commons Lang 3.9 to 3.11. Thanks to Gary Gregory. +o Update tests from Log4j 2.13.0 to 2.13.3. Thanks to Gary Gregory. +o Update tests from org.mockito:mockito-core from 3.2.4 to 3.5.13, #131. Thanks to Gary Gregory, Dependabot. +o Update Apache Commons IO from 2.6 to 2.8.0. Thanks to Gary Gregory. +o Update site reports from org.apache.bcel:bcel 6.4.1 to 6.5.0. Thanks to Gary Gregory. +o Update actions/checkout from v1 to v2.3.3 #100, #109, #130. Thanks to Dependabot. +o Update actions/setup-java from v1.4.0 to v1.4.3 #111, #113, #133. Thanks to Dependabot. +o Update commons-parent from 50 to 52. Thanks to Gary Gregory. +o Update checkstyle from 8.27 to 8.36.2 #123, #132. Thanks to Dependabot. +o Update maven-pmd-plugin from 3.12.0 to 3.13.0 #125. Thanks to Dependabot. +o Update exec-maven-plugin from 1.6.0 to 3.0.0 #127. Thanks to Dependabot. +o Update com.puppycrawl.tools:checkstyle 8.36 -> 8.36.1. Thanks to Gary Gregory. +o Update Apache Commons Net from 3.6 to 3.7.2. Thanks to Gary Gregory. +o Update JUnit from 4.13 to 4.13.1. Thanks to Gary Gregory. + + +Historical list of changes: http://commons.apache.org/proper/commons-vfs/changes-report.html + +For complete information on Apache Commons VFS Project, including instructions on how to submit bug reports, +patches, or suggestions for improvement, see the Apache Apache Commons VFS Project website: + +http://commons.apache.org/proper/commons-vfs/ + +Download page: http://commons.apache.org/proper/commons-vfs/download_vfs.cgi + +----------------------------------------------------------------------------- + Apache Commons VFS Project 2.6.0 RELEASE NOTES 2020-01-06 @@ -89,7 +162,7 @@ Download it from http://commons.apache.org/proper/commons-vfs/download_vfs.cgi RELEASE NOTES 2019-08-10 -The Apache Commons VFS team is pleased to announce the release of Apache Commons VFS 2.4.1-SNAPSHOT +The Apache Commons VFS team is pleased to announce the release of Apache Commons VFS 2.4.1 Apache Commons VFS is a Virtual File System library. diff --git a/SECURITY.md b/SECURITY.md new file mode 100644 index 0000000..de29bb8 --- /dev/null +++ b/SECURITY.md @@ -0,0 +1,17 @@ +<!--- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +Apache Commons security page is [https://commons.apache.org/security.html](https://commons.apache.org/security.html). diff --git a/commons-vfs2/src/test/java/org/apache/commons/vfs2/impl/test/DefaultFileMonitorTest.java b/commons-vfs2/src/test/java/org/apache/commons/vfs2/impl/test/DefaultFileMonitorTest.java index 6d05c17..d9b8ce5 100644 --- a/commons-vfs2/src/test/java/org/apache/commons/vfs2/impl/test/DefaultFileMonitorTest.java +++ b/commons-vfs2/src/test/java/org/apache/commons/vfs2/impl/test/DefaultFileMonitorTest.java @@ -33,6 +33,7 @@ import org.junit.Ignore; /** * Test to verify DefaultFileMonitor */ +@Ignore public class DefaultFileMonitorTest extends AbstractVfsTestCase { private static final int DELAY_MILLIS = 100; diff --git a/src/changes/changes.xml b/src/changes/changes.xml index d457084..ff30dbe 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -45,7 +45,7 @@ The <action> type attribute can be add,update,fix,remove. </properties> <body> - <release version="2.7.0" date="2020-MM-DD" description="Maintenance release."> + <release version="2.7.0" date="2020-10-18" description="Maintenance release. Requires Java 8."> <!-- <action issue="VFS-443" dev="ggregory" type="update" due-to="nickallen"> --> <!-- [Local] Need an easy way to convert from a FileObject to a File. --> <!-- </action> --> diff --git a/src/site/xdoc/download_vfs.xml b/src/site/xdoc/download_vfs.xml index 537d6ed..27da2ad 100644 --- a/src/site/xdoc/download_vfs.xml +++ b/src/site/xdoc/download_vfs.xml @@ -113,32 +113,32 @@ limitations under the License. </p> </subsection> </section> - <section name="Apache Commons VFS Project 2.6.0 (requires Java 8)"> + <section name="Apache Commons VFS Project 2.7.0 (requires Java 8)"> <subsection name="Binaries"> <table> <tr> - <td><a href="[preferred]/commons/vfs/binaries/commons-vfs-2.6.0-bin.tar.gz">commons-vfs-2.6.0-bin.tar.gz</a></td> - <td><a href="https://www.apache.org/dist/commons/vfs/binaries/commons-vfs-2.6.0-bin.tar.gz.sha512">sha512</a></td> - <td><a href="https://www.apache.org/dist/commons/vfs/binaries/commons-vfs-2.6.0-bin.tar.gz.asc">pgp</a></td> + <td><a href="[preferred]/commons/vfs/binaries/commons-vfs-2.7.0-bin.tar.gz">commons-vfs-2.7.0-bin.tar.gz</a></td> + <td><a href="https://www.apache.org/dist/commons/vfs/binaries/commons-vfs-2.7.0-bin.tar.gz.sha512">sha512</a></td> + <td><a href="https://www.apache.org/dist/commons/vfs/binaries/commons-vfs-2.7.0-bin.tar.gz.asc">pgp</a></td> </tr> <tr> - <td><a href="[preferred]/commons/vfs/binaries/commons-vfs-2.6.0-bin.zip">commons-vfs-2.6.0-bin.zip</a></td> - <td><a href="https://www.apache.org/dist/commons/vfs/binaries/commons-vfs-2.6.0-bin.zip.sha512">sha512</a></td> - <td><a href="https://www.apache.org/dist/commons/vfs/binaries/commons-vfs-2.6.0-bin.zip.asc">pgp</a></td> + <td><a href="[preferred]/commons/vfs/binaries/commons-vfs-2.7.0-bin.zip">commons-vfs-2.7.0-bin.zip</a></td> + <td><a href="https://www.apache.org/dist/commons/vfs/binaries/commons-vfs-2.7.0-bin.zip.sha512">sha512</a></td> + <td><a href="https://www.apache.org/dist/commons/vfs/binaries/commons-vfs-2.7.0-bin.zip.asc">pgp</a></td> </tr> </table> </subsection> <subsection name="Source"> <table> <tr> - <td><a href="[preferred]/commons/vfs/source/commons-vfs-2.6.0-src.tar.gz">commons-vfs-2.6.0-src.tar.gz</a></td> - <td><a href="https://www.apache.org/dist/commons/vfs/source/commons-vfs-2.6.0-src.tar.gz.sha512">sha512</a></td> - <td><a href="https://www.apache.org/dist/commons/vfs/source/commons-vfs-2.6.0-src.tar.gz.asc">pgp</a></td> + <td><a href="[preferred]/commons/vfs/source/commons-vfs-2.7.0-src.tar.gz">commons-vfs-2.7.0-src.tar.gz</a></td> + <td><a href="https://www.apache.org/dist/commons/vfs/source/commons-vfs-2.7.0-src.tar.gz.sha512">sha512</a></td> + <td><a href="https://www.apache.org/dist/commons/vfs/source/commons-vfs-2.7.0-src.tar.gz.asc">pgp</a></td> </tr> <tr> - <td><a href="[preferred]/commons/vfs/source/commons-vfs-2.6.0-src.zip">commons-vfs-2.6.0-src.zip</a></td> - <td><a href="https://www.apache.org/dist/commons/vfs/source/commons-vfs-2.6.0-src.zip.sha512">sha512</a></td> - <td><a href="https://www.apache.org/dist/commons/vfs/source/commons-vfs-2.6.0-src.zip.asc">pgp</a></td> + <td><a href="[preferred]/commons/vfs/source/commons-vfs-2.7.0-src.zip">commons-vfs-2.7.0-src.zip</a></td> + <td><a href="https://www.apache.org/dist/commons/vfs/source/commons-vfs-2.7.0-src.zip.sha512">sha512</a></td> + <td><a href="https://www.apache.org/dist/commons/vfs/source/commons-vfs-2.7.0-src.zip.asc">pgp</a></td> </tr> </table> </subsection> diff --git a/src/site/xdoc/mail-lists.xml b/src/site/xdoc/mail-lists.xml index 1cbafc6..cedd3af 100644 --- a/src/site/xdoc/mail-lists.xml +++ b/src/site/xdoc/mail-lists.xml @@ -105,7 +105,9 @@ limitations under the License. <td><a href="mailto:user-subscr...@commons.apache.org">Subscribe</a></td> <td><a href="mailto:user-unsubscr...@commons.apache.org">Unsubscribe</a></td> <td><a href="mailto:u...@commons.apache.org?subject=[vfs]">Post</a></td> - <td><a href="https://mail-archives.apache.org/mod_mbox/commons-user/">mail-archives.apache.org</a></td> + <td><a href="https://mail-archives.apache.org/mod_mbox/commons-user/">mail-archives.apache.org</a><br /> + <a href="https://lists.apache.org/list.html?u...@commons.apache.org">lists.apache.org</a> + </td> <td><a href="https://markmail.org/list/org.apache.commons.users/">markmail.org</a><br /> <a href="https://www.mail-archive.com/user@commons.apache.org/">www.mail-archive.com</a><br /> <a href="https://news.gmane.org/gmane.comp.jakarta.commons.devel">news.gmane.org</a> @@ -123,7 +125,9 @@ limitations under the License. <td><a href="mailto:dev-subscr...@commons.apache.org">Subscribe</a></td> <td><a href="mailto:dev-unsubscr...@commons.apache.org">Unsubscribe</a></td> <td><a href="mailto:d...@commons.apache.org?subject=[vfs]">Post</a></td> - <td><a href="https://mail-archives.apache.org/mod_mbox/commons-dev/">mail-archives.apache.org</a></td> + <td><a href="https://mail-archives.apache.org/mod_mbox/commons-dev/">mail-archives.apache.org</a><br /> + <a href="https://lists.apache.org/list.html?d...@commons.apache.org">lists.apache.org</a> + </td> <td><a href="https://markmail.org/list/org.apache.commons.dev/">markmail.org</a><br /> <a href="https://www.mail-archive.com/dev@commons.apache.org/">www.mail-archive.com</a><br /> <a href="https://news.gmane.org/gmane.comp.jakarta.commons.devel">news.gmane.org</a> @@ -141,7 +145,9 @@ limitations under the License. <td><a href="mailto:issues-subscr...@commons.apache.org">Subscribe</a></td> <td><a href="mailto:issues-unsubscr...@commons.apache.org">Unsubscribe</a></td> <td><i>read only</i></td> - <td><a href="https://mail-archives.apache.org/mod_mbox/commons-issues/">mail-archives.apache.org</a></td> + <td><a href="https://mail-archives.apache.org/mod_mbox/commons-issues/">mail-archives.apache.org</a><br /> + <a href="https://lists.apache.org/list.html?iss...@commons.apache.org">lists.apache.org</a> + </td> <td><a href="https://markmail.org/list/org.apache.commons.issues/">markmail.org</a><br /> <a href="https://www.mail-archive.com/issues@commons.apache.org/">www.mail-archive.com</a> </td> @@ -158,7 +164,9 @@ limitations under the License. <td><a href="mailto:commits-subscr...@commons.apache.org">Subscribe</a></td> <td><a href="mailto:commits-unsubscr...@commons.apache.org">Unsubscribe</a></td> <td><i>read only</i></td> - <td><a href="https://mail-archives.apache.org/mod_mbox/commons-commits/">mail-archives.apache.org</a></td> + <td><a href="https://mail-archives.apache.org/mod_mbox/commons-commits/">mail-archives.apache.org</a><br /> + <a href="https://lists.apache.org/list.html?commits@commons.apache.org">lists.apache.org</a> + </td> <td><a href="https://markmail.org/list/org.apache.commons.commits/">markmail.org</a><br /> <a href="https://www.mail-archive.com/commits@commons.apache.org/">www.mail-archive.com</a> </td> @@ -191,7 +199,9 @@ limitations under the License. <td><a class="externalLink" href="mailto:announce-subscr...@apache.org">Subscribe</a></td> <td><a class="externalLink" href="mailto:announce-unsubscr...@apache.org">Unsubscribe</a></td> <td><i>read only</i></td> - <td><a class="externalLink" href="https://mail-archives.apache.org/mod_mbox/www-announce/">mail-archives.apache.org</a></td> + <td><a class="externalLink" href="https://mail-archives.apache.org/mod_mbox/www-announce/">mail-archives.apache.org</a><br /> + <a class="externalLink" href="https://lists.apache.org/list.html?annou...@apache.org">lists.apache.org</a> + </td> <td><a class="externalLink" href="https://markmail.org/list/org.apache.announce/">markmail.org</a><br /> <a class="externalLink" href="https://old.nabble.com/Apache-News-and-Announce-f109.html">old.nabble.com</a><br /> <a class="externalLink" href="https://www.mail-archive.com/announce@apache.org/">www.mail-archive.com</a><br />