Skip to content

Commit 18259b0

Browse files
authored
chore(release): prepare v0.22.0 (#105)
1 parent b8e6bbd commit 18259b0

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/).
77

88
## [Unreleased]
99

10+
## [0.22.0] - 2026-05-21
11+
1012
### Added
1113

1214
- `intid.encode_int_base16_compact/1`: leading-zero-dropping companion to the existing byte-aligned `intid.encode_int_base16/1`, so the `encode_int_*` family now has a uniform compact variant across base10/base16/base36/base58/base62 (`encode_int_base16_compact(1) == Ok("1")`, `encode_int_base16_compact(2025) == Ok("7E9")`); the byte-aligned `encode_int_base16/1` is unchanged. `intid.decode_int_base16/1` now also accepts odd-length input (internally zero-padded on the left), so `decode_int_base16(encode_int_base16_compact(n) |> result.unwrap_or("")) == Ok(n)` round-trips for every non-negative `Int`; the low-level `base16.decode/1` keeps its strict even-length contract. (#99)

gleam.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name = "yabase"
2-
version = "0.21.0"
2+
version = "0.22.0"
33
description = "Unified binary-to-text encoding: base2, base8, base10, base16, base32, base36, base45, base58, base58check, base62, base64, base85, base91, ascii85, z85, bech32, bech32m, multibase"
44
licences = ["MIT"]
55
repository = { type = "github", user = "nao1215", repo = "yabase" }

0 commit comments

Comments
 (0)