Releases: johannes-lindgren/pure-parse
Releases · johannes-lindgren/pure-parse
[email protected]
What's Changed
BREAKING CHANGES:
- Renamed
literal
toequals
in #98 - Renamed
literalGuard
->equalsGuard
in #98 - Removed
recordGuard
in #97 - Renamed
partialRecordGuard
->dictionaryGuard
in #97
New:
Fixes:
- Prevent error thrown in
equals
in #98
Full Changelog: https://github.com/johannes-lindgren/pure-parse/compare/[email protected]
[email protected]
What's Changed
- docs: brand by @johannes-lindgren in #91
Full Changelog: v0.0.0-beta.5...v0.0.0-beta.6
[email protected]
What's Changed
Extensive changes with breaking changes; the main ones are:
- Introduced parsers
- Changed terminology: "validators" are now called "guards" to not conflict with parsers (which also are validdators)
- Added a suffix
Guard
to all higher order guards; for example,objectGuard
,arrayGuard
. This is to not conflict with parsers. Non-higher order guards are not renamed; for exampleisString
. - Documentation website (much improved docs)
To migrate to from v0.0.0-beta.4
:
- change
union
tounionGuard
- add the suffix for all higher order guards.
Auto-generated changelog:
- chore: typescript-5.5.4 by @johannes-lindgren in #18
- fix: type inference for optional properties by @johannes-lindgren in #19
- feat: reference types by @johannes-lindgren in #20
- fix: Equals utility type by @johannes-lindgren in #24
- feat: parser by @johannes-lindgren in #17
- refactor: replace isSuccess property on parse results with function by @johannes-lindgren in #33
- feat: referential preservation by @johannes-lindgren in #35
- fix: prototype pollution and unknown keys by @johannes-lindgren in #39
- feat!: export parser by @johannes-lindgren in #42
- perf: remove referential preservation and improve object parser performance by @johannes-lindgren in #43
- feat!: removed required parser by @johannes-lindgren in #45
- feat!: shared Infer by @johannes-lindgren in #46
- refactor: move isNonEmptyArray by @johannes-lindgren in #47
- refactor: rename "validate" to "guard" by @johannes-lindgren in #48
- docs: initialize documentation website by @johannes-lindgren in #49
- feat: memoization by @johannes-lindgren in #44
- docs: more docs by @johannes-lindgren in #50
- docs: fix api docs sidebar by @johannes-lindgren in #53
- docs: various docs by @johannes-lindgren in #55
- perf: compiled object validator by @johannes-lindgren in #56
- refactor: extract guards into smaller modules by @johannes-lindgren in #58
- refactor: rename guard functions by @johannes-lindgren in #59
- feat: memoized validators by @johannes-lindgren in #54
- feat: remove json validation and parsing by @johannes-lindgren in #60
- docs: out of scope serialization by @johannes-lindgren in #61
- docs: parsers by @johannes-lindgren in #62
- docs: fallbacks by @johannes-lindgren in #64
- feat: instanceof by @johannes-lindgren in #68
- feat: tuple parsers by @johannes-lindgren in #69
- feat!: paths in errors by @johannes-lindgren in #70
- feat: never and unknown parsers and guards by @johannes-lindgren in #73
- test: primitive parsers by @johannes-lindgren in #74
- feat: lazy by @johannes-lindgren in #78
- feat: non-compiled validators as default by @johannes-lindgren in #79
- test: benchmarks by @johannes-lindgren in #77
- feat: move failure of missing prop to prop by @johannes-lindgren in #80
- fix: infer optional properties by @johannes-lindgren in #81
- fix: infer optional properties on guards by @johannes-lindgren in #83
- feat: remove succeedWith and failWith. by @johannes-lindgren in #82
- feat: rename unionGuard to oneOfGuard by @johannes-lindgren in #85
Full Changelog: v0.0.0-beta.4...v0.0.0-beta.5
v0.0.0-beta.4
What's Changed
- feat: differentiate between optional properties and undefinable properties by @johannes-lindgren in #15
- chore: fix entries in package.json by @johannes-lindgren in #16
Full Changelog: v0.0.0-beta.3...v0.0.0-beta.4
v0.0.0-beta.3
What's Changed
- test: test build output by @johannes-lindgren in #11
- fix: require validation functions with explicit type annotation for optional properties by @johannes-lindgren in #12
Full Changelog: v0.0.0-beta.2...v0.0.0-beta.3
v0.0.0-beta.2
What's Changed
- feat: add
nonEmptyArray
and fix type inferrence forarray()
by @johannes-lindgren in #10
Full Changelog: v0.0.0-beta.1...v0.0.0-beta.2
v0.0.0-beta.1
What's Changed
- feat!: explicit type annotation and improved record by @johannes-lindgren in #9
Full Changelog: v0.0.0-beta.0...v0.0.0-beta.1
v0.0.0-beta.0
What's Changed
- initial beta release
New Contributors
- @johannes-lindgren made their first contribution in #1
Full Changelog: https://github.com/johannes-lindgren/pure-parse/commits/v0.0.0-beta.0