Saltbox Core Connector Updated
Saltbox Core Connector version 11.0.0 features additional options for if/else conditions. This version contains breaking changes, which can be resolved as outlined below.
Breaking Changes
This major version release contains the following breaking changes to if/else conditions:
IsNullandIsNotNullhave been changed so they only check if the value is (or is not) null. Previously, empty strings were considered null, but this is no longer the case.IsEmptyhas been changed to only check if the value is an empty string. Previously, a null value was considered an empty string when evaluating this comparison.IsNotEmptyhas been added, which behaves inverse toIsEmpty.IsNullOrEmptyandIsNotNullOrEmptyhave been added, which support the old behavior ofIsNullandIsNotNull, respectively.
Resolution
To restore the version 10.x behavior of conditions:
- Use the new
IsNullOrEmptyoption in place of the oldIsNulloption. - Use the new
IsNotNullOrEmptyoption in place of the oldIsNotNulloption.
Otherwise, IsNull and IsNotNull will evaluate only for null data, while IsEmpty will evaluate only for an empty string.
