From f423ab617b6e633d3267f1b90a0cbbb97c6a6d3b Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Sun, 13 Nov 2022 19:40:38 +0000 Subject: (book): Use true not /bin/true for portability Signed-off-by: Daniel Silverstone --- book/user-guide.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/user-guide.md b/book/user-guide.md index 2e19b84..c41abb5 100644 --- a/book/user-guide.md +++ b/book/user-guide.md @@ -62,5 +62,5 @@ This is currently necessary so that codegen won't barf. ~~~scenario -when I run /bin/true +when I run true ~~~ -- cgit v1.2.1 From 2a13dee7cb509c818da93d56c2422e29261e94cf Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Sun, 13 Nov 2022 19:40:54 +0000 Subject: (release): Use --allow-dirty otherwise cargo publish can't work Signed-off-by: Daniel Silverstone --- RELEASE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RELEASE.md b/RELEASE.md index 652b9bf..88324e7 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -37,7 +37,7 @@ first: for the new release, if there's been any changes. If any of the other crates depend on this crate, update their dependency information in their `Cargo.toml` as needed. -5. Run `cargo publish --dry-run` and fix any problems. +5. Run `cargo publish --dry-run --allow-dirty` and fix any problems. For the top crate `subplot` additionally do the following: -- cgit v1.2.1 From 9ca72575eff325513990363c19d4a9066dd78de6 Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Sun, 13 Nov 2022 19:41:14 +0000 Subject: (release): Prepare 0.6.0 release Signed-off-by: Daniel Silverstone --- Cargo.lock | 8 ++++---- Cargo.toml | 2 +- NEWS.md | 14 ++++++++++++++ subplot-build/Cargo.toml | 4 ++-- subplotlib-derive/Cargo.toml | 2 +- subplotlib/Cargo.toml | 6 +++--- 6 files changed, 25 insertions(+), 11 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f5cf032..395c659 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1012,7 +1012,7 @@ checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" [[package]] name = "subplot" -version = "0.5.0" +version = "0.6.0" dependencies = [ "anyhow", "base64", @@ -1043,7 +1043,7 @@ dependencies = [ [[package]] name = "subplot-build" -version = "0.5.0" +version = "0.6.0" dependencies = [ "subplot", "tempfile", @@ -1061,7 +1061,7 @@ dependencies = [ [[package]] name = "subplotlib" -version = "0.5.0" +version = "0.6.0" dependencies = [ "base64", "fehler", @@ -1083,7 +1083,7 @@ dependencies = [ [[package]] name = "subplotlib-derive" -version = "0.5.0" +version = "0.6.0" dependencies = [ "fehler", "proc-macro2", diff --git a/Cargo.toml b/Cargo.toml index b943b97..737ce02 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "subplot" -version = "0.5.0" +version = "0.6.0" authors = [ "Lars Wirzenius ", "Daniel Silverstone ", diff --git a/NEWS.md b/NEWS.md index 88a8b56..e6785bf 100644 --- a/NEWS.md +++ b/NEWS.md @@ -4,6 +4,20 @@ This file summarises the changes between released versions of Subplot and its associated libraries, especially with regards to changes visible to the user of the Subplot software. +# Version 0.6.0, released 2022-11-13 + +* Subplot metadata now expects `authors` rather than `author` + to support multiple authors for documents. This is a breaking + change, hence the semver bump. +* Subplot metadata now supports a `pandoc` mapping at the top level + which provides metadata to be inserted into the Pandoc document + build when producing PDFs or HTML. +* There is now a `path` type, to go alongside `text` `word` etc. + Paths are expected to be (parts of) paths on the filesystem and + we have updated all bindings to use `path` where sensible to do so. +* Subplotlib steps now handle the `path` type as `&Path`, so steps which + expect to be given paths should use that, rather than `&str`. + # Version 0.5.0, released 2022-09-13 * The big, breaking change for this release is that Subplot now diff --git a/subplot-build/Cargo.toml b/subplot-build/Cargo.toml index fd9f25e..a732db3 100644 --- a/subplot-build/Cargo.toml +++ b/subplot-build/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "subplot-build" -version = "0.5.0" +version = "0.6.0" authors = [ "Lars Wirzenius ", "Daniel Silverstone ", @@ -14,6 +14,6 @@ repository = "https://gitlab.com/subplot/subplot" [dependencies] -subplot = { version = "0.5.0", path = ".." } +subplot = { version = "0.6.0", path = ".." } tracing = "0.1" tempfile = "3.1.0" diff --git a/subplotlib-derive/Cargo.toml b/subplotlib-derive/Cargo.toml index c0633a4..36337d4 100644 --- a/subplotlib-derive/Cargo.toml +++ b/subplotlib-derive/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "subplotlib-derive" -version = "0.5.0" +version = "0.6.0" authors = [ "Lars Wirzenius ", "Daniel Silverstone ", diff --git a/subplotlib/Cargo.toml b/subplotlib/Cargo.toml index ed27e23..c347886 100644 --- a/subplotlib/Cargo.toml +++ b/subplotlib/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "subplotlib" -version = "0.5.0" +version = "0.6.0" authors = [ "Lars Wirzenius ", "Daniel Silverstone ", @@ -16,7 +16,7 @@ repository = "https://gitlab.com/subplot/subplot" [dependencies] fehler = "1" -subplotlib-derive = { version = "0.5.0", path = "../subplotlib-derive" } +subplotlib-derive = { version = "0.6.0", path = "../subplotlib-derive" } lazy_static = "1" base64 = "0.13" state = "0.5" @@ -32,7 +32,7 @@ remove_dir_all = "0.7" [build-dependencies] glob = "0.3" -subplot-build = { version = "0.5.0", path = "../subplot-build" } +subplot-build = { version = "0.6.0", path = "../subplot-build" } [dev-dependencies] serde_json = "1.0" -- cgit v1.2.1 From 4556c09733468bf0c815cb517653fa2454d39602 Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Sun, 13 Nov 2022 19:42:26 +0000 Subject: (release): Add 0.6.0-1 to d/ch Signed-off-by: Daniel Silverstone --- debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/debian/changelog b/debian/changelog index 7267c23..67e3321 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +subplot (0.6.0-1) unstable; urgency=medium + + * New release. + + -- Daniel Silverstone Sun, 13 Nov 2022 19:41:24 +0000 + subplot (0.5.0-1) unstable; urgency=medium * New release. -- cgit v1.2.1