Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(SvgCssUri): support rendering fallback instead of crashing the app when loading invalid content from remote svg file #2196

Conversation

quangkcao
Copy link
Contributor

@quangkcao quangkcao commented Dec 18, 2023

Summary

This crash issue still happening for SvgCssUri component
#1760

Apply similar fix #2071
specifically for SvgCSSUri component to prevent crashes due to invalid svg content

  • What issues does the pull request solve? Please tag them so that they will get automatically closed once the PR is merged
    -> When loading invalid svg uri with SvgCSSUri, the app crashes crashes. For example the content returning html content instead of valid svg content.

  • How did you implement the solution?
    -> Passing the fallback prop to SvgCss where will be render when error being captured

  • What areas of the library does it impact?
    SvgCss and SvgUriCss

Test Plan

Tested manually:

Simulator.Screen.Recording.-.iPhone.14.Pro.Max.-.2023-12-18.at.15.06.26.mp4

Compatibility

OS Implemented
iOS
Android

Checklist

  • I have tested this on a device and a simulator
  • I added documentation in README.md
  • I updated the typed files (typescript)
  • I added a test for the API in the __tests__ folder

@quangkcao quangkcao force-pushed the bugfix/SvgCSSUri-fallback-instead-crash-when-invalid-svg-content branch from a0c2009 to ebf8260 Compare December 18, 2023 23:53
@quangkcao quangkcao marked this pull request as ready for review December 19, 2023 00:01
@quangkcao quangkcao changed the title fix(SvgCSSUri): support rendering fallback or crashing the app when loading invalid content from remote svg file fix(SvgCSSUri): support rendering fallback instead of crashing the app when loading invalid content from remote svg file Dec 19, 2023
@quangkcao quangkcao changed the title fix(SvgCSSUri): support rendering fallback instead of crashing the app when loading invalid content from remote svg file fix(SvgCssUri): support rendering fallback instead of crashing the app when loading invalid content from remote svg file Dec 19, 2023
Copy link
Member

@WoLewicki WoLewicki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀 Thanks for your contribution!

