aboutsummaryrefslogtreecommitdiff
path: root/CHANGES.rst
diff options
context:
space:
mode:
Diffstat (limited to 'CHANGES.rst')
-rw-r--r--CHANGES.rst22
1 files changed, 22 insertions, 0 deletions
diff --git a/CHANGES.rst b/CHANGES.rst
index 0ca5904..139376d 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -1,4 +1,26 @@
+Revision 0.4.7, released 01-09-2019
+-----------------------------------
+
+- Added `isInconsistent` property to all constructed types. This property
+ conceptually replaces `verifySizeSpec` method to serve a more general
+ purpose e.g. ensuring all required fields are in a good shape. By default
+ this check invokes subtype constraints verification and is run by codecs
+ on value de/serialisation.
+- Deprecate `subtypeSpec` attributes and keyword argument. It is now
+ recommended to pass `ValueSizeConstraint`, as well as all other constraints,
+ to `subtypeSpec`.
+- Fixed a design bug in a way of how the items assigned to constructed
+ types are verified. Now if `Asn1Type`-based object is assigned, its
+ compatibility is verified based on having all tags and constraint
+ objects as the type in field definition. When a bare Python value is
+ assigned, then field type object is cloned and initialized with the
+ bare value (constraints verificaton would run at this moment).
+- Added `WithComponentsConstraint` along with related
+ `ComponentPresentConstraint` and `ComponentAbsentConstraint` classes
+ to be used with `Sequence`/`Set` types representing
+ `SET ... WITH COMPONENTS ...` like ASN.1 constructs.
+
Revision 0.4.6, released 31-07-2019
-----------------------------------