X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=doc%2Fnews.rst;h=5665a42c59cf635cde0734a843aec173ba53eae8;hb=e9ab3a6d6679d825d0e48523cec13ff710f0220d;hp=b6b3e1b8dd5c26e04e2b8828bfd520ea528a8889;hpb=333d098f0af80eae5481c99b86419d25ea927d22;p=pyderasn.git diff --git a/doc/news.rst b/doc/news.rst index b6b3e1b..5665a42 100644 --- a/doc/news.rst +++ b/doc/news.rst @@ -1,10 +1,51 @@ News ==== +.. _release7.0: + +7.0 +--- +* Fixed invalid behaviour where SET OF allowed multiple objects with the + same tag to be successfully decoded +* Fixed possibly invalid SET DER encoding where objects were not sorted + by tag, but by encoded representation +* ``Any`` does not allow empty data value now. Now it checks if it has + valid ASN.1 tag +* ``Any`` allows an ordinary ``Obj`` storing, without its forceful + encoded representation storage +* Initial support for so called ``evgen_mode``: event generation mode, + where no in-memory objects storing happens, giving ability to process + ASN.1 data without fully parsing it first. ``python -m pyderasn`` has + ``--evgen`` mode switcher +* Initial experimental CER encoding mode, allowing streaming encoding of + the data directly to some writeable object +* Ability to use mmap-ed memoryviews to skip files loading to memory + +.. _release6.3: + +6.3 +--- +* Fixed workability under Python 3.5. Previously only 2.7 and 3.6 + versions were tested + +.. _release6.2: + +6.2 +--- +* Python ``int()``'s accepts even more various non-decimal characters + than expected. Make validation fully strict in UTCTime and + GeneralizedTime, without relying on ``int()`` + .. _release6.1: 6.1 --- +* UTCTime and GeneralizedTime allowed values to have plus sign in them, + passing int() check successfully. Prohibit that incorrect behaviour +* UTCTime and GeneralizedTime BER decoding support +* Faster UTCTime and GeneralizedTime decoding, and slightly better + overall performance +* Workability under Cython * Explicitly Check that all ObjectIdentifier arcs are non-negative .. _release6.0: @@ -16,7 +57,7 @@ News * Copies made previously with ``.copy()`` lacked ``.defined`` field, now they are not * All objects are friendly to ``pickle`` libraries -* ``PrintableString`` has ``allow_asterisk`` and ``allow_ampersand`` +* PrintableString has ``allow_asterisk`` and ``allow_ampersand`` properties * ``.hexencode()``, ``.hexdecode()`` and ``.hexdecod()`` methods appeared, working with hexadecimal encoded data @@ -29,9 +70,8 @@ News * Control characters (like newlines) of text fields in pprinted output are escaped * Ability to allow asterisk and ampersand characters - (``allow_asterisk``, ``allow_ampersand`` kwargs) in - ``PrintableString``, that unfortunately could be met - in X.509 certificates + (``allow_asterisk``, ``allow_ampersand`` kwargs) in PrintableString, + that unfortunately could be met in X.509 certificates .. _release5.5: @@ -43,7 +83,7 @@ News 5.4 --- -* Do not shadow underlying ``DecodeError`` during decoding of optional +* Do not shadow underlying DecodeError during decoding of optional sequence's field .. _release5.3: @@ -321,7 +361,7 @@ utility. 1.5 --- -* Generic decoder's scheme and pretty printer +* Generic decoder's schema and pretty printer (:py:func:`pyderasn.generic_decoder`) can be used in libraries * Ability to specify :ref:`defines_by_path ` during command line invocation