Skip to content

Releases: Kotlin/kotlinx-io

v0.3.2

18 Mar 10:18
Compare
Choose a tag to compare

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!

v0.3.1

02 Feb 11:56
Compare
Choose a tag to compare

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!

v0.3.0

13 Sep 14:50
e9a90bc
Compare
Choose a tag to compare

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.

v0.2.1

11 Jul 09:04
Compare
Choose a tag to compare

Changes:

  • Users no longer need to explicitly include kotlinx-io-bytestring when using kotlinx-io-core (#169).

v0.2.0

03 Jul 13:40
Compare
Choose a tag to compare

Implemented kotlinx-io based on Okio library.

The release includes:

  • a trimmed-down and reworked version of the core Okio API (#132, #137)
  • ByteString implementation (#133)

0.1.1

04 Dec 15:44
Compare
Choose a tag to compare

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