PackageTrack
Sign in Get early access

vector_graphics_compiler

A compiler to convert SVGs to the binary format used by `package:vector_graphics`.

1.3.0 5.0M downloads/mo #150 most downloaded on pub.dev flutter/packages

What this package is like to depend on

Last release 26 days ago

28 Jul 2026

Release timing varies

gaps range from 9 days to 6 months

Nearly every release is documented

notes for 39 of 42 stable releases

Nothing withdrawn

no release was ever pulled

4 years old

42 releases · first in 2022

9 releases in the last 12 months

see the full history below

Release timeline

42 releases · Feb 2022 to Jul 2026
2023 2024 2025 2026
Release Pre-release

Releases

latest 42
  1. 1.3.0 28 Jul 2026
    Release notes
    • An unrecognized font-weight value is now ignored with a warning (and still throws when warningsAsErrors is set) instead of always throwing. This preserves an inherited weight, or the initial normal weight at the root, and lets the compiler tolerate non-standard values such as regular emitted by some SVG generators.
    Open source →
  2. 1.2.6 17 Jun 2026
    Release notes
    • Fixes linux-arm64 host support by selecting the Flutter engine artifact directory from Abi.current() instead of a hardcoded linux-x64.
    Open source →
  3. 1.2.5 29 May 2026
    Release notes
    • Updates allowed version range of xml to include up to 7.0.1.
    Open source →
  4. 1.2.4 28 May 2026
    Release notes
    • Fix Stack Overflow crashes caused by circular references (masks, patterns, deferred nodes, and clip paths).
    • Prevent CPU/Memory Denial of Service (DoS) resource exhaustion from exponential DAG reference expansions (Billion Laughs SVG exploits) by enforcing a strict, cumulative reference expansion safety limit of 1,000.
    • Updates minimum supported SDK version to Flutter 3.38/Dart 3.10.
    Open source →
  5. 1.2.3 18 May 2026
    Release notes
    • Fixes the SVG parser injecting a spurious space between adjacent <tspan> elements that have no whitespace between them in the source. Previously <tspan>A</tspan><tspan>B</tspan> was emitted as "A" + " B", producing a visible gap; it now emits "A" + "B" to match every browser.
    Open source →
  6. 1.2.2 11 May 2026
    Release notes
    • Adds support for modern space-separated HSL and HSLA color syntax.
    Open source →
  7. 1.2.1 06 May 2026
    Release notes
    • Fixes HSL/HSLA color parsing for decimal percentage components (e.g. hsl(270, 100%, 76.27%)).
    Open source →
  8. 1.2.0 18 Feb 2026
    Release notes
    • Adds support for percentage units in SVG shape attributes (rect, circle, ellipse, line).
    Open source →
  9. 1.1.20 21 Jan 2026
    Release notes
    • Fixes color parsing for modern rgb and rgba CSS syntax.
    • Updates minimum supported SDK version to Flutter 3.35/Dart 3.9.
    Open source →
  10. 1.1.19 25 Aug 2025
    Release notes
    • Updates allowed version range of xml to include up to 6.6.1.
    • Updates minimum supported SDK version to Flutter 3.29/Dart 3.7.
    Open source →
  11. 1.1.18 15 Aug 2025
    Release notes
    • Updates minimum supported SDK version to Flutter 3.27/Dart 3.6.
    • Fixes SVG matrix parsing to explicitly set the Z scale value.
    Open source →
  12. 1.1.17 23 May 2025
    Release notes
    • Fixes a bug where stroke opacity not applied by color mapper.
    Open source →
  13. 1.1.16 25 Nov 2024
    Release notes
    • Sets stroke-width to 1 by default when an invalid value is parsed instead of throwing an exception.
    Open source →
  14. 1.1.15 08 Nov 2024
    Release notes
    • Fixes a bug where empty tags caused the parser to crash.
    Open source →
  15. 1.1.14 05 Nov 2024
    Release notes
    • Makes the package WASM compatible.
    Open source →
  16. 1.1.13 05 Nov 2024
    Release notes
    • Relaxes dependency constraint on vector_graphics_codec.
    Open source →
  17. 1.1.12 31 Oct 2024
    Release notes
    • Transfers the package source from https://github.com/dnfield/vector_graphics to https://github.com/flutter/packages.
    Open source →
  18. 1.1.11 20 Feb 2024
    Release notes
    • Use package:http to drop dependency on dart:html.
    Open source →
  19. 1.1.11+1 20 Feb 2024
    Release notes
    • Relax package:http constraint.
    Open source →
  20. 1.1.10 05 Feb 2024
    Release notes
    • Add missing clip before saveLayer.
    Open source →
  21. 1.1.10+1 06 Feb 2024
    Release notes
    • Add missing save before clip.
    Open source →
  22. 1.1.9 12 Oct 2023
    Release notes
    • Fix handling of invalid XML @id attributes.
    • Fix handling of self-referential <use/> elements.
    • Add --out-dir option to compiler.
    • Tweak warning message for unhandled eleemnts.
    Open source →
  23. 1.1.9+1 24 Oct 2023
    Release notes
    • Fix publication error that did not have latest source code.
    Open source →
  24. 1.1.9+2 08 Jan 2024
    Release notes
    • Fix case sensitivity on scientific notation parsing.
    Open source →
  25. 1.1.7 12 Jun 2023
    Release notes
    • Support for matching the ambient text direction.
    Open source →
  26. 1.1.6 18 May 2023
    Release notes
    • Fix bug in text position computation when transforms are involved.
    Open source →
  27. 1.1.5 11 Apr 2023
    Release notes
    • Support for encoding path control points as IEEE 754-2008 half precision floating point values using the option --use-half-precision-control-points.
    • Added an error builder property to provide a fallback widget on exceptions.
    Open source →
  28. 1.1.5+1 24 Apr 2023
    Release notes
    • Remove/update some invalid assertions related to image formats.
    Open source →
  29. 1.1.4 14 Mar 2023
    Release notes
    • Support more image formats and malformed MIME types.
    • Fix inheritence for fill-rules.
    Open source →
  30. 1.1.3 09 Mar 2023
    Release notes
    • Further improvements to whitespace handling for text.
    Open source →
  31. 1.1.2 07 Mar 2023
    Release notes
    • Fix handling and inheritence of none.
    Open source →
  32. 1.1.1 04 Mar 2023
    Release notes
    • Multiple text positioning bug fixes.
    • Preserve stroke-opacity when specified.
    Open source →
  33. 1.1.0 22 Feb 2023
    Release notes
    • Fix a number of inheritence related bugs:
      • Inheritence of properties specified on the root element now work.
      • Opacity inheritence is more correct now.
      • Inheritence of use elements is more correctly handled.
    • Make currentColor non-null on SVG theme, and fix how it is applied.
    • Remove the opacity peephole optimizer, which was incorrectly applying optimizations in a few cases. A future release may add this back.
    • Add clipBehavior to the widget.
    • Fix patterns when multiple patterns are specified and applied within the graphic.
    Open source →
  34. 1.0.1 02 Feb 2023
    Release notes
    • Fix handling of unspecified fill colors on use/group elements.
    Open source →
  35. 1.0.0 18 Nov 2022
    Release notes
    • Initial stable release.
    • Parsing is now synchronous, and is easier to work with in tests.
    • Correctly handle images with ids and defined in defs blocks.
    • Compile time color remapping support.
    Open source →
  36. 1.0.0+1 20 Jan 2023
    Release notes
    • Fix issue in pattern decoding.
    • Fix issue in matrix parsing for some combinations of matrices.
    Open source →
  37. 0.0.5 05 Nov 2022

    Nothing published for this version

  38. 0.0.4 05 Nov 2022

    Nothing published for this version

  39. 0.0.3 26 Oct 2022
    Release notes
    • Better concurrency support
    • Pattern support.
    • Bug fixes around image handling.
    • Bug fix for when optimizers are used on non-default fill types.
    • Support for SVG theme related properties (currentColor, font-size, x-height).
    Open source →
  40. 0.0.2 10 Aug 2022
    Release notes
    • Add optimizations for masks, clipping, and overdraw.
    Open source →
  41. 0.0.1 26 Jul 2022
    Release notes
    • Create repository
    Open source →
  42. 0.0.0 28 Feb 2022

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive