Releases: moov-io/iso8583
Releases · moov-io/iso8583
Release v0.6.6
Changelog
- Support 'D' separator in Track 2 #134
Release v0.6.5
Changelog
Various encoding / decoding fixes:
- all
field.JSONUnmarshal
methods now unquote values using thejson.Unmarshal
rather than usingstrconv.Unquote
. This is because thejson.Unmarshal
function is more robust and handles a wider range of edge cases. field/Binary
MarshalJSON
andUnmarshalJSON
returns hex based strings and takes them in respectively. Previously, they handled bas64 representations of bytes making them pretty unusable in their string formats. This should be regarded to be a breaking change even though the API itself is unchanged.field/Bitmap
no longer supports JSON encoding / decoding. The decision was made to do this because bitmaps add little value in JSON form and are used specifically for the parsing of ISO8583 messages with no business use case.field/Composite
now lazily creates subfields only if they are being packed or unpacked rather than creating all subfields when defined in the spec regardless of whether they are to be populated with values or not. This change was necessary to ensure that only relevant fields are populated in their JSON format. Before, even unpopulated fields were populated with""
ornull
values. This caused issues when unmarshalling in that JSON representation back into theiso8583.Message
.- Replace
spec.CreateSubfields
withfield.CreateSubfield
. Due to the change in howComposite
now creates fields, we needed to change the function signature of this function.
Release v0.6.4
Changelog
- Added Track Data support (track 1, track 2, track 3) #124
Release v0.6.3
IMPROVEMENTS:
- #129 Support composite fields in
specs.Builder
(to export/import iso8583 spec into/from JSON)
Release v0.6.2
Merge pull request #130 from thought-machine/fix-set-mti-on-unpack Bug fix: set MTI m.fieldsMap value on Message.Unpack(...)
Release v0.6.1
IMPROVEMENTS
- Add JSON Unmarshaler for Message and Fields
Release v0.6.0
IMPROVEMENTS
- Add support for configurable subfield sorting for composite fields
Release v0.5.1
This version is the same as v0.5.0 but with improved release infrastructure.
v0.5.0
BREAKING CHANGES
- refactor field.Spec and Composite field type to support string tag encoding
- amend prefixer interface and implement BER-TLV encoder and prefixer
- amend prefixers and fields to accommodate for change in Prefixer interface
ADDITIONS
- implement bertlv prefixer and encoding/bertlv tests