Update dependency com.squareup.okio:okio to v3.16.2 #155
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.9.1->3.16.2Release Notes
square/okio (com.squareup.okio:okio)
v3.16.22025-10-14
okio-assetfilesystemAPIs now correctly restored as visible to Kotlin.v3.16.12025-10-09
Socket.shutdownOutput()orshutdownInput()on anSSLSocketonAndroid API 21. This method throws an
UnsupportedOperationException, so we now catch that andclose the underlying stream instead.
v3.16.02025-07-29
Fix: Change
Socket.asOkioSocket()to resolve its sourceInputStreamandOutputStreameagerly. This will throw a
SocketExceptionimmediately if the socket isn’t connected.This behavior is consistent with our similar APIs,
Socket.source()andSocket.sink().Fix: Optimize
AsyncTimeouton systems with a very large number of active timeouts. This classoriginally kept active timeouts in a linked list; with this update the internal data structure is
a binary heap. The old runtime was 𝑂(𝑛²) to activate 𝑛 timeouts; with this optimization the
runtime is 𝑂(𝑛 log 𝑛).
Upgrade: [Kotlin 2.2.0][kotlin_2_2_0].
v3.15.02025-07-01
Upgrade: [kotlinx-datetime 0.7.0-0.6.x-compat][datetime_0_7_0_compat]. The previous 3.14.0
release,
FakeFileSystembroke binary-compatibility for calls toFakeFileSystem(). Thisrestores that compatibility.
Breaking: Change
FakeFileSystem.clockfrom a JVM field to a property. This avoids a crashrunning Okio in a Gradle 8.x plugin. This change is not binary-compatible.
v3.14.02025-06-28
okio-fakefilesystemartifact only. This is a binary-incompatible backwards-incompatible change that cannot co-exist
with previous releases of
okio-fakefilesystem! If you observe aNoSuchMethodErrorcallingFakeFileSystem.init, update the calling code to this release (or newer) and recompile. We don'tlike imposing backwards-incompatible changes like this on you and do so regretfully.
v3.13.02025-06-13
okio.Socketinterface. This is a first step towards low-level streaming networking supportfor Kotlin/Multiplatform. This release provides two JVM-only implementations:
asOkioSocket()adapts a
java.net.Socketto our new interface, andinMemorySocketPair()returns a pair ofmutually-connected sockets. We also anticipate that this interface will be a useful abstraction
for proxies and tunnels.
v3.12.02025-05-27
BufferedSource.indexOf().BufferedSource.rangeEquals().v3.11.02025-04-09
String.decodeHex()on Kotlin/JS.EXACTLY_ONCEexecution for blocks likeCloseable.use {}andFileSystem.read {}.v3.10.2Compare Source
2025-01-08
okio-nodefilesystemartifact is no longer empty.v3.10.1Compare Source
2025-01-07
FileSystem.close()may prevent future access and/or clean up associated resources depending on the backing implementation.FakeFileSystemwill prevent future operations once closed.InputStreams created fromBufferedSource.inputStream()now have a more efficient version ofInputStream.transferTo()which reduces memory copies.okio-nodefilesystemis 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.0Compare 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.
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 was generated by Mend Renovate. View the repository job log.