Skip to content

Latest commit

 

History

History
189 lines (144 loc) · 10.4 KB

CHANGELOG.md

File metadata and controls

189 lines (144 loc) · 10.4 KB

Changelog

v0.11.1 (2023-03-03)

Fix

  • Use defusedxml whenever we load XML to prevent XEE attacks (ae3d76c)
  • Use defusedxml whenever we load XML to prevent XEE attacks (32fd5a6)
  • Use defusedxml whenever we load XML to prevent XEE attacks (72e0127)
  • Use defusedxml whenever we load XML to prevent XEE attacks (de61deb)
  • Use defusedxml whenever we load XML to prevent XEE attacks (de26dc3)

v0.11.0 (2023-03-03)

Feature

  • Disabled handling to avoid class attributes that clash with keywords and builtins (4439227)

v0.10.1 (2023-03-02)

Fix

  • Handle empty XML elements during deserialization (f806f35)

0.10.0 (2023-02-21)

Feature

  • Ability for custom type_mapping to take lower priority than xml_array (fc0bb22)
  • Handle ForwardRef types (a66e700)

v0.9.3 (2023-01-27)

Fix

  • Deserializing JSON with custom JSON name was incorrect (7d4aefc)

v0.9.2 (2023-01-27)

Fix

  • Nested array of Enum values in from_json() failed (ea4d76a)
  • Output better errors when deserializing JSON and we hit errors (1699c5b)

v0.9.1 (2023-01-26)

Fix

  • Nested array of Enum values in from_xml() failed (393a425)

v0.9.0 (2023-01-24)

Feature

  • Bring library to BETA state (c6c36d9)

v0.8.2 (2023-01-23)

Fix

  • Typing for @serializable.view was incorrect (756032b)
  • Typing for @serializable.serializable_enum decorator was incorrect (84e7826)

v0.8.1 (2023-01-23)

Fix

  • Specific None value per View - support for XML was missing (5742861)

v0.8.0 (2023-01-20)

Feature

  • Support for specific None values for Properties by View (a80ee35)

Fix

  • Minor typing and styling (b728c4c)
  • Minor typing and styling (b2ebcfb)

v0.7.3 (2022-09-22)

Fix

  • None value for JSON is now None (null) (8b7f973)

v0.7.2 (2022-09-22)

Fix

  • Missing namespace for empty XML elements (f3659ab)

v0.7.1 (2022-09-15)

Fix

  • Support forced inclusion of array properties by using @serializable.include_none (7ad0ecf)
  • Support for deserializing to objects from a primitive value (12f9f97)

v0.7.0 (2022-09-14)

Feature

  • Support for including None values, restricted to certain Views as required (614068a)

v0.6.0 (2022-09-14)

Feature

  • Implement views for serialization to JSON and XML (db57ef1)

Fix

  • Support for Decimal in JSON serialization (cc2c20f)
  • Better serialization to JSON (e8b37f2)

v0.5.0 (2022-09-12)

Feature

  • Support for string formatting of values (99b8f3e)
  • Support string formatting for values (3fefe22)
  • Support for custom Enum implementations (c3622fc)

v0.4.0 (2022-09-06)

Feature

  • Add support for defining XML element ordering with @serializable.xml_sequence() decorator (c1442ae)

Fix

  • Removed unused dependencies (448a3c9)
  • Handle python builtins and keywords during as_xml() for element names (3bbfb1b)
  • Handle python builtins and keywords during as_xml() for attributes (8d6a96b)

v0.3.9 (2022-08-24)

Fix

  • Support declaration of XML NS in as_xml() call (19b2b70)

v0.3.8 (2022-08-24)

Fix

  • Deserialization of XML boolean values (799d477)

v0.3.7 (2022-08-23)

Fix

  • Fixed deferred parsing for Properties (833e29b)

v0.3.6 (2022-08-23)

Fix

  • Support for cyclic dependencies (911626c)

v0.3.5 (2022-08-22)

Fix

  • Support for non-primitive types when XmlSerializationType == FLAT (7eff15b)

v0.3.4 (2022-08-22)

Fix

  • Support ENUM in XML Attributes (f2f0922)

v0.3.3 (2022-08-19)

Fix

  • Handle Array types where the concrete type is quoted in its definition (b6db879)

v0.3.2 (2022-08-19)

Fix

  • Work to support sortedcontainers as a return type for Properties (805a3f7)

v0.3.1 (2022-08-19)

Fix

  • Better support for Properties that have a Class type that is not a Serializable Class (e.g. UUID) (95d407b)

v0.3.0 (2022-08-19)

Feature

  • Support ignoring elements/properties during deserialization (6319d1f)

v0.2.3 (2022-08-19)

Fix

  • Update helpers to be properly typed (d924dc2)

v0.2.2 (2022-08-19)

Fix

  • Change to helpers to address typing issues (1c32ba1)
  • Remove / from method signature so we work on Python < 3.8 (c45864c)

v0.2.1 (2022-08-18)

Fix

  • Update to work on python < 3.10 (91df8cb)

v0.2.0 (2022-08-18)

Feature

  • Library re-write to utilise decorators (957fca7)

v0.1.7 (2022-08-15)

Fix

  • Support for Objects that when represented in XML may just be simple elements with attributes (1369d7d)

v0.1.6 (2022-08-15)

Fix

  • Temporarilty add Any as part of AnySerializable type (d3e9beb)

v0.1.5 (2022-08-13)

Fix

  • Direct support for Python Enum (50148cc)

v0.1.4 (2022-08-13)

Fix

  • Added missing py.typed marker (ee3169f)

v0.1.3 (2022-08-12)

Fix

  • Added helpers for serializing XML dates and times (xsd:date, xsd:datetime) (c309834)

v0.1.2 (2022-08-12)

Fix

  • Support for properties whose value is an Type[SerializableObject] but are not List or Set (bf6773c)

v0.1.1 (2022-08-11)

Fix

  • Handle nested objects that are not list or set (4bc5252)

v0.1.0 (2022-08-10)

Feature

  • First alpha release (c95a772)
  • First working draft of library for (de-)serialization to/from JSON and XML (7af4f9c)