Skip to content

v13.0.0 Release

Compare
Choose a tag to compare
@mojaloopci mojaloopci released this 04 Mar 12:18
· 0 commits to 62afc4e9637599474f8761617b084a3da9ca4398 since this release

13.0.0 (2022-03-04)

⚠ BREAKING CHANGES

  • mojaloop/#2704: - Config PROTOCOL_VERSIONS.CONTENT has now been modified to support backward compatibility for minor versions (i.e. v1.0 & 1.1) as follows:
  "PROTOCOL_VERSIONS": {
    "CONTENT": "1.1", <-- used when generating messages from the "SWITCH", and validate incoming FSPIOP API requests/callbacks CONTENT-TYPE headers
    "ACCEPT": {
      "DEFAULT": "1", <-- used when generating messages from the "SWITCH"
      "VALIDATELIST": [ <-- used to validate incoming FSPIOP API requests/callbacks ACCEPT headers
        "1",
        "1.0",
        "1.1"
      ]
    }
  },

to be consistent with the ACCEPT structure as follows:

  "PROTOCOL_VERSIONS": {
    "CONTENT": {
      "DEFAULT": "1.1", <-- used when generating messages from the "SWITCH"
      "VALIDATELIST": [ <-- used to validate incoming FSPIOP API requests/callbacks CONTENT-TYPE headers
        "1.1",
        "1.0"
      ]
    },
    "ACCEPT": {
      "DEFAULT": "1", <-- used when generating messages from the "SWITCH"
      "VALIDATELIST": [ <-- used to validate incoming FSPIOP API requests/callbacks ACCEPT headers
        "1",
        "1.0",
        "1.1"
      ]
    }
  },

Features