@nekostack/schema 1.0.2 → 1.0.4

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 CHANGED
@@ -6,6 +6,26 @@ Published to npm as `@nekostack/schema` (Apache-2.0). Milestone identifiers pair
6
6
 
7
7
  ---
8
8
 
9
+ ## schema-v1.0.4 — 2026-06-21
10
+
11
+ Packaging accuracy patch. No source behavior changes.
12
+
13
+ ### Fixed
14
+
15
+ - **`GENERATOR_VERSION`** corrected from `@nekostack/schema@1.0.1` → `@nekostack/schema@1.0.4`. The v1.0.2 patch set this to `1.0.1` instead of matching the package version, so every generated artifact header was stamped with the wrong version. `version.ts` comment already says "bumped with the package version" — this makes it true.
16
+
17
+ ---
18
+
19
+ ## schema-v1.0.3 — 2026-06-21
20
+
21
+ Documentation patch. No source behavior changes.
22
+
23
+ ### Fixed
24
+
25
+ - **README — "Authoring a schema" quick-start example** used `s.isoDateTime()` in the `createdAt` field — a method that does not exist in v1.0.x and throws `TypeError: s.isoDateTime is not a function`. Replaced with `s.string()` and an inline comment pointing to v1.1. The v1.0.2 "Not yet implemented" callout in the Date types section was correct, but this separate quick-start code block was overlooked.
26
+
27
+ ---
28
+
9
29
  ## schema-v1.0.2 — 2026-06-21
10
30
 
11
31
  Documentation and packaging accuracy patch. No source behavior changes; generated artifact headers now stamp the correct version.
package/README.md CHANGED
@@ -488,7 +488,7 @@ export const User = s.object({
488
488
  id: s.string().uuid(),
489
489
  email: s.string().email(),
490
490
  displayName: s.string().min(1).max(50),
491
- createdAt: s.isoDateTime(),
491
+ createdAt: s.string(), // ISO 8601 string; use s.isoDateTime() when v1.1 ships
492
492
  })
493
493
  .id("com.nekostack.auth.User")
494
494
  .version("1.0.0")
@@ -7,5 +7,5 @@
7
7
  * generated artifacts produced by an older version are stale and CI should
8
8
  * re-emit them.
9
9
  */
10
- export declare const GENERATOR_VERSION: "@nekostack/schema@1.0.1";
10
+ export declare const GENERATOR_VERSION: "@nekostack/schema@1.0.4";
11
11
  //# sourceMappingURL=version.d.ts.map
@@ -7,5 +7,5 @@
7
7
  * generated artifacts produced by an older version are stale and CI should
8
8
  * re-emit them.
9
9
  */
10
- export const GENERATOR_VERSION = "@nekostack/schema@1.0.1";
10
+ export const GENERATOR_VERSION = "@nekostack/schema@1.0.4";
11
11
  //# sourceMappingURL=version.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nekostack/schema",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "private": false,
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",