Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jul 18, 2025

This PR contains the following updates:

Package Change Age Confidence
com.squareup.okio:okio 2.8.0 -> 2.10.0 age confidence

Release Notes

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

v2.10.0

2021-01-07

  • New: Support Windows (mingwX64) in multiplatform.
  • New: Support watchOS (watchosArm32, watchosArm64, watchosX86) in multiplatform.
  • New: Support HashingSource, HashingSink, buffer hash functions, and UnsafeCursor on non-JVM
    platforms. Previously these were all JVM-only.
  • New: Implement Closeable on Sink and Source on non-JVM platforms. Okio now includes a
    multiplatform okio.Closeable interface and corresponding use {} extension. Closing resources
    when you're done with them shouldn't be JVM-only!
  • New: Sink.hashingSink and Source.hashingSource functions that accept
    java.security.MessageDigest and javax.crypto.Mac instances. Use these when your hash function
    isn't built-in.
  • Fix: Don't crash with a ShortBufferException in CipherSink and CipherSource on Android.
    (Android may throw a ShortBufferException even if the buffer is not too short. We now
    avoid this problem!)
  • Upgrade: [Kotlin 1.4.20][kotlin_1_4_20].

v2.9.0

2020-10-04

  • Fix: Don't corrupt the Buffer when writing a slice of a segmented ByteString. We had a severe
    bug where ByteString instances created with snapshot() and readByteString() incorrectly
    adjusted the buffer's size by their full length, not the length of the slice. This would have
    caused buffer reads to crash! We do not believe data was silently corrupted.
  • New: CipherSink and CipherSource. Use these with javax.crypto.Cipher to encrypt and decrypt
    streams of data. This is a low-level encryption API; most applications should use higher-level
    APIs like TLS when available.
  • New: Promote hash functions md5, sha1(), sha512(), and sha256() to common Kotlin. These
    are currently only available on ByteString, multiplatform support for HashingSource,
    HashingSink, and Buffer should come in a follow-up release. We wrote and optimized our own
    implementations of these hash functions in Kotlin. On JVM and Android platforms Okio still uses
    the platform's built-in hash functions.
  • New: Support OSGi metadata.
  • Upgrade: [Kotlin 1.4.10][kotlin_1_4_10].

Configuration

📅 Schedule: Branch creation - "after 10pm" in timezone Europe/Prague, 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 added the type: dependency-upgrade Upgrade a dependency label Jul 18, 2025
@renovate renovate bot force-pushed the renovate/com.squareup.okio-okio-2.x branch from 4746293 to b2ed1d1 Compare August 10, 2025 16:22
@renovate renovate bot force-pushed the renovate/com.squareup.okio-okio-2.x branch from b2ed1d1 to 96d9f13 Compare October 8, 2025 13:29
@renovate renovate bot changed the base branch from 7.1.x to 7.2.x October 8, 2025 13:29
@renovate renovate bot force-pushed the renovate/com.squareup.okio-okio-2.x branch from 96d9f13 to 9b781ec Compare October 15, 2025 13:52
@renovate renovate bot changed the base branch from 7.2.x to 8.0.x October 15, 2025 13:52
@renovate renovate bot force-pushed the renovate/com.squareup.okio-okio-2.x branch from 9b781ec to 72b73cb Compare October 21, 2025 10:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: dependency-upgrade Upgrade a dependency

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant