Skip to content

Commit be73b36

Browse files
authored
Update changelog (#74)
1 parent e969b05 commit be73b36

2 files changed

Lines changed: 17 additions & 16 deletions

File tree

CHANGELOG.md

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,23 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

88
## [Unreleased]
9-
- Added support for text embedding.
9+
10+
### Added
11+
- Text is now embedded as proper text instead of being flattened to paths.
1012
- Made the CLI more flexible in terms of which features you want to include.
1113
- Added `raster-scale` and `text-to-paths` as arguments for the CLI.
12-
- Removed the option to configure the view box from the API. This might be readded in
13-
a later update.
14-
- The `convert_str` method has been removed. You should now always convert your SVG string into a `usvg`
15-
tree yourself and then call either `to_pdf` or `to_chunk`.
16-
- The `convert_tree` method has been renamed into `to_pdf`, and now requires you to provide the fontdb
17-
used for the `usvg` tree, unless you have disabled the `text` feature.
18-
- `convert_tree_into` has been renamed into `to_chunk` and now returns an independent chunk as well
19-
as the object ID of the actual SVG in the chunk.
2014

2115
### Changed
22-
- Bumped resvg to v0.40.
23-
- `convert_str` now requires a `fontdb` as an argument as well.
16+
- Bumped resvg to v0.42, fontdb to v0.18, and pdf-writer to v0.10.
17+
- The `convert_tree` method has been renamed into `to_pdf`.
18+
- The `convert_tree_into` function has been renamed into `to_chunk` and now returns an independent chunk and the object ID of the actual SVG in the chunk.
19+
20+
### Fixed
21+
- Fixed a bug with softmasks on images.
22+
23+
### Removed
24+
- The `convert_str` method has been removed. You should now always convert your SVG string into a `usvg` tree yourself and then call either `to_pdf` or `to_chunk`.
25+
- Removed the option to configure the view box from the API. This might be readded in a later update.
2426

2527
## [0.10.0]
2628

@@ -33,7 +35,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3335
- Fixed dpi ratio calculation. Thanks to [@Ultraxime](https://github.com/Ultraxime).
3436

3537
### Changed
36-
- Bumped resvg to v0.38 and fontdb to 0.16.
38+
- Bumped resvg to v0.38 and fontdb to v0.16.
3739
- (Internal) reworked the test suite.
3840
- (Internal) synced test suite with resvg test suite.
3941

Cargo.toml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,12 @@ unicode-properties = { workspace = true, optional = true }
6060
miniz_oxide = { workspace = true }
6161
once_cell = { workspace = true }
6262
pdf-writer = { workspace = true }
63-
fontdb = { workspace = true, optional = true}
63+
fontdb = { workspace = true, optional = true }
6464
usvg = { workspace = true }
6565
log = { workspace = true }
6666
image = { workspace = true, optional = true }
67-
tiny-skia = {workspace = true, optional = true }
68-
resvg = {workspace = true, optional = true }
67+
tiny-skia = { workspace = true, optional = true }
68+
resvg = { workspace = true, optional = true }
6969
subsetter = { workspace = true, optional = true }
7070
ttf-parser = { workspace = true, optional = true }
7171
siphasher = { workspace = true, optional = true }
72-

0 commit comments

Comments
 (0)