]> Cypherpunks.ru repositories - pyderasn.git/blobdiff - doc/news.rst
ber_encoded at ObjectIdentifier
[pyderasn.git] / doc / news.rst
index 8dcc500df39f7a6e2cb9e8192e6af9209adb6faa..a6695f387f85175420b937793032e99c4508f668 100644 (file)
@@ -1,6 +1,120 @@
 News
 ====
 
+.. _release4.7:
+
+4.7
+---
+* ObjectIdentifier has ``ber_encoded`` set to True, if non-normalized
+  arc encoding is met
+
+.. _release4.6:
+
+4.6
+---
+* Added `COMPLI <https://github.com/YuryStrozhevsky/asn1-test-suite>`__
+  ASN.1:2008 test suite. PyDERASN passes it (except for REAL values),
+  but it is more strict sometimes and aimed to be compliant with X.690-201508
+* Check for arc values normalization in ObjectIdentifier.
+  Forbid non-normalized in DER encoding
+
+.. _release4.5:
+
+4.5
+---
+* ``ctx`` parameter can be safely used in .decode() and won't be muted
+* PP nametuple contains reference to the ASN1Obj itself
+* ``colonize_hex`` function useful for pretty printing
+* Integer values are also pretty printed in hexadecimal form
+
+.. _release4.4:
+
+4.4
+---
+* All errors are inherited from ASN1Error class
+* NumericString/PrintableString has ``allowable_chars`` property holding
+  all allowed characters
+
+.. _release4.3:
+
+4.3
+---
+* Fix NumericString: space is allowed character
+* Strict PrintableString sanitizing
+
+.. _release4.2:
+
+4.2
+---
+* Removed ``lenindef``, ``ber_encoded`` attributes from the Choice --
+  they must be taken from underlying value, as Choice does not have its
+  own encoding
+* Do not yield extra EOC PP for Any, having indefinite length encoding
+  and containing autodecoded DEFINED BY value
+
+.. _release4.1:
+
+4.1
+---
+* ``bered`` attribute, meaning if object has BER-specific encoding, is
+  renamed to ``ber_encoded``
+* ``bered`` attribute is replace with property showing if any of
+  underlying values are BER-encoded. If value has length indefinite
+  encoded explicit tag, value, if value contains BER-related encoding,
+  or if it contains other objects that are ``bered``, then it is ``bered``
+
+.. _release4.0:
+
+4.0
+---
+* Default value is checked also for Sets, not for Sequences only
+* **Incompatible** change: defaulted values in Sequence/Set are always
+  strictly checked, unless ``allow_default_values`` context option is
+  set. ``strict_default_existence`` option disappeared
+* Strict Set/Set Of's values ordering check
+
+.. _release3.14:
+
+3.14
+----
+* Additional encoding validness check: explicit tag must contain exactly
+  one object inside. Throw DecodeError otherwise
+* ``allow_expl_oob`` context and command-line options allow skipping of
+  that check
+
+.. _release3.13:
+
+3.13
+----
+* DecodeError's decode paths are separated with ``:``, instead of ``.``,
+  because of colliding with dots in OIDs
+* Ability to print element decode paths with ``--print-decode-path``
+  command line option (and corresponding keyword argument)
+* Ability to print tree's branch specified with ``--decode-path-only``
+
+.. _release3.12:
+
+3.12
+----
+* Fix possible uncaught TypeError in Py2 with zero bytes inside the value
+* Fix SequenceOf/SetOf raising BoundsError instead of DecodeError
+
+.. _release3.11:
+
+3.11
+----
+* Fix uncaught UTCTime/GeneralizedTime decode error when dealing with
+  non ASCII-encoded values
+
+.. _release3.10:
+
+3.10
+----
+* Fix long-standing bug with explicitly tagged objects inside the
+  Choice. If Choice had explicitly tagged value, then its ``.tlvlen``
+  reports the size without taking value's explicit tag in advance
+* Add ``.fulllen`` and ``.fulloffset`` properties for all objects
+
 .. _release3.9:
 
 3.9
@@ -48,7 +162,7 @@ is replaced with::
 
 3.5
 ---
-* Fix TagMismatch exception completeness during Choice and Set decoding
+* Fix TagMismatch exception completeness during Choice and Set decoding.
   Previously we will loose offset and decode_path information about
   concrete TagMismatched entity
 
@@ -108,7 +222,7 @@ is replaced with::
   keyword argument to ``decode()`` method
 * :ref:`defines_by_path <defines_by_path_ctx>` option is now
   :ref:`decode context <ctx>` option, not a keyword argument
-* Ability to do :ref:`strict validation <strict_default_existence_ctx>`
+* Ability to do ``strict validation``
   of defaulted values met in sequence, raising an exception
 
 .. _release1.6: