6.0.0
This is a release with a small but breaking change - a new SubEntity
type has been added to replace the use of ( TypeName, List Attribute )
when working with complex entities. This makes things a little cleaner and more explicit, and paves the way for a new optimized decoding implementation that will likely be published as part of a 7.0.0 release soon.
Full diff:
---- Step.Encode - MAJOR ----
Changed:
- complexEntity : List ( String, List Attribute ) -> Entity
+ complexEntity : List SubEntity -> Entity
Added:
subEntity : String -> List Attribute -> SubEntity
---- Step.Types - MAJOR ----
Added:
type SubEntity
= SubEntity TypeName (List Attribute)
Changed:
- type Entity
= SimpleEntity (Maybe Int) TypeName (List Attribute)
| ComplexEntity (Maybe Int) (List ( TypeName, List Attribute ))
+ type Entity
= SimpleEntity (Maybe Int) TypeName (List Attribute)
| ComplexEntity (Maybe Int) (List SubEntity)