This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
| com.squareup.okio:okio |
3.1.0 | | | | |
- Upgrade: [Kotlin 1.6.20][kotlin_1_6_20].
- New: Support [Hierarchical project structure][hierarchical_projects]. If you're using Okio in a
multiplatform project please upgrade your project to Kotlin 1.6.20 (or newer) to take advantage
of this. With hierarchical projects it's easier to use properties like
are available on most Okio platforms but not all of them.
ForwardingSource is now available on all platforms.
- New: The
watchosX64 platform is now supported.
- Fix: Don't crash in `NSData.toByteString()' when the input is empty.
- Fix: Support empty ZIP files in
- Fix: Throw in
canonicalize() of ZIP file systems if the path doesn't exist.
- Fix: Don't require ZIP files start with a local file header.
okio.ProtocolException is a new exception type for multiplatform users. (It is aliased to
java.net.ProtocolException on JVM platforms).
This is the first stable release of Okio 3.x. This release is strongly backwards-compatible with
Okio 2.x, and the new major version signifies new capabilities more than it does backwards
Most users should be able to upgrade from 2.x by just changing the version. If you're using Okio
in a Kotlin Multiplatform project, you'll need to drop the
-multiplatform suffix in your Gradle
@ExperimentalFileSystem. This annotation is no longer necessary as the file system
is no longer experimental!
New: Path no longer aggressively normalizes
.. segments. Use
Path.normalize() to apply these
based on the content of the path, or
FileSystem.canonicalize() to do it honoring any symlinks
on a particular file system.
New: Publish a [bill of materials (BOM)][bom] for Okio. Depend on this from Gradle or Maven to
keep all of your Okio artifacts on the same version, even if they're declared via transitive
dependencies. You can even omit versions when declaring other Okio dependencies.
api("com.squareup.okio:okio") // No version!
api("com.squareup.okio:okio-fakefilesystem") // No version!
FileSystem.delete() silently succeeds when deleting a file that doesn't exist. Use
mustExist parameter to trigger an exception instead.
FileSystem.createDirectories() silently succeeds when creating a directory that already
exists. Use the new
mustCreate parameter to trigger an exception instead.
FileSystem offers Java-language overloads where appropriate. Previously functions that
had default parameters were potentially awkward to invoke from Java.
Timeout.intersectWith() returns a value instead of
Unit. This is a binary-incompatible
change. We expect that this public API is very rarely used outside of Okio itself.
BufferedSource.readDecimalLong() to fail if the input value is just
Okio incorrectly returned
0 for this.
📅 Schedule: 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, click this checkbox.
This PR has been generated by WhiteSource Renovate. View repository job log here.