You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+8-1Lines changed: 8 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,12 +5,19 @@ All notable changes to this project will be documented in this file.
5
5
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
8
+
**Note on versioning:** This project follows semantic versioning with an emphasis on ABI compatibility. Major version numbers will be bumped when changes break ABI compatibility, even if the API remains backward compatible.
9
+
8
10
## [Unreleased]
9
11
12
+
### Added
13
+
- Added support for binary format.
14
+
- Added an option to disable secure random for ULIDs.
15
+
- Added KDocs for all public APIs.
16
+
10
17
### Changed
11
18
- Kulid is now Kotlin [explicit api mode](https://kotlinlang.org/docs/api-guidelines-simplicity.html#use-explicit-api-mode) compliant.
12
19
- Bump AGP version to 8.10.1
13
-
- Add benchmark harness, comparing to Kotlin's UUID implementation
20
+
- Add benchmark harness, comparing Kulid to Kotlin's UUID implementation
Copy file name to clipboardExpand all lines: README.md
+7-2Lines changed: 7 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,11 +25,16 @@ ULIDs are identifiers that provide:
25
25
- Strongly typed with low overhead by leveraging kotlin [value classes](https://kotlinlang.org/docs/inline-classes.html)
26
26
- Benchmark suite for performance testing
27
27
28
+
## Versioning
29
+
30
+
This project follows [Semantic Versioning](https://semver.org/spec/v2.0.0.html) with an emphasis on ABI compatibility. Major version numbers will be bumped when changes break ABI compatibility, even if the API remains backward compatible.
31
+
32
+
For detailed information about changes between versions, please see the [CHANGELOG.md](CHANGELOG.md) file.
33
+
28
34
## TODOs
29
35
This library is still being developed! As a result, there are still features of the [ULID spec](https://github.com/ulid/spec) that are missing, namely:
Copy file name to clipboardExpand all lines: kulid/api/kulid.klib.api
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ final value class dev.phillipslabs.kulid/ULID : kotlin/Comparable<dev.phillipsla
22
22
final fun <get-MIN>(): dev.phillipslabs.kulid/ULID // dev.phillipslabs.kulid/ULID.Companion.MIN.<get-MIN>|<get-MIN>(){}[0]
23
23
24
24
final fun fromString(kotlin/String): dev.phillipslabs.kulid/ULID // dev.phillipslabs.kulid/ULID.Companion.fromString|fromString(kotlin.String){}[0]
25
-
final fun generate(kotlin/Long = ...): dev.phillipslabs.kulid/ULID // dev.phillipslabs.kulid/ULID.Companion.generate|generate(kotlin.Long){}[0]
25
+
final fun generate(kotlin/Long = ..., kotlin/Boolean = ...): dev.phillipslabs.kulid/ULID // dev.phillipslabs.kulid/ULID.Companion.generate|generate(kotlin.Long;kotlin.Boolean){}[0]
26
26
final fun serializer(): kotlinx.serialization/KSerializer<dev.phillipslabs.kulid/ULID> // dev.phillipslabs.kulid/ULID.Companion.serializer|serializer(){}[0]
0 commit comments