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