debian-xmlschema/CHANGELOG.rst

268 lines
11 KiB
ReStructuredText

*********
CHANGELOG
*********
`v1.0.15`_ (2019-10-13)
=======================
* Improved XPath 2.0 bindings
* Added logging for schema initialization and building (handled with argument *loglevel*)
* Update encoding of collapsed contents with a new model based reordering method
* Removed XLink namespace from meta-schema (loaded from a fallback location like XHTML)
* Fixed half of failed W3C instance tests (remain 255 over 15344 tests)
`v1.0.14`_ (2019-08-27)
=======================
* Added XSD 1.1 validator with class *XMLSchema11*
* Memory usage optimization with lazy build of the XSD 1.0 and 1.1 meta-schemas
* Added facilities for the encoding of unordered and collapsed content
`v1.0.13`_ (2019-06-19)
=======================
* Fix path normalization and tests for Windows platform
* Added XML resource validation in lazy mode (experimental feature)
* Added arguments *filler* and *fill_missing* to XSD decode/encode methods
* Added arguments *preserve_root*, *strip_namespaces*, *force_dict* and *force_list* to XMLSchemaConverter
* Added code coverage and pep8 testing
* Drop support for Python 3.4
`v1.0.11`_ (2019-05-05)
=======================
* Added a script for running the W3C XSD test suite.
* Check restrictions and model groups UPA violations
* Model groups splitted between two modules for more focusing on models basics
* Added two new exceptions for model group errors
* More control on imported namespaces
* Added *use_meta* argument to schema classes
* Added *includes* list and *imports* dict to schema classes
* Many fixes for passing the W3C's tests for XSD 1.0 schemas
* Added a test for issue #105 and a fix for issue #103
`v1.0.10`_ (2019-02-25)
=======================
* Fixed Element type mismatch issue when apply *SafeXMLParser* to schema resources
* More XSD 1.1 features implemented (open content and versioning namespace are missing)
`v1.0.9`_ (2019-02-03)
======================
* Programmatic import of ElementTree for avoid module mismatches
* Cleaning and refactoring of test scripts
`v1.0.8`_ (2019-01-30)
======================
* Dependency *defusedxml* package replaced by a custom XMLParser for ElementTree
* Optional decoding of XSD date/time/duration builtin types
* Fixes for issues #93, #96, #97 and #99
`v1.0.7`_ (2018-11-15)
======================
* Fixes for issues #87 and #88
* Merged with PR #89 (simpleType restriction annotation parsing)
* XSD 1.1 development: added assertion facet (still to be completed)
`v1.0.6`_ (2018-10-21)
======================
* Fixes for issues #85 and #86
* XSD 1.1 development: added explicitTimezone facet and XSD 1.1 builtin types
`v1.0.5`_ (2018-09-27)
======================
* Fix for issue #82 and for similar unprotected XSD component lookups
* Added checks for namespace mapping of encoded trees and error messages
`v1.0.4`_ (2018-09-22)
======================
* Unification of XSD group decode and encode methods
* Children validation error class improved
* Fixes for issues #77, #79 and #80
* Added test scripts for helpers and ElementTree
`v1.0.3`_ (2018-08-26)
======================
* Improved model validation for XSD groups encoding
* Added parent reference to XSD components
* Extended validator errors classes
* Optimized error generation using helper methods
* Improved particle parsing
`v1.0.2`_ (2018-07-26)
======================
* Improved ElementTree and XPath API
`v1.0.1`_ (2018-07-14)
======================
* Validated data encoding to XML
* Improved converters with decoding/encoding of namespace information
* Added helper functions for encoding and decoding to JSON
* Added XMLResource class for managing access to XML data sources
* Added warnings for failed schema includes and namespace imports
`v0.9.31`_ (2018-06-24)
=======================
* Schema serialization with pickle for Python 3 (enhancement related to issue #68)
* Data encoding with the default converter
* Improved decoding for xs:union
`v0.9.30`_ (2018-06-06)
=======================
* First experimental version of data encoding with the default converter
* Fixes for issues #65, #66 and #67
`v0.9.29`_ (2018-06-03)
=======================
* Extended the tests on lxml XML data
* Fixes for issues #61, #63 and #64
`v0.9.28`_ (2018-05-18)
=======================
* Encoding of XSD builtin types (strings and numerical)
* Fix for issue #62
* Drop support for Python 3.3
`v0.9.27`_ (2018-05-08)
=======================
* Add support for preventing XML attacks with the use of the
*defusedxml* package (added *defuse* argument to schemas)
* Fix for group circularity (issue #58)
* Fix for billion laughs attacks using XSD groups expansion
`v0.9.26`_ (2018-04-12)
=======================
* Added checks for model restrictions
`v0.9.25`_ (2018-04-05)
=======================
* Removed XsdAnnotated class
* Added XsdType class as common class for XSD types
* Fixes for issues #55 and #56
`v0.9.24`_ (2018-04-03)
=======================
* Added XPath 1.0/2.0 full parsing with the derived *elementpath* package
* Fixes for issues #52 and #54
* Test package improved (tox.ini, other checks with test_package.py)
`v0.9.23`_ (2018-03-10)
=======================
* Fixes for issues #45, #46, #51
* Added kwargs to *iter_decode()*, *dict_class* and *list_class* arguments have
been removed
* Added kwargs to converters initialization in order to push variable keyword
arguments from *iter_decode()*
`v0.9.21`_ (2018-02-15)
=======================
* Fixes 'final' derivation attribute for complexType
* Decoupling of the XPath module from XsdComponent API
* Fix for issue #41
`v0.9.20`_ (2018-01-22)
=======================
* Substitution groups support
* Added *fetch_schema_locations* function to API
* Added *locations* argument to *fetch_schema*, *validate* and *to_dict* API functions
* A more useful __repr__ for XSD component classes
* Fixes for issues #35, #38, #39
`v0.9.18`_ (2018-01-12)
=======================
* Fixed issue #34 (min_occurs == 0 check in XsdGroup.is_emptiable)
* Updated copyright information
* Updated schema class creation (now use a metaclass)
* Added index and expected attributes to XMLSchemaChildrenValidationError
* Added *locations* optional argument to XMLSchema class
`v0.9.17`_ (2017-12-28)
=======================
* Key/Unique/Keyref constraints partially rewritten
* Fixed ad issue with UCS-2/4 and maxunicode
`v0.9.16`_ (2017-12-23)
=======================
* UnicodeSubset class rewritten (more speed, less memory)
* Updated unicode_categories.json to Python 3.6 unicodedata
* Added XMLSchemaChildrenValidationError exception
`v0.9.15`_ (2017-12-15)
=======================
* Some bug fixes
* Code cleaning
* XSD components modules has been merged with schema's modules into 'validators' subpackage
`v0.9.14`_ (2017-11-23)
=======================
* Improved test scripts with a *SchemaObserver* class and test line arguments
* Full support for date and time XSD builtin types
`v0.9.12`_ (2017-09-14)
=======================
* Added identity constraints
* Some bug fix
`v0.9.10`_ (2017-07-08)
=======================
* Factories code moved to XsdComponent subclasses for simplify parsing and debugging
* All XSD components built from ElementTree elements with a lazy approach
* Implementation of the XSD validation modes ('strict'/'lax'/'skip') both for validating
schemas and for validating/decoding XML files
* Defined an XsdBaseComponent class as the common base class for all XSD components,
schemas and global maps
* Defined a ValidatorMixin for sharing a common API between validators/decoders classes
* Added built and validity checks for all XSD components
`v0.9.9`_ (2017-06-12)
======================
* Added converters for decode/encode data with different conventions
* Modifications on iter_decode() arguments in order to use converters
`v0.9.8`_ (2017-05-27)
======================
* Added notations and substitution groups
* Created a subpackage for XSD components
`v0.9.7`_ (2017-05-21)
======================
* Documentation extended and tested
* Improved tests for XPath, validation and decoding
v0.9.6 (2017-05-05)
===================
* Added an XPath parser
* Added iterfind(), find() and findall() APIs for searching XSD element declarations using XPath
.. _v0.9.7: https://github.com/brunato/xmlschema/compare/v0.9.6...v0.9.7
.. _v0.9.8: https://github.com/brunato/xmlschema/compare/v0.9.7...v0.9.8
.. _v0.9.9: https://github.com/brunato/xmlschema/compare/v0.9.8...v0.9.9
.. _v0.9.10: https://github.com/brunato/xmlschema/compare/v0.9.9...v0.9.10
.. _v0.9.12: https://github.com/brunato/xmlschema/compare/v0.9.10...v0.9.12
.. _v0.9.14: https://github.com/brunato/xmlschema/compare/v0.9.12...v0.9.14
.. _v0.9.15: https://github.com/brunato/xmlschema/compare/v0.9.14...v0.9.15
.. _v0.9.16: https://github.com/brunato/xmlschema/compare/v0.9.15...v0.9.16
.. _v0.9.17: https://github.com/brunato/xmlschema/compare/v0.9.16...v0.9.17
.. _v0.9.18: https://github.com/brunato/xmlschema/compare/v0.9.17...v0.9.18
.. _v0.9.20: https://github.com/brunato/xmlschema/compare/v0.9.18...v0.9.20
.. _v0.9.21: https://github.com/brunato/xmlschema/compare/v0.9.20...v0.9.21
.. _v0.9.23: https://github.com/brunato/xmlschema/compare/v0.9.21...v0.9.23
.. _v0.9.24: https://github.com/brunato/xmlschema/compare/v0.9.23...v0.9.24
.. _v0.9.25: https://github.com/brunato/xmlschema/compare/v0.9.24...v0.9.25
.. _v0.9.26: https://github.com/brunato/xmlschema/compare/v0.9.25...v0.9.26
.. _v0.9.27: https://github.com/brunato/xmlschema/compare/v0.9.26...v0.9.27
.. _v0.9.28: https://github.com/brunato/xmlschema/compare/v0.9.27...v0.9.28
.. _v0.9.29: https://github.com/brunato/xmlschema/compare/v0.9.28...v0.9.29
.. _v0.9.30: https://github.com/brunato/xmlschema/compare/v0.9.29...v0.9.30
.. _v0.9.31: https://github.com/brunato/xmlschema/compare/v0.9.30...v0.9.31
.. _v1.0.1: https://github.com/brunato/xmlschema/compare/v0.9.31...v1.0.1
.. _v1.0.2: https://github.com/brunato/xmlschema/compare/v1.0.1...v1.0.2
.. _v1.0.3: https://github.com/brunato/xmlschema/compare/v1.0.2...v1.0.3
.. _v1.0.4: https://github.com/brunato/xmlschema/compare/v1.0.3...v1.0.4
.. _v1.0.5: https://github.com/brunato/xmlschema/compare/v1.0.4...v1.0.5
.. _v1.0.6: https://github.com/brunato/xmlschema/compare/v1.0.5...v1.0.6
.. _v1.0.7: https://github.com/brunato/xmlschema/compare/v1.0.6...v1.0.7
.. _v1.0.8: https://github.com/brunato/xmlschema/compare/v1.0.7...v1.0.8
.. _v1.0.9: https://github.com/brunato/xmlschema/compare/v1.0.8...v1.0.9
.. _v1.0.10: https://github.com/brunato/xmlschema/compare/v1.0.9...v1.0.10
.. _v1.0.11: https://github.com/brunato/xmlschema/compare/v1.0.10...v1.0.11
.. _v1.0.13: https://github.com/brunato/xmlschema/compare/v1.0.11...v1.0.13
.. _v1.0.14: https://github.com/brunato/xmlschema/compare/v1.0.13...v1.0.14
.. _v1.0.15: https://github.com/brunato/xmlschema/compare/v1.0.14...v1.0.15