Releases: jacob-alford/schemata-ts
1.2.3 | EsModule Compat
Minor patch to bolster NPM / Node / Bundler module compatibility. Recent versions of Node support es-modules, but fp-ts does not; though fp-ts does have es-modules they are not formatted properly for node. This patch ensures that node is pinned to schemata-ts common-js emissions, and browsers can tree shake schemata-ts and fp-ts.
Tested with:
- Node.js running on
.mjs
files - Node.js running on
.js
files - Create-React-App (webpack) typescript es-modules
- Vite (react-ts)
What's Changed
- chore: fix esmodules by @jacob-alford in #247
Full Changelog: 1.2.2...1.2.3
1.2.2
Move types
field of package.json
to top of exports
listing
Full Changelog: 1.2.1...1.2.2
1.2.1
What's Changed
- Chore: fix esm build process and dts errors by @jacob-alford in #230
Full Changelog: 1.2.0...1.2.1
1.2.0 JSON Schema
What's Changed
- [#137] Add JsonSchema Derivation by @jacob-alford in #229
Full Changelog: 1.1.0...1.2.0
1.1.0 Happy Holidays!
This update comes with one new schema, NonEmptyArray
and three new schemable typeclasses, Printer
, JsonSerializer
, and JsonDeserializer
.
What's Changed
- chore(deps): bump decode-uri-component from 0.2.0 to 0.2.2 by @dependabot in #222
- [#11] Add WithJson by @jacob-alford in #219
- [#163] Add
NonEmptyArray
generic schema by @newswim in #223 - [#211] [#221] Add Printer and JsonSerializer / Deserializer by @jacob-alford in #224
New Contributors
- @dependabot made their first contribution in #222
Full Changelog: 1.0.1...1.1.0
1.0.1
What's Changed
- [#215] Add Error Helpers by @jacob-alford in #216
- [#213] Add Codec by @jacob-alford in #217
Full Changelog: 1.0.0...1.0.1
1.0.0
What's Changed
- [#101] Make modules lowercase by @jacob-alford in #102
- [#108] feat: create WithUnknownContainers2 for EncoderBase by @0x706b in #112
- [#97] Add
mapFromEntries
by @jacob-alford in #118 - Implement Pattern Builder by @skeate in #113
- [#115] Add SchemaBase by @jacob-alford in #122
- [#8] Add
LatLong
module by @newswim in #119 - [#123] Add brand / pattern to SchemaBase by @jacob-alford in #125
- [#128] New patterns by @skeate in #129
- feat: add logo by @jacob-alford in #133
- [#124][#116] Add interpreters, Schemafy numbers by @jacob-alford in #135
- [#109] Backfill schemas to schemables by @jacob-alford in #138
- [#141] Refactor Email module to Schema by @skeate in #142
- [#139] Refactor Ascii module to Schema by @skeate in #140
- [#144] Convert BTC Module by @jacob-alford in #145
- [#146] Add bigIntFromString by @jacob-alford in #147
- [#148] Convert HexColor by @jacob-alford in #149
- [#151] Add WithInvariant by @jacob-alford in #152
- [#150] Refactor dates by @jacob-alford in #153
- [no-ticket] adjust schemata jsdocs by @jacob-alford in #154
- [#157] Add NonEmptyString by @jacob-alford in #158
- [#156][#155] Add Base64Url, Add Jwt by @jacob-alford in #159
- [No-ticket] Limit JWT to two dots by @jacob-alford in #160
- [#45][#169] Add Base64 by @jacob-alford in #171
- [#143][#172] Add WithCheckDigit, refactor CreditCard by @skeate in #173
- Refactor Remaining string modules by @skeate in #178
- [#179][#180][#181][#182][#183][#185] Convert number modules by @jacob-alford in #184
- [#190] Add WithDate and DateFromIsoString by @jacob-alford in #191
- [#193][#192] Add WithMap, WithOption, WithOptional, OptionFromUndefined, OptionFromNullable by @jacob-alford in #195
- [#166] Organize base modules into base by @jacob-alford in #196
- [#109][#187] Lazify interpretters, create schemata generator script by @jacob-alford in #197
- [#201] convert WithBrand by @jacob-alford in #202
- [#198] Reorganize schemables by @jacob-alford in #203
- [#205][#204][#200][#199] Finishing touches by @jacob-alford in #206
- [#162][#161][#16] Add boolean & ethereum schemata by @skeate in #207
- Update readme for 1.0.0 release by @jacob-alford in #208
- 1.0.0 by @jacob-alford in #209
Full Changelog: 0.1.1...1.0.0
0.1.1
What's Changed
- bug-fix: fix fast-check discrepency by @jacob-alford in #132
Full Changelog: 0.1.0...0.1.1
0.1.0
0.1.0
What's Changed
- Name change: schemable-ts-types -> schema-ts
- Fix .gitignore of docs, remove existing checked-in docs by @skeate in #121
Full Changelog: 0.0.4...0.1.0
0.0.4
New Modules
- [#29][#30][#42][#43] Add remaining number modules by @jacob-alford in #86
- [#7] Add RGB string module by @jacob-alford in #89
- [#88] Add BigIntString string module by @jacob-alford in #91
- [#51] Add optionFromNullable, optionFromUndefined, and optionFromExclude by @jacob-alford in #96
Miscellaneous
- [#75] Generate tests with
yarn generate:template
by @jacob-alford in #85 - [#87] Replace internal category with JSDoc tag by @jacob-alford in #90
- [#36] Replace older tests with validator.js test cases by @jacob-alford in #100
- chore: update README by @jacob-alford in #103
Full Changelog: 0.0.3...0.0.4