This is a brand new version with 2-3x faster performance. It also resolves an issue with a specific SVG causing an error, and all users are advised to upgrade to this version.
The upgrade will be hard due to the big changes made to upstream resvg. resvg 0.28.0 started with the removal of the ability to output SVG string, and we had to backport that functionality to a new crate: usvg-writer.
Eventually, we upgraded resvg for 2 successive versions, and are now at the latest 0.29.0.
Changed
feat: upgrade resvg/usvg to 0.28.0. #194 Thanks to @zimond
feat: upgrade resvg/usvg to 0.29.0. #199 Thanks to @zimond
chore: upgrade rust-toolchain to nightly-2023-02-01. #199 Thanks to @yisibl
chore: remove bench-related dependencies. #200 Thanks to @yisibl
Fixed
fix: 'the previous segment must be M/L/C' error. #204 Thanks to @yisibl
This is a normal error thrown by resvg when parsing Path Command, and has been confirmed as fixed in resvg 0.29.0.
Add a test to ensure it is now fixed.
thread '<unnamed>' panicked at 'the previous segment must be M/L/C'
fix: the defaultFontFamily not working. #208 Thanks to @yisibl
Starting with resvg 0.28.0, the logic for font loading has changed, which causes the family passed in the defaultFontFamily option to not be applied.
[2.4.0] - 2023-02-09
This is a brand new version with 2-3x faster performance. It also resolves an issue with a specific SVG causing an error, and all users are advised to upgrade to this version.
The upgrade will be hard due to the big changes made to upstream resvg. resvg 0.28.0 started with the removal of the ability to output SVG string, and we had to backport that functionality to a new crate: usvg-writer.
Eventually, we upgraded resvg for 2 successive versions, and are now at the latest 0.29.0.
Changed
feat: upgrade resvg/usvg to 0.28.0. #194 Thanks to @zimond
feat: upgrade resvg/usvg to 0.29.0. #199 Thanks to @zimond
chore: upgrade rust-toolchain to nightly-2023-02-01. #199 Thanks to @yisibl
chore: remove bench-related dependencies. #200 Thanks to @yisibl
Fixed
fix: 'the previous segment must be M/L/C' error. #204 Thanks to @yisibl
This is a normal error thrown by resvg when parsing Path Command, and has been confirmed as fixed in resvg 0.29.0.
Add a test to ensure it is now fixed.
thread '<unnamed>' panicked at 'the previous segment must be M/L/C'
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
fatal runtime error: failed to initiate panic, error 5
Add "exports" map for native ESM support (#57): 3ec8e9f, 0949868
Also supports TypeScript's node16/nodenext module resolutionMaintains CommonJS support (with fixed TS definitions)Thank you @remcohaszing~!
Due to startup problems with build engines like ESBuild (e.g. Remix and Vite). We move to a different way of importing the dynamicIconImports. It's now in a separate entry module so compilers won't compile all dynamic imports when loading lucide-react. See #1437
Updated example from v0.260.0
import dynamic from 'next/dynamic'
- import { dynamicIconImports, LucideProps } from 'lucide-react';
+ import { LucideProps } from 'lucide-react';
+ import dynamicIconImports from 'lucide-react/dynamicIconImports';
interface IconProps extends LucideProps {
name: keyof typeof ...
_Description has been truncated_
Bumps the all group with 41 updates:
Updates
@dnd-kit/core
from 6.0.6 to 6.0.8Release notes
Sourced from
@dnd-kit/core
's releases.Changelog
Sourced from
@dnd-kit/core
's changelog.Commits
00f749b
Version Packages (#1039)da888ee
Fix errors in firefox extension when destructuring the window (#1038)880190f
Version Packages (#986)da94c02
React 18\<StrictMode>
tweaks and bug fixes (#788)Updates
@dnd-kit/sortable
from 7.0.1 to 7.0.2Release notes
Sourced from
@dnd-kit/sortable
's releases.Changelog
Sourced from
@dnd-kit/sortable
's changelog.Commits
880190f
Version Packages (#986)da94c02
React 18\<StrictMode>
tweaks and bug fixes (#788)Updates
@fontsource/inter
from 4.5.14 to 5.0.5Commits
Updates
@fontsource/permanent-marker
from 4.5.7 to 5.0.5Commits
Updates
@next/font
from 13.1.1 to 13.4.10Release notes
Sourced from
@next/font
's releases.... (truncated)
Commits
c2a54aa
v13.4.1062aa2d2
v13.4.10-canary.83cde104
v13.4.10-canary.7c569158
v13.4.10-canary.622cb1bf
v13.4.10-canary.52441ad4
v13.4.10-canary.463a6cda
v13.4.10-canary.34e71064
v13.4.10-canary.262c2c5a
v13.4.10-canary.1b2c6bc4
v13.4.10-canary.0Updates
@resvg/resvg-js
from 2.2.0 to 2.4.1Release notes
Sourced from
@resvg/resvg-js
's releases.... (truncated)
Changelog
Sourced from
@resvg/resvg-js
's changelog.... (truncated)
Commits
2347b41
2.4.11b7d7d2
fix: thedefaultFontFamily
not working (#208)70dd96b
Update README.md30ac8d8
2.4.0ecf46ac
test: add error case: 'the previous segment must be M/L/C'5c4dcb7
chore(deps): bump json5 from 1.0.1 to 1.0.25716d33
chore(deps): update yarn to v3.4.15a1b4a1
fix: lock the png version to 0.17.5 to prevent the generated png files from g...184df1e
chore(deps): update dependency husky to v80cbf93f
build(deps): bump http-cache-semantics from 4.1.0 to 4.1.1Updates
@types/node
from 18.11.18 to 20.4.2Commits
Updates
@types/react
from 18.0.26 to 18.2.15Commits
Updates
@types/react-dom
from 18.0.10 to 18.2.7Commits
Updates
@vercel/og
from 0.0.21 to 0.5.9Maintainer changes
This version was pushed to npm by vercel-release-bot, a new releaser for
@vercel/og
since your current version.Updates
clsx
from 1.2.1 to 2.0.0Release notes
Sourced from clsx's releases.
Commits
6232a9e
2.0.023b2ced
2.0.0-next.00949868
fix: include*.d.mts
in pkg zipc520353
chore: addnumbers
tests;03e1cf9
chore: update pkg size3ec8e9f
break: include "exports" map w/ "types" conditions (#57)4a4eadd
chore: readme typo (#68)496db1d
chore: add Tailwind readme section (#65)Updates
eslint
from 8.31.0 to 8.45.0Release notes
Sourced from eslint's releases.
... (truncated)
Changelog
Sourced from eslint's changelog.
... (truncated)
Commits
536cc34
8.45.04c11517
Build: changelog update for 8.45.068f63d7
chore: package.json update for@eslint/js
release89f3225
docs: add playground links to correct and incorrect code blocks (#17306)f8892b5
docs: Expand rule option schema docs (#17198)8bcbf11
docs: Config Migration Guide (#17230)bb30908
docs: Update READMEb79b6fb
fix: Fix suggestion message inno-useless-escape
(#17339)84d243b
docs: Update README5ca9b4d
chore: update eslint-config-eslint exports (#17336)Updates
eslint-config-next
from 13.1.1 to 13.4.10Release notes
Sourced from eslint-config-next's releases.
... (truncated)
Commits
c2a54aa
v13.4.1062aa2d2
v13.4.10-canary.83cde104
v13.4.10-canary.7c569158
v13.4.10-canary.622cb1bf
v13.4.10-canary.52441ad4
v13.4.10-canary.463a6cda
v13.4.10-canary.34e71064
v13.4.10-canary.262c2c5a
v13.4.10-canary.1b2c6bc4
v13.4.10-canary.0Updates
lucide-react
from 0.105.0-alpha.4 to 0.262.0Release notes
Sourced from lucide-react's releases.