Skip to content

Commit

Permalink
Prepare 0.1.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
05nelsonm committed Jun 15, 2024
1 parent 954ec30 commit 122f879
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 5 deletions.
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# CHANGELOG

## Version 0.1.0 (2024-06-15)
- Fixes `Throwable.wrapIOException` extension function
- If `Throwable` is not an instance of `IOException`, it is used as the
`cause` for the newly created `IOException` [[#68]][68]
- Updates `Kotlin` to `1.9.24` [[#69]][69]
- Refactors `Buffer` wrapper internals for `Node.js` [[#70]][70]
- **Minor API breaking change**
- `Buffer.length` now returns `Number` instead of `Long`
- Adds `Buffer.alloc` and `Buffer.MAX_LENGTH`
- `Number` types that `Node.js` accepts are now properly checked
to **not** be of type `Long` (which is not a thing in JS). If
the `Number` passed to `Buffer` functions are of type `Long`, they
are automatically converted to `Int` (if within range), or `Double`.

## Version 0.1.0-beta03 (2024-03-19)
- Adds `JPMS` support via Multi-Release Jar [[#62]][62]
- Updates `Kotlin` to `1.9.23`
Expand Down Expand Up @@ -57,3 +71,6 @@
[59]: https://github.com/05nelsonm/kmp-file/pull/59
[60]: https://github.com/05nelsonm/kmp-file/pull/60
[62]: https://github.com/05nelsonm/kmp-file/pull/62
[68]: https://github.com/05nelsonm/kmp-file/pull/68
[69]: https://github.com/05nelsonm/kmp-file/pull/69
[70]: https://github.com/05nelsonm/kmp-file/pull/70
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,16 +156,16 @@ fun nativeMain(f1: File, f2: File) {
<!-- TAG_VERSION -->
```kotlin
dependencies {
implementation("io.matthewnelson.kmp-file:file:0.1.0-beta03")
implementation("io.matthewnelson.kmp-file:file:0.1.0")
}
```

<!-- TAG_VERSION -->
[badge-latest-release]: https://img.shields.io/badge/latest--release-0.1.0--beta03-blue.svg?style=flat
[badge-latest-release]: https://img.shields.io/badge/latest--release-0.1.0-blue.svg?style=flat
[badge-license]: https://img.shields.io/badge/license-Apache%20License%202.0-blue.svg?style=flat

<!-- TAG_DEPENDENCIES -->
[badge-kotlin]: https://img.shields.io/badge/kotlin-1.9.23-blue.svg?logo=kotlin
[badge-kotlin]: https://img.shields.io/badge/kotlin-1.9.24-blue.svg?logo=kotlin

<!-- TAG_PLATFORMS -->
[badge-platform-android]: http://img.shields.io/badge/-android-6EDB8D.svg?style=flat
Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ POM_DEVELOPER_ID=05nelsonm
POM_DEVELOPER_NAME=Matthew Nelson
POM_DEVELOPER_URL=https://github.com/05nelsonm/

VERSION_NAME=0.1.0-beta04-SNAPSHOT
VERSION_NAME=0.1.0
# 0.1.0-alpha01 = 00 01 00 11
# 0.1.0-beta01 = 00 01 00 41
# 0.1.0-rc01 = 00 01 00 71
# 0.1.0 = 00 01 00 99
# 1.1.0 = 01 01 00 99
VERSION_CODE=00010044
VERSION_CODE=00010099

0 comments on commit 122f879

Please sign in to comment.