Releases: jacksierkstra/checkr
Releases · jacksierkstra/checkr
Release list
v0.2.3
v0.2.2
v0.2.1
v0.2.0
v0.1.1
v0.1.0
0.1.0 (2026-05-19)
Features
- add additional xs: built-in type validations (8350f2f)
- add lexical validation for xs:QName, xs:ID, xs:IDREF, xs:IDREFS, xs:ENTITY, xs:ENTITIES, xs:NOTATION (8642866)
- add list-level facet validation for xs:restriction of xs:list (36b6e38)
- add missing xs: built-in type validation (6345fd6)
- add xs:length, xs:totalDigits, xs:fractionDigits restriction facets (3749194)
- add xs:list simple type support (4f24276)
- add xs:nillable and xsi:nil support (22f4def)
- add xs:union simple type support (f5446cc)
- api: expose sync validate() and async validateAsync() (ADR-019) (c9b74bf)
- api: narrow public exports to Checkr and ValidationResult (ADR-021) (0b49b43)
- apply attribute default values during validation (3706e31)
- build: ESM-only output (ADR-022) (69a0c1a)
- collect all xs:pattern facets as OR union (66b3f93)
- enforce xs:any processContents strict/lax/skip (1d5d494)
- enforce xs:any/xs:anyAttribute namespace attribute constraints (21f8a6e)
- enforce xs:anyAttribute processContents strict/lax/skip (aa54cb4)
- enforce xs:pattern on full xs:list value (834c8fa)
- enforce xs:sequence child element ordering (d4fdd4f)
- errors: structured ValidationError with codes + throw on programmer errors (ADR-018, ADR-020) (23f0ede)
- extend attribute constraint validation to all xs: types (85605f1)
- implement full xs:all semantics (ADR-025) (5c5922e)
- implement remaining backlog items (a31553a)
- implement xs:default and xs:fixed on xs:element (57e1954)
- implement xs:element ref= support (4db7066)
- implement xs:substitutionGroup support (ADR-027) (05da1d0)
- implement xs:whiteSpace facet normalization (29308ed)
- implement xsi:type runtime type substitution (XSD 1.0 §2.6.1) (1c91ab1)
- parse and validate xs:union inline xs:simpleType members (b3cfa44)
- parse mixed attribute from xs:complexContent element (46f659e)
- parse xs:notation declarations and validate xs:NOTATION attribute values (6a8c180)
- parse xs:simpleContent with extension and restriction (624deb1)
- parser: remove @xmldom/xmldom, use native DOMParser (ADR-017) (7d51e2a)
- tooling: add ESLint + Prettier (ADR-023) (03077f5)
- validate group-level minOccurs/maxOccurs on xs:sequence and xs:choice (a0eda98)
- validate numeric facets on xs:attribute inline simpleType restrictions (6b59725)
- validate unexpected attributes in XML elements (818db49)
- validate unexpected child and root elements (eb9320e)
- validate xs:complexType mixed content model (adcd1fd)
Bug Fixes
- apply xs:pattern facet to all simple types, not only xs:string (df14d5e)
- attribute type validation parity across all built-in types (3a3d1c1)
- correct xs:decimal, xs:float/double, xs:date, xs:duration, and partial date type validation (4792b82)
- enforce xs:long and xs:unsignedLong value-range bounds (8e1b243)
- handle xs:anyType as ur-type restriction base (0b52bde)
- inherit base-type attributes in xs:simpleContent restriction (68b4c2f)
- resolve all three critical bugs (numeric-facets, occurrence-per-parent, global-simpletype) (3c6484b)
- resolve xs:attribute ref= against global attribute declarations (39c2166)
- xs:all order independence and feat: xs:any/xs:anyAttribute wildcard support (210cd8c)
- xs:complexContent restriction now preserves children and attributes (cece15c)
0.0.18
What's Changed
- Removed reference to dom lib. by @jacksierkstra in #14
Full Changelog: 0.0.17...0.0.18
0.0.17
What's Changed
- Swapped xmldom for @xmldom/xmldom because that is the polyfill to use. by @jacksierkstra in #13
Full Changelog: 0.0.16...0.0.17
0.0.16
What's Changed
- Refactored the XSD parser and added more tests. by @jacksierkstra in #12
Full Changelog: 0.0.15...0.0.16
0.0.15
What's Changed
- Added test cases for simple examples. by @jacksierkstra in #11
Full Changelog: 0.0.14...0.0.15