andy-yk-lin / andy-yk-lin-Remediate-Smart-Merge-high-confidence-grouping

0 stars 0 forks source link

Update dependency com.squareup.okio:okio to v1.17.6 #61

Open mend-for-github-com[bot] opened 2 months ago

mend-for-github-com[bot] commented 2 months ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
com.squareup.okio:okio 1.6.0 -> 1.17.6 age adoption passing confidence

[!WARNING] Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

square/okio (com.squareup.okio:okio) ### [`v1.17.6`](https://togithub.com/square/okio/blob/HEAD/CHANGELOG.md#Version-1176) *2023-10-01* - Fix: Don't crash decoding GZIP files when the optional extra data (`XLEN`) is 32 KiB or larger. ### [`v1.17.5`](https://togithub.com/square/okio/blob/HEAD/CHANGELOG.md#Version-1175) *2019-12-11* - Fix: Don't crash when an `InputStream` source is exhausted exactly at a buffer segment boundary. We had a bug where a sequence of reads could violate a buffer's invariants, and this could result in a crash when subsequent reads encountered an unexpected empty segment. ### [`v1.17.4`](https://togithub.com/square/okio/blob/HEAD/CHANGELOG.md#Version-1174) *2019-04-29* - Fix: Don't block unless strictly necessary in `BufferedSource.peek()`. ### [`v1.17.3`](https://togithub.com/square/okio/blob/HEAD/CHANGELOG.md#Version-1173) *2019-01-28* - Fix: Make `Pipe.fold()` close the underlying sink when necessary. ### [`v1.17.2`](https://togithub.com/square/okio/blob/HEAD/CHANGELOG.md#Version-1172) *2019-01-17* - Fix: Make `Pipe.fold()` flush the underlying sink. ### [`v1.17.1`](https://togithub.com/square/okio/blob/HEAD/CHANGELOG.md#Version-1171) *2019-01-16* - Fix: Make the newly-backported `Pipe.fold()` public. ### [`v1.17.0`](https://togithub.com/square/okio/blob/HEAD/CHANGELOG.md#Version-1170) *2019-01-16* - New: Backport `Pipe.fold()` to Okio 1.x. ### [`v1.16.0`](https://togithub.com/square/okio/blob/HEAD/CHANGELOG.md#Version-1160) *2018-10-08* - New: Backport `BufferedSource.peek()` and `BufferedSource.getBuffer()` to Okio 1.x. - Fix: Enforce timeouts when closing `AsyncTimeout` sources. ### [`v1.15.0`](https://togithub.com/square/okio/blob/HEAD/CHANGELOG.md#Version-1150) *2018-07-18* - New: Trie-based `Buffer.select()`. This improves performance when selecting among large lists of options. - Fix: Retain interrupted state when throwing `InterruptedIOException`. ### [`v1.14.0`](https://togithub.com/square/okio/blob/HEAD/CHANGELOG.md#Version-1140) *2018-02-11* - New: `Buffer.UnsafeCursor` provides direct access to Okio internals. This API is like Okio's version of Java reflection: it's a very powerful API that can be used for great things and dangerous things alike. The documentation is extensive and anyone using it should review it carefully before proceeding! - New: Change `BufferedSource` to implement `java.nio.ReadableByteChannel` and `BufferedSink` to implement `java.nio.WritableByteChannel`. Now it's a little easier to interop between Okio and NIO. - New: Automatic module name of `okio` for use with the Java Platform Module System. - New: Optimize `Buffer.getByte()` to search backwards when doing so will be more efficient. - Fix: Honor the requested byte count in `InflaterSource`. Previously this class could return more bytes than requested. - Fix: Improve a performance bug in `AsyncTimeout.sink().write()`. ### [`v1.13.0`](https://togithub.com/square/okio/blob/HEAD/CHANGELOG.md#Version-1130) *2017-05-12* - **Okio now uses `@Nullable` to annotate all possibly-null values.** We've added a compile-time dependency on the JSR 305 annotations. This is a \[provided]\[maven_provided] dependency and does not need to be included in your build configuration, `.jar` file, or `.apk`. We use `@ParametersAreNonnullByDefault` and all parameters and return types are never null unless explicitly annotated `@Nullable`. - **Warning: this release is source-incompatible for Kotlin users.** Nullability was previously ambiguous and lenient but now the compiler will enforce strict null checks. ### [`v1.12.0`](https://togithub.com/square/okio/blob/HEAD/CHANGELOG.md#Version-1120) *2017-04-11* - **Fix: Change Pipe's sink.flush() to not block.** Previously closing a pipe's sink would block until the source had been exhausted. In practice this blocked the caller for no benefit. - **Fix: Change `writeUtf8CodePoint()` to emit `?` for partial surrogates.** The previous behavior was inconsistent: given a malformed string with a partial surrogate, `writeUtf8()` emitted `?` but `writeUtf8CodePoint()` threw an `IllegalArgumentException`. Most applications will never encounter partial surrogates, but for those that do this behavior was unexpected. - New: Allow length of `readUtf8LineStrict()` to be limited. - New: `Utf8.size()` method to get the number of bytes required to encode a string as UTF-8. This may be useful for length-prefixed encodings. - New: SHA-512 hash and HMAC APIs. ### [`v1.11.0`](https://togithub.com/square/okio/blob/HEAD/CHANGELOG.md#Version-1110) *2016-10-11* - **Fix: The four-argument overload of `Buffer.writeString()` had a major bug where it didn't respect offsets if the specified charset was UTF-8.** This was because our short-circuit optimization omitted necessary offset parameters. - New: HMAC support in `HashingSource`, `HashingSink`, `ByteString`, and `Buffer`. This makes it easy to create a keyed-hash message authentication code (HMAC) wherever your data is. Unlike the other hashes, HMAC uses a `ByteString` secret key for authentication. - New: `ByteString.of(ByteBuffer)` makes it easier to mix NIO with Okio. ### [`v1.10.0`](https://togithub.com/square/okio/blob/HEAD/CHANGELOG.md#Version-1100) *2016-08-28* - Fix: Support reading files larger than 2 GiB with `GzipSource`. Previously attempting to decompress such files would fail due to an overflow when validating the total length. - Fix: Exit the watchdog thread after being idle for 60 seconds. This should make it possible for class unloaders to fully unload Okio. - New: `Okio.blackhole()` returns a sink where all bytes written are discarded. This is Okio's equivalent of `/dev/null`. - New: Encode a string with any charset using `ByteString.encodeString()` and decode strings in any charset using `ByteString.string()`. Most applications should prefer `ByteString.encodeUtf8()` and `ByteString.utf8()` unless it's necessary to support a legacy charset. - New: `GzipSink.deflater()` makes it possible to configure the compression level. ### [`v1.9.0`](https://togithub.com/square/okio/blob/HEAD/CHANGELOG.md#Version-190) *2016-07-01* - New: `Pipe` makes it easy to connect a producer thread to a consumer thread. Reads block until data is available to read. Writes block if the pipe's is full. Both sources and sinks support timeouts. - New: `BufferedSource.rangeEquals()` makes it easy to compare a range in a stream to an expected value. This does the right thing: it blocks to load the data required return a definitive result. But it won't block unnecessarily. - New: `Timeout.waitUntilNotified()` makes it possible to use nice timeout abstractions on Java's built-in wait/notify primitives. - Fix: Don't return incorrect results when `HashingSource` does large reads. There was a bug where it wasn't traversing through the segments of the buffer being hashed. This means that `HashingSource` was returning incorrect answers for any writes that spanned multiple segment boundaries. ### [`v1.8.0`](https://togithub.com/square/okio/blob/HEAD/CHANGELOG.md#Version-180) *2016-05-02* - New: `BufferedSource.select(Options)` API for reading one of a set of expected values. - New: Make `ByteString.toString()` and `Buffer.toString()` friendlier. These methods return text if the byte string is valid UTF-8. - New: APIs to match byte strings: `indexOf()`, `startsWith()`, and `endsWith()`. ### [`v1.7.0`](https://togithub.com/square/okio/blob/HEAD/CHANGELOG.md#Version-170) *2016-04-10* - New: Change the segment size to 8 KiB. This has been reported to dramatically improve performance in some applications. - New: `md5()`, `sha1()`, and `sha256()` methods on `Buffer`. Also add a `sha1()` method on `ByteString` for symmetry. - New: `HashingSource` and `HashingSink`. These classes are Okio’s equivalent to the JDK’s `DigestInputStream` and `DigestOutputStream`. They offer convenient `md5()`, `sha1()`, and `sha256()` factory methods to avoid an impossible `NoSuchAlgorithmException`. - New: `ByteString.asByteBuffer()`. - Fix: Limit snapshot byte strings to requested size. - Fix: Change write timeouts to have a maximum write size. Previously large writes could easly suffer timeouts because the entire write was subject to a single timeout. - Fix: Recover from EBADF failures, which could be triggered by asynchronously closing a stream on older versions of Android. - Fix: Don't share segments if doing so only saves a small copy. This should improve performance for all applications. - Fix: Optimize `BufferedSource.indexOfElement()` and `indexOf(ByteString)`. Previously this method had a bug that caused it to be very slow on large buffers.

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.