Commit 30d84c9
Release v1.2.0 — fidelity release (version bump + changelog) (#66)
Release prep for **v1.2.0**. Bumps `package.json` 1.1.0 → **1.2.0** and
consolidates the empty `[Unreleased]` into a complete `[1.2.0]`
CHANGELOG section. No code changes — all the generator work already
landed in #62.
## What's in 1.2.0 (all from #62)
Driven by exhaustively validating generated bindings against
`@juspay/blend-design-system@0.0.37-beta.6` (per-component review,
several rounds).
**Fixed**
- Uncompilable output from recursive type groups (#61)
- `key`/`ref` stripped from nested data records (#63)
- Discriminated-union props dropped — Card/Badge/SelectItemV2 (#63)
- First-party fields swallowed by the `domProps` spread (#63)
- Multi-arg / tuple-returning fns bound as components (#63)
- `React.Context<T>` faked as a component (#63)
- Nullability/optionality flips — `T|null`→`Nullable.t`,
`|undefined`→optional, required props no longer flipped (#63/#64/#65)
- Numeric enums as string tags (#63), deep self-ref truncation (#63),
`Error`→`JsError.t` (#63), intersection-of-arrays (#63), depth-truncated
token ghosts (#63)
- `ResponsiveText` required CSS props (#64); single-sig fn mis-modelled
as overload — `Button.onClick` (#65)
- Builtin type-name shadowing (#61)
**Added**
- Fixed-arity TS tuples → ReScript tuples (#65)
**Changed** (regeneration produces a sizable one-time diff)
- Shared types organized per home module — no giant catch-all (#61)
- Descriptive, version-stable anonymous-record names (#63)
## Why 1.2.0 (not 1.1.1)
CLI/API unchanged, but generated *output* changes substantially (module
reorg + naming + tuples + ~16 fixes) → minor, mirroring how 1.1.0 was
scoped.
## Closes
Resolves #63 and #64 (fully fixed). #65's actionable items (B1/B2/B4/B5)
are done; B3 is by-design and C1 (discriminated-union variant) is a
tracked future enhancement.
Fixes #63
Fixes #64
## After merge — to publish
```bash
git checkout main && git pull
git tag v1.2.0
git push origin v1.2.0 # triggers publish-npm.yml (OIDC → npm `latest`)
```
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent c530b59 commit 30d84c9
2 files changed
Lines changed: 62 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
10 | 71 | | |
11 | 72 | | |
12 | 73 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments