You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by no...@apache.org on 2020/12/29 12:23:20 UTC

[buildstream] 04/06: NEWS: Document minor breaking change due to not automatically stripping whitespace

This is an automated email from the ASF dual-hosted git repository.

not-in-ldap pushed a commit to branch tristan/stop-stripping-whitespace
in repository https://gitbox.apache.org/repos/asf/buildstream.git

commit 2d2a7a3a1e65e480976582eb7a87d51a661df103
Author: Tristan Van Berkom <tr...@codethink.co.uk>
AuthorDate: Tue Dec 11 18:40:17 2018 +0900

    NEWS: Document minor breaking change due to not automatically stripping whitespace
---
 NEWS | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/NEWS b/NEWS
index b8003ce..7ee836c 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,14 @@
 buildstream 1.3.1
 =================
 
+  o BREAKING CHANGE: BuildStream no longer strips whitespace from loaded YAML
+    by default.
+
+    This is a very minor breakage, because unless the user has explicitly
+    quoted a string with intentional whitespace, the YAML library will automatically
+    strip whitespace in compliance with the specification. This change results
+    in explicit whitespace being allowed to be specified in YAML.
+
   o BREAKING CHANGE: Default strip-commands have been removed as they are too
     specific. Recommendation if you are building in Linux is to use the
     ones being used in freedesktop-sdk project, for example