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:
IsNull
andIsNotNull
have 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.IsEmpty
has 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.IsNotEmpty
has been added, which behaves inverse toIsEmpty
.IsNullOrEmpty
andIsNotNullOrEmpty
have been added, which support the old behavior ofIsNull
andIsNotNull
, respectively.
Resolution
To restore the version 10.x behavior of conditions:
- Use the new
IsNullOrEmpty
option in place of the oldIsNull
option. - Use the new
IsNotNullOrEmpty
option in place of the oldIsNotNull
option.
Otherwise, IsNull
and IsNotNull
will evaluate only for null data, while IsEmpty
will evaluate only for an empty string.