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