Releases: cellengine/node-canvas
Releases · cellengine/node-canvas
v2.11.0-pb
Warning
Prebuilds for this release do not have SVG image support.
Changed
- Defer the initialization of the
opvariable to thedefaultswitch case to avoid a compiler warning. (#2229) - Use a
defaultswitch case with a null statement if some enum values aren't suppsed to be handled, this avoids a compiler warning. (#2229) - Migrate from librsvg's deprecated
rsvg_handle_get_dimensions()andrsvg_handle_render_cairo()functions to the newrsvg_handle_get_intrinsic_size_in_pixels()andrsvg_handle_render_document()respectively. (#2229) - Avoid calling virtual methods in constructors/destructors to avoid bypassing virtual dispatch. (#2229)
- Remove unused private field
backendin theBackendclass. (#2229)
Added
ctx.addPageAsync()
Fixed
- Fix a case of use-after-free. (#2229)
- Fix usage of garbage value by filling the allocated memory entirely with zeros if it's not modified. (#2229)
- Fix a potential memory leak. (#2229)