summaryrefslogtreecommitdiff
path: root/CHANGES.rst
diff options
context:
space:
mode:
authorIlya Etingof <etingof@gmail.com>2019-09-14 18:46:08 +0200
committerIlya Etingof <etingof@gmail.com>2019-11-15 19:39:11 +0100
commit93e11a2dfded950827ba3393b5a4562270a766da (patch)
treecddf49a1daa1258d91f348bad30eabc662241bd8 /CHANGES.rst
parentfdd0bd66f66e5f7832287ff0994f4219632935a7 (diff)
downloadpyasn1-git-93e11a2dfded950827ba3393b5a4562270a766da.tar.gz
Refactor BER decoder into a suspendable coroutine
The goal of this change is to make the decoder stopping on input data starvation and resuming from where it stopped whenever the caller decides to try again (hopefully making sure that some more input becomes available). This change makes it possible for the decoder to operate on streams of data (meaning that the entire DER blob might not be immediately available on input). On top of that, the decoder yields partially reconstructed ASN.1 object on input starvation making it possible for the caller to inspect what has been decoded so far and possibly consume partial ASN.1 data. All these new feature are natively available through `StreamingDecoder` class. Previously published API is implemented as a thin wrapper on top of that ensuring backward compatibility.
Diffstat (limited to 'CHANGES.rst')
-rw-r--r--CHANGES.rst22
1 files changed, 21 insertions, 1 deletions
diff --git a/CHANGES.rst b/CHANGES.rst
index 9b4c3af..9297c9b 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -1,7 +1,27 @@
-Revision 0.4.8, released XX-09-2019
+Revision 0.5.0, released XX-09-2019
-----------------------------------
+- Refactor BER/CER/DER decoder into a coroutine.
+
+ The goal of this change is to make the decoder stopping on input
+ data starvation and resuming from where it stopped whenever the
+ caller decides to try again (hopefully making sure that some more
+ input becomes available).
+
+ This change makes it possible for the decoder to operate on streams
+ of data (meaning that the entire DER blob might not be immediately
+ available on input).
+
+ On top of that, the decoder yields partially reconstructed ASN.1
+ object on input starvation making it possible for the caller to
+ inspect what has been decoded so far and possibly consume partial
+ ASN.1 data.
+
+ All these new feature are natively available through
+ `StreamingDecoder` class. Previously published API is implemented
+ as a thin wrapper on top of that ensuring backward compatibility.
+
- Added ability of combining `SingleValueConstraint` and
`PermittedAlphabetConstraint` objects into one for proper modeling
`FROM ... EXCEPT ...` ASN.1 clause.