@WoLewicki WoLewicki merged commit ff18553 into software-mansion:main Jan 3, 2024
1 check passed
github-merge-queue bot referenced this pull request in valora-inc/wallet Apr 30, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[react-native-svg](https://togithub.com/react-native-community/react-native-svg)
| [`^13.14.0` ->
`^15.2.0`](https://renovatebot.com/diffs/npm/react-native-svg/13.14.0/15.2.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/react-native-svg/15.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react-native-svg/15.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react-native-svg/13.14.0/15.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-native-svg/13.14.0/15.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>react-native-community/react-native-svg
(react-native-svg)</summary>

###
[`v15.2.0`](https://togithub.com/software-mansion/react-native-svg/releases/tag/v15.2.0)

[Compare
Source](https://togithub.com/react-native-community/react-native-svg/compare/v15.1.0...v15.2.0)

Minor release adding support for RN 0.74 on New Architecture and
introducing some bug fixes. Thank you for your contributions!

#### What's Changed

- feat: add needed changes for RN 0.74 by
[@&#8203;WoLewicki](https://togithub.com/WoLewicki) in
[https://github.com/software-mansion/react-native-svg/pull/2231](https://togithub.com/software-mansion/react-native-svg/pull/2231)
- Fix CMakeLists for Android by
[@&#8203;tjzel](https://togithub.com/tjzel) in
[https://github.com/software-mansion/react-native-svg/pull/2249](https://togithub.com/software-mansion/react-native-svg/pull/2249)
- Adds support to compile react-native-svg against WinAppSDK by
[@&#8203;rozele](https://togithub.com/rozele) in
[https://github.com/software-mansion/react-native-svg/pull/2255](https://togithub.com/software-mansion/react-native-svg/pull/2255)
- feat: bump RN to 0.74 in FabricExample and remove rea hacks by
[@&#8203;WoLewicki](https://togithub.com/WoLewicki) in
[https://github.com/software-mansion/react-native-svg/pull/2262](https://togithub.com/software-mansion/react-native-svg/pull/2262)
- feat: bump RN to 0.74 in Example by
[@&#8203;WoLewicki](https://togithub.com/WoLewicki) in
[https://github.com/software-mansion/react-native-svg/pull/2263](https://togithub.com/software-mansion/react-native-svg/pull/2263)

#### New Contributors

- [@&#8203;tjzel](https://togithub.com/tjzel) made their first
contribution in
[https://github.com/software-mansion/react-native-svg/pull/2249](https://togithub.com/software-mansion/react-native-svg/pull/2249)

**Full Changelog**:
software-mansion/react-native-svg@v15.1.0...v15.2.0

###
[`v15.1.0`](https://togithub.com/software-mansion/react-native-svg/releases/tag/v15.1.0)

[Compare
Source](https://togithub.com/react-native-community/react-native-svg/compare/v15.0.0...v15.1.0)

Minor release including proper support for `react-native-reanimated` to
the library on new architecture by using `dynamic` values for codegen.

##### What's Changed

- feat: use dynamics instead of strings for props that can be either
string or number by [@&#8203;WoLewicki](https://togithub.com/WoLewicki)
in
[https://github.com/software-mansion/react-native-svg/pull/2238](https://togithub.com/software-mansion/react-native-svg/pull/2238)

**Full Changelog**:
software-mansion/react-native-svg@v15.0.0...v15.1.0

###
[`v15.0.0`](https://togithub.com/software-mansion/react-native-svg/releases/tag/v15.0.0)

[Compare
Source](https://togithub.com/react-native-community/react-native-svg/compare/v14.1.0...v15.0.0)

Major release introducing support for visionOS 🎉, some bug fixes
and a BREAKING CHANGE due to
[https://github.com/software-mansion/react-native-svg/pull/2232](https://togithub.com/software-mansion/react-native-svg/pull/2232).
If your app already supports `iOS` >= `12.4` then you can safely upgrade
the version, otherwise, you have to bump it first.

#### What's Changed

- feat: add visionOS support by
[@&#8203;okwasniewski](https://togithub.com/okwasniewski) in
[https://github.com/software-mansion/react-native-svg/pull/2190](https://togithub.com/software-mansion/react-native-svg/pull/2190)
- fix: Correct types for transformsArrayToProps by
[@&#8203;crazyfraggle](https://togithub.com/crazyfraggle) in
[https://github.com/software-mansion/react-native-svg/pull/2193](https://togithub.com/software-mansion/react-native-svg/pull/2193)
- chore: bump examples to 0.73.1 by
[@&#8203;WoLewicki](https://togithub.com/WoLewicki) in
[https://github.com/software-mansion/react-native-svg/pull/2201](https://togithub.com/software-mansion/react-native-svg/pull/2201)
- Fix type exports and enable `isolatedModules` setting to catch it in
`tsc` by [@&#8203;renchap](https://togithub.com/renchap) in
[https://github.com/software-mansion/react-native-svg/pull/2197](https://togithub.com/software-mansion/react-native-svg/pull/2197)
- Fix crash when SVG is unloaded by XAML by
[@&#8203;rozele](https://togithub.com/rozele) in
[https://github.com/software-mansion/react-native-svg/pull/2195](https://togithub.com/software-mansion/react-native-svg/pull/2195)
- fix(SvgCssUri): support rendering fallback instead of crashing the app
when loading invalid content from remote svg file by
[@&#8203;quangkcao](https://togithub.com/quangkcao) in
[https://github.com/software-mansion/react-native-svg/pull/2196](https://togithub.com/software-mansion/react-native-svg/pull/2196)
- fix: Ensure RNSVG.dll is built with proper publisher/versioning
information via new resource file. by
[@&#8203;taenri](https://togithub.com/taenri) in
[https://github.com/software-mansion/react-native-svg/pull/2191](https://togithub.com/software-mansion/react-native-svg/pull/2191)
- Update ios-build-test.yml by
[@&#8203;WoLewicki](https://togithub.com/WoLewicki) in
[https://github.com/software-mansion/react-native-svg/pull/2207](https://togithub.com/software-mansion/react-native-svg/pull/2207)
- fix: visionOS support by
[@&#8203;tomekzaw](https://togithub.com/tomekzaw) in
[https://github.com/software-mansion/react-native-svg/pull/2218](https://togithub.com/software-mansion/react-native-svg/pull/2218)
- fixed [@&#8203;Deprecated](https://togithub.com/Deprecated) warning in
React Native 0.73: 'com.facebook.react.common.StandardCharsets' is
deprecated and marked for removal by
[@&#8203;coder-xiaomo](https://togithub.com/coder-xiaomo) in
[https://github.com/software-mansion/react-native-svg/pull/2208](https://togithub.com/software-mansion/react-native-svg/pull/2208)
- fix: typo on require statement (`WithLocalSvg`) by
[@&#8203;voidsatisfaction](https://togithub.com/voidsatisfaction) in
[https://github.com/software-mansion/react-native-svg/pull/2223](https://togithub.com/software-mansion/react-native-svg/pull/2223)
- fix: Add missing nan value checks for bounds size by
[@&#8203;MatiPl01](https://togithub.com/MatiPl01) in
[https://github.com/software-mansion/react-native-svg/pull/2220](https://togithub.com/software-mansion/react-native-svg/pull/2220)
- chore(deps): bump ip from 1.1.8 to 1.1.9 in /Example by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/software-mansion/react-native-svg/pull/2228](https://togithub.com/software-mansion/react-native-svg/pull/2228)
- feat: bump minimal ios version to 12.4 by
[@&#8203;WoLewicki](https://togithub.com/WoLewicki) in
[https://github.com/software-mansion/react-native-svg/pull/2232](https://togithub.com/software-mansion/react-native-svg/pull/2232)

#### New Contributors

- [@&#8203;okwasniewski](https://togithub.com/okwasniewski) made their
first contribution in
[https://github.com/software-mansion/react-native-svg/pull/2190](https://togithub.com/software-mansion/react-native-svg/pull/2190)
- [@&#8203;crazyfraggle](https://togithub.com/crazyfraggle) made their
first contribution in
[https://github.com/software-mansion/react-native-svg/pull/2193](https://togithub.com/software-mansion/react-native-svg/pull/2193)
- [@&#8203;quangkcao](https://togithub.com/quangkcao) made their first
contribution in
[https://github.com/software-mansion/react-native-svg/pull/2196](https://togithub.com/software-mansion/react-native-svg/pull/2196)
- [@&#8203;taenri](https://togithub.com/taenri) made their first
contribution in
[https://github.com/software-mansion/react-native-svg/pull/2191](https://togithub.com/software-mansion/react-native-svg/pull/2191)
- [@&#8203;coder-xiaomo](https://togithub.com/coder-xiaomo) made their
first contribution in
[https://github.com/software-mansion/react-native-svg/pull/2208](https://togithub.com/software-mansion/react-native-svg/pull/2208)
- [@&#8203;voidsatisfaction](https://togithub.com/voidsatisfaction) made
their first contribution in
[https://github.com/software-mansion/react-native-svg/pull/2223](https://togithub.com/software-mansion/react-native-svg/pull/2223)
- [@&#8203;MatiPl01](https://togithub.com/MatiPl01) made their first
contribution in
[https://github.com/software-mansion/react-native-svg/pull/2220](https://togithub.com/software-mansion/react-native-svg/pull/2220)

**Full Changelog**:
software-mansion/react-native-svg@v14.1.0...v15.0.0

###
[`v14.1.0`](https://togithub.com/software-mansion/react-native-svg/releases/tag/v14.1.0)

[Compare
Source](https://togithub.com/react-native-community/react-native-svg/compare/v14.0.0...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
[@&#8203;WoLewicki](https://togithub.com/WoLewicki) in
[https://github.com/software-mansion/react-native-svg/pull/2175](https://togithub.com/software-mansion/react-native-svg/pull/2175)
- fix `SvgCssUri` fallback by
[@&#8203;myou11](https://togithub.com/myou11) in
[https://github.com/software-mansion/react-native-svg/pull/2171](https://togithub.com/software-mansion/react-native-svg/pull/2171)
- Minor fix to prevent crash when Loaded fires twice by
[@&#8203;rozele](https://togithub.com/rozele) in
[https://github.com/software-mansion/react-native-svg/pull/2180](https://togithub.com/software-mansion/react-native-svg/pull/2180)
- feat: add support for RN 73 by
[@&#8203;WoLewicki](https://togithub.com/WoLewicki) in
[https://github.com/software-mansion/react-native-svg/pull/2181](https://togithub.com/software-mansion/react-native-svg/pull/2181)

#### New Contributors

- [@&#8203;myou11](https://togithub.com/myou11) made their first
contribution in
[https://github.com/software-mansion/react-native-svg/pull/2171](https://togithub.com/software-mansion/react-native-svg/pull/2171)
- [@&#8203;rozele](https://togithub.com/rozele) made their first
contribution in
[https://github.com/software-mansion/react-native-svg/pull/2180](https://togithub.com/software-mansion/react-native-svg/pull/2180)

**Full Changelog**:
software-mansion/react-native-svg@v14.0.0...v14.1.0

###
[`v14.0.0`](https://togithub.com/software-mansion/react-native-svg/releases/tag/v14.0.0)

[Compare
Source](https://togithub.com/react-native-community/react-native-svg/compare/v13.14.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
[#&#8203;2168](https://togithub.com/react-native-community/react-native-svg/issues/2168)
for more information.

#### What's Changed

- enable buildConfig generation to better support AGP8 by
[@&#8203;pvegh](https://togithub.com/pvegh) in
[https://github.com/software-mansion/react-native-svg/pull/2143](https://togithub.com/software-mansion/react-native-svg/pull/2143)
- perf: avoid unnecessary shared_ptr copies in Fabric components by
[@&#8203;javache](https://togithub.com/javache) in
[https://github.com/software-mansion/react-native-svg/pull/2164](https://togithub.com/software-mansion/react-native-svg/pull/2164)
- fix: props are no longer unnecesarily copied in new architecture by
[@&#8203;javache](https://togithub.com/javache) in
[https://github.com/software-mansion/react-native-svg/pull/2163](https://togithub.com/software-mansion/react-native-svg/pull/2163)
- chore(deps): bump
[@&#8203;babel/traverse](https://togithub.com/babel/traverse) from
7.22.8 to 7.23.2 in /Example by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/software-mansion/react-native-svg/pull/2158](https://togithub.com/software-mansion/react-native-svg/pull/2158)
- Build `renderer/components/rnsvg` with `-std=c++20` by
[@&#8203;NickGerleman](https://togithub.com/NickGerleman) in
[https://github.com/software-mansion/react-native-svg/pull/2141](https://togithub.com/software-mansion/react-native-svg/pull/2141)
- chore: bump examples to rn 0.72.6 by
[@&#8203;WoLewicki](https://togithub.com/WoLewicki) in
[https://github.com/software-mansion/react-native-svg/pull/2166](https://togithub.com/software-mansion/react-native-svg/pull/2166)
- \[Windows] Port to Direct2D to remove win2d dependency by
[@&#8203;marlenecota](https://togithub.com/marlenecota) in
[https://github.com/software-mansion/react-native-svg/pull/2052](https://togithub.com/software-mansion/react-native-svg/pull/2052)
- feat: move css to different package for size reduction by
[@&#8203;WoLewicki](https://togithub.com/WoLewicki) in
[https://github.com/software-mansion/react-native-svg/pull/2168](https://togithub.com/software-mansion/react-native-svg/pull/2168)

#### New Contributors

- [@&#8203;pvegh](https://togithub.com/pvegh) made their first
contribution in
[https://github.com/software-mansion/react-native-svg/pull/2143](https://togithub.com/software-mansion/react-native-svg/pull/2143)
- [@&#8203;javache](https://togithub.com/javache) made their first
contribution in
[https://github.com/software-mansion/react-native-svg/pull/2164](https://togithub.com/software-mansion/react-native-svg/pull/2164)
- [@&#8203;NickGerleman](https://togithub.com/NickGerleman) made their
first contribution in
[https://github.com/software-mansion/react-native-svg/pull/2141](https://togithub.com/software-mansion/react-native-svg/pull/2141)

**Full Changelog**:
software-mansion/react-native-svg@v13.14.0...v14.0.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 5pm,every weekend" in timezone
America/Los_Angeles, Automerge - "after 5pm,every weekend" in timezone
America/Los_Angeles.

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/valora-inc/wallet).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMjEuMiIsInVwZGF0ZWRJblZlciI6IjM3LjMyMS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJucG0iLCJyZW5vdmF0ZSJdfQ==-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: valora-bot <[email protected]>
shottah referenced this pull request in zed-io/kolektivo May 15, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[react-native-svg](https://togithub.com/react-native-community/react-native-svg)
| [`^13.14.0` ->
`^15.2.0`](https://renovatebot.com/diffs/npm/react-native-svg/13.14.0/15.2.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/react-native-svg/15.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react-native-svg/15.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react-native-svg/13.14.0/15.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-native-svg/13.14.0/15.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>react-native-community/react-native-svg
(react-native-svg)</summary>

###
[`v15.2.0`](https://togithub.com/software-mansion/react-native-svg/releases/tag/v15.2.0)

[Compare
Source](https://togithub.com/react-native-community/react-native-svg/compare/v15.1.0...v15.2.0)

Minor release adding support for RN 0.74 on New Architecture and
introducing some bug fixes. Thank you for your contributions!

#### What's Changed

- feat: add needed changes for RN 0.74 by
[@&#8203;WoLewicki](https://togithub.com/WoLewicki) in
[https://github.com/software-mansion/react-native-svg/pull/2231](https://togithub.com/software-mansion/react-native-svg/pull/2231)
- Fix CMakeLists for Android by
[@&#8203;tjzel](https://togithub.com/tjzel) in
[https://github.com/software-mansion/react-native-svg/pull/2249](https://togithub.com/software-mansion/react-native-svg/pull/2249)
- Adds support to compile react-native-svg against WinAppSDK by
[@&#8203;rozele](https://togithub.com/rozele) in
[https://github.com/software-mansion/react-native-svg/pull/2255](https://togithub.com/software-mansion/react-native-svg/pull/2255)
- feat: bump RN to 0.74 in FabricExample and remove rea hacks by
[@&#8203;WoLewicki](https://togithub.com/WoLewicki) in
[https://github.com/software-mansion/react-native-svg/pull/2262](https://togithub.com/software-mansion/react-native-svg/pull/2262)
- feat: bump RN to 0.74 in Example by
[@&#8203;WoLewicki](https://togithub.com/WoLewicki) in
[https://github.com/software-mansion/react-native-svg/pull/2263](https://togithub.com/software-mansion/react-native-svg/pull/2263)

#### New Contributors

- [@&#8203;tjzel](https://togithub.com/tjzel) made their first
contribution in
[https://github.com/software-mansion/react-native-svg/pull/2249](https://togithub.com/software-mansion/react-native-svg/pull/2249)

**Full Changelog**:
software-mansion/react-native-svg@v15.1.0...v15.2.0

###
[`v15.1.0`](https://togithub.com/software-mansion/react-native-svg/releases/tag/v15.1.0)

[Compare
Source](https://togithub.com/react-native-community/react-native-svg/compare/v15.0.0...v15.1.0)

Minor release including proper support for `react-native-reanimated` to
the library on new architecture by using `dynamic` values for codegen.

##### What's Changed

- feat: use dynamics instead of strings for props that can be either
string or number by [@&#8203;WoLewicki](https://togithub.com/WoLewicki)
in
[https://github.com/software-mansion/react-native-svg/pull/2238](https://togithub.com/software-mansion/react-native-svg/pull/2238)

**Full Changelog**:
software-mansion/react-native-svg@v15.0.0...v15.1.0

###
[`v15.0.0`](https://togithub.com/software-mansion/react-native-svg/releases/tag/v15.0.0)

[Compare
Source](https://togithub.com/react-native-community/react-native-svg/compare/v14.1.0...v15.0.0)

Major release introducing support for visionOS 🎉, some bug fixes
and a BREAKING CHANGE due to
[https://github.com/software-mansion/react-native-svg/pull/2232](https://togithub.com/software-mansion/react-native-svg/pull/2232).
If your app already supports `iOS` >= `12.4` then you can safely upgrade
the version, otherwise, you have to bump it first.

#### What's Changed

- feat: add visionOS support by
[@&#8203;okwasniewski](https://togithub.com/okwasniewski) in
[https://github.com/software-mansion/react-native-svg/pull/2190](https://togithub.com/software-mansion/react-native-svg/pull/2190)
- fix: Correct types for transformsArrayToProps by
[@&#8203;crazyfraggle](https://togithub.com/crazyfraggle) in
[https://github.com/software-mansion/react-native-svg/pull/2193](https://togithub.com/software-mansion/react-native-svg/pull/2193)
- chore: bump examples to 0.73.1 by
[@&#8203;WoLewicki](https://togithub.com/WoLewicki) in
[https://github.com/software-mansion/react-native-svg/pull/2201](https://togithub.com/software-mansion/react-native-svg/pull/2201)
- Fix type exports and enable `isolatedModules` setting to catch it in
`tsc` by [@&#8203;renchap](https://togithub.com/renchap) in
[https://github.com/software-mansion/react-native-svg/pull/2197](https://togithub.com/software-mansion/react-native-svg/pull/2197)
- Fix crash when SVG is unloaded by XAML by
[@&#8203;rozele](https://togithub.com/rozele) in
[https://github.com/software-mansion/react-native-svg/pull/2195](https://togithub.com/software-mansion/react-native-svg/pull/2195)
- fix(SvgCssUri): support rendering fallback instead of crashing the app
when loading invalid content from remote svg file by
[@&#8203;quangkcao](https://togithub.com/quangkcao) in
[https://github.com/software-mansion/react-native-svg/pull/2196](https://togithub.com/software-mansion/react-native-svg/pull/2196)
- fix: Ensure RNSVG.dll is built with proper publisher/versioning
information via new resource file. by
[@&#8203;taenri](https://togithub.com/taenri) in
[https://github.com/software-mansion/react-native-svg/pull/2191](https://togithub.com/software-mansion/react-native-svg/pull/2191)
- Update ios-build-test.yml by
[@&#8203;WoLewicki](https://togithub.com/WoLewicki) in
[https://github.com/software-mansion/react-native-svg/pull/2207](https://togithub.com/software-mansion/react-native-svg/pull/2207)
- fix: visionOS support by
[@&#8203;tomekzaw](https://togithub.com/tomekzaw) in
[https://github.com/software-mansion/react-native-svg/pull/2218](https://togithub.com/software-mansion/react-native-svg/pull/2218)
- fixed [@&#8203;Deprecated](https://togithub.com/Deprecated) warning in
React Native 0.73: 'com.facebook.react.common.StandardCharsets' is
deprecated and marked for removal by
[@&#8203;coder-xiaomo](https://togithub.com/coder-xiaomo) in
[https://github.com/software-mansion/react-native-svg/pull/2208](https://togithub.com/software-mansion/react-native-svg/pull/2208)
- fix: typo on require statement (`WithLocalSvg`) by
[@&#8203;voidsatisfaction](https://togithub.com/voidsatisfaction) in
[https://github.com/software-mansion/react-native-svg/pull/2223](https://togithub.com/software-mansion/react-native-svg/pull/2223)
- fix: Add missing nan value checks for bounds size by
[@&#8203;MatiPl01](https://togithub.com/MatiPl01) in
[https://github.com/software-mansion/react-native-svg/pull/2220](https://togithub.com/software-mansion/react-native-svg/pull/2220)
- chore(deps): bump ip from 1.1.8 to 1.1.9 in /Example by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/software-mansion/react-native-svg/pull/2228](https://togithub.com/software-mansion/react-native-svg/pull/2228)
- feat: bump minimal ios version to 12.4 by
[@&#8203;WoLewicki](https://togithub.com/WoLewicki) in
[https://github.com/software-mansion/react-native-svg/pull/2232](https://togithub.com/software-mansion/react-native-svg/pull/2232)

#### New Contributors

- [@&#8203;okwasniewski](https://togithub.com/okwasniewski) made their
first contribution in
[https://github.com/software-mansion/react-native-svg/pull/2190](https://togithub.com/software-mansion/react-native-svg/pull/2190)
- [@&#8203;crazyfraggle](https://togithub.com/crazyfraggle) made their
first contribution in
[https://github.com/software-mansion/react-native-svg/pull/2193](https://togithub.com/software-mansion/react-native-svg/pull/2193)
- [@&#8203;quangkcao](https://togithub.com/quangkcao) made their first
contribution in
[https://github.com/software-mansion/react-native-svg/pull/2196](https://togithub.com/software-mansion/react-native-svg/pull/2196)
- [@&#8203;taenri](https://togithub.com/taenri) made their first
contribution in
[https://github.com/software-mansion/react-native-svg/pull/2191](https://togithub.com/software-mansion/react-native-svg/pull/2191)
- [@&#8203;coder-xiaomo](https://togithub.com/coder-xiaomo) made their
first contribution in
[https://github.com/software-mansion/react-native-svg/pull/2208](https://togithub.com/software-mansion/react-native-svg/pull/2208)
- [@&#8203;voidsatisfaction](https://togithub.com/voidsatisfaction) made
their first contribution in
[https://github.com/software-mansion/react-native-svg/pull/2223](https://togithub.com/software-mansion/react-native-svg/pull/2223)
- [@&#8203;MatiPl01](https://togithub.com/MatiPl01) made their first
contribution in
[https://github.com/software-mansion/react-native-svg/pull/2220](https://togithub.com/software-mansion/react-native-svg/pull/2220)

**Full Changelog**:
software-mansion/react-native-svg@v14.1.0...v15.0.0

###
[`v14.1.0`](https://togithub.com/software-mansion/react-native-svg/releases/tag/v14.1.0)

[Compare
Source](https://togithub.com/react-native-community/react-native-svg/compare/v14.0.0...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
[@&#8203;WoLewicki](https://togithub.com/WoLewicki) in
[https://github.com/software-mansion/react-native-svg/pull/2175](https://togithub.com/software-mansion/react-native-svg/pull/2175)
- fix `SvgCssUri` fallback by
[@&#8203;myou11](https://togithub.com/myou11) in
[https://github.com/software-mansion/react-native-svg/pull/2171](https://togithub.com/software-mansion/react-native-svg/pull/2171)
- Minor fix to prevent crash when Loaded fires twice by
[@&#8203;rozele](https://togithub.com/rozele) in
[https://github.com/software-mansion/react-native-svg/pull/2180](https://togithub.com/software-mansion/react-native-svg/pull/2180)
- feat: add support for RN 73 by
[@&#8203;WoLewicki](https://togithub.com/WoLewicki) in
[https://github.com/software-mansion/react-native-svg/pull/2181](https://togithub.com/software-mansion/react-native-svg/pull/2181)

#### New Contributors

- [@&#8203;myou11](https://togithub.com/myou11) made their first
contribution in
[https://github.com/software-mansion/react-native-svg/pull/2171](https://togithub.com/software-mansion/react-native-svg/pull/2171)
- [@&#8203;rozele](https://togithub.com/rozele) made their first
contribution in
[https://github.com/software-mansion/react-native-svg/pull/2180](https://togithub.com/software-mansion/react-native-svg/pull/2180)

**Full Changelog**:
software-mansion/react-native-svg@v14.0.0...v14.1.0

###
[`v14.0.0`](https://togithub.com/software-mansion/react-native-svg/releases/tag/v14.0.0)

[Compare
Source](https://togithub.com/react-native-community/react-native-svg/compare/v13.14.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
[#&#8203;2168](https://togithub.com/react-native-community/react-native-svg/issues/2168)
for more information.

#### What's Changed

- enable buildConfig generation to better support AGP8 by
[@&#8203;pvegh](https://togithub.com/pvegh) in
[https://github.com/software-mansion/react-native-svg/pull/2143](https://togithub.com/software-mansion/react-native-svg/pull/2143)
- perf: avoid unnecessary shared_ptr copies in Fabric components by
[@&#8203;javache](https://togithub.com/javache) in
[https://github.com/software-mansion/react-native-svg/pull/2164](https://togithub.com/software-mansion/react-native-svg/pull/2164)
- fix: props are no longer unnecesarily copied in new architecture by
[@&#8203;javache](https://togithub.com/javache) in
[https://github.com/software-mansion/react-native-svg/pull/2163](https://togithub.com/software-mansion/react-native-svg/pull/2163)
- chore(deps): bump
[@&#8203;babel/traverse](https://togithub.com/babel/traverse) from
7.22.8 to 7.23.2 in /Example by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/software-mansion/react-native-svg/pull/2158](https://togithub.com/software-mansion/react-native-svg/pull/2158)
- Build `renderer/components/rnsvg` with `-std=c++20` by
[@&#8203;NickGerleman](https://togithub.com/NickGerleman) in
[https://github.com/software-mansion/react-native-svg/pull/2141](https://togithub.com/software-mansion/react-native-svg/pull/2141)
- chore: bump examples to rn 0.72.6 by
[@&#8203;WoLewicki](https://togithub.com/WoLewicki) in
[https://github.com/software-mansion/react-native-svg/pull/2166](https://togithub.com/software-mansion/react-native-svg/pull/2166)
- \[Windows] Port to Direct2D to remove win2d dependency by
[@&#8203;marlenecota](https://togithub.com/marlenecota) in
[https://github.com/software-mansion/react-native-svg/pull/2052](https://togithub.com/software-mansion/react-native-svg/pull/2052)
- feat: move css to different package for size reduction by
[@&#8203;WoLewicki](https://togithub.com/WoLewicki) in
[https://github.com/software-mansion/react-native-svg/pull/2168](https://togithub.com/software-mansion/react-native-svg/pull/2168)

#### New Contributors

- [@&#8203;pvegh](https://togithub.com/pvegh) made their first
contribution in
[https://github.com/software-mansion/react-native-svg/pull/2143](https://togithub.com/software-mansion/react-native-svg/pull/2143)
- [@&#8203;javache](https://togithub.com/javache) made their first
contribution in
[https://github.com/software-mansion/react-native-svg/pull/2164](https://togithub.com/software-mansion/react-native-svg/pull/2164)
- [@&#8203;NickGerleman](https://togithub.com/NickGerleman) made their
first contribution in
[https://github.com/software-mansion/react-native-svg/pull/2141](https://togithub.com/software-mansion/react-native-svg/pull/2141)

**Full Changelog**:
software-mansion/react-native-svg@v13.14.0...v14.0.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 5pm,every weekend" in timezone
America/Los_Angeles, Automerge - "after 5pm,every weekend" in timezone
America/Los_Angeles.

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/valora-inc/wallet).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMjEuMiIsInVwZGF0ZWRJblZlciI6IjM3LjMyMS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJucG0iLCJyZW5vdmF0ZSJdfQ==-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: valora-bot <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants