Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Sep 10, 2021

Bumps okio from 1.17.2 to 2.10.0.

Changelog

Sourced from okio's changelog.

Version 2.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].

Version 2.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].

Version 2.8.0

2020-08-17

  • New: Upgrade to Kotlin 1.4.0.

Version 2.7.0

2020-07-07

... (truncated)

Commits
  • b0f78aa Prepare for release 2.10.0.
  • 0dca6d8 Merge pull request #873 from square/jwilson.0106.strip_filesystem
  • 5986320 Strip all filesystem code from the 2.x branch
  • 1977d3b Merge pull request #872 from square/jwilson.0106.java_sugar
  • 701634b Make Path.toFile() work for Java callers
  • a8ccc12 Merge pull request #871 from square/jwilson.0105.sugar
  • c60f820 Syntactic sugar for writing files
  • 61913ce Merge pull request #870 from square/jwilson.0105.closeable
  • cc815b8 Add a multiplatform okio.Closeable interface
  • adf7a85 Merge pull request #869 from square/jwilson.0104.expect_path
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [okio](https://github.com/square/okio) from 1.17.2 to 2.10.0.
- [Release notes](https://github.com/square/okio/releases)
- [Changelog](https://github.com/square/okio/blob/master/CHANGELOG.md)
- [Commits](square/okio@okio-parent-1.17.2...parent-2.10.0)

---
updated-dependencies:
- dependency-name: com.squareup.okio:okio
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Sep 10, 2021
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Nov 1, 2021

Superseded by #55.

@dependabot dependabot bot closed this Nov 1, 2021
@dependabot dependabot bot deleted the dependabot/maven/cnf/develop/com.squareup.okio-okio-2.10.0 branch November 1, 2021 21:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file java Pull requests that update Java code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant