X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=doc%2Fnews.rst;h=3fbddd0325b56aa6c2c7fb8fcaa3f8d605fa6d6e;hb=ac86b0fe801de06f9b861579e5d566d3cdb3236b;hp=d0f156f560e6bd21c663c4a859191cb192083cd8;hpb=2dc06a21fd4bd1e52bbea125ef744d58fc0d17bf;p=pyderasn.git diff --git a/doc/news.rst b/doc/news.rst index d0f156f..3fbddd0 100644 --- a/doc/news.rst +++ b/doc/news.rst @@ -1,6 +1,127 @@ News ==== +.. _release5.6: + +5.6 +--- +* Convenient ``.decod()`` method, that raises if tail is not empty + +.. _release5.5: + +5.5 +--- +* PEP-396 compatible module's ``__version__`` + +.. _release5.4: + +5.4 +--- +* Do not shadow underlying ``DecodeError`` during decoding of optional + sequence's field + +.. _release5.3: + +5.3 +--- +* Forbid any later GNU GPL version autousage (project's licence now is + GNU LGPLv3 only) +* Fix ``defines_by_path`` context option usage example + +.. _release5.2: + +5.2 +--- +* Fix fallbacked ``colored()`` function workability, + if no ``termcolor`` is installed + +.. _release5.1: + +5.1 +--- +* Fix empty ``--oids`` workability + +.. _release5.0: + +5.0 +--- +* Ability to specify multiple OID mappings for pprinted output + (``oids`` keyword argument is renamed to ``oid_maps``) + +.. _release4.9: + +4.9 +--- +* Minor decode speed improvements +* Much faster UTCTime/GeneralizedTime decoders +* Stricter UTCTime/GeneralizedTime DER encoding check: trailing zeroes + are forbidden +* Valid DER encoding of GeneralizedTime with microseconds: no trailing + zeroes appended + +.. _release4.7: + +4.7 +--- +* ObjectIdentifier has ``ber_encoded`` set to True, if non-normalized + arc encoding is met +* Preserve BER-related attributes during ``copy()`` + +.. _release4.6: + +4.6 +--- +* Added `COMPLI `__ + ASN.1:2008 test suite. PyDERASN passes it (except for REAL values), + but it is more strict sometimes and aimed to be compliant with X.690-201508 +* Check for arc values normalization in ObjectIdentifier. + Forbid non-normalized in DER encoding + +.. _release4.5: + +4.5 +--- +* ``ctx`` parameter can be safely used in .decode() and won't be muted +* PP nametuple contains reference to the ASN1Obj itself +* ``colonize_hex`` function useful for pretty printing +* Integer values are also pretty printed in hexadecimal form + +.. _release4.4: + +4.4 +--- +* All errors are inherited from ASN1Error class +* NumericString/PrintableString has ``allowable_chars`` property holding + all allowed characters + +.. _release4.3: + +4.3 +--- +* Fix NumericString: space is allowed character +* Strict PrintableString sanitizing + +.. _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 @@ -9,6 +130,7 @@ News * **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: @@ -159,7 +281,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: