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