Releases: software-mansion/react-native-svg
v14.1.0
Minor release adding support for RN 0.73 and fixing some bugs 🎉 Thank you for all your contributions!
What's Changed
- fix: remove unused header causing problems by @WoLewicki in #2175
- fix
SvgCssUri
fallback by @myou11 in #2171 - Minor fix to prevent crash when Loaded fires twice by @rozele in #2180
- feat: add support for RN 73 by @WoLewicki in #2181
New Contributors
Full Changelog: v14.0.0...v14.1.0
v14.0.0
Major release introducing some minor improvements and a BREAKING CHANGE. From now on, you should import
SvgCss,
SvgCssUri,
SvgWithCss,
SvgWithCssUri,
inlineStyles,
LocalSvg,
WithLocalSvg,
loadLocalRawResource,
from react-native-svg/css
package instead. See #2168 for more information.
What's Changed
- enable buildConfig generation to better support AGP8 by @pvegh in #2143
- perf: avoid unnecessary shared_ptr copies in Fabric components by @javache in #2164
- fix: props are no longer unnecesarily copied in new architecture by @javache in #2163
- chore(deps): bump @babel/traverse from 7.22.8 to 7.23.2 in /Example by @dependabot in #2158
- Build
renderer/components/rnsvg
with-std=c++20
by @NickGerleman in #2141 - chore: bump examples to rn 0.72.6 by @WoLewicki in #2166
- [Windows] Port to Direct2D to remove win2d dependency by @marlenecota in #2052
- feat: move css to different package for size reduction by @WoLewicki in #2168
New Contributors
- @pvegh made their first contribution in #2143
- @javache made their first contribution in #2164
- @NickGerleman made their first contribution in #2141
Full Changelog: v13.14.0...v14.0.0
v13.14.0
PR adding improvements to the library. Thanks for all your contributions 🚀
What's Changed
- Create FUNDING.yml by @aleqsio in #2133
- docs: Update deprecated expo install instructions to `npx expo install´ by @GabrieldosSantosOliveira in #2128
- [macOS][Xcode 15] Avoid using dirtyRect in
drawRect:
by @Saadnajmi in #2136 - fix: error for transform on web by @WoLewicki in #2139
- chore(deps): bump activesupport from 6.1.7.4 to 7.0.7.2 in /TestsExample by @dependabot in #2122
- fix: web not working with reanimated in example by @WoLewicki in #2140
New Contributors
- @aleqsio made their first contribution in #2133
- @GabrieldosSantosOliveira made their first contribution in #2128
- @Saadnajmi made their first contribution in #2136
Full Changelog: v13.13.0...v13.14.0
v13.13.0
Minor release restoring usage of UIGraphicsBeginImageContextWithOptions
on macOS
since there is no implementation for UIGraphicsImageRendererFormat
there yet.
What's Changed
- feat: add macos back to Example app by @WoLewicki in #2119
Full Changelog: v13.12.0...v13.13.0
v13.12.0
Minor release introducing the change of API used on iOS
from UIGraphicsBeginImageContextWithOptions to UIGraphicsImageRenderer.
What's Changed
- feat: remove UIGraphicsBeginImageContextWithOptions from repo by @WoLewicki in #2117
Full Changelog: v13.11.0...v13.12.0
v13.11.0
Minor release cleaning the repository 🧹 Please submit any issues that come up with the newest version 🐛 Thanks for your contributions 🚀
What's Changed
- fix: make web platform types compatible with native types by @nderscore in #2091
- docs: update usage.md for react-native 0.72 by @Letty in #2104
- docs: update README.md by @Mhp23 in #2110
- fix: bump packages, eslint, tsconfig, prettier and resolve all conflicts by @WoLewicki in #2114
New Contributors
- @nderscore made their first contribution in #2091
- @Letty made their first contribution in #2104
- @Mhp23 made their first contribution in #2110
Full Changelog: v13.10.0...v13.11.0
v13.10.0
Minor release fixing some long-standing issues, adding new features such as web support for toDataURL
(#2072) and fallback
prop for SvgXml
and others (#2071). It also adds support for RN 0.72 on new architecture, at the same time dropping the support for RN 0.71 there. Thanks for all your contributions 🚀
What's Changed
- Fix compilation errors on Windows by @christophpurrer in #2045
- Fix setNativeProps type by @fauri13 in #2058
- fix: remove deprecated import from react-native-web by @janlat in #2027
- fix: Updating iOS version #2038 by @sgabriel in #2041
- Fix syntax error in RNSVGImageShadowNode::initialStateData by @hsjoberg in #2079
- Fix #1345: opacity does not work with currentColor on Android by @laptou in #2080
- chore: bump Example to 0.72 by @WoLewicki in #2084
- chore(deps): bump fast-xml-parser from 4.1.3 to 4.2.4 in /TestsExample by @dependabot in #2063
- chore(deps): bump vm2 from 3.9.14 to 3.9.19 by @dependabot in #2056
- chore(deps): bump fast-xml-parser from 4.2.4 to 4.2.5 in /TestsExample by @dependabot in #2085
- Add web support for toDataURL() on svg tags by @chrispader in #2072
- Prevents SvgUri crashes when uri is invalid and adds fallback prop by @PiotrWszolek in #2071
- chore: run prettier and lint by @WoLewicki in #2087
- chore: bump TestsExample to 0.72 by @WoLewicki in #2088
- feat: strokeDasharray with Animated by @WoLewicki in #2089
New Contributors
- @christophpurrer made their first contribution in #2045
- @fauri13 made their first contribution in #2058
- @janlat made their first contribution in #2027
- @sgabriel made their first contribution in #2041
- @laptou made their first contribution in #2080
- @chrispader made their first contribution in #2072
- @PiotrWszolek made their first contribution in #2071
Full Changelog: v13.9.0...v13.10.0
v13.9.0
Minor release introducing marker
support for elements on Android
, adding accessibility props needed also for e2e testing and fixing many issues in the repo 🎉 Thanks to all contributors!
What's Changed
- chore: update Example to newest react-native version by @WoLewicki in #1999
- Upgrade rn-builder-bob to enable tree-shaking in rn-web by @merrywhether in #1993
- add accessibility and testId props and virtual nodes to support e2e tests tools by @toter3 in #2001
- fix onLayout by @toter3 in #1998
- Don't set
self.opaque = false
on macOS by @hsjoberg in #2008 - Fix SVG parsing when the closing tags include whitespace by @MichalSzorad in #2012
- chore: set library namespace in build script by @kkafar in #2005
- fix: make image props extend CommonPathProps by @andev240 in #2007
- fix: mask render on android by @Aflexon in #1981
- fix: remove unnecessary methods provided by superclasses for accessibility by @WoLewicki in #2013
- chore(deps): bump http-cache-semantics from 4.1.0 to 4.1.1 by @dependabot in #1982
- chore(deps): bump @xmldom/xmldom from 0.7.6 to 0.7.9 by @dependabot in #2004
- fix #1592 : add marker support on Rect, Line, Ellipse, Circle and Group by @mlecoq in #1594
- fix: scale path markers so they match ios by @WoLewicki in #2018
- fix: read svg file on android by @vicke4 in #2016
New Contributors
- @merrywhether made their first contribution in #1993
- @toter3 made their first contribution in #2001
- @hsjoberg made their first contribution in #2008
- @MichalSzorad made their first contribution in #2012
- @kkafar made their first contribution in #2005
- @andev240 made their first contribution in #2007
- @Aflexon made their first contribution in #1981
- @mlecoq made their first contribution in #1594
- @vicke4 made their first contribution in #2016
Full Changelog: v13.8.0...v13.9.0
v13.8.0
Minor release bringing Fabric support to RN v0.71 🎉
What's Changed
- feat: update FabricExample to 0.71.0-rc.6 by @WoLewicki in #1962
- chore: ensure consistent use of
import type
by @tido64 in #1971 - chore: change fabric flag by @WoLewicki in #1979
New Contributors
Full Changelog: v13.7.0...v13.8.0