Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Sep 12, 2024

This PR contains the following updates:

Package Change Age Confidence
com.squareup.okio:okio 3.9.0 -> 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.

v3.9.1

2024-09-12

  • Fix: Support paths containing a single dot (".") in Path.relativeTo.
  • Fix: Do not read from the upstream source when a 0-byte read is requested.
  • Fix: Update kotlinx.datetime to 0.6.0 to correct a Gradle module metadata problem with 0.5.0.
    Note: this artifact is only used in 'okio-fakefilesystem' and 'okio-nodefilesystem' and not in the Okio core.

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 is behind base branch, 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 requested a review from a team September 12, 2024 23:08
@renovate renovate bot force-pushed the renovate/com.squareup.okio-okio-3.x branch 2 times, most recently from 525bb30 to 7cf47e0 Compare September 16, 2024 11:18
@renovate renovate bot force-pushed the renovate/com.squareup.okio-okio-3.x branch 7 times, most recently from c14a8b1 to c440ac8 Compare October 1, 2024 09:54
@renovate renovate bot force-pushed the renovate/com.squareup.okio-okio-3.x branch from c440ac8 to 88ffae1 Compare October 9, 2024 08:36
@renovate renovate bot requested a review from a team as a code owner October 9, 2024 08:36
@renovate renovate bot force-pushed the renovate/com.squareup.okio-okio-3.x branch 8 times, most recently from be14a1b to e0dcbc0 Compare October 17, 2024 12:17
@renovate renovate bot force-pushed the renovate/com.squareup.okio-okio-3.x branch 2 times, most recently from ed26d13 to 09b6aa4 Compare October 22, 2024 09:18
@renovate renovate bot force-pushed the renovate/com.squareup.okio-okio-3.x branch 2 times, most recently from fca6e8b to 3cf7fb0 Compare November 4, 2024 15:34
@renovate renovate bot force-pushed the renovate/com.squareup.okio-okio-3.x branch 6 times, most recently from 5b895d6 to 5deac27 Compare November 13, 2024 13:34
@renovate renovate bot force-pushed the renovate/com.squareup.okio-okio-3.x branch 2 times, most recently from 6ef3db0 to 6845969 Compare September 9, 2025 11:14
@renovate renovate bot force-pushed the renovate/com.squareup.okio-okio-3.x branch 5 times, most recently from 17225f8 to ce6cb9d Compare September 19, 2025 14:38
@renovate renovate bot force-pushed the renovate/com.squareup.okio-okio-3.x branch 3 times, most recently from 9baee22 to 6e7ba05 Compare September 29, 2025 10:05
@renovate renovate bot changed the title chore(deps): update dependency com.squareup.okio:okio to v3.16.0 Update dependency com.squareup.okio:okio to v3.16.0 Sep 29, 2025
@renovate renovate bot force-pushed the renovate/com.squareup.okio-okio-3.x branch from 6e7ba05 to 740fe3e Compare September 29, 2025 10:18
@renovate renovate bot changed the title Update dependency com.squareup.okio:okio to v3.16.0 chore(deps): update dependency com.squareup.okio:okio to v3.16.0 Sep 29, 2025
@renovate renovate bot force-pushed the renovate/com.squareup.okio-okio-3.x branch 3 times, most recently from 2cbcc9e to a615fe5 Compare October 6, 2025 19:53
@renovate renovate bot requested a review from a team as a code owner October 6, 2025 19:53
@renovate renovate bot force-pushed the renovate/com.squareup.okio-okio-3.x branch 5 times, most recently from 19fee86 to a464cdf Compare October 10, 2025 07:29
@renovate renovate bot force-pushed the renovate/com.squareup.okio-okio-3.x branch from a464cdf to b026972 Compare October 23, 2025 12:19
@renovate renovate bot force-pushed the renovate/com.squareup.okio-okio-3.x branch from b026972 to 7546d88 Compare October 31, 2025 02:14
@renovate renovate bot changed the title chore(deps): update dependency com.squareup.okio:okio to v3.16.0 chore(deps): update dependency com.squareup.okio:okio to v3.16.1 Oct 31, 2025
@renovate renovate bot force-pushed the renovate/com.squareup.okio-okio-3.x branch from 7546d88 to f029deb Compare November 4, 2025 21:14
@renovate renovate bot changed the title chore(deps): update dependency com.squareup.okio:okio to v3.16.1 chore(deps): update dependency com.squareup.okio:okio to v3.16.2 Nov 4, 2025
@renovate renovate bot force-pushed the renovate/com.squareup.okio-okio-3.x branch from f029deb to 85cfe80 Compare November 7, 2025 17:10
@renovate renovate bot force-pushed the renovate/com.squareup.okio-okio-3.x branch from 85cfe80 to abfdd77 Compare November 7, 2025 17:12
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