From 787ae74a44011619c091b89b67691502b42bbc99 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sat, 7 Aug 2021 11:59:41 +0300 Subject: docs: update NEWS.md for new release Sponsored-by: author --- NEWS.md | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/NEWS.md b/NEWS.md index 3cad931..4215406 100644 --- a/NEWS.md +++ b/NEWS.md @@ -5,6 +5,52 @@ title: Release notes for Subplot This file summarises the changes between released versions of Subplot and its associated libraries. +# Version 0.2.2, released 2021-08-07 + +This is release is meant for use by people other than Subplot's own +developers. It is of ALPHA quality, in that what is implemented is +meant to work, but we reserve the right to make backwards incompatible, +breaking changes in future releases. + +## General + +* When a scenario step matches more than one binding, the error + message now lists all the matching bindings to make it easier for + the user to fix the problem. (By Lars Wirzenius) + +* The documentation now explains core concepts relevant to Subplot, + and suggests an initial workflow for a project using Subplot. (By + Lars Wirzenius) + +## Python support + +* The `lib/daemon` Subplot library now uses custom Python code instead + of the netcat tool. This removes a dependency, and also avoids the + problem of there being at least two more or less incompatible + versions of netcat in common use. (By Alexander Batischev) + +* The `lib/daemon` library now has a way to pass environment variables + to the daemon. (By Alexander Batischev) + +## Bash support + +* The documentation now makes it clearer that the `files_get` + function returns the contents of the embedded file and not a + filename. (By Richard Maw) + +* Some spelling and other language mistakes have been fixed in the + documentation for Bash support. (By Richard Maw) + +* The `dict` helper functions can now read embedded files. (By Richard + Maw) + +* The generated Bash test program now supports the `--env` option to + let the user pass in environment variables when invoking the test + program. (By Richard Maw) + +* Assertion functions now return an error rather then terminating the + test program. This lets cleanups run. (By Richard Maw) + # Version 0.2.1, released 2021-07-11 This is the first release meant for use by people other than Subplot's -- cgit v1.2.1 From 79e127829073624fa244af9126453a3659863de2 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sat, 7 Aug 2021 12:00:33 +0300 Subject: chore: update crate version number and dependencies, for release Update git-testament to depend on current version. --- Cargo.lock | 53 ++++++++++++++++++++++++++++++----------------------- Cargo.toml | 4 ++-- 2 files changed, 32 insertions(+), 25 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index e819059..fc361eb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -99,9 +99,9 @@ checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610" [[package]] name = "cc" -version = "1.0.68" +version = "1.0.69" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a72c244c1ff497a746a7e1fb3d14bd08420ecda70c8f25c7112f2781652d787" +checksum = "e70cc2f62c6ce1868963827bd677764c62d07c3d9a3e1fb1177ee1a9ab199eb2" [[package]] name = "cfg-if" @@ -159,9 +159,9 @@ dependencies = [ [[package]] name = "crossbeam-deque" -version = "0.8.0" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94af6efb46fef72616855b036a624cf27ba656ffc9be1b9a3c931cfc7749a9a9" +checksum = "6455c0ca19f0d2fbf751b908d5c55c1f5cbc65e03c4225427254b46890bdde1e" dependencies = [ "cfg-if", "crossbeam-epoch", @@ -311,11 +311,12 @@ dependencies = [ [[package]] name = "git-testament" -version = "0.1.10" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a557b5980430b0d46578f4007a104641bebd42144e22579396c51510dbd51686" +checksum = "096cb9c8aa6f1924d079bf417f1d1685286958ff362fa58ae4d65a53ffec6c02" dependencies = [ "git-testament-derive", + "no-std-compat", ] [[package]] @@ -460,6 +461,12 @@ dependencies = [ "autocfg", ] +[[package]] +name = "no-std-compat" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b93853da6d84c2e3c7d730d6473e8817692dd89be387eb01b94d7f108ecb5b8c" + [[package]] name = "num-integer" version = "0.1.44" @@ -503,9 +510,9 @@ checksum = "2839e79665f131bdb5782e51f2c6c9599c133c6098982a54c794358bf432529c" [[package]] name = "pandoc" -version = "0.8.4" +version = "0.8.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84060e442eb742cdba4038302c9924aecd67434073b9785dd9a6cec8a3f4065a" +checksum = "c02176ef71a25241c49e0b3dd3093e7ceb875b151ef8bbf0057ffcd985daad39" dependencies = [ "itertools", ] @@ -632,9 +639,9 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.27" +version = "1.0.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0d8caf72986c1a598726adc988bb5984792ef84f5ee5aa50209145ee8077038" +checksum = "5c7ed8b8c7b886ea3ed7dde405212185f423ab44682667c8c6dd14aa1d9f6612" dependencies = [ "unicode-xid", ] @@ -756,9 +763,9 @@ dependencies = [ [[package]] name = "redox_syscall" -version = "0.2.9" +version = "0.2.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ab49abadf3f9e1c4bc499e8845e152ad87d2ad2d30371841171169e9d75feee" +checksum = "8383f39639269cde97d255a32bdb68c047337295414940c68bdd30c2e13203ff" dependencies = [ "bitflags", ] @@ -838,9 +845,9 @@ checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd" [[package]] name = "serde" -version = "1.0.126" +version = "1.0.127" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec7505abeacaec74ae4778d9d9328fe5a5d04253220a85c4ee022239fc996d03" +checksum = "f03b9878abf6d14e6779d3f24f07b2cfa90352cfec4acc5aab8f1ac7f146fae8" dependencies = [ "serde_derive", ] @@ -858,9 +865,9 @@ dependencies = [ [[package]] name = "serde_derive" -version = "1.0.126" +version = "1.0.127" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "963a7dbc9895aeac7ac90e74f34a5d5261828f79df35cbed41e10189d3804d43" +checksum = "a024926d3432516606328597e0f224a51355a493b49fdd67e9209187cbe55ecc" dependencies = [ "proc-macro2", "quote", @@ -869,9 +876,9 @@ dependencies = [ [[package]] name = "serde_json" -version = "1.0.64" +version = "1.0.66" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "799e97dc9fdae36a5c8b8f2cae9ce2ee9fdce2058c57a93e6099d919fd982f79" +checksum = "336b10da19a12ad094b59d870ebde26a45402e5b470add4b5fd03c5048a32127" dependencies = [ "itoa", "ryu", @@ -955,7 +962,7 @@ dependencies = [ [[package]] name = "subplot" -version = "0.2.1" +version = "0.2.2" dependencies = [ "anyhow", "base64", @@ -1012,9 +1019,9 @@ dependencies = [ [[package]] name = "syn" -version = "1.0.73" +version = "1.0.74" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f71489ff30030d2ae598524f61326b902466f72a0fb1a8564c001cc63425bcc7" +checksum = "1873d832550d4588c3dbc20f01361ab00bfe741048f71e3fecf145a7cc18b29c" dependencies = [ "proc-macro2", "quote", @@ -1048,9 +1055,9 @@ dependencies = [ [[package]] name = "tera" -version = "1.12.0" +version = "1.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7571541dff0e57eaa2e931249f0d7489eb2b24b6b105546f8c2f1a47f15aaa3a" +checksum = "bf95b0d8a46da5fe3ea119394a6c7f1e745f9de359081641c99946e2bf55d4f2" dependencies = [ "chrono", "chrono-tz", diff --git a/Cargo.toml b/Cargo.toml index 592243b..c4dca22 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "subplot" -version = "0.2.1" +version = "0.2.2" authors = [ "Lars Wirzenius ", "Daniel Silverstone ", @@ -41,7 +41,7 @@ anyhow = "1" file_diff = "1" pikchr = "0.1" lazy_static = "1" -git-testament = "0.1.9" +git-testament = "0.2" [dependencies.tera] version = "1" -- cgit v1.2.1 From 9483262597f7c84234b48ac293a55400c8946471 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sat, 7 Aug 2021 12:08:13 +0300 Subject: chore: tell shellcheck it's OK Newer version of shellcheck complains about expanding an unused variable, but since the code is actually only a snippet that will be embedded in the generated output, this is OK. Sponsored-by: author --- share/bash/template/files.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/share/bash/template/files.sh b/share/bash/template/files.sh index e27bf0d..7c24ec0 100644 --- a/share/bash/template/files.sh +++ b/share/bash/template/files.sh @@ -3,6 +3,7 @@ # Store files embedded in the markdown input. files_new() { + # shellcheck disable=SC2154 rm -rf "$_datadir/_files" mkdir "$_datadir/_files" } -- cgit v1.2.1 From 3e440101b0352a0bbca989f61977b16e63d077df Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sat, 7 Aug 2021 12:50:23 +0300 Subject: chore: update debian/changelog for new release Sponsored-by: author --- debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/debian/changelog b/debian/changelog index 358a941..0f2ee06 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +subplot (0.2.2-1) unstable; urgency=medium + + * New upstream release. + + -- Lars Wirzenius Sat, 07 Aug 2021 12:49:47 +0300 + subplot (0.2.1-1) unstable; urgency=medium * New upstream release. -- cgit v1.2.1