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