Releases: software-mansion/react-native-svg
v15.15.0
In this version, we've improved handling touches, emojis in Text, and rendering elements in ForeignObject, along with numerous other fixes and enhancements.
What's Changed
- fix: parse doctype correctly by @otech47 in #2798
- fix: null object reference inside group getPath by @kacperzolkiewski in #2800
- fix: CMake project name by @jakex7 in #2804
- feat: Add 16kb page size support to CMake by @jakex7 in #2805
- fix: setting letterSpacing prop by @kacperzolkiewski in #2807
- fix: setting invMatrix during setTransforms for iOS by @kacperzolkiewski in #2810
- chore: upgrade tests-example to [email protected] by @kacperzolkiewski in #2794
- fix: add inheritance for properties from parent into Mask and ClipPath by @kacperzolkiewski in #2757
- chore: upgrade macos workflows by @kacperzolkiewski in #2789
- fix: E2E tests by @kacperzolkiewski in #2788
- chore: upgrade react-native-reanimated to v4 by @kacperzolkiewski in #2795
- fix: change runs-on to ubuntu for E2E Android by @kacperzolkiewski in #2793
- fix: preserve camelCase for specific attributes in setNativeProps by @kacperzolkiewski in #2791
- fix: deprecate unused fontData prop by @kacperzolkiewski in #2753
- chore: bump tests-example react-native version to 0.83.0-rc.0 by @kacperzolkiewski in #2824
- test: add ForeignObject example by @kacperzolkiewski in #2826
- fix: Respect RN view layout and transforms within ForeignObject by @kacperzolkiewski in #2811
- fix: ForeignObject re-render on Android by @kacperzolkiewski in #2823
- fix: propagate elements metrics to their shadow nodes by @kacperzolkiewski in #2802
- fix: drawing unicode emojis on iOS by @kacperzolkiewski in #2785
- fix: invalidate ForeignObject to properly render Text component by @kacperzolkiewski in #2815
- fix: setting multiple transform attributes at once by @kacperzolkiewski in #2816
New Contributors
Full Changelog: v15.14.0...v15.15.0
v15.14.0
This version improves performance on iOS and Windows, and includes some minor fixes and improvements.
What's Changed
- fix: update supported RN versions in docs by @kacperzolkiewski in #2767
- chore: Upgrade tests app by @kacperzolkiewski in #2737
- fix: propagate properties to nested Svg elements by @kacperzolkiewski in #2761
- fix: add proper handling of percentage lengths by @kacperzolkiewski in #2756
- chore: bump fabric-example react-native version to 0.81.4 by @kacperzolkiewski in #2773
- perf: [Windows] [Paper] Cache common graphics device resources in shared DirectXDeviceManager by @taenri in #2740
- fix: default opacity value for apple by @kacperzolkiewski in #2760
- feat: add onLoad call in SvgWithCssUri component by @kacperzolkiewski in #2751
- fix: scalling width and height in marker on Android by @kacperzolkiewski in #2781
- fix: remove setting opacity with self keyword inside RNSVGNode by @kacperzolkiewski in #2774
- fix: pointerEvents handling on iOS by @kacperzolkiewski in #2787
- fix: memory leak of a CGPathRef by @greghe in #1649
- fix: memory leaks on iOS by @kacperzolkiewski in #2782
- fix: positioning element inside viewbox by @kacperzolkiewski in #2758
New Contributors
Full Changelog: v15.13.0...v15.14.0
v15.13.0
This version includes some minor fixes and improvements, drops support for old RN versions and brings back macOS support.
What's Changed
- fix: handle error when defining a nil reference by @bohdanprog in #2717
- feat: Drop support for React Native <0.78 by @kacperzolkiewski in #2734
- fix: macOS Pattern crash and bump example app by @kacperzolkiewski in #2742
- feat: add handling pod install failure in apple CI by @kacperzolkiewski in #2747
- fix: prevent parent expansion by skipping width/height setting to 100% on absolute SVG by @kacperzolkiewski in #2752
- fix: nullPointerException in GroupView when drawing bitmap on Android 10 and older by @OmalPerera in #2694
- feat: replace OnLayoutEvent with SvgOnLayoutEvent by @kacperzolkiewski in #2738
New Contributors
- @kacperzolkiewski made their first contribution in #2734
- @OmalPerera made their first contribution in #2694
Full Changelog: v15.12.1...v15.13.0
v15.12.1
This version adds support for [email protected] as well as some small fixes and improvements.
What's Changed
- feat: Set compile options using
target_compile_reactnative_optionsby @jakex7 in #2710 - chore: format CMakeLists.txt by @jakex7 in #2711
- chore: use
target_compile_definitionsinstead of appending toCMAKE_CXX_FLAGSby @jakex7 in #2713 - chore: Rename
RNS_toRNSVG_prefixes by @jakex7 in #2714 - chore: turn off Hermes in paper-macos-example by @bohdanprog in #2719
- fix: Use std::shared_ptr instead of SharedImageManager by @christophpurrer in #2723
- chore: Add deprecation comments near separate transform props by @MatiPl01 in #2725
- chore: Update tests-example to [email protected] by @jakex7 in #2727
Full Changelog: v15.12.0...v15.12.1
v15.12.0
This version includes some minor fixes and improvements, and also prepares for [email protected]
What's Changed
- chore(apple): fix build issues caught internally by @Saadnajmi in #2629
- Fix(windows): svg erroring with navigation call by @TatianaKapos in #2630
- fix(windows): svgs being rendered blurry when at high dpi by @acoates-ms in #2640
- chore: upgrade tests-example to [email protected] by @jakex7 in #2652
- fix: web exports on prepare file by @migueldaipre in #2430
- docs: fix incorrect imports by @achrinza in #2656
- fix: types to support react 19 by @ismarbesic in #2657
- fix: animating single strokeDasharray on Android by @jakex7 in #2645
- Remove explicit value for
usesMapBufferForStateDatatemplate parameter by @NickGerleman in #2668 - fix: use
providers.execto enableconfiguration-cacheby @lukmccall in #2677 - chore: silence irrelevant codegen warnings by @tjzel in #2680
- chore: Upgrade react-native to 0.79.2 in fabric-example by @jakex7 in #2684
New Contributors
- @TatianaKapos made their first contribution in #2630
- @migueldaipre made their first contribution in #2430
- @achrinza made their first contribution in #2656
- @ismarbesic made their first contribution in #2657
Full Changelog: v15.11.2...v15.12.0
v15.11.2
Added support [email protected] along with some fixes and improvements.
What's Changed
- feat: make
svgViewgetter public by @latekvo in #2583 - fix: properly handle touch events outside the Svg by @jakex7 in #2611
- fix: ios build CI by @jakex7 in #2605
- chore: upgrade react-native to 0.77.0-rc.7 by @jakex7 in #2618
- fix: don't set zero dimensions on RNSVGGroup by @jakex7 in #2612
- chore: bump package and tests-example to [email protected] by @jakex7 in #2621
- fix: FeDropShadow results and import react by @jakex7 in #2625
- feat: support [email protected] by @jakex7 in #2619
Full Changelog: v15.11.1...v15.11.2
v15.11.1
v15.11.0
Get ready for [email protected], which includes some minor fixes and improvements.
On the new architecture, onLayout will now fire only once and provide the correct dimensions.
What's Changed
- refactor: use old style switch statement in FeCompositeView.java by @mrtawil in #2562
- chore: bump TestsExample to [email protected] by @jakex7 in #2556
- fix: currentColor overflow by @jakex7 in #2570
- feat: add codegen
ios.componentProviderby @jakex7 in #2572 - feat: custom shadow nodes by @jakex7 in #2568
- remove: *.metal from podspec source_files by @jakex7 in #2576
- fix: currentColor stale value by @boazarad88 in #2573
- test: fix e2e tests by @jakex7 in #2578
- chore: fabric macos example CI by @jakex7 in #2579
- feat: allow single quote ID wrapper by @jakex7 in #2580
- feat: use yoga::StyleLength instead of yoga::value on 77+ by @jakex7 in #2582
- chore: bump react-native and other packages by @jakex7 in #2598
- fix: remove package from AndroidManifest.xml by @jakex7 in #2600
- chore: update generated specs for the old architecture to work on 0.77 by @jakex7 in #2586
- chore: bump tests-example to [email protected] by @jakex7 in #2601
- refactor: update eslint disable comments after config changes by @jakex7 in #2602
- fix: CMake flags by @jakex7 in #2603
New Contributors
- @mrtawil made their first contribution in #2562
- @boazarad88 made their first contribution in #2573
Full Changelog: v15.10.1...v15.11.0
v15.10.1
v15.10.0
This release focuses primarily on bug fixes and minor enhancements.
What's Changed
- fix: filters memory leak on apple by @jakex7 in #2534
- fix: react-native-windows implementation for new architecture by @acoates-ms in #2527
- fix: remove fill and stroke when its unset by @jakex7 in #2536
- refactor: use old style switch statement by @jakex7 in #2538
- chore: fix paper-macos-example workflow by @jakex7 in #2539
- feat: update SvgPackage to supported stable API's by @javache in #2541
- fix: [email protected] sourceSet to maintain support by @jakex7 in #2543
- fix: resolve transforms on new architecture by @jakex7 in #2542
- fix: getBBox size by @jakex7 in #2549
- fix: animated transform last frame by @jakex7 in #2553
- refactor: replace deprecated processTransform by @jakex7 in #2554
- feat: make
RenderableView.hitTestpublic to create a cross-library interface by @latekvo in #2555 - fix: FeComposite add default value for k1...4 by @jakex7 in #2557
New Contributors
- @acoates-ms made their first contribution in #2527
- @latekvo made their first contribution in #2555
Full Changelog: v15.9.0...v15.10.0