CHANGELOG.md 4.1 KB
Newer Older
Reizner Evgeniy's avatar
Reizner Evgeniy committed
1 2 3 4 5 6
# Change Log
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

7
This changelog also contains important changes in dependencies.
RazrFalcon's avatar
RazrFalcon committed
8

Reizner Evgeniy's avatar
Reizner Evgeniy committed
9
## [Unreleased]
RazrFalcon's avatar
RazrFalcon committed
10
### Added
11
- (resvg) Nested `clipPath` support.
RazrFalcon's avatar
RazrFalcon committed
12
- (resvg) MSVC support.
13 14 15
- (rendersvg) `font-family`, `font-size` and `languages` to args.
- (usvg) `systemLanguage` attribute support.
- (usvg) Default font family and size is configurable now.
16
- (usvg) `mask` attribute on `mask` element support.
RazrFalcon's avatar
RazrFalcon committed
17
- (c-api) `RESVG_ERROR_PARSING_FAILED`.
18
- (c-api) `font_family`, `font_size` and `languages` to `resvg_options`.
RazrFalcon's avatar
RazrFalcon committed
19

20
### Changed
21
- (rendersvg) Use `gumdrop` instead of `getopts`.
22 23
- (c-api) Qt wrapper is header-only now.

RazrFalcon's avatar
RazrFalcon committed
24 25
### Fixed
- (cairo-backend) Text layout.
26
- (cairo-backend) Rendering of a zero length subpath with a square cap.
27
- (qt-backend) Transform retrieving via Qt bindings.
28
- (resvg) Recursive SVG images via `image` tag.
29
- (resvg) Bbox calculation of the text with rotate.
30
- (resvg) Invisible elements processing.
RazrFalcon's avatar
RazrFalcon committed
31
- (qt-api) SVG from QByteArray loading when data is invalid.
RazrFalcon's avatar
RazrFalcon committed
32
- (usvg) `display` attribute processing.
33
- (usvg) Recursive `mask` resolving.
34
- (usvg) `inherit` attribute value resolving.
35
- (svgdom) Namespaces resolving.
RazrFalcon's avatar
RazrFalcon committed
36

37
### Removed
RazrFalcon's avatar
RazrFalcon committed
38
- (rendersvg) `failure` dependency.
39

RazrFalcon's avatar
RazrFalcon committed
40
## [0.3.0] - 2018-05-23
41 42 43 44
### Added
- (c-api) `resvg_is_image_empty`.
- (c-api) `resvg_error` enum.
- (c-api) Qt wrapper.
45
- (resvg) Advanced text layout support (lists of x, y, dx, dy and rotate).
RazrFalcon's avatar
RazrFalcon committed
46 47 48 49 50 51
- (resvg) SVG support for `image` element.
- (usvg) `symbol` element support.
- (usvg) Nested `svg` elements support.
- (usvg) Paint fallback resolving.
- (usvg) Bbox validation for shapes that use painting servers.
- (svgdom) Elements from ENTITY resolving.
52 53 54 55 56

### Changed
- (c-api) `resvg_parse_tree_from_file`, `resvg_parse_tree_from_data`
  `resvg_cairo_render_to_image` and `resvg_qt_render_to_image`
  will return an error code now.
57
- (cairo-backend) Use `gdk-pixbuf` crate instead of `image`.
RazrFalcon's avatar
RazrFalcon committed
58
- (resvg) `Render::render_to_image` and `Render::render_node_to_image` will return
59
  `Option` and not `Result` now.
RazrFalcon's avatar
RazrFalcon committed
60 61 62 63 64
- (resvg) New geometry primitives implementation.
- (resvg) Rename `render_*` modules to `backend_`.
- (rendersvg) Use `getopts` instead of `clap` to reduce the executable size.
- (svgtypes) `StreamExt::parse_iri` and `StreamExt::parse_func_iri` will parse
  not only well-formed data now.
65

66 67 68
### Fixed
- (qt-backend) Gradient with `objectBoundingBox` rendering.
- (qt-backend) Text bounding box detection during the rendering.
69
- (cairo-backend) `image` element clipping.
70
- (cairo-backend) Layers management.
71
- (c-api) `resvg_get_node_transform` will return a correct transform now.
RazrFalcon's avatar
RazrFalcon committed
72 73
- (resvg) `text-decoration` thickness.
- (resvg) `pattern` scaling.
74
- (resvg) `image` without size rendering.
RazrFalcon's avatar
RazrFalcon committed
75 76 77 78 79 80 81 82 83 84
- (usvg) Panic during `visibility` resolving.
- (usvg) Gradients with one stop resolving.
- (usvg) `use` attributes resolving.
- (usvg) `clipPath` and `mask` attributes resolving.
- (usvg) `offset` attribute in `stop` element resolving.
- (usvg) Incorrect `font-size` attribute resolving.
- (usvg) Gradient stops resolving.
- (usvg) `switch` element resolving.
- (svgdom) Mixed `xml:space` processing.
- (svgtypes) `Paint::from_span` poor performance.
85 86 87

### Removed
- (c-api) `resvg_error_msg_destroy`.
RazrFalcon's avatar
RazrFalcon committed
88 89
- (resvg) `parse_rtree_*` methods. Use `usvg::Tree::from_` instead.
- (resvg) `Error`.
Reizner Evgeniy's avatar
Reizner Evgeniy committed
90

Reizner Evgeniy's avatar
Reizner Evgeniy committed
91
## [0.2.0] - 2018-04-24
Reizner Evgeniy's avatar
Reizner Evgeniy committed
92
### Added
93
- (svg) Partial `clipPath` support.
Reizner Evgeniy's avatar
Reizner Evgeniy committed
94
- (svg) Partial `mask` support.
95
- (svg) Partial `pattern` support.
Reizner Evgeniy's avatar
Reizner Evgeniy committed
96
- (svg) `preserveAspectRatio` support.
Reizner Evgeniy's avatar
Reizner Evgeniy committed
97
- (svg) Check that an external image is PNG or JPEG.
98 99
- (rendersvg) Added `--query-all` and `--export-id` arguments to render SVG items by ID.
- (rendersvg) Added `--perf` argument for a simple performance stats.
Reizner Evgeniy's avatar
Reizner Evgeniy committed
100 101

### Changed
RazrFalcon's avatar
RazrFalcon committed
102
- (resvg) API is completely new.
103 104 105

### Fixed
- `font-size` attribute inheritance during `use` resolving.
106

RazrFalcon's avatar
RazrFalcon committed
107
[Unreleased]: https://github.com/RazrFalcon/resvg/compare/v0.3.0...HEAD
RazrFalcon's avatar
RazrFalcon committed
108 109
[0.3.0]: https://github.com/RazrFalcon/resvg/compare/v0.2.0...v0.3.0
[0.2.0]: https://github.com/RazrFalcon/resvg/compare/v0.1.0...v0.2.0