Skip to content

Commit f013a58

Browse files
committed
Release v0.9.0
1 parent d39a9ee commit f013a58

6 files changed

Lines changed: 67 additions & 51 deletions

File tree

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,22 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/), and this project adheres to [Semantic Versioning](https://semver.org/).
66

77

8+
## [0.9.0] - 2026-03-07
9+
10+
### Added
11+
12+
- **OS capture on device activation**: Record the operating system where licensed software is activated. The `os` field is stored on the device record and returned in license info responses (`GET /license`, `GET /orgs/.../licenses/{id}`).
13+
- **SDK auto-detection**: All SDKs (Rust, TypeScript, React) auto-detect the OS at activation time and send it with the `/redeem` request. Developers can override with `DeviceInfo { os: "custom" }`.
14+
- **New `os` field on `DeviceInfo`** (SDK input) and **`LicenseDeviceInfo`** (SDK response) across all SDKs.
15+
- **Database migration 002**: Adds `os TEXT` column to existing `devices` tables. Fresh databases include it in the schema automatically.
16+
17+
### Changed
18+
19+
- **`/redeem` request body**: New optional `os` field (max 64 chars). Fully backward compatible — omitting it results in `null`.
20+
- **Device reactivation preserves OS**: When an existing device reactivates, a new `os` value updates the record, but omitting it preserves the previous value (`COALESCE` semantics).
21+
- **Bruno `Local.bru` environment file untracked**: Moved operator API key to Bruno secret vars; file is now gitignored.
22+
23+
824
## [0.8.2] - 2026-02-15
925

1026
### Added

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "paycheck"
3-
version = "0.8.2"
3+
version = "0.9.0"
44
edition = "2024"
55

66
[dependencies]

sdk/rust/Cargo.lock

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

sdk/rust/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "paycheck-sdk"
3-
version = "0.8.2"
3+
version = "0.9.0"
44
edition = "2024"
55
description = "Paycheck licensing SDK for Rust applications"
66
license = "Elastic-2.0"

sdk/typescript/packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@paycheck/sdk",
3-
"version": "0.8.2",
3+
"version": "0.9.0",
44
"description": "Paycheck licensing SDK for JavaScript/TypeScript",
55
"main": "dist/index.js",
66
"module": "dist/index.mjs",

sdk/typescript/packages/react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@paycheck/react",
3-
"version": "0.8.2",
3+
"version": "0.9.0",
44
"description": "React hooks for Paycheck licensing SDK",
55
"main": "dist/index.js",
66
"module": "dist/index.mjs",

0 commit comments

Comments
 (0)