Seth Falco
71e1f05a7e
chore: prepare v4 stable release ( #2143 )
...
I plan to do the stable release for SVGO v4 today! 💪 (•ᴗ•💪 )
v4.0.0
2025-06-21 16:59:50 +01:00
Seth Falco
4078c13783
chore: increment version to v4.0.0-rc.5 ( #2142 )
v4.0.0-rc.5
2025-06-11 00:42:49 +01:00
Lorfdail
cb3eea80ba
fix( #2140 ): SVGO fails with ERR_UNSUPPORTED_ESM_URL_SCHEME on Windows ( #2141 )
2025-06-09 22:18:29 +01:00
dependabot[bot]
25820964ad
chore(deps): bump streetsidesoftware/cspell-action from 6 to 7 ( #2139 )
2025-06-09 22:16:26 +01:00
Seth Falco
e1252fa488
deps: drop yarn/releases directory ( #2138 )
2025-05-25 16:52:23 +01:00
Seth Falco
feb9b5e069
fix(convertColors): use currentColor instead of currentcolor ( #2137 )
2025-05-22 01:21:30 +01:00
Seth Falco
e645d715d5
performance: small optimization when parsing svgs ( #2133 )
2025-05-11 23:19:37 +01:00
Seth Falco
26d059f3d7
fix: invoke mapNodesToParents lazily ( #2132 )
2025-05-11 15:38:41 +01:00
Sigurd Spieckermann
b761d1b0db
feat: add editor namespace for Boxy SVG ( #2008 )
2025-05-10 23:04:47 +01:00
Seth Falco
31328bc473
chore: add krita namespace to list of editor namespaces ( #2131 )
2025-05-10 20:46:04 +01:00
Seth Falco
bc49681289
test: update regression tests ( #2129 )
2025-05-10 18:04:15 +01:00
Lorfdail
b234eb3442
fix: specify timeout for regression tests for the large files
2025-05-10 17:02:25 +01:00
Seth Falco
11bbb84f1d
chore: increment version to 4.0.0-rc.4 ( #2125 )
2025-05-06 08:46:10 +01:00
Seth Falco
1deb4a742a
chore: increment version to 4.0.0-rc.3 ( #2124 )
v4.0.0-rc.4
2025-05-06 08:17:44 +01:00
Seth Falco
eabc29d159
fix: types for loadConfig and add more tests ( #2123 )
2025-05-06 08:05:09 +01:00
ntnyq
52c09479e9
fix: fix loadConfig types ( #2122 )
2025-05-06 07:13:05 +01:00
Seth Falco
60cbbcce9b
chore: omit unneccesary slugs in docs ( #2121 )
2025-05-05 19:38:05 +01:00
Seth Falco
966f124118
docs: minor revision to wording of migration ( #2120 )
2025-05-05 17:43:50 +01:00
Seth Falco
75dc22b4fb
docs: add migration guide for svgo v4 ( #2119 )
2025-05-05 17:27:55 +01:00
Seth Falco
747cc722d9
chore: revamp how we export types ( #2118 )
v4.0.0-rc.2
2025-05-04 17:39:44 +01:00
Seth Falco
49954bc0d9
chores: various clean ups regardin ESM and TypeScript ( #2117 )
2025-05-03 09:42:29 +01:00
Seth Falco
a8a53dbd90
chore: apply more eslint rules ( #2116 )
2025-05-02 10:00:37 +01:00
Seth Falco
97079fb57e
chore: refactor stringifier.js ( #2115 )
2025-05-01 23:24:24 +01:00
Seth Falco
8c593fab06
chore: bulk update all jsdoc and jsdoctypes ( #2114 )
2025-05-01 22:16:52 +01:00
Seth Falco
9eb3af59f2
chore: drop parentNode property ( #2113 )
2025-05-01 15:59:23 +01:00
Seth Falco
1b4919a0d4
chore: stronger typing for xast/css-select code ( #2112 )
2025-04-30 14:41:07 +01:00
Seth Falco
4573d0178e
chore: migrate plugin types to plugin ( #2111 )
2025-04-30 02:16:53 +01:00
Seth Falco
0ff7f24092
deps: upgrade rollup and @rollup/plugin-commonjs ( #2110 )
2025-04-29 11:07:00 +01:00
Seth Falco
df87725b19
chore: improve jsdoc types and match most files ( #2108 )
2025-04-29 10:35:11 +01:00
Seth Falco
71a1254895
fix: improve jsdoc types and remove excludes ( #2107 )
2025-04-28 22:24:16 +01:00
Lucas Larson
10c4287051
docs: fix dead link in convertTransform.mdx ( #2092 ) ( #2106 )
2025-04-18 10:15:29 +01:00
Seth Falco
dba60b3580
chore: migrate from ts-ignore to ts-expect-error ( #2103 )
2025-04-12 19:41:49 +01:00
Seth Falco
9c8768f64d
ci: add spellcheck ( #2101 )
2025-04-12 16:47:32 +01:00
Seth Falco
d06fffbb2d
chore: upgrade yarn to v3.8.7 ( #2098 )
2025-04-11 23:13:03 +01:00
Seth Falco
e065d1000e
deps: upgrade pixelmatch for performance improvements ( #2102 )
2025-04-11 16:22:50 +01:00
Seth Falco
e9c3be7a27
test: use latest version of svgo-test-suite ( #2100 )
2025-04-11 13:12:32 +01:00
LordArugula
55ae463649
Update links in _transforms.js ( #2092 )
...
docs: fixed dead link in doc comments
2025-04-11 08:14:15 +01:00
Nathan Baulch
0eccff2794
chore: fix various typos across the project
2025-03-22 11:49:01 +00:00
Seth Falco
f3495ff6c9
fix(removeEmptyContainers): skip if filter is applied via styles as well ( #2089 )
...
Fixes a bug where we were too eager to remove empty containers.
We already had logic to skip removing empty containers if it had the
filter attribute, which is needed to apply a filter to the whole area.
However, the filter can also be defined through CSS. We did not
properly handle this case, and treated the node as if it had no filter
at all.
This computes the styles and checks the stylesheet as well. (We also
move the logic down to avoid computing the styles eagerly.)
2024-12-22 16:01:22 +00:00
nuintun
bf97a1f9a9
deps: upgrade css-tree and picocolors ( #2083 )
2024-12-21 23:46:09 +00:00
ntnyq
c372b36296
feat: export type CustomPlugin and PluginConfig ( #2081 )
2024-10-21 17:57:17 +01:00
João Palmeiro
a8472bc45f
chore: export the Output type ( #2076 )
2024-10-02 21:39:45 +01:00
Seth Falco
ab7f518a75
chore: add npm registry server to yarnrc ( #2072 )
2024-09-07 21:10:17 +01:00
Seth Falco
97d7d00add
add: centralize exports to svgo ( #2071 )
v4.0.0-rc.1
2024-09-07 19:26:05 +01:00
Simon Arnell
50fc3c9de5
Updated recursive usage example ( #2070 )
...
Fixes #2069
2024-09-04 20:27:49 +01:00
Seth Falco
9078e8ca08
refactor(cleanupNumbericValues): improve how viewbox is split ( #2046 )
2024-07-02 10:07:57 +01:00
Seth Falco
a59f47b98c
chore(removeScripts): remove redundant regex pattern ( #2045 )
2024-07-02 09:38:35 +01:00
Seth Falco
b8f8d1c655
refactor: dont covert to charcode in iswhitespace ( #2039 )
2024-06-16 13:02:53 +01:00
Seth Falco
abb23bf123
docs: add usage section ( #2038 )
2024-06-16 00:10:42 +01:00
Seth Falco
1348383caa
chore(addAttributesToSVGElement): fix typoes in docs ( #2037 )
2024-06-14 21:44:45 +01:00