Kotlinx Io Versions Save

Kotlin multiplatform I/O library

0.3.4

1 week ago

Features

  • Kotlin updated to 1.9.24 #315
  • Supported linuxArm32Hfp target #303
  • Enabled KLib ABI validation
  • Provided extension functions to read (Source.readCodePointValue) and write (Sink.writeCodePointValue) Unicode code point values #307
  • Provided function to list directories (FileSystem.list) #222

0.3.3

3 weeks ago

The release replaces a required reasoning API uses with alternatives that do not require any app’s privacy manifest updates for iOS/iPadOS/tvOS/watchOS apps.

Features

  • Reimplemented file metadata gathering without required reasoning APIs on Apple targets #297
  • Updated Kover version #293

Bugfixes

  • Muted Webpack warnings about node-js modules on JS target #285

0.3.2

2 months ago

Features

  • Implemented basic filesystem support for Wasm targets (#256, #257)
  • Enabled native benchmarks by default (#263)
  • Build scripts were updated to use default template (#272)
  • Added missing IOException constructor (#271)

Thanks to @whyoleg, @Goooler, @lukellmann for contributions!

0.3.1

3 months ago

Features

  • Updated Kotlin to 1.9.22
  • Enabled Wasm Wasi target #236 (Note that neither of Wasm targets has filesystem support yet)
  • Support path resolution #228
  • Dokka configs are improved

Bugfixes

  • Fixed Path::parent behavior on Windows #227
  • Aligned behavior of FileSystem::sink and FileSystem::source across all platforms #252
  • Fixed handling of paths containing a whitespace character #248

Thanks to @lppedd and @whyoleg for contributions!

0.3.0

8 months ago

Features

  • Enabled Wasm target #164
  • Added Sink/Source integration with Apple's NSInputStream and NSOutputStream (#174)
  • Added extension functions integrating ByteString with Base64 and HexFormat APIs (#149)
  • Added extension functions to read and write floating point numbers (#167)
  • Extended filesystems support by adding functions to create and delete files and directories, check their existence, perform atomic move, and get file size (#211, #214). Also extended Path's API to request Path's parent and to get file's name (#206, #212).
  • Updated Kotlin version to 1.9.10

Bugfixes

  • Fixed undefined behavior in the ByteString's hashCode computation on native targets (#190)
  • Fixed compatibility issues with Android API 25 and below (#202)

Shout out to @shanshin, @jeffdgr8, @whyoleg and @qwwdfsad for contributing changes and reviewing the code.

0.2.1

10 months ago

Changes:

0.2.0

10 months ago

Implemented kotlinx-io based on Okio library.

The release includes:

0.1.1

5 years ago

Published 4 Dec 2018

  • Fixed ability to implement DefaultPool in common
  • Fixed error "Unable to stop reading in state Writing"
  • Fixed tryPeek implementation to not consume byte
  • Introduced peekCharUtf8
  • Added a cpointer constructor to native IoBuffer so that IoBuffer can be used to read AND write on a memory chunk
  • Made ByteChannel pass original cause from the owner job
  • Fixed reading UTF-8 lines
  • Fixed empty chunk view creation
  • Utility functions takeWhile* improvements