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