X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=doc%2Fnews.rst;h=6712fe3d686c59d39978dbbb1642ac86a968f8a4;hb=f928d1e65eeff56c2b5d511567e6b52417195f3b;hp=7c067edc6a8e69ccb9adbefbcb5d3afe9064a22d;hpb=d917b94f24e274ad2af0caccb1eaeb27bd90af60;p=pyderasn.git diff --git a/doc/news.rst b/doc/news.rst index 7c067ed..6712fe3 100644 --- a/doc/news.rst +++ b/doc/news.rst @@ -1,18 +1,71 @@ News ==== +.. _release4.0: + +4.0 +--- +* Default value is checked also for Sets, not for Sequences only +* **Incompatible** change: defaulted values in Sequence/Set are always + strictly checked, unless ``allow_default_values`` context option is + set. ``strict_default_existence`` option disappeared +* Strict Set's values ordering check + +.. _release3.14: + +3.14 +---- +* Additional encoding validness check: explicit tag must contain exactly + one object inside. Throw DecodeError otherwise +* ``allow_expl_oob`` context and command-line options allow skipping of + that check + +.. _release3.13: + +3.13 +---- +* DecodeError's decode paths are separated with ``:``, instead of ``.``, + because of colliding with dots in OIDs +* Ability to print element decode paths with ``--print-decode-path`` + command line option (and corresponding keyword argument) +* Ability to print tree's branch specified with ``--decode-path-only`` + +.. _release3.12: + +3.12 +---- +* Fix possible uncaught TypeError in Py2 with zero bytes inside the value +* Fix SequenceOf/SetOf raising BoundsError instead of DecodeError + +.. _release3.11: + +3.11 +---- +* Fix uncaught UTCTime/GeneralizedTime decode error when dealing with + non ASCII-encoded values + +.. _release3.10: + +3.10 +---- +* Fix long-standing bug with explicitly tagged objects inside the + Choice. If Choice had explicitly tagged value, then its ``.tlvlen`` + reports the size without taking value's explicit tag in advance +* Add ``.fulllen`` and ``.fulloffset`` properties for all objects + .. _release3.9: 3.9 --- -SEQUENCE's values are printed with field's name. Previously there was -the following output:: +* SEQUENCE's values are printed with field's name. Previously there was + the following output:: AlgorithmIdentifier SEQUENCE[OBJECT IDENTIFIER 1.3.14.3.2.26, [UNIV 5] ANY 0500 OPTIONAL] -now it is:: + now it is:: AlgorithmIdentifier SEQUENCE[algorithm: OBJECT IDENTIFIER 1.3.14.3.2.26; parameters: [UNIV 5] ANY 0500 OPTIONAL] +* Fixed EOC (Unicode character) repr printing issues under Python2 .. _release3.8: @@ -47,7 +100,7 @@ is replaced with:: 3.5 --- -* Fix TagMismatch exception completeness during Choice and Set decoding +* Fix TagMismatch exception completeness during Choice and Set decoding. Previously we will loose offset and decode_path information about concrete TagMismatched entity