X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=doc%2Fnews.rst;h=d4eff6979f8e841373c0c473070bdf5c96b2bc10;hb=d60aaac3ba56405102d013dc4758667839a8e5ee;hp=6e2427c90021bb4c7913d42977c29b5a8365212d;hpb=5da3ff1e270f6ca27d15d19a7249c0791f46b2a2;p=pyderasn.git diff --git a/doc/news.rst b/doc/news.rst index 6e2427c..d4eff69 100644 --- a/doc/news.rst +++ b/doc/news.rst @@ -1,6 +1,46 @@ News ==== +.. _release4.2: + +4.2 +--- +* Removed ``lenindef``, ``ber_encoded`` attributes from the Choice -- + they must be taken from underlying value, as Choice does not have its + own encoding +* Do not yield extra EOC PP for Any, having indefinite length encoding + and containing autodecoded DEFINED BY value + +.. _release4.1: + +4.1 +--- +* ``bered`` attribute, meaning if object has BER-specific encoding, is + renamed to ``ber_encoded`` +* ``bered`` attribute is replace with property showing if any of + underlying values are BER-encoded. If value has length indefinite + encoded explicit tag, value, if value contains BER-related encoding, + or if it contains other objects that are ``bered``, then it is ``bered`` + +.. _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 @@ -141,7 +181,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: