Skip to content

Update okio to v3.16.3#3236

Closed
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/okio
Closed

Update okio to v3.16.3#3236
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/okio

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jan 8, 2025

This PR contains the following updates:

Package Change Age Confidence
com.squareup.okio:okio-fakefilesystem 3.9.1 -> 3.16.3 age confidence
com.squareup.okio:okio 3.9.1 -> 3.16.3 age confidence
com.squareup.okio:okio-bom 3.9.1 -> 3.16.3 age confidence

Release Notes

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

v3.16.3

2025-11-14

  • Fix: Don't delay triggering timeouts. In 3.16.0 we introduced a regression that caused timeouts
    to fire later than they were supposed to.

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 these updates again.


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

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

@JakeWharton
Copy link
Collaborator

Requires Kotlin 2.1.0 or newer

@renovate renovate bot changed the title Update okio to v3.10.1 Update okio to v3.10.2 Jan 8, 2025
@renovate renovate bot force-pushed the renovate/okio branch 2 times, most recently from e3198f9 to 74152c6 Compare January 9, 2025 09:19
@renovate renovate bot force-pushed the renovate/okio branch from 0c80362 to 0053d8a Compare April 9, 2025 23:55
@renovate renovate bot changed the title Update okio to v3.10.2 Update okio to v3.11.0 Apr 9, 2025
@renovate renovate bot force-pushed the renovate/okio branch from 0053d8a to 2493387 Compare May 28, 2025 02:44
@renovate renovate bot changed the title Update okio to v3.11.0 Update okio to v3.12.0 May 28, 2025
@renovate renovate bot force-pushed the renovate/okio branch from 2493387 to be25927 Compare June 5, 2025 20:31
@renovate renovate bot force-pushed the renovate/okio branch from be25927 to 50d7679 Compare June 13, 2025 15:14
@renovate renovate bot changed the title Update okio to v3.12.0 Update okio to v3.13.0 Jun 13, 2025
@renovate renovate bot force-pushed the renovate/okio branch from 50d7679 to 8cce4e0 Compare June 28, 2025 16:45
@renovate renovate bot changed the title Update okio to v3.13.0 Update okio to v3.14.0 Jun 28, 2025
@renovate renovate bot changed the title Update okio to v3.14.0 Update okio to v3.15.0 Jul 2, 2025
@renovate renovate bot force-pushed the renovate/okio branch from 8cce4e0 to c291d88 Compare July 2, 2025 02:00
@renovate renovate bot changed the title Update okio to v3.15.0 fix(deps): update okio to v3.15.0 Jul 9, 2025
@renovate renovate bot force-pushed the renovate/okio branch from c291d88 to 2533426 Compare July 30, 2025 02:28
@renovate renovate bot changed the title fix(deps): update okio to v3.15.0 fix(deps): update okio to v3.16.0 Jul 30, 2025
@JakeWharton
Copy link
Collaborator

JakeWharton commented Jul 30, 2025

Renovate and its horrible semantic commit detection garbage

@JakeWharton
Copy link
Collaborator

Anyway needs Kotlin 2.2

@renovate renovate bot changed the title fix(deps): update okio to v3.16.0 Update okio to v3.16.0 Aug 8, 2025
@renovate renovate bot force-pushed the renovate/okio branch 3 times, most recently from 868ff82 to 6432d3b Compare September 24, 2025 19:35
@JakeWharton
Copy link
Collaborator

This is a build-logic related problem. I always forget exactly what. I'll look later.

@renovate renovate bot force-pushed the renovate/okio branch 2 times, most recently from 2e32df2 to 96563f1 Compare October 10, 2025 00:56
@renovate renovate bot changed the title Update okio to v3.16.0 Update okio to v3.16.1 Oct 10, 2025
@renovate renovate bot force-pushed the renovate/okio branch 2 times, most recently from 7b9a9f3 to f72913a Compare October 14, 2025 18:34
@renovate renovate bot changed the title Update okio to v3.16.1 Update okio to v3.16.2 Oct 14, 2025
@oldergod
Copy link
Member

I'll look later.

How is it on the look out ?

image

@JakeWharton
Copy link
Collaborator

I tried and couldn't figure it out. I would move gen-tests into build-support as a proper internal plugin rather than a script.

@oldergod
Copy link
Member

oldergod commented Nov 7, 2025

Got it, thanks for the help

@renovate renovate bot force-pushed the renovate/okio branch 3 times, most recently from e6c1544 to e1a2d8f Compare November 15, 2025 02:50
@renovate renovate bot changed the title Update okio to v3.16.2 Update okio to v3.16.3 Nov 15, 2025
@oldergod oldergod closed this Nov 17, 2025
@oldergod oldergod deleted the renovate/okio branch November 17, 2025 12:40
@renovate
Copy link
Contributor Author

renovate bot commented Nov 17, 2025

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update (3.16.3). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

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.

2 participants