Skip to content

Releases: sissaschool/xmlschema

v1.7.0 (2021-08-02)

02 Aug 14:33
Compare
Choose a tag to compare
  • Make XSD annotations parsing lazy
  • Add lazy annotations to schema instances
  • Add get_annotation() method to multiple-facets classes (issue #255)

v1.6.4 (2021-06-09)

09 Jun 17:50
Compare
Choose a tag to compare
  • 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)

v1.6.3 (2021-06-07)

07 Jun 10:22
77cbad4
Compare
Choose a tag to compare
  • Refactor normalize_url() using pathlib.PurePath
  • Support UNC paths (issue #246)
  • Fix API docs (issue #248)
  • Fix encoding of non-root elements (PR #250)

v1.6.2 (2021-05-03)

03 May 12:21
Compare
Choose a tag to compare
  • 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)

v1.6.1 (2021-04-11)

11 Apr 20:57
Compare
Choose a tag to compare
  • Add multi-source initialization and add_schema() to schema class
  • Add bytes strings to accepted XML sources

v1.6.0 (2021-04-06)

06 Apr 08:36
Compare
Choose a tag to compare

XML data bindings and code generators

  • 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

v1.5.3 (2021-03-14)

14 Mar 09:38
Compare
Choose a tag to compare
  • Fix schema logger (issue #228)
  • Fix ElementPathMixin to avoid conflicts when schema is used by an XPath 3 parser

v1.5.2 (2021-03-04)

04 Mar 21:31
Compare
Choose a tag to compare
  • Improve empty content checking
  • Fix simple content restriction of xs:complexType
  • Fix facets retrieving for xs:complexType with simple content

v1.5.1 (2021-02-11)

11 Feb 16:15
Compare
Choose a tag to compare

Dynamic XML data binding and code generators (experimental)

  • Add experimental XML data bindings with a DataBindingConverter
  • Add experimental PythonGenerator for static codegen with Jinja2
  • Optimize NamespaceView read-only mapping

v1.5.0 (2021-02-05)

05 Feb 11:03
Compare
Choose a tag to compare

Decoding XML to data elements with schema bindings

  • 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)