X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=doc%2Fnews.rst;h=dd1241d491d67f6eccf445094651447e98fc79e7;hb=22ca9d92c1e2bcffdbd4d3491ffaa54492a57492;hp=e8cbacd51b917e9eeb441753ed9294701ce82982;hpb=fda5cb9cfd5c69b1ae3373a22d27d1b5afffa353;p=pyderasn.git diff --git a/doc/news.rst b/doc/news.rst index e8cbacd..dd1241d 100644 --- a/doc/news.rst +++ b/doc/news.rst @@ -1,13 +1,56 @@ 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/Set Of'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. + reports the size without taking value's explicit tag in advance * Add ``.fulllen`` and ``.fulloffset`` properties for all objects .. _release3.9: @@ -117,7 +160,7 @@ is replaced with:: keyword argument to ``decode()`` method * :ref:`defines_by_path ` option is now :ref:`decode context ` option, not a keyword argument -* Ability to do :ref:`strict validation ` +* Ability to do ``strict validation`` of defaulted values met in sequence, raising an exception .. _release1.6: