X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=doc%2Fnews.rst;h=8a14b3dd514a26445acbbe1ffe6a633e02a12e2c;hb=704190149c1953895e8ff6bed9cebb1744eaa871;hp=5a8f7189509b1b322eb7139c575bd367880e9a68;hpb=b6cf347e3945ba2f47630dec4f66d72771a48b4f;p=pyderasn.git diff --git a/doc/news.rst b/doc/news.rst index 5a8f718..8a14b3d 100644 --- a/doc/news.rst +++ b/doc/news.rst @@ -1,6 +1,96 @@ News ==== +.. _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:: + + AlgorithmIdentifier SEQUENCE[OBJECT IDENTIFIER 1.3.14.3.2.26, [UNIV 5] ANY 0500 OPTIONAL] + + 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: + +3.8 +--- +BER's EOC is explicitly shown during pprinting. Following notation:: + + 15-2 [0,0,1576]-4 . content: [0] EXPLICIT [UNIV 16] ANY + +is replaced with:: + + 15-2∞ [0,0,1576]∞ . content: [0] EXPLICIT [UNIV 16] ANY + [...] + 1587 [1,1, 0] . content: BER EOC + 1589 [1,1, 0] . content: EXPLICIT BER EOC + +.. _release3.7: + +3.7 +--- +* BER decoding support +* BitString's ''H notation support +* ``termcolor`` package is included in the tarball + +.. _release3.6: + +3.6 +--- +* Ability to set values during Sequence initialization + +.. _release3.5: + +3.5 +--- +* Fix TagMismatch exception completeness during Choice and Set decoding. + Previously we will loose offset and decode_path information about + concrete TagMismatched entity + +.. _release3.4: + +3.4 +--- +* Strict NumericString's value sanitation +* Invalid encoding in string types will raise ``DecodeError`` exception, + instead of ``Unicode*Error`` +* Fixed DecodePathDefBy workability with Python 2.x + +.. _release3.3: + +3.3 +--- +* Fix nasty BitString decoding bug: it could fail when data follows + encoded BitString value. There weren't any problems when BitString is + at the end of Sequence + +.. _release3.2: + +3.2 +--- +* Slightly corrected colours, now visible on white background + +.. _release3.1: + +3.1 +--- +* Fix bug related to DecodeError showing with DecodePathDefBy entities +* Respect ``NO_COLOR`` environment variable + .. _release3.0: 3.0 @@ -9,7 +99,7 @@ News :py:class:`pyderasn.DecodePathDefBy` * Ability to turn colourized terminal output by calling ``pprint(..., with_colours=True)``. You will need - `termcolor package `__ + `termcolor package `__ .. _release2.1: @@ -42,9 +132,9 @@ utility. 1.5 --- * Generic decoder's scheme and pretty printer - (:py:func:`pyderasn.generic_decoder`) can be used in libraries. + (:py:func:`pyderasn.generic_decoder`) can be used in libraries * Ability to specify :ref:`defines_by_path ` - during command line invocation. + during command line invocation .. _release1.4: