@plasius/schema 1.0.9 → 1.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md ADDED
@@ -0,0 +1,63 @@
1
+
2
+
3
+ # Changelog
4
+
5
+ All notable changes to this project will be documented in this file.
6
+
7
+ 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)**.
8
+
9
+ ---
10
+
11
+ ## [Unreleased]
12
+ ### Added
13
+ - (placeholder) Add new validators, field helpers, or PII utilities here.
14
+
15
+ ### Changed
16
+ - (placeholder)
17
+
18
+ ### Fixed
19
+ - (placeholder)
20
+
21
+ ### Security
22
+ - (placeholder)
23
+
24
+ ---
25
+
26
+ ## [1.0.0] - 2025-09-16
27
+ ### Added
28
+ - Initial public release of `@plasius/schema`.
29
+ - Fluent field builder API: `field().string().required()`, `field().number().min()`, etc.
30
+ - Type inference utilities to derive TypeScript types from schema definitions.
31
+ - Built-in validators for common standards:
32
+ - ISO-3166 country codes
33
+ - ISO-4217 currency codes
34
+ - RFC 5322 email format
35
+ - E.164 phone format
36
+ - WHATWG URL format
37
+ - ISO 8601 date/time
38
+ - OWASP-guided text/name constraints
39
+ - UUID (RFC 4122) and SemVer 2.0.0
40
+ - PII annotations and helpers for redaction/masking before logging.
41
+ - Lightweight validation runner with success/error result types.
42
+
43
+ ### Changed
44
+ - N/A (initial release)
45
+
46
+ ### Fixed
47
+ - N/A (initial release)
48
+
49
+ ---
50
+
51
+ ## Release process (maintainers)
52
+ 1. Update `CHANGELOG.md` under **Unreleased** with user‑visible changes.
53
+ 2. Bump version in `package.json` following SemVer (major/minor/patch).
54
+ 3. Move entries from **Unreleased** to a new version section with the current date.
55
+ 4. Tag the release in Git (`vX.Y.Z`) and push tags.
56
+ 5. Publish to npm (via CI/CD or `npm publish`).
57
+
58
+ > Tip: Use Conventional Commits in PR titles/bodies to make changelog updates easier.
59
+
60
+ ---
61
+
62
+ [Unreleased]: https://github.com/Plasius-LTD/plasius-schema/compare/v1.0.0...HEAD
63
+ [1.0.0]: https://github.com/Plasius-LTD/plasius-schema/releases/tag/v1.0.0
package/README.md CHANGED
@@ -48,7 +48,7 @@ This ensures your local development environment matches the version used in CI/C
48
48
  We welcome contributions! Please see [CONTRIBUTING.md](./CONTRIBUTING.md) for guidelines.
49
49
 
50
50
  - [Code of Conduct](./CODE_OF_CONDUCT.md)
51
- - [Contributor License Agreement](./CLA.md)
51
+ - [Contributor License Agreement](./legal/CLA.md)
52
52
 
53
53
  ---
54
54
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plasius/schema",
3
- "version": "1.0.9",
3
+ "version": "1.0.10",
4
4
  "description": "Entity schema definition & validation helpers for Plasius ecosystem",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",