Releases: jacob-alford/schemata-ts
Releases · jacob-alford/schemata-ts
2.2.5
Summary
2.2.5 bumps kuvio to version 2.0 which fixes a problem with astro
considering an import from kuvio
to be a promise resulting in the page never loading. See skeate/kuvio#13 for more details.
What's Changed
Full Changelog: 2.2.4...2.2.5
2.2.4
What's Changed
Patch Changes
- fix: type issue with older version of type-fest and TypeScript 5.4+ by @jacob-alford in #315
Full Changelog: 2.2.3...2.2.4
2.2.3
What's Changed
- fix: downstream dts parse-json-string types by @jacob-alford in #314
Full Changelog: 2.2.2...2.2.3
2.2.2
Patch Changes
- Fix: restore TS 4.5 compatibility by @jacob-alford in #313
Full Changelog: 2.2.1...2.2.2
2.2.1
Patch Changes
- fix: downstream type inference for Float/Int schemas by @jacob-alford in #311
Full Changelog: 2.2.0...2.2.1
2.2.0
Feature Changes
- Add
deriveAssert
and variants by @jacob-alford in #298 - Add string introspection to transcode-errors by @jacob-alford in #300
- Add
ArraySchema
Schema transformer by @jacob-alford in #301 - Add
Class
schema by @jacob-alford in #302 - Add
IntSchema
by @jacob-alford in #303 - Add
FloatSchema
by @jacob-alford in #303 - Make
StructSchema.definition
public by @jacob-alford in #304 - Add
StringSchema
schema transformer by @jacob-alford in #305 - Add
TupleSchema
schema transformer by @jacob-alford in #306 - Add
ParseInt
by @jacob-alford in #307 - Add
ParseFloat
by @jacob-alford in #307
Full Changelog: 2.1.1...2.2.0
2.1.1
This update fixes a bug where TypeScript fails to infer the type of a Schema when attempting to build a library with declarations which rely on schemata inference while exporting.
Bug Fixes
- chore: fix downstream type inference by @jacob-alford in #295
Full Changelog: 2.1.0...2.1.1
2.1.0 | Schema Transformations
Bug Fixes
- Fixed a bug where
readOnly
ordeprecated
were wrongly excluded when annotating by @jacob-alford
New Features
- add
Unit
schema by @jacob-alford in #288 - add
deriveInputGuard
schema interpreter by @jacob-alford in #289 - Add fp-ts
Either
Schema by @jacob-alford in #290 - Add Struct >
.readonly
,.strict
, and.addIndexSignature
methods by @jacob-alford in #293 - Add Struct >
.partial()
,.partialOption()
by @jacob-alford in #292 - Add Struct >
.extend
,.intersect
by @jacob-alford in #294 - Add Struct >
.pick
,.omit
by @jacob-alford in #291
Deprecations
Strict
is now deprecated, useStruct({}).strict()
insteadPartial
is now deprecated, useStruct({}).partial()
insteadIntersection
is now deprecated, useStruct({}).extend({})
orStruct({}).intersect()
instead
Full Changelog: 2.0.6...2.1.0
2.0.6
2.0.5
Patch Changes
- fix: downstream dts for fp-ts types by @jacob-alford in #286
- fix: Parser passes through transcode errors by @jacob-alford in #286
Full Changelog: 2.0.4...2.0.5