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