Releases: jsonjoy-com/json-type
Releases · jsonjoy-com/json-type
v2.5.0
2.5.0 (2025-08-15)
Features
- 🎸 change value semantics (0dde8a8)
- 🎸 support inline Value in binary encoder codegens (228161d)
- 🎸 support inline Value in capacity estimator codegen (d3f97b3)
- 🎸 support inlined Value in JSON text encoder (2485c07)
v2.4.1
2.4.1 (2025-08-10)
Bug Fixes
v2.4.0
2.4.0 (2025-08-10)
Bug Fixes
- 🐛 correct capacity estimator tuple handling (f0e1d49)
- 🐛 correct random string generation (8514f3e)
- 🐛 improve JSON codegen (3e0379c)
Features
- 🎸 allow "key" type in tuples (7b6909c)
- 🎸 correct generic types (0baaa1f)
- 🎸 harden tuple capacity estimator codegen (0fed7c1)
- 🎸 improve discriminator expression builder (1e96569)
- 🎸 support named keys in validation (61d77a1)
- 🎸 support named tuple keys in capacity estimatro (30dde7a)
v2.3.0
2.3.0 (2025-08-09)
Bug Fixes
- 🐛 expand "or" types for discriminator computation (d7ce3b0)
- 🐛 resolve types when computing discriminator (0876146)
Features
- 🎸 add alias to JSON Schema export routine (3cc68d2)
- 🎸 add schemas for modules and aliases (b607267)
- 🎸 create
Walker
class for walking schema (6b21e68)
- 🎸 extend "obj" nodes on import (bd6f8b7)
- 🎸 implement metaschema (8ee6cdb)
- 🎸 print discriminator (a4149ec)
- 🎸 start metaschema definition (ae32017)
v2.2.0
2.2.0 (2025-08-08)
Features
- 🎸 bump dependency and add fixtures (8d48b83)
v2.1.0
2.1.0 (2025-08-08)
Features
- implement comprehensive test fixtures using type builder (3b0227e)
v2.0.0
2.0.0 (2025-08-08)
- Merge pull request #43 from jsonjoy-com/arr-tuple (4889c67)
Bug Fixes
- 🐛 correct tuple typing (f076449)
- 🐛 correct various TypeScript converter issues (c8f4d5c)
Features
- 🎸 add "obj" and "arr" tuple JSON codegen (3a995ec)
- 🎸 add "or" type binary codegen (a001ac9)
- 🎸 add
head
and tail
to "arr" schema (c50409c)
- 🎸 add binary "arr" encoding codegen (d6f2ddb)
- 🎸 add binary "map" encoder codegen (6b368aa)
- 🎸 add CBOR "obj" type codegen (8ce34d5)
- 🎸 add JSON "map" codegen (2d7e919)
- 🎸 add plain "arr" codegen (9ba7a82)
- 🎸 add support for "ref" binary codegen nodes (2d70eb4)
- 🎸 add support for new "arr" type in classes (335abf2)
- 🎸 create cached key factory (292a1dd)
- 🎸 implement encoder for primitive types (6479ead)
- 🎸 implement JSON "arr" type encoder codegen (c11087c)
- 🎸 improve "arr" schema interface (4bf0bcb)
- 🎸 improve validation, specifically "arr" schema (0e0819a)
- 🎸 re-enable MessagePack binary encoder codegen (6d11dd9)
- 🎸 remove "tup" type from schema (5cae155)
- 🎸 setup CBOR codegen (84278a0)
- 🎸 standartize type names (60b53cb)
- 🎸 throw on invalid "arr" size (386a283)
- add user-friendly examples to top of README (2de390f)
- update examples to use modern lowercase syntax and add t.infer example (617f3e0)
BREAKING CHANGES
- The "tup" type has been removed, now "arr" type supports leading and trailing type slots
v1.8.0
1.8.0 (2025-07-30)
Features
- 🎸 improve objec router and function specification (730d03d)
v1.7.0
1.7.0 (2025-07-30)
Features
- 🎸 add ability to specify function context (c9602eb)
v1.6.0
1.6.0 (2025-07-29)
Features
- complete codegen method refactoring with passing tests (540e521)
- create centralized codegen router functions (49b5831)
- refactor codegen methods to use centralized routers (0f89bf7)