Skip to content

0.4.0

Latest
Compare
Choose a tag to compare
@zachelrath zachelrath released this 17 Sep 20:25
fbe9024

Breaking changes

Prior to this release, Page XML pulled from Salesforce would be pretty-printed locally when written to the file system, with indentation automatically added, to make it easy to review and commit changes to Skuid Pages line-by-line to source control. Up until this point, both Skuid SFDX and the Skuid CLI have indented using 2 spaces. However, Skuid's in-browser Page XML Editor has historically used tabs for indentation, as has Skuid CLI when retrieving pages from a Skuid Platform site.

To alleviate the discrepancy between our tooling, we are moving to consistent use of tabs for at-rest / human-readable representations of our XML. With 0.4.0 of Skuid SFDX, and an upcoming release of Skuid CLI as well, we will now default to indenting pulled page XML using tabs.

However, to enable customers to preserve the prior indentation of 2 spaces, we have the provided the ability to use the SKUID_XML_INDENT environment variable to define the desired indentation. For example, to restore the prior behavior of using 2 spaces, use export SKUID_XML_INDENT=" " in your shell, and then run sfdx skuid:page:pull as you would normally, and skuid-sfdx will use that environment variable's value when indenting pulled page XML.