Skip to content

Commit

Permalink
Merge pull request #87 from jacobras/release/1.9
Browse files Browse the repository at this point in the history
Release/1.9
  • Loading branch information
jacobras authored Aug 20, 2024
2 parents 1c74637 + c915d2a commit 3cf0160
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 14 deletions.
6 changes: 3 additions & 3 deletions .github/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ changelog:
labels:
- feature

- title: Improvements 📈
- title: Enhancements 📈
labels:
- improvement
- enhancement

- title: Bug Fixes 🪄
labels:
- bugfix
- bug

- title: Dependency Updates 🛠
labels:
Expand Down
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ The library is published to Maven Central.

```kotlin
dependencies {
implementation("nl.jacobras:Human-Readable:1.8.1")
implementation("nl.jacobras:Human-Readable:1.9.0")
}
```

Expand All @@ -42,7 +42,7 @@ HumanReadable.duration(544.hours) // "3 weeks"

### 📂 File size

File size formatting uses base 1024.
File size formatting uses base 1024. Note that these are [not yet localised (#86)](https://github.com/jacobras/Human-Readable/issues/86).

```kotlin
HumanReadable.fileSize(333) // "333 B"
Expand All @@ -52,7 +52,7 @@ HumanReadable.fileSize(21_947_282_882, decimals = 2) // "20.44 GB"

### 🔢 Number abbreviation

Available since version 1.8.
Available since version 1.8. Note that these are [not yet localised (#86)](https://github.com/jacobras/Human-Readable/issues/86).

```kotlin
HumanReadable.abbreviation(3_000) // "3K"
Expand Down Expand Up @@ -106,6 +106,7 @@ HumanReadable.timeAgo(instant) // "il y a 3 jours"
* Japanese (since 1.5.0)
* Korean (since 1.5.0)
* Polish (since 1.3.0)
* Portuguese (since 1.9.0)
* Russian
* Spanish
* Turkish
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ plugins {
}

group = "nl.jacobras"
version = "1.8.1"
version = "1.9.0"

mavenPublishing {
publishToMavenCentral(SonatypeHost.S01, true)
Expand Down
6 changes: 1 addition & 5 deletions demo/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,11 @@ kotlin {
implementation(compose.components.uiToolingPreview)

implementation(libs.kotlinX.datetime)
implementation("nl.jacobras:Human-Readable:1.8.1")
implementation("nl.jacobras:Human-Readable:1.9.0")
}
}
}

compose.experimental {
web.application {}
}

rootProject.plugins.withType<YarnPlugin> {
rootProject.the<YarnRootExtension>().yarnLockMismatchReport = YarnLockMismatchReport.NONE
}
2 changes: 1 addition & 1 deletion docs/composeApp.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/composeApp.js.map

Large diffs are not rendered by default.

0 comments on commit 3cf0160

Please sign in to comment.