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