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