Changelog
Every release of truefit, newest first, from its CHANGELOG.md — what changed and the pull request it came from.
1.0.2
Patch Changes
- #1809
73c9073Thanks @ofri-peretz! - truefit's docs have a site of their own at https://truefit.interlace.tools: getting started, guides, a page for each of zod, valibot, ArkType, TypeBox and ajv, recipes and the API reference. The package'shomepageand README point there.
1.0.1
Patch Changes
- #1810
102eecfThanks @ofri-peretz! - A missing value now readsgot undefinedin an issue's message, notgot undefined undefined: the message printed the type and then the value, and forundefinedboth are the word "undefined". Seen fromissues(),parse()andstandard().validate()on a missing required key.
1.0.0
Major Changes
- #1798
78d014bThanks @ofri-peretz! - truefit is 1.0. Its entries.,./emit,./jit,./formats,./json-schemaand./standardare now a semver contract: a schema built today reads the same values the same way on every 1.x, and an option or builder is removed or changes meaning only in a 2.0. Nothing changed in the code; the evidence is D-20261124-verification-family-1-0: 100% coverage, every spec row built, 143 of the 154 parity features measured against zod, valibot, arktype, typebox and ajv, and a first full mutation run with no surviving mutant.
0.2.1
Patch Changes
- #1773
80d0383Thanks @ofri-peretz! -loadlineis nowtruefitandtruemarkis nowtruepass. npm refused both old names on first publish as too similar toreadlineandremark. The code is the same; only the package name, the bin and the docs changed.
0.2.0
Minor Changes
- #1767
dc457f8Thanks @ofri-peretz! -jsonSchemaReader(document)reads many schemas against one document, such as every payload of an OpenAPI document against itscomponents: each$refis read once and shared by every schema that names it, wherefromJsonSchemaon each reads the whole graph behind it again. A schema that reaches a reference that cannot be read is refused every time it is read, however deep the reference is.
0.1.0
Minor Changes
- #1751
d218e73Thanks @ofri-peretz! - First publish. apicontract is now contractdiff (the package, thecontractdiffcommand, thecontractdiff/testingimport, and thecontractdiff.config.jsonandcontractdiff.map.jsonfiles), and the validator is now loadline (import { check } from 'loadline'). Both are public, with a README, a mark and their place in the family.
0.0.1
Patch Changes
- #1623
7167140Thanks @ofri-peretz! - A shape that names a keyObject.prototypehas (__proto__,toString,constructorand the rest) reads it only as the value's own key, incheck,issues,parseand an emitted check. Before,{}held each of them through its prototype, so a required__proto__passed on any object, and an optionaltoStringrefused{}. A getter a class puts on its prototype still counts, andcheckruns at the same speed on every other shape.