New: Timeout.cancel() prevents a timeout from firing.
Breaking: Drop the watchosX86 Kotlin/Native target. From [the Kotlin blog][watchosX86],
‘This is an obsolete simulator for Intel Macs. Use the watchosX64 target instead.’
New: Add the watchosDeviceArm64 Kotlin/Native target.
New: Timeout APIs that accept kotlin.time.Duration.
Upgrade: [Kotlin 1.9.21][kotlin_1_9_21].
Version 3.6.0
2023-10-01
Fix: Don't leak file handles when using metadata functions on ZipFileSystem. We had a bug
where we were closing the .zip file, but not a stream inside of it. We would have prevented
this bug if only we’d used FakeFileSystem.checkNoOpenFiles() in our tests!
Fix: Don't build an index of a class loader's resources in ResourceFileSystem.read(). This
operation doesn't need this index, and building it is potentially expensive.
New: Experimentally support Linux on ARM64 for Kotlin/Native targets (linuxArm64). Note that
we haven't yet added CI test coverage for this platform.
Upgrade: [Kotlin 1.9.10][kotlin_1_9_10].
Version 1.17.6
2023-10-01
Fix: Don't crash decoding GZIP files when the optional extra data (XLEN) is 32 KiB or larger.
Version 3.5.0
2023-08-02
New: Support the WebAssembly (WASM) platform. Okio's support for WASM is experimental, but
improving, just like Kotlin's own support for WASM.
New: Adapt WebAssembly System Interface (WASI) API's as an Okio FileSystem using
WasiFileSystem. This is in the new okio-wasifilesystem module. It requires the [preview1]
WASI API. We’ll make backwards-incompatible upgrades to new WASI API versions as they become
available.
Fix: Return relative paths in the NIO adapter FileSystem when required. FileSystem.list()
had always returned absolute paths, even when the target directory was supplied as a relative
path.
Fix: Don't crash when reading into an empty array using FileHandle on Kotlin/Native.
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 show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@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 com.squareup.okio:okio from 3.4.0 to 3.7.0.
Changelog
Sourced from com.squareup.okio:okio's changelog.
Commits
37ad7d2
Prepare for release 3.7.0.fc8357c
Simplify releasing instructionsac9cd96
Use a state machine to implement AsyncTimeout (#1397)45d6834
Implement AsyncTimeout.cancel() (#1396)d2d0b57
Implement ForwardingTimeout.cancel() (#1395)bf29a91
Don't throw in awaitSignal if the timeout is canceled (#1394)9ece752
Merge pull request #1393 from square/renovate/actions-upload-artifact-4.x8c76a1b
Update actions/upload-artifact action to v484823bd
Implement Timeout.cancel for waitUntilNotified (#1391)154375b
Reduce calls to nanoTime in Timeout.awaitSignal() (#1390)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 show