summaryrefslogtreecommitdiff
path: root/CHANGES.rst
diff options
context:
space:
mode:
authorIlya Etingof <etingof@gmail.com>2019-06-23 10:15:12 +0200
committerIlya Etingof <etingof@gmail.com>2019-06-23 10:50:37 +0200
commit54dfd6246aeb4a63566f449f9df18f434c70a5be (patch)
tree2f5a4299b13755bbbe17675f64b72638f0dda33e /CHANGES.rst
parent25cf116ef8d11bb0e08454c0f3635c9f4002c2d6 (diff)
downloadpyasn1-git-54dfd6246aeb4a63566f449f9df18f434c70a5be.tar.gz
Add `omitEmptyOptionals` encoder option
Added `omitEmptyOptionals` option which is respected by `Sequence` and `Set` encoders. When `omitEmptyOptionals` is set to `True`, empty initialized optional components are not encoded. Default is `False`.
Diffstat (limited to 'CHANGES.rst')
-rw-r--r--CHANGES.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/CHANGES.rst b/CHANGES.rst
index dabdb33..7ebad6c 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -2,7 +2,9 @@
Revision 0.4.6, released XX-01-2019
-----------------------------------
-No changes yet
+- Added `omitEmptyOptionals` option which is respected by `Sequence`
+ and `Set` encoders. When `omitEmptyOptionals` is set to `True`, empty
+ initialized optional components are not encoded. Default is `False`.
Revision 0.4.5, released 29-12-2018
-----------------------------------