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