]> Cypherpunks.ru repositories - pyderasn.git/blob - doc/news.rst
Respect NO_COLOR environment variable
[pyderasn.git] / doc / news.rst
1 News
2 ====
3
4 .. _release3.1:
5
6 3.1
7 ---
8 * Fix bug related to DecodeError showing with DecodePathDefBy entities
9 * Respect ``NO_COLOR`` environment variable
10
11 .. _release3.0:
12
13 3.0
14 ---
15 * :py:func:`pyderasn.decode_path_defby` is replaced with
16   :py:class:`pyderasn.DecodePathDefBy`
17 * Ability to turn colourized terminal output by calling
18   ``pprint(..., with_colours=True)``. You will need
19   `termcolor package <https://pypi.python.org/pypi/termcolor>`__
20
21 .. _release2.1:
22
23 2.1
24 ---
25 * Fixed invalid offset calculation when dealing with DEFINED BY objects
26   having explicit tags
27
28 .. _release2.0:
29
30 2.0
31 ---
32 * BIT STRINGs can also be :ref:`DEFINED BY <definedby>`
33 * Decoding process can be governed with optional :ref:`ctx <ctx>`
34   keyword argument to ``decode()`` method
35 * :ref:`defines_by_path <defines_by_path_ctx>` option is now
36   :ref:`decode context <ctx>` option, not a keyword argument
37 * Ability to do :ref:`strict validation <strict_default_existence_ctx>`
38   of defaulted values met in sequence, raising an exception
39
40 .. _release1.6:
41
42 1.6
43 ---
44 Ability to skip specified number of bytes (``--skip``) in command line
45 utility.
46
47 .. _release1.5:
48
49 1.5
50 ---
51 * Generic decoder's scheme and pretty printer
52   (:py:func:`pyderasn.generic_decoder`) can be used in libraries.
53 * Ability to specify :ref:`defines_by_path <defines_by_path_ctx>`
54   during command line invocation.
55
56 .. _release1.4:
57
58 1.4
59 ---
60 Ability to automatically decode :ref:`DEFINED BY <definedby>` fields
61 inside SEQUENCEs.
62
63 .. _release1.3:
64
65 1.3
66 ---
67 Removed ``__lt__``/``__eq__`` from base class, as pylint likes it.
68
69 .. _release1.2:
70
71 1.2
72 ---
73 Full rich comparison operators added.
74
75
76 .. _release1.1:
77
78 1.1
79 ---
80 Trivial README addition.
81
82 .. _release1.0:
83
84 1.0
85 ---
86 Initial release.