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-compress.git
The following commit(s) were added to refs/heads/master by this push: new 49bd883b0 Prepare for release candidate 49bd883b0 is described below commit 49bd883b0297c56b3d890b9a9f73a6786a8aec61 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Sat Feb 17 17:23:43 2024 -0500 Prepare for release candidate --- CONTRIBUTING.md | 5 +- README.md | 7 ++- RELEASE-NOTES.txt | 95 +++++++++++++++++++++++++++++++++++++ src/changes/release-notes.vm | 29 +++++++---- src/site/xdoc/download_compress.xml | 26 +++++----- 5 files changed, 133 insertions(+), 29 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 48d051fd3..a93613862 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -49,13 +49,13 @@ Getting Started --------------- + Make sure you have a [JIRA account](https://issues.apache.org/jira/). -+ Make sure you have a [GitHub account](https://github.com/signup/free). ++ Make sure you have a [GitHub account](https://github.com/signup/free). This is not essential, but makes providing patches much easier. + If you're planning to implement a new feature it makes sense to discuss your changes on the [dev list](https://commons.apache.org/mail-lists.html) first. This way you can make sure you're not wasting your time on something that isn't considered to be in Apache Commons Compress's scope. + Submit a [Jira Ticket][jira] for your issue, assuming one does not already exist. + Clearly describe the issue including steps to reproduce when it is a bug. + Make sure you fill in the earliest version that you know has the issue. + Find the corresponding [repository on GitHub](https://github.com/apache/?query=commons-), -[fork](https://help.github.com/articles/fork-a-repo/) and check out your forked repository. +[fork](https://help.github.com/articles/fork-a-repo/) and check out your forked repository. If you don't have a GitHub account, you can still clone the Commons repository. Making Changes -------------- @@ -109,7 +109,6 @@ Additional Resources + [General GitHub documentation](https://help.github.com/) + [GitHub pull request documentation](https://help.github.com/articles/creating-a-pull-request/) + [Apache Commons Twitter Account](https://twitter.com/ApacheCommons) -+ `#apache-commons` IRC channel on `irc.freenode.net` [cla]:https://www.apache.org/licenses/#clas [jira]:https://issues.apache.org/jira/browse/COMPRESS diff --git a/README.md b/README.md index 557549289..eab1839cf 100644 --- a/README.md +++ b/README.md @@ -46,12 +46,12 @@ Apache Commons Compress [](https://github.com/apache/commons-compress/actions/workflows/maven.yml) [](https://app.codecov.io/gh/apache/commons-compress) [](https://maven-badges.herokuapp.com/maven-central/org.apache.commons/commons-compress/?gav=true) -[](https://javadoc.io/doc/org.apache.commons/commons-compress/1.25.0) +[](https://javadoc.io/doc/org.apache.commons/commons-compress/1.26.0) [](https://github.com/apache/commons-compress/actions/workflows/codeql-analysis.yml) [](https://api.securityscorecards.dev/projects/github.com/apache/commons-compress) Apache Commons Compress defines an API for working with -compression and archive formats. These include: bzip2, gzip, pack200, +compression and archive formats. These include bzip2, gzip, pack200, LZMA, XZ, Snappy, traditional Unix Compress, DEFLATE, DEFLATE64, LZ4, Brotli, Zstandard and ar, cpio, jar, tar, zip, dump, 7z, arj. @@ -72,7 +72,7 @@ Alternatively, you can pull it from the central Maven repositories: <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-compress</artifactId> - <version>1.25.0</version> + <version>1.26.0</version> </dependency> ``` @@ -114,7 +114,6 @@ Additional Resources + [Apache Issue Tracker (JIRA)](https://issues.apache.org/jira/browse/COMPRESS) + [Apache Commons Slack Channel](https://the-asf.slack.com/archives/C60NVB8AD) + [Apache Commons Twitter Account](https://twitter.com/ApacheCommons) -+ `#apache-commons` IRC channel on `irc.freenode.org` Apache Commons Components ------------------------- diff --git a/RELEASE-NOTES.txt b/RELEASE-NOTES.txt index f80fe00a9..3f6474e7a 100644 --- a/RELEASE-NOTES.txt +++ b/RELEASE-NOTES.txt @@ -1,3 +1,98 @@ +Apache Commons Compress +Version 1.26.0 +Release Notes + +INTRODUCTION +------------ + +Apache Commons Compress defines an API for working with compression and +archive formats. These include: bzip2, gzip, pack200, LZMA, XZ, Snappy, +traditional Unix Compress, DEFLATE, DEFLATE64, LZ4, Brotli, Zstandard and +ar, cpio, jar, tar, zip, dump, 7z, arj. + +Apache Commons Compress defines an API for working with +compression and archive formats. These include bzip2, gzip, pack200, +LZMA, XZ, Snappy, traditional Unix Compress, DEFLATE, DEFLATE64, LZ4, +Brotli, Zstandard and ar, cpio, jar, tar, zip, dump, 7z, arj. + +Minor feature and maintenance release. + +Changes in this version include: + +New Features +------------ +* Add and use ZipFile.builder(), ZipFile.Builder, and deprecate constructors. Thanks to Gary Gregory. +* Add and use SevenZFile.builder(), SevenZFile.Builder, and deprecate constructors. Thanks to Gary Gregory. +* Add and use ArchiveInputStream.getCharset(). Thanks to Gary Gregory. +* Add and use ArchiveEntry.resolveIn(Path). Thanks to Gary Gregory. +* Add Maven property project.build.outputTimestamp for build reproducibility. Thanks to Gary Gregory. + +Fixed Bugs +--------- + +* COMPRESS-632: Check for invalid PAX values in TarArchiveEntry #438. Thanks to Yakov Shafranovich, Gary Gregory. +* COMPRESS-632: Fix for zero size headers in ArjInputStream #439. Thanks to Yakov Shafranovich, Gary Gregory. +* COMPRESS-632: Fixes and tests for ArInputStream #440. Thanks to Yakov Shafranovich. +* COMPRESS-632: Fixes for dump file parsing #442. Thanks to Yakov Shafranovich, Gary Gregory. +* COMPRESS-632: Improve CPIO exception detection and handling #441. Thanks to Yakov Shafranovich, Gary Gregory. +* Deprecate SkipShieldingInputStream without replacement (no longer used). Thanks to Gary Gregory. +* Reuse commons-codec, don't duplicate class PureJavaCrc32C (removed package-private class). Thanks to Gary Gregory. +* Reuse commons-codec, don't duplicate class XXHash32 (deprecated class). Thanks to Gary Gregory. +* Reuse commons-io, don't duplicate class Charsets (deprecated class). Thanks to Gary Gregory. +* Reuse commons-io, don't duplicate class IOUtils (deprecated methods). Thanks to Gary Gregory. +* Reuse commons-io, don't duplicate class BoundedInputStream (deprecated class). Thanks to Gary Gregory. +* Reuse commons-io, don't duplicate class FileTimes (deprecated TimeUtils methods). Thanks to Gary Gregory. +* Reuse Arrays.equals(byte[], byte[]) and deprecate ArchiveUtils.isEqual(byte[], byte[]). Thanks to Gary Gregory. +* Add a null-check for the class loader of OsgiUtils #451. Thanks to alumi, Gary Gregory. +* Add a null-check in Pack200.newInstance(String, String). Thanks to alumi, Gary Gregory. +* Deprecate ChecksumCalculatingInputStream in favor of java.util.zip.CheckedInputStream. Thanks to Gary Gregory. +* Deprecate CRC32VerifyingInputStream.CRC32VerifyingInputStream(InputStream, long, int). Thanks to Gary Gregory. +* COMPRESS-655: FramedSnappyCompressorOutputStream produces incorrect output when writing a large buffer #457. Thanks to cpreisler, Gary Gregory. +* COMPRESS-657: Fix TAR directory entries being misinterpreted as files #460. Thanks to Sebastian Schuberth, Gary Gregory. +* Deprecate unused method FileNameUtils.getBaseName(String). Thanks to Gary Gregory. +* Deprecate unused method FileNameUtils.getExtension(String). Thanks to Gary Gregory. +* ArchiveInputStream.BoundedInputStream.read() incorrectly adds 1 for EOF to the bytes read count. Thanks to Gary Gregory. +* Deprecate IOUtils.read(File, byte[]). Thanks to Gary Gregory. +* Deprecate IOUtils.copyRange(InputStream, long, OutputStream, int). Thanks to Gary Gregory. +* COMPRESS-653: ZipArchiveOutputStream multi archive updates metadata in incorrect file #455. Thanks to Zbynek Vyskovsky, Gary Gregory. +* Deprecate ByteUtils.InputStreamByteSupplier. Thanks to Gary Gregory. +* Deprecate ByteUtils.fromLittleEndian(InputStream, int). Thanks to Gary Gregory. +* Deprecate ByteUtils.toLittleEndian(DataOutput, long, int). Thanks to Gary Gregory. +* Reduce duplication by having ArchiveInputStream extend FilterInputStream. Thanks to Gary Gregory. +* Support preamble garbage in ZipArchiveInputStream #471. Thanks to Zbynek Vyskovsky, Gary Gregory. +* COMPRESS-658: Fix formatting the lowest expressable DOS time #472. Thanks to Arnout Engelen. +* Drop reflection from ExtraFieldUtils static initialization #480. Thanks to Romain Manni-Bucau, Gary Gregory. +* Preserve exception causation in ExtraFieldUtils.register(Class). Thanks to Gary Gregory. + +Changes +------- + +* Bump commons-lang3 from 3.13.0 to 3.14.0. Thanks to Gary Gregory. +* Bump com.github.marschall:memoryfilesystem from 2.6.1 to 2.8.0 #444, #458. Thanks to Dependabot. +* Bump commons-io from 2.15.0 to 2.15.1. Thanks to Gary Gregory. +* Bump org.apache.commons:commons-parent from 64 to 66. Thanks to Dependabot. +* Bump com.github.luben:zstd-jni from 1.5.5-10 to 1.5.5-11 #448. Thanks to Dependabot. +* Bump org.slf4j:slf4j-api from 2.0.9 to 2.0.12. Thanks to Dependabot. +* Bump commons-codec:commons-codec from 1.16.0 to 1.16.1. Thanks to Dependabot. + + +Resources +--------- + +Historical list of changes: https://commons.apache.org/proper/commons-compress/changes-report.html + +For complete information on Apache Commons Compress, including instructions on how to submit bug reports, +patches, or suggestions for improvement, see the Apache Commons Compress website: + +https://commons.apache.org/proper/commons-compress/ + +Download page: https://commons.apache.org/proper/commons-compress/download_io.cgi + +Have fun! +-Apache Commons Team + +============================================================================== + Apache Commons Compress Version 1.25.0 Release Notes diff --git a/src/changes/release-notes.vm b/src/changes/release-notes.vm index 5963e9eae..d94f9ab75 100644 --- a/src/changes/release-notes.vm +++ b/src/changes/release-notes.vm @@ -19,7 +19,8 @@ Apache Commons Compress Version ${version} Release Notes -INTRODUCTION: +INTRODUCTION +------------ Apache Commons Compress defines an API for working with compression and archive formats. These include: bzip2, gzip, pack200, LZMA, XZ, Snappy, @@ -48,7 +49,8 @@ Changes in this version include: ## less 2 spaces for the 'o' and trailing space #set($indent=' ') #if ($release.getActions('add').size() !=0) -New features: +New Features +------------ #foreach($actionItem in $release.getActions('add')) ## Use replaceAll to fix up LF-only line ends on Windows. #set($action=$actionItem.getAction().replaceAll("\n"," @@ -63,7 +65,7 @@ New features: #else #set($dueto="") #end -o#if($!issue != "") $issue: #else$indent#end ${action} #if($!dueto != "")Thanks to $dueto. #end +* #if($!issue != "") $issue: #else$indent#end ${action} #if($!dueto != "")Thanks to $dueto. #end #set($issue="") #set($dueto="") @@ -71,7 +73,9 @@ o#if($!issue != "") $issue: #else$indent#end ${action} #if($!dueto != "")Thanks #end #if ($release.getActions('fix').size() !=0) -Fixed Bugs: +Fixed Bugs +--------- + #foreach($actionItem in $release.getActions('fix')) ## Use replaceAll to fix up LF-only line ends on Windows. #set($action=$actionItem.getAction().replaceAll("\n"," @@ -86,7 +90,7 @@ Fixed Bugs: #else #set($dueto="") #end -o#if($!issue != "") $issue: #else$indent#end ${action} #if($!dueto != "")Thanks to $dueto. #end +* #if($!issue != "") $issue: #else$indent#end ${action} #if($!dueto != "")Thanks to $dueto. #end #set($issue="") #set($dueto="") @@ -94,7 +98,9 @@ o#if($!issue != "") $issue: #else$indent#end ${action} #if($!dueto != "")Thanks #end #if ($release.getActions('update').size() !=0) -Changes: +Changes +------- + #foreach($actionItem in $release.getActions('update')) ## Use replaceAll to fix up LF-only line ends on Windows. #set($action=$actionItem.getAction().replaceAll("\n"," @@ -109,7 +115,7 @@ Changes: #else #set($dueto="") #end -o#if($!issue != "") $issue: #else$indent#end ${action} #if($!dueto != "")Thanks to $dueto. #end +* #if($!issue != "") $issue: #else$indent#end ${action} #if($!dueto != "")Thanks to $dueto. #end #set($issue="") #set($dueto="") @@ -117,7 +123,9 @@ o#if($!issue != "") $issue: #else$indent#end ${action} #if($!dueto != "")Thanks #end #if ($release.getActions('remove').size() !=0) -Removed: +Removed +------- + #foreach($actionItem in $release.getActions('remove')) ## Use replaceAll to fix up LF-only line ends on Windows. #set($action=$actionItem.getAction().replaceAll("\n"," @@ -132,7 +140,7 @@ Removed: #else #set($dueto="") #end -o#if($!issue != "") $issue: #else$indent#end ${action} #if($!dueto != "")Thanks to $dueto. #end +* #if($!issue != "") $issue: #else$indent#end ${action} #if($!dueto != "")Thanks to $dueto. #end ## #set($issue="") #set($dueto="") @@ -142,6 +150,9 @@ o#if($!issue != "") $issue: #else$indent#end ${action} #if($!dueto != "")Thanks #end ## +Resources +--------- + Historical list of changes: ${project.url}changes-report.html For complete information on ${project.name}, including instructions on how to submit bug reports, diff --git a/src/site/xdoc/download_compress.xml b/src/site/xdoc/download_compress.xml index 725e55089..ddba44fd6 100644 --- a/src/site/xdoc/download_compress.xml +++ b/src/site/xdoc/download_compress.xml @@ -113,32 +113,32 @@ limitations under the License. </p> </subsection> </section> - <section name="Apache Commons Compress 1.25.0 "> + <section name="Apache Commons Compress 1.26.0 "> <subsection name="Binaries"> <table> <tr> - <td><a href="[preferred]/commons/compress/binaries/commons-compress-1.25.0-bin.tar.gz">commons-compress-1.25.0-bin.tar.gz</a></td> - <td><a href="https://downloads.apache.org/commons/compress/binaries/commons-compress-1.25.0-bin.tar.gz.sha512">sha512</a></td> - <td><a href="https://downloads.apache.org/commons/compress/binaries/commons-compress-1.25.0-bin.tar.gz.asc">pgp</a></td> + <td><a href="[preferred]/commons/compress/binaries/commons-compress-1.26.0-bin.tar.gz">commons-compress-1.26.0-bin.tar.gz</a></td> + <td><a href="https://downloads.apache.org/commons/compress/binaries/commons-compress-1.26.0-bin.tar.gz.sha512">sha512</a></td> + <td><a href="https://downloads.apache.org/commons/compress/binaries/commons-compress-1.26.0-bin.tar.gz.asc">pgp</a></td> </tr> <tr> - <td><a href="[preferred]/commons/compress/binaries/commons-compress-1.25.0-bin.zip">commons-compress-1.25.0-bin.zip</a></td> - <td><a href="https://downloads.apache.org/commons/compress/binaries/commons-compress-1.25.0-bin.zip.sha512">sha512</a></td> - <td><a href="https://downloads.apache.org/commons/compress/binaries/commons-compress-1.25.0-bin.zip.asc">pgp</a></td> + <td><a href="[preferred]/commons/compress/binaries/commons-compress-1.26.0-bin.zip">commons-compress-1.26.0-bin.zip</a></td> + <td><a href="https://downloads.apache.org/commons/compress/binaries/commons-compress-1.26.0-bin.zip.sha512">sha512</a></td> + <td><a href="https://downloads.apache.org/commons/compress/binaries/commons-compress-1.26.0-bin.zip.asc">pgp</a></td> </tr> </table> </subsection> <subsection name="Source"> <table> <tr> - <td><a href="[preferred]/commons/compress/source/commons-compress-1.25.0-src.tar.gz">commons-compress-1.25.0-src.tar.gz</a></td> - <td><a href="https://downloads.apache.org/commons/compress/source/commons-compress-1.25.0-src.tar.gz.sha512">sha512</a></td> - <td><a href="https://downloads.apache.org/commons/compress/source/commons-compress-1.25.0-src.tar.gz.asc">pgp</a></td> + <td><a href="[preferred]/commons/compress/source/commons-compress-1.26.0-src.tar.gz">commons-compress-1.26.0-src.tar.gz</a></td> + <td><a href="https://downloads.apache.org/commons/compress/source/commons-compress-1.26.0-src.tar.gz.sha512">sha512</a></td> + <td><a href="https://downloads.apache.org/commons/compress/source/commons-compress-1.26.0-src.tar.gz.asc">pgp</a></td> </tr> <tr> - <td><a href="[preferred]/commons/compress/source/commons-compress-1.25.0-src.zip">commons-compress-1.25.0-src.zip</a></td> - <td><a href="https://downloads.apache.org/commons/compress/source/commons-compress-1.25.0-src.zip.sha512">sha512</a></td> - <td><a href="https://downloads.apache.org/commons/compress/source/commons-compress-1.25.0-src.zip.asc">pgp</a></td> + <td><a href="[preferred]/commons/compress/source/commons-compress-1.26.0-src.zip">commons-compress-1.26.0-src.zip</a></td> + <td><a href="https://downloads.apache.org/commons/compress/source/commons-compress-1.26.0-src.zip.sha512">sha512</a></td> + <td><a href="https://downloads.apache.org/commons/compress/source/commons-compress-1.26.0-src.zip.asc">pgp</a></td> </tr> </table> </subsection>