chore(deps): update okhttp - autoclosed #518
Closed
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:
2.5.2
->2.5.3
3.2.0
->3.10.2
4.10.0
->4.12.0
4.10.0
->4.12.0
Release Notes
google/conscrypt (org.conscrypt:conscrypt-android)
v2.5.3
Compare Source
square/okio (com.squareup.okio:okio)
v3.10.2
Compare Source
2025-01-08
okio-nodefilesystem
artifact is no longer empty.v3.10.1
Compare Source
2025-01-07
FileSystem.close()
may prevent future access and/or clean up associated resources depending on the backing implementation.FakeFileSystem
will prevent future operations once closed.InputStream
s created fromBufferedSource.inputStream()
now have a more efficient version ofInputStream.transferTo()
which reduces memory copies.okio-nodefilesystem
is no longer publised as a JS project, but a Kotlin multiplatform project with only a JS target.This change should not affect consumers in any way, and is motivated by the Kotlin Gradle plugin deprecating the JS-only plugin.Please use 3.10.2 to ensure this change actually does not affect your builds.v3.10.0
Compare Source
2025-01-06
This version is equivalent to the subsequent 3.10.1, but it did not fully publish to Maven Central due to infrastructure problems.
v3.9.1
2024-09-12
Path.relativeTo
.Note: this artifact is only used in 'okio-fakefilesystem' and 'okio-nodefilesystem' and not in the Okio core.
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.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.