Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 22 additions & 13 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,11 +1,20 @@
4.0.0 - 2025-08-10
------------------
- Add support for tertiary bitmap located in field 65.
- Migration from 3.x.x:
- This library previously ignored field 65.
It now processes it as a tertiary bitmap containing map for fields 129-192.
It's a breaking change for users who use field 65 for another purpose.
If your spec did not re-purpose field 65 then it's safe to update to 4.x.x.

3.0.0 - 2023-06-05
------------------
- Add support for binary field length
- Drop support for Python 3.6
- Migration from 2.x.x:
- 2.x.x used `len_enc` set to `b` and `bcd` to represent BCD length encoding.
- 3.x.x changed that where `len_enc` set to `b` represents binary length encoding.
- To migrate from 2.x.x update `len_enc` in all specificatations from `b` to `bcd`.
- 2.x.x used `len_enc` set to `b` and `bcd` to represent BCD length encoding.
- 3.x.x changed that where `len_enc` set to `b` represents binary length encoding.
- To migrate from 2.x.x update `len_enc` in all specificatations from `b` to `bcd`.

2.2.0 - 2022-01-30
------------------
Expand All @@ -29,21 +38,21 @@
2.0.0 - 2020-02-21
------------------
**Backwards incompatible**:
- :func:`iso8583.decode` is updated not to produce bitmap key ``'bm'``.
- :func:`iso8583.encode` is updated not to expect bitmap key ``'bm'`` to define
- `iso8583.decode` is updated not to produce bitmap key ``'bm'``.
- `iso8583.encode` is updated not to expect bitmap key ``'bm'`` to define
fields to encode. The decision on what fields to encode is based on
numeric fields in the range of ``'1'-'128'`` present in the decoded
dictionary.
- :func:`iso8583.add_field` and :func:`iso8583.del_field` are removed. With the
- `iso8583.add_field` and `iso8583.del_field` are removed. With the
removal of bitmap set ``'bm'`` default Python dictionary methods are
enough.
- :func:`iso8583.encode` now removes secondary bitmap key ``'1'`` from the decoded
- `iso8583.encode` now removes secondary bitmap key ``'1'`` from the decoded
dictionary if no ``'65'-'128'`` fields are present.
- :func:`iso8583.pp` function signature changed. The first parameter is renamed
- `iso8583.pp` function signature changed. The first parameter is renamed
from ``doc_dec`` to ``doc``.
Other changes:
- :func:`iso8583.pp` handles both encoded and decoded dictionary output.
- :func:`iso8583.pp` handles output folding. The defaul line width is set to 80.
- `iso8583.pp` handles both encoded and decoded dictionary output.
- `iso8583.pp` handles output folding. The defaul line width is set to 80.
Line width can be configured using new ``line_width`` parameter.

1.0.2 - 2020-01-11
Expand All @@ -54,10 +63,10 @@ Other changes:

1.0.1 - 2019-11-11
------------------
- :func:`iso8583.decode` and :func:`iso8583.decode` now return a tuple
- :func:`iso8583.decode` returns a tuple of decoded dict instance
- `iso8583.decode` and `iso8583.decode` now return a tuple
- `iso8583.decode` returns a tuple of decoded dict instance
and encoded dict instance
- :func:`iso8583.encode` returns a tuple of encoded bytes instance
- `iso8583.encode` returns a tuple of encoded bytes instance
and encoded dict instance
- Encoded and decoded dict instance keys are now all strings
- Specification keys are now all strings
Expand Down
2 changes: 1 addition & 1 deletion iso8583/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
2 Primary Account Number (PAN) : b'10' b'1234567890'
"""

__version__ = "3.0.0"
__version__ = "4.0.0"
__all__ = [
"pp",
"decode",
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

setup(
name="pyiso8583",
version="3.0.0",
version="4.0.0",
author="Konstantin Novichikhin",
author_email="konstantin.novichikhin@gmail.com",
description="A serializer and deserializer of ISO8583 data.",
Expand Down