silverstripe-framework/docs/en/04_Changelogs/3.4.0.md
Sam Minnee 4aa50534d5 FIX: Fixes needed to adapt to whitespace changes.
API: Whitespace trimmed from custom form field templates

The introduction of trailing newlines on all template files introduced
some changes that needed to be made.

Notably, whitespace has been trimmed from rendered form field templates.
This is the minimal impact to SilverStripe developers, as it preserves
the behaviour of the default field types, but I’ve still noted as a
change.
2016-01-07 14:17:57 +13:00

623 B

3.4.0 (unreleased)

Upgrading notes

Upgrading from 3.3 to 3.4 shouldn't require any code changes.

Note that if you are upgrading from 3.1, you should review the 3.2 upgrade notes.

Other changes to be aware of

These changes are unlikely to affect your upgrade, but we've noted them just in case you had unusual project code that was affected by these:

  • When FormFields are rendered, leading & trailing whitespace is now stripped. The resulting HTML for form fields is the same for the default fields, but if you have a custom form field that is relying on trailing whitespace being outputted.