Compare commits
2
Commits
shared-base
...
0.1.x
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
20c3fd45b1 | ||
|
|
930694722f |
@@ -2,9 +2,9 @@ name: CI
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ main, develop ]
|
branches: [ main, develop, 0.1.x ]
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ main, develop ]
|
branches: [ main, develop, 0.1.x ]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
verify:
|
verify:
|
||||||
|
|||||||
+10
-1
@@ -5,7 +5,16 @@ 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/),
|
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).
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
## [Unreleased]
|
## [0.1.0] - 2026-08-05
|
||||||
|
|
||||||
|
The legacy-decorator line, now maintained in parallel with 0.2.x. Functionally identical
|
||||||
|
to the previous state; only the maintenance-line notice was added. See the 0.2.x branch
|
||||||
|
for standard decorators and compile-time rule checking.
|
||||||
|
|
||||||
|
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 yet. A breaking
|
||||||
|
change is therefore a minor bump — 0.1.x to 0.2.x.
|
||||||
|
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,15 @@
|
|||||||
# Cereale
|
# Cereale
|
||||||
|
|
||||||
|
> **This is the 0.1.x maintenance line**, which uses TypeScript's legacy
|
||||||
|
> `experimentalDecorators`. It is feature-complete and supported for bug fixes.
|
||||||
|
>
|
||||||
|
> **New projects should use 0.2.x**, which moves to TC39 standard decorators and gains
|
||||||
|
> compile-time checking of validation rules against field types — `@IsString() age: number`
|
||||||
|
> becomes a compile error rather than a runtime surprise.
|
||||||
|
>
|
||||||
|
> Stay on 0.1.x if your toolchain transpiles with **oxc**, which does not yet implement the
|
||||||
|
> standard decorator transform. `tsc` and esbuild both do, so most projects can move.
|
||||||
|
|
||||||
Cereale is a lightweight TypeScript library that provides Spring-like decorators for JSON mapping and validation. Built with ZERO external dependencies, it simplifies the process of converting between plain JSON and class instances with full validation support.
|
Cereale is a lightweight TypeScript library that provides Spring-like decorators for JSON mapping and validation. Built with ZERO external dependencies, it simplifies the process of converting between plain JSON and class instances with full validation support.
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
|
|||||||
Reference in New Issue
Block a user