From 1dfe9e506c2f90b55e662b1803d27f0b4e4ace77 Mon Sep 17 00:00:00 2001 From: Yevhenii Reizner Date: Sat, 16 Dec 2023 17:05:17 +0200 Subject: [PATCH] Version bump. --- .github/chart-svg2.svg | 2 +- .github/chart.svg | 2 +- CHANGELOG.md | 9 ++++++++- Cargo.lock | 12 ++++++------ crates/c-api/Cargo.toml | 2 +- crates/c-api/ResvgQt.h | 4 ++-- crates/c-api/resvg.h | 4 ++-- crates/resvg/Cargo.toml | 4 ++-- crates/usvg-parser/Cargo.toml | 4 ++-- crates/usvg-text-layout/Cargo.toml | 4 ++-- crates/usvg-tree/Cargo.toml | 2 +- crates/usvg/Cargo.toml | 8 ++++---- tools/explorer-thumbnailer/Cargo.toml | 2 +- tools/explorer-thumbnailer/install/installer.iss | 6 +++--- version-bump.md | 8 ++++---- 15 files changed, 40 insertions(+), 33 deletions(-) diff --git a/.github/chart-svg2.svg b/.github/chart-svg2.svg index 258c084f4..ee80d1a81 100644 --- a/.github/chart-svg2.svg +++ b/.github/chart-svg2.svg @@ -2,7 +2,7 @@ - resvg 0.36.0 + resvg 0.37.0 Chrome 105 Firefox 107 Safari 16.1 diff --git a/.github/chart.svg b/.github/chart.svg index 60f62552f..d8d148299 100644 --- a/.github/chart.svg +++ b/.github/chart.svg @@ -2,7 +2,7 @@ - resvg 0.36.0 + resvg 0.37.0 Chrome 105 Firefox 107 Safari 16.1 diff --git a/CHANGELOG.md b/CHANGELOG.md index 02c7b6e03..baa9ce805 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,13 @@ and this project adheres to [Semantic Versioning](http://semver.org/). This changelog also contains important changes in dependencies. ## [Unreleased] + +## [0.37.0] - 2023-12-16 ### Added +- `usvg` can write text back to SVG now. + Thanks to [@LaurenzV](https://github.com/LaurenzV). +- `--preserve-text` flag to the `usvg` CLI tool. + Thanks to [@LaurenzV](https://github.com/LaurenzV). - Support [`transform-origin`](https://drafts.csswg.org/css-transforms/#transform-origin-property) property. Thanks to [@LaurenzV](https://github.com/LaurenzV). @@ -990,7 +996,8 @@ This changelog also contains important changes in dependencies. ### Fixed - `font-size` attribute inheritance during `use` resolving. -[Unreleased]: https://github.com/RazrFalcon/resvg/compare/v0.36.0...HEAD +[Unreleased]: https://github.com/RazrFalcon/resvg/compare/v0.37.0...HEAD +[0.37.0]: https://github.com/RazrFalcon/resvg/compare/v0.36.0...v0.37.0 [0.36.0]: https://github.com/RazrFalcon/resvg/compare/v0.35.0...v0.36.0 [0.35.0]: https://github.com/RazrFalcon/resvg/compare/v0.34.1...v0.35.0 [0.34.1]: https://github.com/RazrFalcon/resvg/compare/v0.34.0...v0.34.1 diff --git a/Cargo.lock b/Cargo.lock index 581fd84be..988d5fe2c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -214,7 +214,7 @@ checksum = "3b42e27ef78c35d3998403c1d26f3efd9e135d3e5121b0a4845cc5cc27547f4f" [[package]] name = "resvg" -version = "0.36.0" +version = "0.37.0" dependencies = [ "gif", "jpeg-decoder", @@ -230,7 +230,7 @@ dependencies = [ [[package]] name = "resvg-capi" -version = "0.36.0" +version = "0.37.0" dependencies = [ "log", "resvg", @@ -416,7 +416,7 @@ checksum = "b1d386ff53b415b7fe27b50bb44679e2cc4660272694b7b6f3326d8480823a94" [[package]] name = "usvg" -version = "0.36.0" +version = "0.37.0" dependencies = [ "base64", "log", @@ -430,7 +430,7 @@ dependencies = [ [[package]] name = "usvg-parser" -version = "0.36.0" +version = "0.37.0" dependencies = [ "data-url", "flate2", @@ -446,7 +446,7 @@ dependencies = [ [[package]] name = "usvg-text-layout" -version = "0.36.0" +version = "0.37.0" dependencies = [ "fontdb", "kurbo", @@ -460,7 +460,7 @@ dependencies = [ [[package]] name = "usvg-tree" -version = "0.36.0" +version = "0.37.0" dependencies = [ "rctree", "strict-num", diff --git a/crates/c-api/Cargo.toml b/crates/c-api/Cargo.toml index df081ea5f..82e2c5652 100644 --- a/crates/c-api/Cargo.toml +++ b/crates/c-api/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "resvg-capi" -version = "0.36.0" +version = "0.37.0" authors = ["Yevhenii Reizner "] keywords = ["svg", "render", "raster", "c-api"] license = "MPL-2.0" diff --git a/crates/c-api/ResvgQt.h b/crates/c-api/ResvgQt.h index ca8430dc9..102fee2e6 100644 --- a/crates/c-api/ResvgQt.h +++ b/crates/c-api/ResvgQt.h @@ -14,9 +14,9 @@ #define RESVG_QT_H #define RESVG_QT_MAJOR_VERSION 0 -#define RESVG_QT_MINOR_VERSION 36 +#define RESVG_QT_MINOR_VERSION 37 #define RESVG_QT_PATCH_VERSION 0 -#define RESVG_QT_VERSION "0.36.0" +#define RESVG_QT_VERSION "0.37.0" #include diff --git a/crates/c-api/resvg.h b/crates/c-api/resvg.h index ed3c0593a..86b1c69b0 100644 --- a/crates/c-api/resvg.h +++ b/crates/c-api/resvg.h @@ -17,9 +17,9 @@ #include #define RESVG_MAJOR_VERSION 0 -#define RESVG_MINOR_VERSION 36 +#define RESVG_MINOR_VERSION 37 #define RESVG_PATCH_VERSION 0 -#define RESVG_VERSION "0.36.0" +#define RESVG_VERSION "0.37.0" /** * @brief List of possible errors. diff --git a/crates/resvg/Cargo.toml b/crates/resvg/Cargo.toml index 7560cbe33..2f4889202 100644 --- a/crates/resvg/Cargo.toml +++ b/crates/resvg/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "resvg" -version = "0.36.0" +version = "0.37.0" authors = ["Yevhenii Reizner "] keywords = ["svg", "render", "raster"] license = "MPL-2.0" @@ -23,7 +23,7 @@ png = { version = "0.17", optional = true } rgb = "0.8" svgtypes = "0.13" tiny-skia = "0.11.3" -usvg = { path = "../usvg", version = "0.36.0", default-features = false } +usvg = { path = "../usvg", version = "0.37.0", default-features = false } [dev-dependencies] once_cell = "1.5" diff --git a/crates/usvg-parser/Cargo.toml b/crates/usvg-parser/Cargo.toml index a9086d245..d1d681d7a 100644 --- a/crates/usvg-parser/Cargo.toml +++ b/crates/usvg-parser/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "usvg-parser" -version = "0.36.0" +version = "0.37.0" authors = ["Yevhenii Reizner "] keywords = ["svg"] license = "MPL-2.0" @@ -23,4 +23,4 @@ roxmltree = "0.19" simplecss = "0.2" siphasher = "0.3" # perfect hash implementation svgtypes = "0.13" -usvg-tree = { path = "../usvg-tree", version = "0.36.0" } +usvg-tree = { path = "../usvg-tree", version = "0.37.0" } diff --git a/crates/usvg-text-layout/Cargo.toml b/crates/usvg-text-layout/Cargo.toml index a69631e40..fbc96ce9c 100644 --- a/crates/usvg-text-layout/Cargo.toml +++ b/crates/usvg-text-layout/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "usvg-text-layout" -version = "0.36.0" +version = "0.37.0" authors = ["Yevhenii Reizner "] keywords = ["svg"] license = "MPL-2.0" @@ -19,7 +19,7 @@ rustybuzz = "0.12" unicode-bidi = "0.3" unicode-script = "0.5" unicode-vo = "0.1" -usvg-tree = { path = "../usvg-tree", version = "0.36.0" } +usvg-tree = { path = "../usvg-tree", version = "0.37.0" } [features] default = ["system-fonts", "memmap-fonts"] diff --git a/crates/usvg-tree/Cargo.toml b/crates/usvg-tree/Cargo.toml index 7d683e407..aee5a3eb0 100644 --- a/crates/usvg-tree/Cargo.toml +++ b/crates/usvg-tree/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "usvg-tree" -version = "0.36.0" +version = "0.37.0" authors = ["Yevhenii Reizner "] keywords = ["svg"] license = "MPL-2.0" diff --git a/crates/usvg/Cargo.toml b/crates/usvg/Cargo.toml index ac0cdb113..541b95009 100644 --- a/crates/usvg/Cargo.toml +++ b/crates/usvg/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "usvg" -version = "0.36.0" +version = "0.37.0" authors = ["Yevhenii Reizner "] keywords = ["svg"] license = "MPL-2.0" @@ -21,13 +21,13 @@ required-features = ["text", "system-fonts", "memmap-fonts"] base64 = "0.21" # for embedded images log = "0.4" pico-args = { version = "0.5", features = ["eq-separator"] } -usvg-parser = { path = "../usvg-parser", version = "0.36.0" } -usvg-tree = { path = "../usvg-tree", version = "0.36.0" } +usvg-parser = { path = "../usvg-parser", version = "0.37.0" } +usvg-tree = { path = "../usvg-tree", version = "0.37.0" } xmlwriter = "0.1" [dependencies.usvg-text-layout] path = "../usvg-text-layout" -version = "0.36.0" +version = "0.37.0" default-features = false optional = true diff --git a/tools/explorer-thumbnailer/Cargo.toml b/tools/explorer-thumbnailer/Cargo.toml index 823b111b0..79e75a055 100644 --- a/tools/explorer-thumbnailer/Cargo.toml +++ b/tools/explorer-thumbnailer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "explorer-thumbnailer" -version = "0.36.0" +version = "0.37.0" authors = ["gentoo90 "] license = "MPL-2.0" edition = "2018" diff --git a/tools/explorer-thumbnailer/install/installer.iss b/tools/explorer-thumbnailer/install/installer.iss index e6d4dd731..0e24b3690 100644 --- a/tools/explorer-thumbnailer/install/installer.iss +++ b/tools/explorer-thumbnailer/install/installer.iss @@ -1,8 +1,8 @@ [Setup] AppName="resvg Explorer Extension" -AppVersion="0.36.0" -VersionInfoVersion="0.0.36.0" -AppVerName="resvg Explorer Extension 0.36.0" +AppVersion="0.37.0" +VersionInfoVersion="0.0.37.0" +AppVerName="resvg Explorer Extension 0.37.0" AppPublisher="Yevhenii Reizner" AppPublisherURL=https://github.com/RazrFalcon/resvg DefaultDirName="{pf}\resvg Explorer Extension" diff --git a/version-bump.md b/version-bump.md index b18d6025d..3f0a60629 100644 --- a/version-bump.md +++ b/version-bump.md @@ -1,13 +1,13 @@ - .github/chart.svg - .github/chart-svg2.svg - CHANGELOG.md +- crates/usvg-tree/Cargo.toml +- crates/usvg-parser/Cargo.toml +- crates/usvg-text-layout/Cargo.toml +- crates/usvg/Cargo.toml - crates/resvg/Cargo.toml - crates/c-api/Cargo.toml - crates/c-api/resvg.h - crates/c-api/ResvgQt.h -- crates/usvg/Cargo.toml -- crates/usvg-parser/Cargo.toml -- crates/usvg-text-layout/Cargo.toml -- crates/usvg-tree/Cargo.toml - tools/explorer-thumbnailer/install/installer.iss - tools/explorer-thumbnailer/Cargo.toml