]> Cypherpunks.ru repositories - pyderasn.git/blob - doc/news.rst
Fix *Time encoding error capture
[pyderasn.git] / doc / news.rst
1 News
2 ====
3
4 .. _release3.11:
5
6 3.11
7 ----
8 * Fix uncaught UTCTime/GeneralizedTime decode error when dealing with
9   non ASCII-encoded values
10
11 .. _release3.10:
12
13 3.10
14 ----
15 * Fix long-standing bug with explicitly tagged objects inside the
16   Choice. If Choice had explicitly tagged value, then its ``.tlvlen``
17   reports the size without taking value's explicit tag in advance
18 * Add ``.fulllen`` and ``.fulloffset`` properties for all objects
19
20 .. _release3.9:
21
22 3.9
23 ---
24 * SEQUENCE's values are printed with field's name. Previously there was
25   the following output::
26
27     AlgorithmIdentifier SEQUENCE[OBJECT IDENTIFIER 1.3.14.3.2.26, [UNIV 5] ANY 0500 OPTIONAL]
28
29   now it is::
30
31     AlgorithmIdentifier SEQUENCE[algorithm: OBJECT IDENTIFIER 1.3.14.3.2.26; parameters: [UNIV 5] ANY 0500 OPTIONAL]
32 * Fixed EOC (Unicode character) repr printing issues under Python2
33
34 .. _release3.8:
35
36 3.8
37 ---
38 BER's EOC is explicitly shown during pprinting. Following notation::
39
40       15-2 [0,0,1576]-4  . content: [0] EXPLICIT [UNIV 16] ANY
41
42 is replaced with::
43
44       15-2∞ [0,0,1576]∞  . content: [0] EXPLICIT [UNIV 16] ANY
45     [...]
46     1587    [1,1,   0]   . content:  BER EOC
47     1589    [1,1,   0]   . content: EXPLICIT BER EOC
48
49 .. _release3.7:
50
51 3.7
52 ---
53 * BER decoding support
54 * BitString's ''H notation support
55 * ``termcolor`` package is included in the tarball
56
57 .. _release3.6:
58
59 3.6
60 ---
61 * Ability to set values during Sequence initialization
62
63 .. _release3.5:
64
65 3.5
66 ---
67 * Fix TagMismatch exception completeness during Choice and Set decoding.
68   Previously we will loose offset and decode_path information about
69   concrete TagMismatched entity
70
71 .. _release3.4:
72
73 3.4
74 ---
75 * Strict NumericString's value sanitation
76 * Invalid encoding in string types will raise ``DecodeError`` exception,
77   instead of ``Unicode*Error``
78 * Fixed DecodePathDefBy workability with Python 2.x
79
80 .. _release3.3:
81
82 3.3
83 ---
84 * Fix nasty BitString decoding bug: it could fail when data follows
85   encoded BitString value. There weren't any problems when BitString is
86   at the end of Sequence
87
88 .. _release3.2:
89
90 3.2
91 ---
92 * Slightly corrected colours, now visible on white background
93
94 .. _release3.1:
95
96 3.1
97 ---
98 * Fix bug related to DecodeError showing with DecodePathDefBy entities
99 * Respect ``NO_COLOR`` environment variable
100
101 .. _release3.0:
102
103 3.0
104 ---
105 * :py:func:`pyderasn.decode_path_defby` is replaced with
106   :py:class:`pyderasn.DecodePathDefBy`
107 * Ability to turn colourized terminal output by calling
108   ``pprint(..., with_colours=True)``. You will need
109   `termcolor package <https://pypi.org/project/termcolor/>`__
110
111 .. _release2.1:
112
113 2.1
114 ---
115 * Fixed invalid offset calculation when dealing with DEFINED BY objects
116   having explicit tags
117
118 .. _release2.0:
119
120 2.0
121 ---
122 * BIT STRINGs can also be :ref:`DEFINED BY <definedby>`
123 * Decoding process can be governed with optional :ref:`ctx <ctx>`
124   keyword argument to ``decode()`` method
125 * :ref:`defines_by_path <defines_by_path_ctx>` option is now
126   :ref:`decode context <ctx>` option, not a keyword argument
127 * Ability to do :ref:`strict validation <strict_default_existence_ctx>`
128   of defaulted values met in sequence, raising an exception
129
130 .. _release1.6:
131
132 1.6
133 ---
134 Ability to skip specified number of bytes (``--skip``) in command line
135 utility.
136
137 .. _release1.5:
138
139 1.5
140 ---
141 * Generic decoder's scheme and pretty printer
142   (:py:func:`pyderasn.generic_decoder`) can be used in libraries
143 * Ability to specify :ref:`defines_by_path <defines_by_path_ctx>`
144   during command line invocation
145
146 .. _release1.4:
147
148 1.4
149 ---
150 Ability to automatically decode :ref:`DEFINED BY <definedby>` fields
151 inside SEQUENCEs.
152
153 .. _release1.3:
154
155 1.3
156 ---
157 Removed ``__lt__``/``__eq__`` from base class, as pylint likes it.
158
159 .. _release1.2:
160
161 1.2
162 ---
163 Full rich comparison operators added.
164
165
166 .. _release1.1:
167
168 1.1
169 ---
170 Trivial README addition.
171
172 .. _release1.0:
173
174 1.0
175 ---
176 Initial release.