Skip to content

Tags

Tags

v4.1.0

Toggle v4.1.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
chore: prepare v4.1.0 release (#2275)

Prepare SVGO v4.1.0 by synchronizing the package and runtime versions.

The release includes stricter XML character-reference validation from
sax 1.6.1 and security hardening for `removeScripts`.

Validation:
- typecheck passed
- bundle tests passed
- scoped ESLint and Prettier checks passed
- main test suite passed (1,549 tests; the root command additionally
discovered unrelated local `.worktrees`)

v3.3.5

Toggle v3.3.5's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
ci: configure v3 publish tag in package metadata (#2271)

## Summary

Configure `v3` through `publishConfig.tag` and let `npm publish` consume
it.

npm 11 rejects `--tag v3` at the CLI because `v3` is a valid semver
range, even though this package already uses `v3` as an established
registry dist-tag. `publishConfig` passes the tag to the registry
publisher without the CLI's semver-range validation, preserving the
existing dist-tag.

v2.8.4

Toggle v2.8.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
ci: build v2 releases with Node.js 16 (#2274)

## Summary

Build v2 releases under Node.js 16 before switching to Node.js 24 and
npm 11.5.1 for trusted publishing.

Yarn 2.4.3 and its compatibility patches are not compatible with Node.js
24 (`isDate is not a function`). Keeping the legacy build on Node.js 16
while using the modern npm runtime for publication preserves
compatibility and signed provenance.

v4.0.2

Toggle v4.0.2's commit message

Verified

This tag was signed with the committer’s verified signature.
SethFalco Seth Falco
Merge commit from fork

Match JavaScript URIs case insensitively, such as JAVASCRIPT or
JavaScript.

Match <*:script> elements that are explicitly namespaced/prefixed with
the SVG namespace or XHTML namespace. We leave intact any other
namespace like a custom <filmmaker:script> script which isn't
executable.

v4.0.1

Toggle v4.0.1's commit message

Verified

This tag was signed with the committer’s verified signature.
SethFalco Seth Falco
Merge commit from fork

v3.3.4

Toggle v3.3.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge commit from fork

Match JavaScript URIs case insensitively, such as JAVASCRIPT or
JavaScript.

Match <*:script> elements that are explicitly namespaced/prefixed with
the SVG namespace or XHTML namespace. We leave intact any other
namespace like a custom <filmmaker:script> script which isn't
executable.

v2.8.3

Toggle v2.8.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge commit from fork

* fix(publish): migrate *.test.js files to test directory

When publishing v2.8.1 there was a hiccup where test files were included
in the package. It seems the likely cause is that previous maintainers
published with "npm publish" but I tried to publish to "yarn npm publish".

To avoid a hiccup like this from happening again, let's just move the tests
into the tests directory. This is a change I'd like to make in the
development branch anyway.

* test: make billion laughts test compatible with node.js v10

Back when I originally published the first security fix for SVGO v2, I
didn't actually run the tests using Node.js v10 specifically. However
this time I did as I wanted to make sure I wasn't making a breaking
change that inadvertenly used APIs that were too modern.

Turns out the test case I wrote for billion laughs was not compatible so
the tests were failing. This just makes it used older APIs so that the
rests of the tests can run.

* fix(removeScriptElement): make namespace aware

Match <*:script> elements that are explicitly namespaced/prefixed with
the SVG namespace or XHTML namespace. We leave intact any other
namespace like a custom <filmmaker:script> script which isn't
executable.

v3.3.3

Toggle v3.3.3's commit message

Verified

This tag was signed with the committer’s verified signature.
SethFalco Seth Falco
3.3.3

v2.8.2

Toggle v2.8.2's commit message

Verified

This tag was signed with the committer’s verified signature.
SethFalco Seth Falco
2.8.2

v2.8.1

Toggle v2.8.1's commit message

Verified

This tag was signed with the committer’s verified signature.
SethFalco Seth Falco
2.8.1