Removed createContentItem and JSAPI class from nodes.
All nodes are now plain objects with one exception.
parentNode need to be defined to not break builtin plugins.
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.
All Depfu comment commands
@depfu rebase
Rebases against your default branch and redoes this update
@depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@depfu close
Closes this PR and deletes the branch
@depfu reopen
Restores the branch and reopens this PR (if it's closed)
@depfu pause
Ignores all future updates for this dependency and closes this PR
@depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)
Here is everything you need to know about this upgrade. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳️ svgo (^2.8.0 → ^3.0.0) · Repo · Changelog
Release Notes
3.0.0
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 48 commits:
3.0.0
Update readme
Rename cleanupIDs to cleanupIds for consistency with prefixIds
Remove prefix param from cleanupIDs plugin
Expose typescript types
Loosly cover with types convertPathData
Remove result.info.width and result.info.height
Throw SvgoParserError
Add sortAttrs to default preset
Remove unused active and type fields from plugins
Remove active flag in plugin config
Remove returning ast from invoker
Upgrade csso and csstree
Store builtin plugins as an array
Remove default plugin.params support
Replace list of default plugins with default preset
Drop full, perItem and perItemReverse plugin types
Fix encode without multipass
Drop node 10 require fallback when load config
Drop createContentItem from public api and JSAPI node wrappers
Drop class list handler
Drop all unused jsapi methods and fields
Drop legacy JSAPI style handler
Drop extendDefaultPlugins
Remove `stable` package in favor of native stable sort (#1681)
Upgrade to css-select 5
Update snapshot format
Upgrade checks
Upgrade build
Upgrade to yarn 3
Require node 14+
missing closing quote on plugin-api doc (#1685)
Add `funding` key to package.json (#1662)
README.md: fix broken image link (#1653)
More helpful preset warnings (#1645)
Refactor removeDimensions and removeXMLNS (#1640)
Refactor convertStyleToAttrs (#1635)
Refactor removeNonInheritableGroupAttrs and moveGroupAttrsToElems (#1636)
Refactor applyTransforms (#1637)
Plugin definitive guide (#1624)
Fix branch name in workflow
Correct typo in comment in removeDimensions plugin (#1633)
Rename master branch to main
Fix newline in tests
Improve configuration documentation
Fix extra newline at end of -o - output (#1237)
Replace closestByName utility with visitSkip (#1613)
Shorter commands section (#1620)
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with
@depfu rebase
.All Depfu comment commands