Update dependency com.squareup.okio:okio to v3.7.0
This MR contains the following updates:
Package | Update | Change |
---|---|---|
com.squareup.okio:okio | minor |
3.3.0 -> 3.7.0
|
Release Notes
square/okio
v3.7.0
2023-12-16
- New:
Timeout.cancel()
prevents a timeout from firing. - Breaking: Drop the
watchosX86
Kotlin/Native target. From [the Kotlin blog][watchosX86], ‘This is an obsolete simulator for Intel Macs. Use the watchosX64 target instead.’ - New: Add the
watchosDeviceArm64
Kotlin/Native target. - New:
Timeout
APIs that acceptkotlin.time.Duration
. - Upgrade: [Kotlin 1.9.21][kotlin_1_9_21].
v3.6.0
2023-10-01
- Fix: Don't leak file handles when using
metadata
functions onZipFileSystem
. We had a bug where we were closing the.zip
file, but not a stream inside of it. We would have prevented this bug if only we’d usedFakeFileSystem.checkNoOpenFiles()
in our tests! - Fix: Don't build an index of a class loader's resources in
ResourceFileSystem.read()
. This operation doesn't need this index, and building it is potentially expensive. - New: Experimentally support Linux on ARM64 for Kotlin/Native targets (
linuxArm64
). Note that we haven't yet added CI test coverage for this platform. - Upgrade: [Kotlin 1.9.10][kotlin_1_9_10].
v3.5.0
2023-08-02
- New: Support the WebAssembly (WASM) platform. Okio's support for WASM is experimental, but improving, just like Kotlin's own support for WASM.
- New: Adapt WebAssembly System Interface (WASI) API's as an Okio FileSystem using
WasiFileSystem
. This is in the newokio-wasifilesystem
module. It requires the [preview1] WASI API. We’ll make backwards-incompatible upgrades to new WASI API versions as they become available. - Fix: Return relative paths in the NIO adapter FileSystem when required.
FileSystem.list()
had always returned absolute paths, even when the target directory was supplied as a relative path. - Fix: Don't crash when reading into an empty array using
FileHandle
on Kotlin/Native. - Upgrade: [Kotlin 1.9.0][kotlin_1_9_0].
v3.4.0
2023-07-07
- New: Adapt a Java NIO FileSystem (
java.nio.file.FileSystem
) as an Okio FileSystem usingfileSystem.asOkioFileSystem()
. - New: Adapt Android’s
AssetManager
as an Okio FileSystem usingAssetFileSystem
. This is in the newokio-assetfilesystem
module. Android applications should prefer this overFileSystem.RESOURCES
as it’s faster to load. - Fix: Don't crash decoding GZIP files when the optional extra data (
XLEN
) is 32 KiB or larger. - Fix: Resolve symlinks in
FakeFileSystem.canonicalize()
. - Fix: Report the correct
createdAtMillis
inNodeJsFileSystem
file metadata. We were incorrectly usingctimeMs
, wherec
means changed, not created. - Fix:
UnsafeCursor
is nowCloseable
.
Configuration
-
If you want to rebase/retry this MR, check this box.
This MR has been generated by Renovate Bot.
Edited by Olivier Heintz