Releases: Shopify/react-native-skia
Release 0.0.135 alpha
What's Changed
- Improve and document jest mock setup by @wcandillon in #651
- Upgrade to CanvasKit 0.35 by @wcandillon in #650
- Improve Readme by @wcandillon in #653
- Add extrapolation to interpolatePaths() by @wcandillon in #662
- Fix version field in package.json by @wcandillon in #664
- getTextWidth() by @wcandillon in #665
- Improve mock coverage by @wcandillon in #655
- Fixed example pod install error by @chrfalch in #668
- Fix Example project on React Native Web by @wcandillon in #671
- React Native Web fixes by @wcandillon in #672
- Update comment in the webpack config by @wcandillon in #669
Full Changelog: v0.1.134-alpha...v0.0.135-alpha
Release 0.1.134 alpha
What's Changed
- Added correct namespace qualifier to .mm file by @chrfalch in #629
- Update morphology.md by @filipfrlic in #632
- Deprecates useDerivedValue in favor of useComputedValue by @wcandillon in #633
- Add Reanimated 2 to the example project by @wcandillon in #634
- Added correct resolving of React Native AAR file in 0.69 by @chrfalch in #647
- fix matrix constructor to accept a readonly array by @wcandillon in #646
- Add Mock by @wcandillon in #645
- Factorize Data Loading by @wcandillon in #619
New Contributors
- @filipfrlic made their first contribution in #632
Full Changelog: v0.1.133-alpha...v0.1.134-alpha
Release 0.1.133 alpha
What's Changed
- CanvasKit Adjustments by @wcandillon in #601
- Keep the RN Web Canvas mounted by @wcandillon in #602
- Fix DrawGlyphs on Web by @wcandillon in #603
- [Android]: Added test to avoid invalidating the surface when size is zero by @chrfalch in #604
- Fix enum related bugs by @wcandillon in #607
- Add Stroke Join test by @wcandillon in #606
- Fix regression with uniform processing by @wcandillon in #613
- Fix bogus filename by @wcandillon in #614
- Add missing JsiSkImage methods by @wcandillon in #615
- Remove unnecessary configuration directive by @wcandillon in #597
- Fix path.toCmd() & interpolate() by @wcandillon in #608
Full Changelog: v0.1.132-alpha...v0.1.133-alpha
Release 0.1.132 alpha
What's Changed
- Export missing SkFont::getSize() method by @wcandillon in #591
- Fixed regression on Android in RNSkLog by @chrfalch in #592
- Deprecate measureText by @wcandillon in #593
Deprecations
- Deprecated SkFont.measureText - use getGlyphWidths instead
Full Changelog: v0.1.131-alpha...v0.1.132-alpha
Release 0.1.131 alpha
What's Changed
- Add support for imperative API on Web by @wcandillon in #520
- Fix Path Chaining by @wcandillon in #525
- Data -> SkData by @wcandillon in #526
- Decouple Skia from Reconciller by @wcandillon in #530
- Bump simple-plist from 1.3.0 to 1.3.1 in /package by @dependabot in #533
- Added polyfill for Path.addCircle by @chrfalch in #535
- Fontmgr Polyfill by @wcandillon in #534
- Fixed context for the requestAnimationFrame usage in animations by @chrfalch in #536
- fix drawColor on iOS and Android by @wcandillon in #538
- Fix drawPoints on RN Web by @wcandillon in #542
- Fix Coons Patch on RN Web by @wcandillon in #543
- Improve Skia Loading on RN Web by @wcandillon in #541
- Remove unused files by @wcandillon in #545
- Update Neumorphic demo by @wcandillon in #546
- Added RN Web target by @chrfalch in #531
- Update hello world demo by @wcandillon in #549
- Added npm and issues link icons to README header. by @chrfalch in #562
- Align start commands in example project by @wcandillon in #560
- docs: add Android proguard rules in installation guide by @thespacemanatee in #559
- Moved initialization of dimensions to useWindowDimensions() hook by @chrfalch in #558
- Fix back button not showing in RNWeb by @chrfalch in #555
- Add support for uniforms in Runtime Shaders by @wcandillon in #561
- Fix matrix property by @wcandillon in #547
- Fixes in the React Native Web implementation by @wcandillon in #550
- Added id field to touch events so that we can track touch events across time by @chrfalch in #554
- RNWeb: Add touch handling and fix render loop by @chrfalch in #557
- Add useMultiTouchHandler hook by @chrfalch in #563
- Fix typo by @Chasty in #564
- Bugfix: useRawData internal cache purge by @flo-sch in #573
- Refactor text path factory method by @wcandillon in #566
- Fix rotation unit on React Native Web by @wcandillon in #565
- Refactor Skia Web folder by @wcandillon in #569
- Fix path.interpolate signature by @wcandillon in #567
- iOS: Fixed compile warning in JsiSkShaderBuilder.h by @chrfalch in #575
- Fix Image loading on RN Web by @wcandillon in #581
- Fix BoxFit for non images by @wcandillon in #580
- interpolatePaths by @wcandillon in #570
- Deprecate memoization only hooks by @wcandillon in #577
- Make canvas changes testable by @wcandillon in #578
- Add support for SkData::fromBase64() by @wcandillon in #582
- MakeFreeTypeFaceFromData should return null when inner typeface object is null by @chrfalch in #585
- #584 Deprecate JsiSkTypeface bold italic props by @chrfalch in #586
- Deprecate the FontMgr by @wcandillon in #587
- Fixed wrong font used in AnimatedTextOnPath by @chrfalch in #589
- Removed unused code path from useFont by @chrfalch in #590
Deprecations
The React Native Skia API is continuously improving, and the following methods are now deprecated and will be removed in a future release:
- usePaint, usePath, useSvgPath, useTextPath since they were really only memoizations that should be implemented with
useMemo
. - bold/italic props on SkTypeface are deprecated
- Font manager is deprecated.
New Contributors
- @thespacemanatee made their first contribution in #559
- @Chasty made their first contribution in #564
- @flo-sch made their first contribution in #573
Full Changelog: v0.1.130-alpha...v0.1.131-alpha
Release 0.1.130 alpha
What's Changed
- Upgrade skia to Release M103 by @chrfalch in #519
- Fix some build errors from expo go integration by @Kudo in #523
- Added script for removing patch-package from postinstall in npm-build by @chrfalch in #524
Breaking change
All of the makeShader
functions associated with RuntimeEffect
no longer take an isOpaque
parameter. These functions will now make a best effort to determine if your shader always produces opaque output, and optimize accordingly.
New Contributors
Full Changelog: v0.1.129-alpha...v0.1.130-alpha
Release 0.1.129 alpha
What's Changed
- Decouple compatibility layer by @wcandillon in #501
- Fix/283 on error callback use image by @chrfalch in #503
- Fix DataSource type by @wcandillon in #509
- Fix Skia type implementation by @wcandillon in #506
- Fix example regressions with float rect values by @wcandillon in #500
- 📚 Fix typo in the docs by @wcandillon in #511
- Rename SkiaValue to SkiaMutableValue and SkiaReadonlyValue to SkiaValue by @wcandillon in #483
- Export DependencyManager by @michalsek in #514
- 📋 CanvasKit Compatibility Layer by @wcandillon in #495
- Added support for passing null/undefiend as parameters to useData by @chrfalch in #518
New Contributors
- @michalsek made their first contribution in #514
Full Changelog: v0.1.128-alpha...v0.1.129-alpha
Release 0.1.128 alpha
What's Changed
Full Changelog: v0.1.127-alpha...v0.1.128-alpha
Release 0.1.127 alpha
What's Changed
- Fix regression with 2d transforms by @wcandillon in #502
Full Changelog: v0.1.126-alpha...v0.1.127-alpha
Release 0.1.126 alpha
What's Changed
- Fix useDerivedValue() regression by @wcandillon in #497
- Fix back navigation on the wallet example by @wcandillon in #499
Full Changelog: v0.1.125-alpha...v0.1.126-alpha