diff --git a/.github/chart-svg2.svg b/.github/chart-svg2.svg
index fc3407b92..a2479c9a9 100644
--- a/.github/chart-svg2.svg
+++ b/.github/chart-svg2.svg
@@ -1,47 +1,48 @@
diff --git a/.github/chart.svg b/.github/chart.svg
index a830e5d09..25311ed30 100644
--- a/.github/chart.svg
+++ b/.github/chart.svg
@@ -1,7 +1,8 @@
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index d7049c416..e92cd66e7 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -8,20 +8,10 @@ env:
jobs:
build:
runs-on: ubuntu-18.04
- strategy:
- matrix:
- rust:
- - stable
steps:
- name: Checkout
uses: actions/checkout@v2
- - name: Install toolchain
- uses: actions-rs/toolchain@v1
- with:
- toolchain: ${{ matrix.rust }}
- override: true
-
# We have to use the Release mode, otherwise it would take forever.
- name: Test
run: cargo test --release
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 7b9b7edd2..b70c7ba2b 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
This changelog also contains important changes in dependencies.
## [Unreleased]
+
+## [0.17.0] - 2021-09-04
### Added
- `tiny-skia` updated with support of images larger than 8000x8000 pixels.
- `feDropShadow` support. SVG2
@@ -15,6 +17,10 @@ This changelog also contains important changes in dependencies.
Like `url(#filter1) blur(2)`. SVG2
- All [filter functions](https://www.w3.org/TR/filter-effects-1/#filter-functions). SVG2
- Support all [new](https://www.w3.org/TR/compositing-1/#ltblendmodegt) `feBlend` modes. SVG2
+- Automatic SVG size detection when `width`/`height`/`viewBox` is not set.
+ Thanks to [reknih](https://github.com/reknih).
+- `usvg::Options::default_size`
+- `--default-width` and `--default-height` to usvg.
### Changed
- `usvg::Group::filter` is a list of filter IDs now.
@@ -520,7 +526,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.16.0...HEAD
+[Unreleased]: https://github.com/RazrFalcon/resvg/compare/v0.17.0...HEAD
+[0.17.0]: https://github.com/RazrFalcon/resvg/compare/v0.16.0...v0.17.0
[0.16.0]: https://github.com/RazrFalcon/resvg/compare/v0.15.0...v0.16.0
[0.15.0]: https://github.com/RazrFalcon/resvg/compare/v0.14.1...v0.15.0
[0.14.1]: https://github.com/RazrFalcon/resvg/compare/v0.14.0...v0.14.1
diff --git a/Cargo.lock b/Cargo.lock
index ed611b6bb..e6f308c0c 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -199,7 +199,7 @@ checksum = "9ae028b272a6e99d9f8260ceefa3caa09300a8d6c8d2b2001316474bc52122e9"
[[package]]
name = "resvg"
-version = "0.16.0"
+version = "0.17.0"
dependencies = [
"jpeg-decoder",
"log",
@@ -214,7 +214,7 @@ dependencies = [
[[package]]
name = "resvg-capi"
-version = "0.16.0"
+version = "0.17.0"
dependencies = [
"log",
"resvg",
@@ -288,7 +288,7 @@ checksum = "fe0f37c9e8f3c5a4a66ad655a93c74daac4ad00c441533bf5c6e7990bb42604e"
[[package]]
name = "svgfilters"
-version = "0.3.0"
+version = "0.4.0"
dependencies = [
"float-cmp",
"rgb",
@@ -361,7 +361,7 @@ checksum = "b1d386ff53b415b7fe27b50bb44679e2cc4660272694b7b6f3326d8480823a94"
[[package]]
name = "usvg"
-version = "0.16.0"
+version = "0.17.0"
dependencies = [
"base64",
"data-url",
diff --git a/Cargo.toml b/Cargo.toml
index 254bb00f1..5076711f7 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "resvg"
-version = "0.16.0"
+version = "0.17.0"
authors = ["Yevhenii Reizner "]
keywords = ["svg", "render", "raster", "skia"]
license = "MPL-2.0"
@@ -21,9 +21,9 @@ log = "0.4"
pico-args = "0.4"
png = "0.17"
rgb = "0.8"
-svgfilters = { path = "svgfilters", version = "0.3" }
+svgfilters = { path = "svgfilters", version = "0.4" }
tiny-skia = "0.6.1"
-usvg = { path = "usvg", version = "0.16.0", default-features = false }
+usvg = { path = "usvg", version = "0.17.0", default-features = false }
[dev-dependencies]
once_cell = "1.5"
diff --git a/c-api/Cargo.toml b/c-api/Cargo.toml
index 63463fe1d..6f68a47e2 100644
--- a/c-api/Cargo.toml
+++ b/c-api/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "resvg-capi"
-version = "0.16.0"
+version = "0.17.0"
authors = ["Yevhenii Reizner "]
keywords = ["svg", "render", "raster", "c-api"]
license = "MPL-2.0"
diff --git a/c-api/ResvgQt.h b/c-api/ResvgQt.h
index 19f8811b2..935cee566 100644
--- a/c-api/ResvgQt.h
+++ b/c-api/ResvgQt.h
@@ -14,9 +14,9 @@
#define RESVG_QT_H
#define RESVG_QT_MAJOR_VERSION 0
-#define RESVG_QT_MINOR_VERSION 16
+#define RESVG_QT_MINOR_VERSION 17
#define RESVG_QT_PATCH_VERSION 0
-#define RESVG_QT_VERSION "0.16.0"
+#define RESVG_QT_VERSION "0.17.0"
#include
#include
diff --git a/c-api/resvg.h b/c-api/resvg.h
index 34d96e1af..9d1316758 100644
--- a/c-api/resvg.h
+++ b/c-api/resvg.h
@@ -18,9 +18,9 @@
#include
#define RESVG_MAJOR_VERSION 0
-#define RESVG_MINOR_VERSION 16
+#define RESVG_MINOR_VERSION 17
#define RESVG_PATCH_VERSION 0
-#define RESVG_VERSION "0.16.0"
+#define RESVG_VERSION "0.17.0"
#ifdef __cplusplus
extern "C" {
diff --git a/src/lib.rs b/src/lib.rs
index ea3cd79f6..136fbe4b6 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -6,7 +6,7 @@
[resvg](https://github.com/RazrFalcon/resvg) is an SVG rendering library.
*/
-#![doc(html_root_url = "https://docs.rs/resvg/0.16.0")]
+#![doc(html_root_url = "https://docs.rs/resvg/0.17.0")]
#![warn(missing_docs)]
#![allow(clippy::too_many_arguments)]
diff --git a/svgfilters/CHANGELOG.md b/svgfilters/CHANGELOG.md
index 0af3ed399..5dca42801 100644
--- a/svgfilters/CHANGELOG.md
+++ b/svgfilters/CHANGELOG.md
@@ -8,6 +8,13 @@ This changelog also contains important changes in dependencies.
## Unreleased
+## 0.4.0 - 2021-09-04
+### Changed
+- `svgfilters::ColorMatrix::Saturate` accepts any positive `f64` value now.
+
+### Removed
+- `NormalizedValue`
+
## 0.3.0 - 2021-03-06
### Added
- no_std support
diff --git a/svgfilters/Cargo.toml b/svgfilters/Cargo.toml
index c101dbd72..841ddb020 100644
--- a/svgfilters/Cargo.toml
+++ b/svgfilters/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "svgfilters"
-version = "0.3.0"
+version = "0.4.0"
authors = ["Yevhenii Reizner "]
keywords = ["svg", "filter"]
license = "MPL-2.0"
diff --git a/tools/explorer-thumbnailer/Cargo.toml b/tools/explorer-thumbnailer/Cargo.toml
index 77f1048c6..664182fb0 100644
--- a/tools/explorer-thumbnailer/Cargo.toml
+++ b/tools/explorer-thumbnailer/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "explorer-thumbnailer"
-version = "0.16.0"
+version = "0.17.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 b7ab483d7..2cdce9e08 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.16.0"
-VersionInfoVersion="0.0.16.0"
-AppVerName="resvg Explorer Extension 0.16.0"
+AppVersion="0.17.0"
+VersionInfoVersion="0.0.17.0"
+AppVerName="resvg Explorer Extension 0.17.0"
AppPublisher="Yevhenii Reizner"
AppPublisherURL=https://github.com/RazrFalcon/resvg
DefaultDirName="{pf}\resvg Explorer Extension"
diff --git a/usvg/Cargo.toml b/usvg/Cargo.toml
index ecf63bccd..bf9d3f14d 100644
--- a/usvg/Cargo.toml
+++ b/usvg/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "usvg"
-version = "0.16.0"
+version = "0.17.0"
authors = ["Yevhenii Reizner "]
keywords = ["svg"]
license = "MPL-2.0"
diff --git a/usvg/src/lib.rs b/usvg/src/lib.rs
index bbb7759a2..5d8109efa 100644
--- a/usvg/src/lib.rs
+++ b/usvg/src/lib.rs
@@ -57,7 +57,7 @@ Full spec can be found [here](https://github.com/RazrFalcon/resvg/blob/master/do
[SVG]: https://en.wikipedia.org/wiki/Scalable_Vector_Graphics
*/
-#![doc(html_root_url = "https://docs.rs/usvg/0.16.0")]
+#![doc(html_root_url = "https://docs.rs/usvg/0.17.0")]
#![warn(missing_docs)]
#![warn(missing_debug_implementations)]