Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jan 9, 2025

This PR contains the following updates:

Package Change Age Confidence
com.squareup.okio:okio 3.9.1 -> 3.16.2 age confidence

Release Notes

square/okio (com.squareup.okio:okio)

v3.16.2

2025-10-14

  • Fix: okio-assetfilesystem APIs now correctly restored as visible to Kotlin.

v3.16.1

2025-10-09

  • Fix: Don't crash when calling Socket.shutdownOutput() or shutdownInput() on an SSLSocket on
    Android API 21. This method throws an UnsupportedOperationException, so we now catch that and
    close the underlying stream instead.

v3.16.0

2025-07-29

  • Fix: Change Socket.asOkioSocket() to resolve its source InputStream and OutputStream
    eagerly. This will throw a SocketException immediately if the socket isn’t connected.
    This behavior is consistent with our similar APIs, Socket.source() and Socket.sink().

  • Fix: Optimize AsyncTimeout on systems with a very large number of active timeouts. This class
    originally 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.0

2025-07-01

  • Upgrade: [kotlinx-datetime 0.7.0-0.6.x-compat][datetime_0_7_0_compat]. The previous 3.14.0
    release, FakeFileSystem broke binary-compatibility for calls to FakeFileSystem(). This
    restores that compatibility.

  • Breaking: Change FakeFileSystem.clock from a JVM field to a property. This avoids a crash
    running Okio in a Gradle 8.x plugin. This change is not binary-compatible.

v3.14.0

2025-06-28

  • Upgrade: [kotlinx-datetime 0.7.0][datetime_0_7_0]. This impacts the okio-fakefilesystem
    artifact only. This is a binary-incompatible backwards-incompatible change that cannot co-exist
    with previous releases of okio-fakefilesystem! If you observe a NoSuchMethodError calling
    FakeFileSystem.init, update the calling code to this release (or newer) and recompile. We don't
    like imposing backwards-incompatible changes like this on you and do so regretfully.

v3.13.0

2025-06-13

  • New: okio.Socket interface. This is a first step towards low-level streaming networking support
    for Kotlin/Multiplatform. This release provides two JVM-only implementations: asOkioSocket()
    adapts a java.net.Socket to our new interface, and inMemorySocketPair() returns a pair of
    mutually-connected sockets. We also anticipate that this interface will be a useful abstraction
    for proxies and tunnels.
  • New: In-development snapshots are now published to the [Central Portal Snapshots repository].

v3.12.0

2025-05-27

  • New: Support an optional end index when searching with BufferedSource.indexOf().
  • Fix: Don't do unnecessary work in BufferedSource.rangeEquals().
  • Upgrade: [Kotlin 2.1.21][kotlin_2_1_21].

v3.11.0

2025-04-09

  • Fix: Clear the deflater's byte array reference
  • New: Faster implementation of String.decodeHex() on Kotlin/JS.
  • New: Declare EXACTLY_ONCE execution for blocks like Closeable.use {} and FileSystem.read {}.
  • Upgrade: [Kotlin 2.1.20][kotlin_2_1_20].

v3.10.2

Compare Source

2025-01-08

  • Fix: okio-nodefilesystem artifact is no longer empty.

v3.10.1

Compare Source

2025-01-07

  • New: FileSystem.close() may prevent future access and/or clean up associated resources depending on the backing implementation. FakeFileSystem will prevent future operations once closed.
  • InputStreams created from BufferedSource.inputStream() now have a more efficient version of InputStream.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.


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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot changed the title Update dependency com.squareup.okio:okio to v3.10.2 Update dependency com.squareup.okio:okio to v3.11.0 Apr 9, 2025
@renovate renovate bot force-pushed the renovate/okio branch from 94aa1a5 to d35dd11 Compare April 9, 2025 22:26
@renovate renovate bot force-pushed the renovate/okio branch from d35dd11 to ce6ce0b Compare May 27, 2025 23:19
@renovate renovate bot changed the title Update dependency com.squareup.okio:okio to v3.11.0 Update dependency com.squareup.okio:okio to v3.12.0 May 27, 2025
@renovate renovate bot force-pushed the renovate/okio branch from ce6ce0b to 10caa5f Compare June 13, 2025 16:36
@renovate renovate bot changed the title Update dependency com.squareup.okio:okio to v3.12.0 Update dependency com.squareup.okio:okio to v3.13.0 Jun 13, 2025
@renovate renovate bot force-pushed the renovate/okio branch from 10caa5f to 0db939e Compare June 28, 2025 17:13
@renovate renovate bot changed the title Update dependency com.squareup.okio:okio to v3.13.0 Update dependency com.squareup.okio:okio to v3.14.0 Jun 28, 2025
@renovate renovate bot force-pushed the renovate/okio branch from 0db939e to 7ea98bf Compare July 2, 2025 04:24
@renovate renovate bot changed the title Update dependency com.squareup.okio:okio to v3.14.0 Update dependency com.squareup.okio:okio to v3.15.0 Jul 2, 2025
@renovate renovate bot force-pushed the renovate/okio branch from 7ea98bf to 851f2d6 Compare July 29, 2025 23:40
@renovate renovate bot changed the title Update dependency com.squareup.okio:okio to v3.15.0 Update dependency com.squareup.okio:okio to v3.16.0 Jul 29, 2025
@renovate renovate bot changed the title Update dependency com.squareup.okio:okio to v3.16.0 Update dependency com.squareup.okio:okio to v3.16.1 Oct 10, 2025
@renovate renovate bot changed the title Update dependency com.squareup.okio:okio to v3.16.1 Update dependency com.squareup.okio:okio to v3.16.2 Oct 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant