Releases: sissaschool/xmlschema
Releases · sissaschool/xmlschema
v4.3.1 (2026-01-17)
v4.3.0 (2026-01-06)
- Add arguments validation for schemas and validation methods (by validation contexts)
- Add custom XPath parser for find/findall/iterfind APIs on schemas for match
singleton sequence also if position is a number greater than 1 in predicate
expression (issue #468) - Improve build of XSD elements and groups, using a three-state built flag for
components - Extend and fix memory tests (Python 3.14+ seems to consume more memory)
- Drop support for Python 3.9 and add development support for Python 3.15
v4.2.0 (2025-10-14)
- Add arguments validation for schemas and validation methods (by validation contexts)
- Add
SchemaSettingsdataclass for storing read-only settings for schema instances
and for managing package default settings - Add block argument to
XMLResourceclass (issue #464) - Add MAX_SCHEMA_SOURCES package limit (
1000, applied toXsdGlobalsglobal maps instances) - Add MAX_XML_ELEMENTS package limit (
1,000,000, applied to non-lazyXMLResourceinstances) - Reduce MAX_XML_DEPTH limit to 1000 and apply it to all
XMLResourceinstances - Fix for substitute match in case of unexpected child (issue #461)
v4.1.0 (2025-06-05)
- Add XPath selectors: ElementSelector and ElementPathSelectors
- Add selector argument to XMLResource and iterparse filters
- Fix element substitution (issue #452)
- Restore v3.4.5 builder methods as helpers (issue #451)
- Add overall_min_occurs and overall_max_occurs helpers to XsdElement (issue #449)
- Extend error message for XML syntax errors (issue #448)
- Fix query/fragment like for filenames (issue #447)
v4.0.1 (2025-04-13)
- Fix XSD identity update with xsi:type substitution (issue #446)
v4.0.0 (2025-04-11)
- Extend support of
lxml.etreethrough iterparse optional argument - Rework internal decoding/encoding methods, replacing generators with normal functions
- Replace kwargs with a validation context (DecodeContext and EncodeContext)
- Add SchemaLoader class and variants (related to #419)
- Slicing of XsdGlobals with parent maps
- Fix
XsdUnionvalidation performance issue (related to #442) - Drop support for Python 3.8
v3.4.5 (2025-03-22)
- Fix xs:all groups occurs check (issue #437)
v3.4.4 (2025-03-18)
- Migrate project metadata to pyproject.toml by @afuetterer (PR #436)
- Fix static typing errors with mypy==1.15.0 and elementpath==4.8.0
v3.4.3 (2024-10-31)
v3.4.2 (2024-09-17)
- Fix other failing URL normalization tests
- Avoid the use of sys.version_info for checking results, better to extend the check to more values.