Skip to content

Commit e9a90bc

Browse files
authored
Release 0.3.0 (#219)
1 parent 3c4d504 commit e9a90bc

File tree

4 files changed

+27
-9
lines changed

4 files changed

+27
-9
lines changed

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,22 @@
11
# CHANGELOG
2+
## 0.3.0
3+
> Published 13 Sep 2023
4+
5+
### Features
6+
- Enabled Wasm target [#164](https://github.com/Kotlin/kotlinx-io/issues/164)
7+
- Added Sink/Source integration with Apple's NSInputStream and NSOutputStream ([#174](https://github.com/Kotlin/kotlinx-io/pull/174))
8+
- Added extension functions integrating ByteString with Base64 and HexFormat APIs ([#149](https://github.com/Kotlin/kotlinx-io/issues/149))
9+
- Added extension functions to read and write floating point numbers ([#167](https://github.com/Kotlin/kotlinx-io/issues/167))
10+
- Extended filesystems support by adding functions to create and delete files and directories, check their existence,
11+
perform atomic move, and get file size ([#211](https://github.com/Kotlin/kotlinx-io/issues/211),
12+
[#214](https://github.com/Kotlin/kotlinx-io/issues/214)).
13+
Also extended Path's API to request Path's parent and to get file's name
14+
([#206](https://github.com/Kotlin/kotlinx-io/issues/206), [#212](https://github.com/Kotlin/kotlinx-io/issues/212)).
15+
- Updated Kotlin version to 1.9.10
16+
17+
### Bugfixes
18+
- Fixed undefined behavior in the ByteString's hashCode computation on native targets ([#190](https://github.com/Kotlin/kotlinx-io/issues/190))
19+
- Fixed compatibility issues with Android API 25 and below ([#202](https://github.com/Kotlin/kotlinx-io/issues/202))
220

321
## 0.2.1
422
> Published 11 Jul 2023

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
[![Kotlin Alpha](https://kotl.in/badges/alpha.svg)](https://kotlinlang.org/docs/components-stability.html)
44
[![JetBrains incubator project](https://jb.gg/badges/incubator.svg)](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub)
55
[![GitHub license](https://img.shields.io/badge/license-Apache%20License%202.0-blue.svg?style=flat)](http://www.apache.org/licenses/LICENSE-2.0)
6-
[![Download](https://img.shields.io/maven-central/v/org.jetbrains.kotlinx/kotlinx-io-core?versionSuffix=0.2.1)](https://central.sonatype.com/artifact/org.jetbrains.kotlinx/kotlinx-io-core/0.2.1)
6+
[![Download](https://img.shields.io/maven-central/v/org.jetbrains.kotlinx/kotlinx-io-core)](https://central.sonatype.com/artifact/org.jetbrains.kotlinx/kotlinx-io-core/)
77
[![Kotlin](https://img.shields.io/badge/kotlin-1.9.10-blue.svg?logo=kotlin)](http://kotlinlang.org)
88
[![TeamCity build](https://img.shields.io/teamcity/build/s/KotlinTools_KotlinxIo_BuildAggregated.svg?server=http%3A%2F%2Fteamcity.jetbrains.com)](https://teamcity.jetbrains.com/viewType.html?buildTypeId=KotlinTools_KotlinxIo_BuildAggregated&guest=1)
99
[![KDoc link](https://img.shields.io/badge/API_reference-KDoc-blue)](https://fzhinkin.github.io/kotlinx-io-dokka-docs-preview/)
@@ -22,7 +22,7 @@ The library also provides interfaces representing data sources and destinations
2222
In addition to `Buffer`, the library provides an immutable sequence of bytes - `ByteString`.
2323

2424
Also, there's an experimental filesystem support provided by `kotlinx.io.files` package.
25-
The package includes `FileSystem` interface and its implementation - `SystemFileSystem`.
25+
The package includes `FileSystem` interface and its implementation - `SystemFileSystem`.
2626

2727
`FileSystem` provides basic operations for working with files and directories.
2828

@@ -48,7 +48,7 @@ repositories {
4848
Add the library to dependencies:
4949
```kotlin
5050
dependencies {
51-
implementation("org.jetbrains.kotlinx:kotlinx-io-core:0.2.1")
51+
implementation("org.jetbrains.kotlinx:kotlinx-io-core:0.3.0")
5252
}
5353
```
5454

@@ -58,7 +58,7 @@ kotlin {
5858
sourceSets {
5959
commonMain {
6060
dependencies {
61-
implementation("org.jetbrains.kotlinx:kotlinx-io-core:0.2.1")
61+
implementation("org.jetbrains.kotlinx:kotlinx-io-core:0.3.0")
6262
}
6363
}
6464
}
@@ -72,7 +72,7 @@ Add the library to dependencies:
7272
<dependency>
7373
<groupId>org.jetbrains.kotlinx</groupId>
7474
<artifactId>kotlinx-io-core-jvm</artifactId>
75-
<version>0.2.1</version>
75+
<version>0.3.0</version>
7676
</dependency>
7777
```
7878

@@ -95,6 +95,6 @@ kotlinx-io is licensed under the [Apache 2.0 License](LICENSE).
9595

9696
Thanks to everyone involved in the project.
9797

98-
A honorable mention goes to the developers of [Okio](https://square.github.io/okio/)
98+
An honorable mention goes to the developers of [Okio](https://square.github.io/okio/)
9999
that served as the foundation for `kotlinx-io` and to [Jesse Wilson](https://github.com/swankjesse),
100100
for the help with `Okio` adaption, his suggestions, assistance and guidance with `kotlinx-io` development.

core/common/src/files/Paths.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public fun Path(base: Path, vararg parts: String): Path {
9999
/**
100100
* Returns [RawSource] for the given file or throws if path is not a file or does not exist
101101
*
102-
* Use of this method is deprecated with warning since kotlinx-io 0.2.3. The method will be removed in 0.3.0.
102+
* Use of this method is deprecated with warning since kotlinx-io 0.3.0. The method will be removed in 0.4.0.
103103
*/
104104
@Deprecated(
105105
message = "Use FileSystem.source instead",
@@ -116,7 +116,7 @@ public fun Path.source(): Source = SystemFileSystem.source(this).buffered()
116116
* Returns [RawSink] for the given path, creates file if it doesn't exist, throws if it's a directory,
117117
* overwrites contents.
118118
*
119-
* Use of this method is deprecated with warning since kotlinx-io 0.2.3. The method will be removed in 0.3.0.
119+
* Use of this method is deprecated with warning since kotlinx-io 0.3.0. The method will be removed in 0.4.0.
120120
*/
121121
@Deprecated(
122122
message = "Use FileSystem.sink instead",

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55

66
group=org.jetbrains.kotlinx
7-
version=0.2.1-SNAPSHOT
7+
version=0.3.1-SNAPSHOT
88
kotlin.code.style=official
99
org.gradle.jvmargs=-Xmx4G
1010
nativeBenchmarksEnabled=false

0 commit comments

Comments
 (0)