Skip to content

Commit a923cfd

Browse files
committed
Version 0.6.0
1 parent c4d1735 commit a923cfd

File tree

3 files changed

+16
-9
lines changed

3 files changed

+16
-9
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Changelog
22

3+
## [0.6.0] - 2023-03-05
4+
### Changed
5+
- Use `CharSequence` extension functions instead of `String` extension functions in both `kotlin-codepoints` and
6+
`kotlin-codepoints-deluxe`.
7+
- Change `StringBuilder.appendCodePoint()` to `Appendable.appendCodePoint()` in both `kotlin-codepoints` and
8+
`kotlin-codepoints-deluxe`.
9+
310
## [0.5.0] - 2023-02-19
411
### Changed
512
- Added support for iterating over parts of a string when using `CodePointIterator`

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ kotlin-codepoints is distributed through Maven Central.
1111
```kotlin
1212
dependencies {
1313
// Basic API
14-
implementation("de.cketti.unicode:kotlin-codepoints:0.5.0")
14+
implementation("de.cketti.unicode:kotlin-codepoints:0.6.0")
1515

1616
// or
1717

1818
// Nice API
19-
implementation("de.cketti.unicode:kotlin-codepoints-deluxe:0.5.0")
19+
implementation("de.cketti.unicode:kotlin-codepoints-deluxe:0.6.0")
2020
}
2121
```
2222

@@ -27,13 +27,13 @@ dependencies {
2727
This library aims to make some methods of the Java standard library available to Kotlin multiplatform projects.
2828

2929
Methods found in `java.lang.String`:
30-
* `String.codePointAt(index)`
31-
* `String.codePointBefore(index)`
32-
* `String.codePointCount(beginIndex, endIndex)`
33-
* `String.offsetByCodePoints(index, codePointOffset)`
30+
* `CharSequence.codePointAt(index)`
31+
* `CharSequence.codePointBefore(index)`
32+
* `CharSequence.codePointCount(beginIndex, endIndex)`
33+
* `CharSequence.offsetByCodePoints(index, codePointOffset)`
3434

3535
Methods found in `java.lang.StringBuilder`:
36-
* `StringBuilder.appendCodePoint(codePoint)`
36+
* `Appendable.appendCodePoint(codePoint)`
3737

3838
Methods found in `java.lang.Character`:
3939
* `CodePoints.isValidCodePoint(codePoint)`
@@ -47,7 +47,7 @@ Methods found in `java.lang.Character`:
4747
* `CodePoints.toChars(codePoint)`
4848
* `CodePoints.toChars(codePoint, destination, offset)`
4949

50-
On the JVM the platform implementation is used. On all other platforms the
50+
On the JVM the platform implementation (`java.lang.Character.*`) is used. On all other platforms the
5151
[implementation in this library](src/commonImplementation/kotlin) is used.
5252

5353
### kotlin-codepoints-deluxe

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
GROUP=de.cketti.unicode
2-
VERSION_NAME=0.6.0-SNAPSHOT
2+
VERSION_NAME=0.6.0
33

44
POM_INCEPTION_YEAR=2023
55

0 commit comments

Comments
 (0)