This repository has been archived by the owner on Apr 14, 2024. It is now read-only.
Update dependency com.squareup.okio:okio to v3.9.0 #404
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.2.0
->3.9.0
Release Notes
square/okio (com.squareup.okio:okio)
v3.9.0
2024-03-12
FileSystem.SYSTEM
can be used in source sets that target both Kotlin/Native andKotlin/JVM. Previously, we had this symbol in each source set but it wasn't available to
common source sets.
COpaquePointer.readByteString(...)
creates a ByteString from a memory address.InflaterSource
,DeflaterSink
,GzipSink
, andGzipSource
in Kotlin/Native.FileMetadata.lastModifiedAtMillis()
is interpreted as UTC and not the host machine's time zone.of ZIP's built-in DOS timestamps, and the 2038 time bombs of ZIP's extended timestamps.
FileSystem.RESOURCES
.NullPointerException
ifCloseable.use { ... }
returns null.v3.8.0
2024-02-09
TypedOptions
works likeOptions
, but it returns aT
rather than an index.Pipe.fold()
.v3.7.0
2023-12-16
Timeout.cancel()
prevents a timeout from firing.watchosX86
Kotlin/Native target. From [the Kotlin blog][watchosX86],‘This is an obsolete simulator for Intel Macs. Use the watchosX64 target instead.’
watchosDeviceArm64
Kotlin/Native target.Timeout
APIs that acceptkotlin.time.Duration
.v3.6.0
2023-10-01
metadata
functions onZipFileSystem
. We had a bugwhere we were closing the
.zip
file, but not a stream inside of it. We would have preventedthis bug if only we’d used
FakeFileSystem.checkNoOpenFiles()
in our tests!ResourceFileSystem.read()
. Thisoperation doesn't need this index, and building it is potentially expensive.
linuxArm64
). Note thatwe haven't yet added CI test coverage for this platform.
v3.5.0
2023-08-02
improving, just like Kotlin's own support for WASM.
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.
FileSystem.list()
had always returned absolute paths, even when the target directory was supplied as a relative
path.
FileHandle
on Kotlin/Native.v3.4.0
2023-07-07
java.nio.file.FileSystem
) as an Okio FileSystem usingfileSystem.asOkioFileSystem()
.AssetManager
as an Okio FileSystem usingAssetFileSystem
. This is in thenew
okio-assetfilesystem
module. Android applications should prefer this overFileSystem.RESOURCES
as it’s faster to load.XLEN
) is 32 KiB or larger.FakeFileSystem.canonicalize()
.createdAtMillis
inNodeJsFileSystem
file metadata. We wereincorrectly using
ctimeMs
, wherec
means changed, not created.UnsafeCursor
is nowCloseable
.v3.3.0
2023-01-07
use {}
is used with a non-local return. We introduced thisperformance and stability bug by not considering that non-local returns execute neither the
return
norcatch
control flows.BufferedSink
andBufferedSource
. These were never intendedfor end-users to implement, and we're happy that Kotlin now allows us to express that in our API.
synchronized
toReentrantLock
andCondition
. We expect thisto improve help when using Okio with Java virtual threads ([Project Loom][loom]).
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.