Upgrading 10.4 to 10.5

  • Install the most recent 10.5.x version of @disy/cadenza.js.

Encoding of Attribute Values

A bug was fixed where Cadenza incorrectly accepted or sent JavaScript number values for long attributes. Sometimes this appeared to work, but it was not correct and could cause unexpected errors.

In JavaScript, numeric values are represented as doubles, while the valid range for long values is larger than what a double can represent precisely. For that reason, long values must be provided as strings (for example, "123").

After this fix, update your custom application if it either:

  • passes long values to Cadenza as JavaScript numbers, or

  • expects long values returned from Cadenza to be JavaScript numbers.