Skip to content

Commit 1a21eb4

Browse files
committed
Release v0.33.4
1 parent 299b3a4 commit 1a21eb4

File tree

3 files changed

+26
-28
lines changed

3 files changed

+26
-28
lines changed

.changeset/patch-add-terser-formatting.md

Lines changed: 0 additions & 15 deletions
This file was deleted.

.changeset/upgrade-jsonschema-go-v0-4-0.md

Lines changed: 0 additions & 13 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,32 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## v0.33.4 - 2025-12-18
6+
7+
### Bug Fixes
8+
9+
#### Add a second pass for JavaScript formatting that runs `terser` on `.cjs` files after `prettier` to reduce file size while preserving readability and TypeScript compatibility.
10+
11+
This change adds the `terser` dependency and integrates it into the `format:cjs` pipeline (prettier → terser → prettier). Files that are TypeScript-checked or contain top-level/dynamic `await` are excluded from terser processing to avoid breaking behavior.
12+
13+
This is an internal tooling change only (formatting/minification) and does not change runtime behavior or public APIs.
14+
15+
Summary of impact:
16+
- 14,784 lines removed across 65 files (~49% reduction) due to minification and formatting
17+
- TypeScript type checking preserved
18+
- All tests remain passing
19+
20+
#### Upgrade google/jsonschema-go to v0.4.0 with critical bug fixes and new features
21+
22+
This upgrade brings several improvements:
23+
- PropertyOrder feature for deterministic property ordering
24+
- Fixed nullable types for slices and pointers
25+
- Full Draft-07 support
26+
- JSON marshal consistency fixes
27+
28+
Updated tests to handle v0.4.0's new `Types []string` field for nullable types (nullable slices now use `["null", "array"]` instead of a single `"array"` type string).
29+
30+
531
## v0.33.3 - 2025-12-18
632

733
Maintenance release with dependency updates and minor improvements.

0 commit comments

Comments
 (0)