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.
Upgrade: [Kotlin 1.9.0][kotlin_1_9_0].
Version 3.4.0
2023-07-07
New: Adapt a Java NIO FileSystem (java.nio.file.FileSystem) as an Okio FileSystem using
fileSystem.asOkioFileSystem().
New: Adapt Android’s AssetManager as an Okio FileSystem using AssetFileSystem. This is in the
new okio-assetfilesystem module. Android applications should prefer this over
FileSystem.RESOURCES as it’s faster to load.
Fix: Don't crash decoding GZIP files when the optional extra data (XLEN) is 32 KiB or larger.
Fix: Resolve symlinks in FakeFileSystem.canonicalize().
Fix: Report the correct createdAtMillis in NodeJsFileSystem file metadata. We were
incorrectly using ctimeMs, where c means changed, not created.
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 com.squareup.okio:okio from 3.3.0 to 3.5.0.
Changelog
Sourced from com.squareup.okio:okio's changelog.
Commits
5bf5a1d
Prepare for release 3.5.0.28c43f1
Restore wasm to the publish job (#1322)386d18f
Only create relative symlinks in WasiFileSystem (#1321)094fd45
Automatically get preopens via the API (#1319)3e30feb
Document why we use NUL terminated strings (#1318)c7e7ad3
Add API to choose non-default preopens (#1317)0aac566
Get AbstractFileSystemTest running on WASM (#1316)0709c1f
WasiFileSystem.openReadOnly and openReadWrite (#1315)32dc86b
WasiFileSystem.canonicalize (#1313)1740e8a
Attempt to fix publishing with WASM (#1314)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)