Releases: christian-schlichtherle/fun-io
Fun I/O 1.7.1
This release fixes a bug in AWS.s3
which made it impossible to use an empty key prefix.
Fun I/O 1.7.0
This release adds BIOS.content(Source)
and BIOS.content(Source, int)
for easy retrieval of the content of a source.
Fun I/O 1.6.1
This release removes an unused dependency from the Fun I/O Delta module and improves exception handling in the Fun I/O AWS module.
Fun I/O 1.6.0
This release adds the module fun-io-aws
. This module adds single method AWS.s3
, which abstracts over objects with a common key prefix in an Amazon S3 bucket as an archive store. This feature enables you to use S3 as a backing store while taking advantage of the Fun I/O API, e.g. for uniform random access to the objects in an S3 bucket, or for easy copying of data into or out-of an S3 bucket or for diffing and patching an S3 bucket.
Fun I/O 1.5.0
This release features a new module, Fun I/O SPI (fun-io-spi
), which provides code required by various implementations of the Fun I/O API (fun-io-api
).
It also fixes the Zip Slip Vulnerability.
Fun I/O 1.4.0
This release enhances the Store
interface with several new methods:
byte[] content(int)
lets you specify the maximum number of bytes to read. If the content length is larger, then aContentTooLargeException
is thrown.void content(byte[], int, int)
lets you specify an offset and a length when writing the byte array.void deleteIfExists()
deletes the content of the store if it exists.
The (mostly undocumented) Buffer
interface has been deprecated and will be removed in Fun I/O 2.x.
Last, but not least, the BIOS
class provides the new method Source url(URL)
, which turns the given URL into a source.
Fun I/O 1.3.1
This release uses the current thread's context class loader when calling BIOS.resource(String)
. Call BIOS.reasource(String, ClassLoader)
with the ClassLoader
set to null
to use the system class loader instead.
Fun I/O 1.3.0
This release adds archive stores for 7zip and Zstd to the CommonsCompress
facade class, as well as some more static factory methods for compression filters to the XZ
facade class.
Fun I/O 1.2.0
This release undeprecates BIOS.path
and adds some overloaded static factory methods which create Store
and ArchiveStore
instances from path strings.
Fun I/O 1.1.0
This release adds BIOS.file(Path)
and deprecates BIOS.path(Path)
, which are otherwise equivalent. The rationale is that the method names in facade classes like BIOS
should describe the semantics of their return value, not the type of their parameters! So the new name indicates that BIOS.file(Path)
returns a file store (an instance of the FileStore
interface, actually).