- 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
)
- Disabled handling to avoid class attributes that clash with
keywords
andbuiltins
(4439227
)
- Handle empty XML elements during deserialization (
f806f35
)
- Ability for custom
type_mapping
to take lower priority thanxml_array
(fc0bb22
) - Handle
ForwardRef
types (a66e700
)
- Deserializing JSON with custom JSON name was incorrect (
7d4aefc
)
- Nested array of Enum values in
from_json()
failed (ea4d76a
) - Output better errors when deserializing JSON and we hit errors (
1699c5b
)
- Nested array of Enum values in
from_xml()
failed (393a425
)
- Bring library to BETA state (
c6c36d9
)
- Typing for
@serializable.view
was incorrect (756032b
) - Typing for
@serializable.serializable_enum
decorator was incorrect (84e7826
)
- Specific None value per View - support for XML was missing (
5742861
)
- Support for specific None values for Properties by View (
a80ee35
)
- None value for JSON is now
None
(null
) (8b7f973
)
- Missing namespace for empty XML elements (
f3659ab
)
- Support forced inclusion of array properties by using
@serializable.include_none
(7ad0ecf
) - Support for deserializing to objects from a primitive value (
12f9f97
)
- Support for including
None
values, restricted to certain Views as required (614068a
)
- Implement views for serialization to JSON and XML (
db57ef1
)
- Support for string formatting of values (
99b8f3e
) - Support string formatting for values (
3fefe22
) - Support for custom Enum implementations (
c3622fc
)
- Add support for defining XML element ordering with
@serializable.xml_sequence()
decorator (c1442ae
)
- 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
)
- Support declaration of XML NS in
as_xml()
call (19b2b70
)
- Deserialization of XML boolean values (
799d477
)
- Fixed deferred parsing for Properties (
833e29b
)
- Support for cyclic dependencies (
911626c
)
- Support for non-primitive types when XmlSerializationType == FLAT (
7eff15b
)
- Support ENUM in XML Attributes (
f2f0922
)
- Handle Array types where the concrete type is quoted in its definition (
b6db879
)
- Work to support
sortedcontainers
as a return type for Properties (805a3f7
)
- Better support for Properties that have a Class type that is not a Serializable Class (e.g. UUID) (
95d407b
)
- Support ignoring elements/properties during deserialization (
6319d1f
)
- Update
helpers
to be properly typed (d924dc2
)
- Change to helpers to address typing issues (
1c32ba1
) - Remove
/
from method signature so we work on Python < 3.8 (c45864c
)
- Update to work on python < 3.10 (
91df8cb
)
- Library re-write to utilise decorators (
957fca7
)
- Support for Objects that when represented in XML may just be simple elements with attributes (
1369d7d
)
- Temporarilty add
Any
as part ofAnySerializable
type (d3e9beb
)
- Direct support for Python
Enum
(50148cc
)
- Added missing
py.typed
marker (ee3169f
)
- Added helpers for serializing XML dates and times (xsd:date, xsd:datetime) (
c309834
)
- Support for properties whose value is an
Type[SerializableObject]
but are notList
orSet
(bf6773c
)
- Handle nested objects that are not list or set (
4bc5252
)