Changelog for
python311-xmlschema-3.3.2-2.1.noarch.rpm :
* Mon Aug 26 2024 Steve Kowalik
- Add patch support-new-python-3.12.patch:
* Support pickle exception changes in Python 3.12.5 and later.
* Mon Jul 29 2024 John Paul Adrian Glaubitz - Update to 3.3.2
* Fix UNC path tests (issues #405 and #408)
* Tue Jul 02 2024 Dirk Müller - update to 3.3.1:
* Update validation errors with logging stacktrace in debug mode
* Improve locations parsing and URL encoding
* Rewrite the validation of openContent using InterleavedModelVisitor and SuffixedModelVisitor
* Fix validation of XSD 1.1 \'all\' nested models
* Improve ModelVisitor and particle occurs checking
* Fix interleave mode with XSD 1.1 open content (issue #397)
* Fix for export/download of XSD sources with commented-out imports/include (issue #387)
* Add
*download_schemas()
* to package API (#387)
* Fix issue with facets on list types (#396)
* Add GData converter (issue #388/PR #391)
* Fix typing protocols usage
* Extend XSD annotations parsing (issue #366)
* Use XPath subtree as fragment for xs:assert (issue #386)
* Fix in XMLSchemaProxy definition and usage for providing a base-uri to schema nodes (issue #379)
* Module xpath.py splitted to a subpackage for including all the custom XPath 1.0/2.0 parsers and related classes to XPath
* Add support for Python 3.13 (pre-releases)
* Hotfix release for broken requirement
* Set python-requires metadata to >=3.8 (pull request #382)
* Upgrade GitHub Actions (pull request #381)
* XML declaration processing option
*xmlns_processing
* for converters
* Decode/validate from XML document with dynamic schema load
* XMLResource enhancement for a better XML resources processing
* Improve lazy resources iteration removing preceding elements (
*thin_mode
* option)
* Drop support for Python 3.7
* Fix slowness of key selectors introduced by v2.5.0 (issue #378)
* Remove redundant wheel dep from pyproject.toml and unnecessary build deps from tox.ini (PR #368)
* Fix identity keys tracking with additional full XPath checks on XML data
* Rewrite schema exports using relative paths
* Improve schema export using XSD source encoding
* Add XML signature and encryption to local fallback schemas
* Meta-schema elements and groups ignore xsi:type attributes
* Use the meta-schemas only for validating XSD sources otherwise create dummy schemas
* Mon May 22 2023 Dirk Müller - update to 2.3.0:
* Improve sequence/all restriction checks for XSD 1.1
* Add
*schema
* argument to `Wsdl11Document`
* Fri Apr 21 2023 Dirk Müller - add sle15_python_module_pythons (jsc#PED-68)
* Sun Apr 16 2023 Dirk Müller - update to 2.2.3:
* Add support for Python 3.12
* Detach content iteration methods from ModelVisitor
* Mon Mar 27 2023 Dirk Müller - update to 2.2.2:
* Fix mixed content extension with empty content (issue #337)
* Fix lru_cache() usage on global maps caching
* Fix mixed content extension without explicit mixed attribute (issue #334)
* Fri Feb 10 2023 Dirk Müller - update to 2.2.0:
* Refine string serialization of XML resources and data elements
* Switch to use elementpath v4
* Fix sequence_type property for XSD types
* Remove
*XsdElement.get_attribute()
*: unused and doesn\'t work as expected
* Mon Oct 03 2022 Dirk Müller - update to 2.1.1:
* Fix
*schema_path
* usage in `XMLSchemaBase.iter_errors()`
* Add
*allow_empty
* option to `XMLSchemaBase` validation API
* Thu Sep 29 2022 Fabian Vogt - Update to 2.1.0:
* Add to_etree() to document API
* Improve generic encoding with wildcards
* Clean document API and schema decoding- Update to 2.0.4:
* Add use_location_hints argument to document API for giving the option of ignoring XSI schema locations hints
* Fix import from locations hints with namespace mismatch (issue #324)- Update to 2.0.3:
* Add keep_empty and element_hook options to main iter_decode() method
* Fix default namespace mapping in BadgerFishConverter
* Fix type restriction check if restricted particle has maxOccurs==0 (issue #323)- Update to 2.0.2:
* Fix XSD 1.1 assertions effective scope
* Add support for Python 3.11- Update to 2.0.1:
* Remove warnings during the build of the package using package_data specs in setup.py
* Fix decoding with process_namespaces=False and xsi:type in XML instance
* Refactor DataElement.get(), restore DataElement.set() (issue #314)
* Add map_attribute_names argument to DataElementConverter- Update to 2.0.0:
* Refactor XPath interface for the full XPath node implementation of elementpath v3.0
* Fix BadgerFishConverter with mixed content (issue #315)
* Improve get() and set() of DataElement (issue #314)- Update to 1.11.3:
* Fix invalid element not detected with empty particle (issue #306)
* Fix Sphinx warnings (issue #305)- Update to 1.11.2:
* Fix \'replace_existing\' argument usage in XsdElement.get_binding method (issue #300)
* Add Russian full translation (from PR #303 and #304)- Update to 1.11.1:
* Protect converter calls in iter_decode()/iter_encode()
* Extend XSD type matching for code generators- Update to 1.11.0:
* Add localization for XSD parsing and validation related error messages
* Add full Italian translation
* Add Russian partial translation (from PR #293)- Update to 1.10.0:
* Add \'nonlocal\' option to defuse argument of XMLResource (also for schema classes)
* Add \'none\' option to allow argument of XMLResource
* Fix too strict parsing on XSD annotations (issue 287)
* Drop support for Python 3.6
* Mon Jan 03 2022 Dirk Müller - update to 1.9.2:
* Fix for global simple type naming
* Improve error reporting for encoded data
* Fix attribute duplicates in attribute group
* Add process_skipped optional argument to decoding/encoding
* Add iter_decode() to document level API
* Enhance XMLResource class adding usage of pathlib.Path objects for source and base_url arguments
* Fix for issue #273
* Mon Nov 29 2021 Dirk Müller - update to 1.8.2:
* Fix type annotation of XMLSchema source argument
* Near compliance with strict type annotations
* Removed ModelGroup class, merged with XsdGroup
* Some optimizations and fixes from static analysis
* Sat Oct 16 2021 Dirk Müller - update to 1.8.0:
* Refactor XMLSchemaMeta deprecating BUILDER attribute
* Extend type annotations to package API
* Add static typing tests with checked mypy runs
* Activate mypy checks for package
* Fix for issues #257 and #259
* Make XSD annotation parsing lazy
* Add lazy annotations to schema instances
* Add get_annotation() method to multiple-facets classes (issue #255)- drop remove_shebang.patch (upstream)
* Thu Jun 17 2021 Dirk Müller - update to 1.6.4:
* Add testing config for Python 3.10 (Tox and CI)
* Fix internal _PurePath class with Python 3.10 (issue #251)
* Remove redundant xmlns=\"\" declaration when encoding with lxml (issue #252)
* Refactor normalize_url() using pathlib.PurePath
* Support UNC paths (issue #246)
* Fix API docs (issue #248)
* Fix for issue #245 (key/keyref with dynamic types)
* Change default decoding of mixed content with only text to a string instead of a dictionary (issue #242)
* Tue May 18 2021 Dirk Müller - update to 1.6.1:
* Add multi-source initialization and add_schema() to schema class
* Add bytes strings to accepted XML sources (issue #238)
* XML data bindings and code generators are now considered stable
* Add arguments \'max_depth\' and \'extra_validator\' to validation methods
* Enhance decoding with \'value_hook\' argument
* Remove unnecessary bindings with schema proxy from ElementPathMixin to avoid conflicts when schema is used by an XPath 3 parser
* Fix schema logger (issue #228)
* Thu Apr 22 2021 Dirk Müller - update to 1.5.2:
* Improve empty content checking
* Fix simple content restriction of xs:complexType
* Fix facets retrieving for xs:complexType with simple content
* Mon Mar 01 2021 Steve Kowalik - Update to 1.5.1:
* Optimize NamespaceView read-only mapping
* Add experimental XML data bindings with a DataBindingConverter
* Add experimental PythonGenerator for static codegen with Jinja2
* Add DataElement class for creating objects with schema bindings
* Add DataElementConverter for decode to structured objects
* Add an experimental abstract base class for building jinja2 based code generators (jinja2 as an optional dependency)
* Add decoding of binary datatypes (xs:hexBinary and xs:base64Binary)
* Fix encoding from string values for some builtin datatypes (decimal, binary, duration and datetime)
* Include the pull request #220 (fix xml.etree import)
* Additional tests for schema components
* Fix for issues #213, #214, #215 and #218
* Code cleaning and optimizations on schema components
* Reducing and grouping helper functions- Update remove_shebang.patch to also drop the shebang from a second file.