diff --git a/CHANGELOG.md b/CHANGELOG.md index a7610e8..98065b4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project are documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [2.0.0] - 2026-08-04 +## [0.2.0] - 2026-08-04 + +> The project stays on 0.x while nothing has been published: under semver that signals the +> API may still move, which is honest for software with no real-world users. A breaking +> change is therefore a minor bump, which is why this is 0.2.0 rather than 2.0.0. **Breaking.** Cereale moves to TC39 standard decorators, which is what makes validation rules type-checked against the fields they are attached to. @@ -67,9 +71,9 @@ sync API — is unchanged. Standard decorators are transformed by `tsc` and by esbuild; **oxc does not implement them yet**. The library builds with `tsc` and consumers bundling with esbuild or Vite are fine, but the test runner (Vitest 4, which uses oxc) needs an esbuild transform plugin — see -`vitest.config.ts`. Projects on an oxc-based toolchain should stay on 1.x for now. +`vitest.config.ts`. Projects on an oxc-based toolchain should stay on 0.1.x for now. -## [Unreleased] (released as 1.0.0) +## [0.1.0] - 2026-08-05 ### Added diff --git a/README.md b/README.md index 92f126a..6666c63 100644 --- a/README.md +++ b/README.md @@ -76,7 +76,8 @@ Requires TypeScript 5.2+ and Node 20+. `reflect-metadata` is not needed and > **Toolchain note.** Standard decorators are transformed by `tsc` and by esbuild (so Vite > works). They are **not** yet transformed by oxc; if your toolchain uses it, decorator syntax -> will fail to parse. v1.x, which uses legacy decorators, remains available for those setups. +> will fail to parse. The 0.1.x line, which uses legacy decorators, remains available for +> those setups. ## Quick Start diff --git a/package.json b/package.json index 622a86b..b39e7c4 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "cereale", - "version": "2.0.0", - "description": "Strongly typed JSON mapping and validation for TypeScript classes \u2014 validated domain objects, not validated data", + "version": "0.2.0", + "description": "Strongly typed JSON mapping and validation for TypeScript classes — validated domain objects, not validated data", "type": "module", "main": "./dist/cjs/index.js", "module": "./dist/esm/index.js",