Skip to content

Commit

Permalink
Version 0.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
cketti committed Mar 5, 2023
1 parent c4d1735 commit a923cfd
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 9 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## [0.6.0] - 2023-03-05
### Changed
- Use `CharSequence` extension functions instead of `String` extension functions in both `kotlin-codepoints` and
`kotlin-codepoints-deluxe`.
- Change `StringBuilder.appendCodePoint()` to `Appendable.appendCodePoint()` in both `kotlin-codepoints` and
`kotlin-codepoints-deluxe`.

## [0.5.0] - 2023-02-19
### Changed
- Added support for iterating over parts of a string when using `CodePointIterator`
Expand Down
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ kotlin-codepoints is distributed through Maven Central.
```kotlin
dependencies {
// Basic API
implementation("de.cketti.unicode:kotlin-codepoints:0.5.0")
implementation("de.cketti.unicode:kotlin-codepoints:0.6.0")

// or

// Nice API
implementation("de.cketti.unicode:kotlin-codepoints-deluxe:0.5.0")
implementation("de.cketti.unicode:kotlin-codepoints-deluxe:0.6.0")
}
```

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

Methods found in `java.lang.String`:
* `String.codePointAt(index)`
* `String.codePointBefore(index)`
* `String.codePointCount(beginIndex, endIndex)`
* `String.offsetByCodePoints(index, codePointOffset)`
* `CharSequence.codePointAt(index)`
* `CharSequence.codePointBefore(index)`
* `CharSequence.codePointCount(beginIndex, endIndex)`
* `CharSequence.offsetByCodePoints(index, codePointOffset)`

Methods found in `java.lang.StringBuilder`:
* `StringBuilder.appendCodePoint(codePoint)`
* `Appendable.appendCodePoint(codePoint)`

Methods found in `java.lang.Character`:
* `CodePoints.isValidCodePoint(codePoint)`
Expand All @@ -47,7 +47,7 @@ Methods found in `java.lang.Character`:
* `CodePoints.toChars(codePoint)`
* `CodePoints.toChars(codePoint, destination, offset)`

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

### kotlin-codepoints-deluxe
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
GROUP=de.cketti.unicode
VERSION_NAME=0.6.0-SNAPSHOT
VERSION_NAME=0.6.0

POM_INCEPTION_YEAR=2023

Expand Down

0 comments on commit a923cfd

Please sign in to comment.