X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=doc%2Fnews.rst;h=ca8f5a43c06ef03714911f61e0da1dd444f36d38;hb=498f47100e12f1bef247b29460ac4621fa0fc9f9;hp=e9749c2236e515dc64e9ec952e598b41616eb1e7;hpb=e1249a0c754920c57e6d7682458f50fd65b70026;p=pyderasn.git diff --git a/doc/news.rst b/doc/news.rst index e9749c2..ca8f5a4 100644 --- a/doc/news.rst +++ b/doc/news.rst @@ -1,6 +1,39 @@ News ==== +.. _release7.4: + +7.4 +--- + +* Fix DEFINED BY pprinting when invoking as __main__ module +* Integer has ``tohex()`` for getting hexadecimal representation of its value + +.. _release7.3: + +7.3 +--- + +* SEQUENCE/SET fully performs default value existence validation in + evgen mode, by the cost of DEFAULTed value full decoding. That should + not be the problem, as DEFAULTs are relatively small in practice. Now + evgen mode has the same DER validation strictness as an ordinary one + +.. _release7.2: + +7.2 +--- + +* Restored workability of some command line options +* 2-pass DER encoding mode with very little memory footprint + +.. _release7.1: + +7.1 +--- + +* README updating + .. _release7.0: 7.0 @@ -9,11 +42,29 @@ News 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`` does not allow empty data value now. Now it checks if it has + valid ASN.1 tag +* ``SetOf`` is not treated as ready, if no value was set and minimum + bounds are greater than zero +* ``Any`` allows an ordinary ``Obj`` storing, without its forceful + encoded representation storage. That is required for CER encoding + mode, where we do not know in advance what encoding will be used +* ``ObjectIdentifier`` stores values as C unsigned long integer, + forbidding storage of huge integers, that must not be a problem in + practice * 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 + ASN.1 data without fully parsing it first. ``python -m pyderasn`` has + ``--evgen`` mode switcher +* Useful ``agg_octet_string`` that is able to streamingly decode string + from events of ``evgen_mode``, allowing strings retrieving without + copying them to memory first +* 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 +* Ability to use memoryview as an input for \*Strings. If they are + mmap-ed, then you can encode any quantities of data streamingly + without copying to memory .. _release6.3: