]> Cypherpunks.ru repositories - pyderasn.git/blob - doc/news.rst
675ecf4b5e2f80203435b7deb607e5d11e1448e2
[pyderasn.git] / doc / news.rst
1 News
2 ====
3
4 .. _release3.7:
5
6 3.7
7 ---
8 * Experimental BER decoding support (not extensively tested, but parses
9   ``gpgsm`` CMS output)
10 * BitString's ''H notation support
11 * ``termcolor`` package is included in the tarball
12
13 .. _release3.6:
14
15 3.6
16 ---
17 * Ability to set values during Sequence initialization.
18
19 .. _release3.5:
20
21 3.5
22 ---
23 * Fix TagMismatch exception completeness during Choice and Set decoding.
24   Previously we will loose offset and decode_path information about
25   concrete TagMismatched entity.
26
27 .. _release3.4:
28
29 3.4
30 ---
31 * Strict NumericString's value sanitation
32 * Invalid encoding in string types will raise ``DecodeError`` exception,
33   instead of ``Unicode*Error``
34 * Fixed DecodePathDefBy workability with Python 2.x
35
36 .. _release3.3:
37
38 3.3
39 ---
40 * Fix nasty BitString decoding bug: it could fail when data follows
41   encoded BitString value. There weren't any problems when BitString is
42   at the end of Sequence
43
44 .. _release3.2:
45
46 3.2
47 ---
48 * Slightly corrected colours, now visible on white background
49
50 .. _release3.1:
51
52 3.1
53 ---
54 * Fix bug related to DecodeError showing with DecodePathDefBy entities
55 * Respect ``NO_COLOR`` environment variable
56
57 .. _release3.0:
58
59 3.0
60 ---
61 * :py:func:`pyderasn.decode_path_defby` is replaced with
62   :py:class:`pyderasn.DecodePathDefBy`
63 * Ability to turn colourized terminal output by calling
64   ``pprint(..., with_colours=True)``. You will need
65   `termcolor package <https://pypi.org/project/termcolor/>`__
66
67 .. _release2.1:
68
69 2.1
70 ---
71 * Fixed invalid offset calculation when dealing with DEFINED BY objects
72   having explicit tags
73
74 .. _release2.0:
75
76 2.0
77 ---
78 * BIT STRINGs can also be :ref:`DEFINED BY <definedby>`
79 * Decoding process can be governed with optional :ref:`ctx <ctx>`
80   keyword argument to ``decode()`` method
81 * :ref:`defines_by_path <defines_by_path_ctx>` option is now
82   :ref:`decode context <ctx>` option, not a keyword argument
83 * Ability to do :ref:`strict validation <strict_default_existence_ctx>`
84   of defaulted values met in sequence, raising an exception
85
86 .. _release1.6:
87
88 1.6
89 ---
90 Ability to skip specified number of bytes (``--skip``) in command line
91 utility.
92
93 .. _release1.5:
94
95 1.5
96 ---
97 * Generic decoder's scheme and pretty printer
98   (:py:func:`pyderasn.generic_decoder`) can be used in libraries.
99 * Ability to specify :ref:`defines_by_path <defines_by_path_ctx>`
100   during command line invocation.
101
102 .. _release1.4:
103
104 1.4
105 ---
106 Ability to automatically decode :ref:`DEFINED BY <definedby>` fields
107 inside SEQUENCEs.
108
109 .. _release1.3:
110
111 1.3
112 ---
113 Removed ``__lt__``/``__eq__`` from base class, as pylint likes it.
114
115 .. _release1.2:
116
117 1.2
118 ---
119 Full rich comparison operators added.
120
121
122 .. _release1.1:
123
124 1.1
125 ---
126 Trivial README addition.
127
128 .. _release1.0:
129
130 1.0
131 ---
132 Initial release.