Update Apache commons-compress 1.23.0

Description

Release 1.23.0 – 2023-03-18

Type

Changes

By

Fix

Implicit narrowing conversion in compound assignment. Thanks to CodeQL, Gary Gregory.

ggregory

Fix

Avoid NPE in FileNameUtils.getBaseName(Path) for paths with zero elements like root paths. Thanks to CodeQL, Gary Gregory.

ggregory

Fix

Avoid NPE in FileNameUtils.getExtension(Path) for paths with zero elements like root paths. Thanks to CodeQL, Gary Gregory.

ggregory

Fix

LZMA2Decoder.decode() looses original exception. Thanks to Gary Gregory.

ggregory

Fix

Extract conditions and avoid duplicate code. #297. Thanks to Arturo Bernal.

ggregory

Fix

Remove duplicate conditions. Use switch instead. #298. Thanks to Arturo Bernal.

ggregory

Fix

Replace JUnit 3 and 4 with JUnit 5 #344, #346. Thanks to Robin Schimpf.

ggregory

Fix

Make 'ZipFile.offsetComparator' static #353. Thanks to Glavo.

ggregory

Fix

The GzipCompressorOutputStream#writeHeader() uses ISO_8859_1 to write the file name and comment. If the strings contains non-ISO_8859_1 characters, unknown characters are displayed after decompression. Use percent encoding for non ISO_8859_1 characters. Fixes COMPRESS-638. Thanks to Radar wen, Gary Gregory, Michael Osipov.

ggregory

Fix

Port some code from IO to NIO APIs. Thanks to Jonathan Leitschuh, Gary Gregory.

ggregory

Fix

pack200: Fix FileBands misusing InputStream#read(byte[]) #360. Thanks to Una, Gary Gregory, Jochen Wiedmann, quaternary, Bruno P. Kinoshita.

ggregory

Fix

Add TarArchiveEntry.getLinkFlag() #365. Fixes COMPRESS-641. Thanks to XenoAmess, Gary Gregory, Bruno P. Kinoshita.

ggregory

Fix

Integer overflow ArithmeticException in TarArchiveOutputStream #368. Fixes COMPRESS-642. Thanks to Anton Klarén, Gary Gregory.

ggregory

Fix

org.apache.commons.compress.archivers.zip.ZipFile.finalize() should not write to std err. Fixes COMPRESS-642. Thanks to Dominik Stadler, Stefan Bodewig, Gary Gregory.

ggregory

Add

Use FileTime for time fields in SevenZipArchiveEntry #256. Fixes COMPRESS-614. Thanks to Andre Brait, Gary Gregory.

ggregory

Add

Fix calculation the offset of the first ZIP central directory entry #334. Fixes COMPRESS-621. Thanks to Glavo.

ggregory

Add

Add encryption support for SevenZ #332. Fixes COMPRESS-633. Thanks to Daniel Santos, Bruno P. Kinoshita, Gary Gregory.

ggregory

Add

Support for extra time data in Zip archives #345. Fixes COMPRESS-613. Thanks to Andre Brait, Gary Gregory, Bruno P. Kinoshita.

ggregory

Add

Add org.apache.commons.compress.archivers.zip.DefaultBackingStoreSupplier to write to a custom folder instead of the default temporary folder. Fixes COMPRESS-621. Thanks to Gary Gregory.

ggregory

Add

Add capability to configure Deflater strategy in GzipCompressorOutputStream: GzipParameters.setDeflateStrategy(int). Fixes COMPRESS-600. Thanks to Gary Gregory, Pascal Davoust.

ggregory

Remove

Remove BZip2CompressorOutputStream.finalize() which only wrote to std err. Thanks to Gary Gregory.

ggregory

Update

Bump mockito.version from 4.8.0 to 4.11.0 #328, #331, #340, #348. Thanks to Dependabot.

ggregory

Update

Bump pmd from 6.50.0 to 6.53.0. Thanks to Gary Gregory.

ggregory

Update

Bump memoryfilesystem from 2.3.0 to 2.5.0 #330, #359. Thanks to Dependabot.

ggregory

Update

Bump slf4j-api from 2.0.3 to 2.0.7 #329, #333, #341, #371. Thanks to Dependabot.

kinow

Update

Bump japicmp from 0.16.0 to 0.17.1. Thanks to Gary Gregory.

ggregory

Update

Bump commons-parent from 54 to 56 #339, #349. Thanks to Dependabot.

ggregory

Update

Bump zstd-jni from 1.5.2-5 to 1.5.4-2 #362, #364. Thanks to Dependabot.

kinow

Attachments

28
  • 24 Mar 2023, 04:02 AM
  • 24 Mar 2023, 04:02 AM
  • 24 Mar 2023, 04:02 AM
  • 24 Mar 2023, 04:02 AM
  • 24 Mar 2023, 04:02 AM
  • 24 Mar 2023, 04:02 AM
  • 24 Mar 2023, 04:02 AM
  • 24 Mar 2023, 04:02 AM
  • 24 Mar 2023, 04:02 AM
  • 24 Mar 2023, 04:02 AM
  • 24 Mar 2023, 04:02 AM
  • 24 Mar 2023, 04:02 AM

Activity

Show:

Automation for Jira March 24, 2023 at 4:11 AM

A pull request has been created, "SAK-48668 Update Apache commons-compress 1.23.0", you can see it at https://github.com/sakaiproject/sakai/pull/11381

Fixed

Details

Priority

Affects versions

23 Status

Merged

Components

Assignee

Reporter

Created March 24, 2023 at 4:02 AM
Updated July 26, 2024 at 3:29 AM
Resolved March 24, 2023 at 9:46 AM

Flag notifications