okio v3.0.0-alpha.6 Release Notes

  • 2021-06-01

    • New: FileHandle supports random access reads, writes, and resizes on files. Create an instance with FileSystem.openReadOnly() or FileSystem.openReadWrite().
    • New: Remove Cursor which is obsoleted by FileHandle. (UnsafeCursor is still around!)
    • New: Add support for the new intermediate representation (IR) artifacts in Kotlin/JS. We still support the legacy artifact format.
    • New: Support tvOS (tvosArm64, tvosX64) in multiplatform.
    • New: Change ResourceFileSystem to omit .class files when indexing .zip files. We expect this to lower the memory footprint of ResourceFileSystem.
    • Fix: Don't crash on background thread access in Kotlin/Native. We had to apply @SharedImmutable and run our test suite on a background thread.