summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2022-11-13 19:53:00 +0000
committerLars Wirzenius <liw@liw.fi>2022-11-13 19:53:00 +0000
commit0603c00086beb593d22f68a71d1b1bc3894dedc1 (patch)
treefef64e992916fff4c5d2ab3e5b6dcb2ea6689c75
parent1dee6218063ccb0ea7a8252caede79ffe2796243 (diff)
parent4556c09733468bf0c815cb517653fa2454d39602 (diff)
downloadsubplot-0603c00086beb593d22f68a71d1b1bc3894dedc1.tar.gz
Merge branch 'release-0.6.0' into 'main'0.6.0
Prepare the 0.6.0 release Closes #309 See merge request subplot/subplot!301
-rw-r--r--Cargo.lock8
-rw-r--r--Cargo.toml2
-rw-r--r--NEWS.md14
-rw-r--r--RELEASE.md2
-rw-r--r--book/user-guide.md2
-rw-r--r--debian/changelog6
-rw-r--r--subplot-build/Cargo.toml4
-rw-r--r--subplotlib-derive/Cargo.toml2
-rw-r--r--subplotlib/Cargo.toml6
9 files changed, 33 insertions, 13 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 <liw@liw.fi>",
"Daniel Silverstone <dsilvers@digital-scurf.org>",
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/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:
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
~~~
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 <dsilvers@digital-scurf.org> Sun, 13 Nov 2022 19:41:24 +0000
+
subplot (0.5.0-1) unstable; urgency=medium
* New release.
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 <liw@liw.fi>",
"Daniel Silverstone <dsilvers@digital-scurf.org>",
@@ -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 <liw@liw.fi>",
"Daniel Silverstone <dsilvers@digital-scurf.org>",
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 <liw@liw.fi>",
"Daniel Silverstone <dsilvers@digital-scurf.org>",
@@ -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"