Releases: schplitt/narro
Releases · schplitt/narro
v0.0.0
🚨 Breaking Changes
- Move
parseandsafeParseto top level and rename~buildtobuild- by @schplitt in #15 (663cf) - report: Align report to be more
zodlike - by @schplitt in #16 (4c2a2)
🚀 Features
- Add comprehensive type tests for number, string, and object schemas - by @schplitt (629bf)
- Add undefinable support across various schemas - by @schplitt (c8c0b)
- Default value - by @schplitt (7b979)
- Add transform functionality to array and union schemas - by @schplitt (35884)
- Add exactOptional functionality to various schema types and update related tests - by @schplitt (f2eb1)
- Implementation for string and number - by @schplitt (99707)
- Simplify SchemaReport structure by removing maxScore references - by @schplitt (e5a4e)
- Object schema - by @schplitt (440c2)
- Add support for complex nested object schemas in tests - by @schplitt (ca52f)
- Implement array schema with validation and transformation capabilities - by @schplitt (8e409)
- Add union schema implementation with support for optional, default, and transform modifiers - by @schplitt in #5 (11518)
- Implement literal schema - by @schplitt in #8 (a51e5)
- Enum schema implementation - by @schplitt in #9 (35f7b)
- Boolean schema implementation - by @schplitt in #10 (1fc80)
- Null and undefined schema implementations - by @schplitt in #12 (865c3)
- enum): implement oneOf schema with support for various types and options feat(literal): implement literal schema with support for various types and options test(array): add tests for arraySchema with literal and oneOf types test(edge-cases): add tests for edge cases involving literal and oneOf complexities test(object: Add tests for objectSchema with literal and oneOf properties - by @schplitt (01516)
- literal,enum: Add support for boolean values - by @Copilot and @schplitt in #11 (63cdb)
- report: Add Report interface for structured reporting - by @schplitt (6639b)
- tests: Add comprehensive tests for undefinable schema handling - by @schplitt (36b68)
- union: Implement union schema with support for various types and optionality - by @schplitt (43871)
🐞 Bug Fixes
- Object type inference - by @schplitt (91c57)
- Update return type of safeParse to include InferOutput for better type safety - by @schplitt (c37e7)
- Imports - by @schplitt (89945)
- object,union: Correctly select report from union for special object schema cases - by @schplitt in #19 (bb2ae)
- scripts: Update prerelease script to include build and test steps - by @schplitt in #26 (3f60f)