Releases: software-mansion/react-native-svg
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
v15.9.0
This release includes two new filters along with numerous minor improvements and fixes. A huge thanks to all contributors! 🚀
- FeDropShadow
- FeComposite
What's Changed
- docs: add entry to supported react-native version by @jakex7 in #2495
- feat: add basic React Server Component support by @EvanBacon in #2287
- docs: improve Example apps by @stanleyoos in #2460
- docs: give E2E own icon by @jakex7 in #2497
- docs: restore PanResponder icon by @jakex7 in #2498
- fix: macOS percentage values and images by @jakex7 in #2496
- chore: improve ci workflow by @jakex7 in #2499
- chore: fix macos ci by @jakex7 in #2501
- chore: remove screens and RNS from macos example app by @jakex7 in #2502
- feat: FeComposite filter by @jakex7 in #2433
- chore: Remove legacy version check in
react-native.config.jsby @lukmccall in #2503 - chore: set yarn version by @jakex7 in #2504
- chore: extract Windows example by @jakex7 in #2505
- chore: upgrade react native in example apps by @jakex7 in #2506
- feat: move examples to ./apps by @jakex7 in #2507
- fix: example types by @jakex7 in #2508
- refactor: rename example to paper-example by @jakex7 in #2509
- fix: iOS E2E action by @jakex7 in #2510
- fix: example apps metro paths by @jakex7 in #2511
- fix: create symlink to common directory by @jakex7 in #2512
- fix: client rect on use element by @jakex7 in #2513
- feat: FeDropShadow by @jakex7 in #2514
- fix: negative dx/dy in feOffset by @jakex7 in #2515
- fix: FeComposite in2 on Android by @jakex7 in #2516
- docs: add Empty screen as playground by @jakex7 in #2517
- chore: update bundler to 2.5.22 by @jakex7 in #2522
- feat: get currentColor from caller instead of parent by @jakex7 in #2521
- chore: fix web-example app path and format examples by @jakex7 in #2524
- fix: update warnUnimplementedFilter list by @jakex7 in #2525
- fix: apple bounding box (CGPathGetPathBoundingBox) by @omeid in #2177
- fix: add default FeBlend mode by @jakex7 in #2530
- fix: [email protected]+ by @jakex7 in #2531
New Contributors
- @stanleyoos made their first contribution in #2460
- @lukmccall made their first contribution in #2503
- @omeid made their first contribution in #2177
Full Changelog: v15.8.0...v15.9.0