From becce86e51c188ae0c48638a9d96eb1decf5d40e Mon Sep 17 00:00:00 2001 From: Benjamin Schubert Date: Fri, 12 Jul 2019 16:54:14 +0100 Subject: NEWS: update for new Node API --- NEWS | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/NEWS b/NEWS index 4b1d63a66..2fabe0c65 100644 --- a/NEWS +++ b/NEWS @@ -2,14 +2,15 @@ buildstream 1.3.1 ================= - o BREAKING CHANGE: `bst init` no longer uses the `--directory` or `-C` - option. Instead, it (optionally) takes a directory as an argument. + o BREAKING CHANGE: The yaml API has been rewritten entirely. When accessing + configuration from YAML, please use the new `Node` classes exposed in the + `buildstream` package. See the documentation for how to use it. - o BREAKING CHANGE: `Plugin.node_items` doesn't accept 'dict' values anymore. - Please used `Node`s instead. + This change has also removed the need of a YAML cache as it proved to no longer + be of benefit. - o BREAKING CHANGE: `node_get_member` doesn't accept 'expected_type=Mapping' - anymore. Please use 'expected_type=dict' instead. + o BREAKING CHANGE: `bst init` no longer uses the `--directory` or `-C` + option. Instead, it (optionally) takes a directory as an argument. o BREAKING CHANGE: Artifact as a Proto. The caching of buildstream artifacts has changed from a reference based impelementation. Existing artifacts and @@ -20,14 +21,6 @@ buildstream 1.3.1 o BREAKING CHANGE: ostree plugin has been removed. It now leaves in the bst-plugins-experimental repo - o BREAKING CHANGE: YAML New World Order. The parsing and loading of .bst files - and node handling has been completely rewritten and is now faster. This now - requires that plugin authors must use the Plugin API to access or modify node - members. Regular dictionary accesses are no longer valid. - - This change has also removed the need of a YAML cache as it proved to no longer - be of benefit. - o Added `bst artifact delete` subcommand. This command removes artifacts from the local cache. Mulitple element names and artifact refs can be specified as arguments. -- cgit v1.2.1