Skip to content

Commit c8152d3

Browse files
committed
chore: bump version to 0.3.1-alpha.0 and update formatCurrency default currency to USD
- Change formatCurrency default currency from EUR to USD across all platforms (TypeScript, Kotlin, Dart) - Add validation to throw on NaN/Infinity amounts in formatCurrency (RangeError in TypeScript, IllegalArgumentException in Kotlin, ArgumentError in Dart) - Update all version references from 0.3.0-alpha to 0.3.1-alpha.0 across README, docs, package files, and SECURITY.md - Update formatCurrency examples
1 parent eddc244 commit c8152d3

File tree

22 files changed

+171
-71
lines changed

22 files changed

+171
-71
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# KompKit
22

3-
[![Version](https://img.shields.io/badge/version-0.3.0--alpha.0-orange.svg)](https://github.com/Kompkit/KompKit/releases)
3+
[![Version](https://img.shields.io/badge/version-0.3.1--alpha.0-orange.svg)](https://github.com/Kompkit/KompKit/releases)
44
[![Web CI](https://github.com/Kompkit/KompKit/actions/workflows/web.yml/badge.svg?branch=develop)](https://github.com/Kompkit/KompKit/actions/workflows/web.yml)
55
[![Kotlin CI](https://github.com/Kompkit/KompKit/actions/workflows/android.yml/badge.svg?branch=develop)](https://github.com/Kompkit/KompKit/actions/workflows/android.yml)
66
[![Flutter CI](https://github.com/Kompkit/KompKit/actions/workflows/flutter.yml/badge.svg?branch=develop)](https://github.com/Kompkit/KompKit/actions/workflows/flutter.yml)
@@ -95,7 +95,7 @@ Add to your `pubspec.yaml`:
9595

9696
```yaml
9797
dependencies:
98-
kompkit_core: ^0.3.0-alpha.1
98+
kompkit_core: ^0.3.1-alpha.0
9999
```
100100
101101
Then run:
@@ -211,7 +211,7 @@ KompKit/
211211

212212
## Version Information
213213

214-
- **Current Version**: `0.3.0-alpha`
214+
- **Current Version**: `0.3.1-alpha`
215215
- **Minimum Requirements**:
216216
- Node.js 20+ (Web)
217217
- JDK 17+ (Android)
@@ -225,7 +225,7 @@ KompKit/
225225
KompKit is currently in **alpha**. This means:
226226

227227
- **APIs may change** between alpha versions without a deprecation period.
228-
- **Pin to exact versions** in production: `"kompkit-core": "0.3.0-alpha.1"` / `kompkit_core: 0.3.0-alpha.1`.
228+
- **Pin to exact versions** in production: `"kompkit-core": "0.3.1-alpha.0"` / `kompkit_core: 0.3.1-alpha.0`.
229229
- **Breaking changes** will be documented in [CHANGELOG.md](./docs/CHANGELOG.md) with migration notes.
230230
- Once `1.0.0` is released, the project will follow strict [Semantic Versioning](https://semver.org/): breaking changes only in major versions.
231231

SECURITY.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44

55
| Version | Supported |
66
| --------------- | ---------------------- |
7-
| `0.3.0-alpha.1` | ✅ Current |
7+
| `0.3.1-alpha.0` | ✅ Current |
8+
| `0.3.0-alpha.1` | ❌ No longer supported |
89
| `0.2.0-alpha.0` | ❌ No longer supported |
910
| `0.1.0-alpha` | ❌ No longer supported |
1011

docs/CHANGELOG.md

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

88
## [Unreleased]
99

10+
## [0.3.1-alpha.0] - 2026-02-20
11+
12+
### Changed
13+
14+
- **`formatCurrency` default currency**: Changed from `EUR` to `USD` across all platforms (TypeScript, Kotlin, Dart)
15+
- **`formatCurrency` finite validation**: Added validation that throws on `NaN` and `Infinity` amounts across all platforms
16+
- TypeScript: throws `RangeError`
17+
- Kotlin: throws `IllegalArgumentException`
18+
- Dart: throws `ArgumentError`
19+
- **Documentation**: Corrected `formatCurrency` examples to reflect `USD` default
20+
- **Documentation**: Added Platform Differences section to npm README documenting Dart single-argument debounce limitation and other divergences
21+
- **Packaging**: Clarified that `kompkit-core` ships both ESM and CommonJS builds (not ESM-only)
22+
23+
### Fixed
24+
25+
- Documentation inconsistency where examples showed `USD` but default was `EUR`
26+
1027
## [0.3.0-alpha] - 2026-02-09
1128

1229
### Changed

docs/android.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
KompKit Core provides small utilities for Android applications written in Kotlin.
44

5-
Status: `V0.3.0-alpha`.
5+
Status: `V0.3.1-alpha`.
66

77
## Installation
88

docs/flutter.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
This guide covers using KompKit Core utilities in Flutter and Dart applications.
44

5-
Status: `V0.3.0-alpha`.
5+
Status: `V0.3.1-alpha`.
66

77
## Installation
88

@@ -12,7 +12,7 @@ Add KompKit Core to your `pubspec.yaml`:
1212

1313
```yaml
1414
dependencies:
15-
kompkit_core: ^0.3.0-alpha.1
15+
kompkit_core: ^0.3.1-alpha.0
1616
```
1717
1818
Then run:
@@ -29,7 +29,7 @@ For server-side Dart projects, add to your `pubspec.yaml`:
2929

3030
```yaml
3131
dependencies:
32-
kompkit_core: ^0.3.0-alpha.1
32+
kompkit_core: ^0.3.1-alpha.0
3333
```
3434
3535
Then run:

docs/getting-started.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
KompKit Core is a small cross-platform utility library for Web (TypeScript), Android (Kotlin), and Flutter (Dart).
44

5-
Status: `V0.3.0-alpha`.
5+
Status: `V0.3.1-alpha`.
66

77
## Install
88

@@ -20,7 +20,7 @@ Add to your `pubspec.yaml`:
2020

2121
```yaml
2222
dependencies:
23-
kompkit_core: ^0.3.0-alpha.1
23+
kompkit_core: ^0.3.1-alpha.0
2424
```
2525
2626
Then run:

docs/roadmap.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Roadmap
22

3-
## Current State — `0.3.0-alpha.1`
3+
## Current State — `0.3.1-alpha.0`
44

55
KompKit Core is in early alpha. The current release includes:
66

@@ -10,7 +10,7 @@ KompKit Core is in early alpha. The current release includes:
1010
- **Full CI/CD** with path-based workflow optimization
1111
- **Cancel support** on `debounce` across all platforms
1212

13-
## Next: `0.3.0-alpha`
13+
## Next: `0.3.1-alpha`
1414

1515
Focus: utility expansion and Android publishing.
1616

docs/web.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
KompKit Core provides small, framework-agnostic utilities for web applications written in TypeScript.
44

5-
Status: `V0.3.0-alpha`.
5+
Status: `V0.3.1-alpha`.
66

77
## Installation
88

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "0.3.0-alpha.1",
2+
"version": "0.3.1-alpha.0",
33
"npmClient": "npm",
44
"packages": ["packages/core/web"],
55
"command": {

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)