Skip to content

Commit fa62387

Browse files
authored
Upgrade to Kurbo 0.13, MSRV 1.85, Prepare v0.16.1 (#60)
Prepare a new svgtypes release with kurbo 0.13. This causes an MSRV bump from 1.82 to 1.85, but isn't otherwise breaking. As this is a relatively small bump (and we never pubished a resvg version with 0.16.0 anyway) I suggest we publish this as a patch release. --------- Signed-off-by: Nico Burns <[email protected]>
1 parent c99a6f2 commit fa62387

File tree

8 files changed

+28
-22
lines changed

8 files changed

+28
-22
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ env:
33
# version like 1.70. Note that we only specify MAJOR.MINOR and not PATCH so that bugfixes still
44
# come automatically. If the version specified here is no longer the latest stable version,
55
# then please feel free to submit a PR that adjusts it along with the potential clippy fixes.
6-
RUST_STABLE_VER: "1.87" # In quotes because otherwise (e.g.) 1.70 would be interpreted as 1.7
6+
RUST_STABLE_VER: "1.92" # In quotes because otherwise (e.g.) 1.70 would be interpreted as 1.7
77
# The purpose of checking with the minimum supported Rust toolchain is to detect its staleness.
88
# If the compilation fails, then the version specified here needs to be bumped up to reality.
99
# Be sure to also update the rust-version property in the workspace Cargo.toml file,
1010
# plus all the README.md files of the affected packages.
11-
RUST_MIN_VER: "1.82"
11+
RUST_MIN_VER: "1.85"
1212
# List of packages that will be checked with the minimum supported Rust version.
1313
# This should be limited to packages that are intended for publishing.
1414
RUST_MIN_VER_PKGS: "-p svgtypes"

CHANGELOG.md

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,20 @@ Subheadings to categorize changes are `added, changed, deprecated, removed, fixe
88
99
-->
1010

11-
The latest published SVG Types release is [0.16.0](#0160-2025-10-26) which was released on 2025-10-26.
12-
You can find its changes [documented below](#0160-2025-10-26).
11+
The latest published SVG Types release is [0.16.1](#0160-2026-01-09) which was released on 2026-01-09.
12+
You can find its changes [documented below](#0161-2026-01-09).
1313

1414
## [Unreleased]
1515

16-
This release has an [MSRV][] of 1.82.
16+
This release has an [MSRV][] of 1.85.
17+
18+
## [0.16.1][] (2026-01-09)
19+
20+
This release has an [MSRV][] of 1.85.
21+
22+
### Changed
23+
24+
- Update Kurbo to v0.13. ([#60][] by [@nicoburns][])
1725

1826
## [0.16.0][] (2025-10-26)
1927

@@ -295,7 +303,9 @@ Many thanks to Yevhenii Reizner for the years of hard work that he has poured in
295303
[@waywardmonkeys]: https://github.com/waywardmonkeys
296304
[@yisibl]: https://github.com/yisibl
297305

298-
[Unreleased]: https://github.com/RazrFalcon/svgtypes/compare/v0.15.3...HEAD
306+
[Unreleased]: https://github.com/RazrFalcon/svgtypes/compare/v0.16.1...HEAD
307+
[0.16.1]: https://github.com/RazrFalcon/svgtypes/compare/v0.16.0...v0.16.1
308+
[0.16.0]: https://github.com/RazrFalcon/svgtypes/compare/v0.15.3...v0.16.0
299309
[0.15.3]: https://github.com/RazrFalcon/svgtypes/compare/v0.15.2...v0.15.3
300310
[0.15.2]: https://github.com/RazrFalcon/svgtypes/compare/v0.15.1...v0.15.2
301311
[0.15.1]: https://github.com/RazrFalcon/svgtypes/compare/v0.15.0...v0.15.1

Cargo.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
[package]
22
name = "svgtypes"
3-
version = "0.16.0"
3+
version = "0.16.1"
44
license = "Apache-2.0 OR MIT"
5-
edition = "2021"
5+
edition = "2024"
66
description = "SVG types parser."
77
repository = "https://github.com/linebender/svgtypes"
88
keywords = ["svg", "parser", "tokenizer"]
99
categories = ["parser-implementations"]
1010
readme = "README.md"
1111
# Keep in sync with RUST_MIN_VER in .github/workflows/ci.yml and with the relevant README.md files.
1212
# and with the MSRV in the `Unreleased` section of CHANGELOG.md.
13-
rust-version = "1.82"
13+
rust-version = "1.85"
1414
exclude = [".github", ".clippy.toml", ".gitignore", ".typos.toml", "benches/", "codegen/", "fuzz/"]
1515

1616
[workspace]
@@ -23,4 +23,4 @@ libm = ["kurbo/libm"]
2323

2424
[dependencies]
2525
siphasher = "1.0" # perfect hash implementation for color names
26-
kurbo = { version = "0.12", default-features = false } # ArcTo to CurveTo(s)
26+
kurbo = { version = "0.13", default-features = false } # ArcTo to CurveTo(s)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ None.
6565

6666
## Minimum supported Rust Version (MSRV)
6767

68-
This version of SVG Types has been verified to compile with **Rust 1.82** and later.
68+
This version of SVG Types has been verified to compile with **Rust 1.85** and later.
6969

7070
Future versions of SVG Types might increase the Rust version requirement.
7171
It will not be treated as a breaking change and as such can even happen with small patch releases.

src/color.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Copyright 2021 the SVG Types Authors
22
// SPDX-License-Identifier: Apache-2.0 OR MIT
33

4-
use crate::{colors, ByteExt, Error, Stream};
4+
use crate::{ByteExt, Error, Stream, colors};
55

66
#[cfg(not(feature = "std"))]
77
use kurbo::common::FloatFuncs;

src/font.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// Copyright 2024 the SVG Types Authors
22
// SPDX-License-Identifier: Apache-2.0 OR MIT
33

4-
use crate::stream::{ByteExt, Stream};
54
use crate::Error;
5+
use crate::stream::{ByteExt, Stream};
66
use alloc::format;
77
use alloc::string::{String, ToString};
88
use alloc::vec;

src/path.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -338,11 +338,7 @@ fn next_impl(s: &mut Stream<'_>, prev_cmd: &mut Option<u8>) -> Result<PathSegmen
338338
};
339339

340340
*prev_cmd = Some(if is_implicit_move_to {
341-
if absolute {
342-
b'M'
343-
} else {
344-
b'm'
345-
}
341+
if absolute { b'M' } else { b'm' }
346342
} else {
347343
cmd
348344
});

0 commit comments

Comments
 (0)