diff options
author | Benjamin Schubert <ben.c.schubert@gmail.com> | 2019-07-12 16:54:14 +0100 |
---|---|---|
committer | bst-marge-bot <marge-bot@buildstream.build> | 2019-07-15 14:14:03 +0000 |
commit | becce86e51c188ae0c48638a9d96eb1decf5d40e (patch) | |
tree | a889c216eda656c222cfe9a6619a8e7f7c92256a /NEWS | |
parent | 0a00c89c351af9b74a0b274d2e14422ad5c880c4 (diff) | |
download | buildstream-becce86e51c188ae0c48638a9d96eb1decf5d40e.tar.gz |
NEWS: update for new Node API
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 21 |
1 files changed, 7 insertions, 14 deletions
@@ -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. |