Releases: Shopify/react-native-skia
Release 0.1.107 alpha
What's Changed
- ⬆️ upgrade documentation number by @wcandillon in #231
- Fixed doc search by @wcandillon in #237
- Fixed so that our Gradle works wit Gradle 7 by @chrfalch in #241
- 🎨 Fix gradient position parameter by @wcandillon in #240
- Fixed warnings with types by @chrfalch in #248
- 🎭 Mask Bug Fix by @wcandillon in #245
- [docs] fix typos by @schiller-manuel in #250
- ⬆️ Update doc version by @wcandillon in #251
- 👻 Inner Shadow by @wcandillon in #246
Full Changelog: v0.1.37...v0.1.107-alpha
Release 0.1.106 alpha
What's Changed
- 📗 Fixed doc search by @wcandillon in #237
- 👷 Fixed Gradle to works with Gradle 7 by @chrfalch in #241
- 🎨 Fix gradient position parameter by @wcandillon in #240
Full Changelog: v0.1.105-alpha...v0.1.106-alpha
Release 0.1.105 alpha
What's Changed
- 🐎 Revamped Animation Engine by @chrfalch in #193
- 👤 Drop Shadows by @wcandillon in #217
- 🎭 Masks by @wcandillon in #221
- 📦 FitBox by @wcandillon in #229
- 📗 Documentation improvements by @wcandillon in #215
- 💄 Improve naming of Skia JSI instances @wcandillon in #216
Breaking Changes
The animation system has been updated and we are moving away (deprecating) property callback syntax in favour for our new derived value system. This is implemented in C++ and is fast and efficient:
const Component = () => {
const { width } = useWindowDimensions();
// Create timing loop
const progress = useLoop({
duration: 1000,
easing: Easing.inOut(Easing.cubic),
});
// Animate position of circle
const position = useDerivedValue(
(p) => mix(p, 10, width - (Size + Padding)),
[progress]
);
// Animate radius of circle
const radius = useDerivedValue((p) => 5 + p * 55, [progress]);
return (
<Canvas style={styles.canvas}>
<Fill color="white" />
<Circle cx={position} cy={20} r={radius} color="#DC4C4C" />
</Canvas>
);
};
Consult the Animation section in the documentation for more details!
Full Changelog: v0.1.103-alpha...v0.1.105-alpha
Release 0.1.104 alpha
What's Changed
- Fixed typo in build script by @chrfalch in #166
- Fix build warnings by @wcandillon in #167
- Removed superflous call to create frameworks for iOS - by @chrfalch in #168
- Fixed copy files step for npm package by @chrfalch in #169
- Fixed copy files step for npm package by @chrfalch in #170
- Updated with correct copy directory. by @chrfalch in #171
- Removed checking android deps through configuration by @chrfalch in #172
- Upgrade docs by @wcandillon in #173
- Remove some C casts in favor of static_cast by @wcandillon in #177
- docs: fix typo by @samuel-rl in #176
- Create a github workflow to test pull requests by @ChrisJamesC in #96
- Align Image APIs by @wcandillon in #175
- Add static checking to Reanimated 2 examples by @wcandillon in #190
- Minor refactoring the matrix3 API by @wcandillon in #186
- Draw Glyphs by @wcandillon in #179
- Add TextPath & TextBlob support by @wcandillon in #181
- Fixed failing build in XCode by @chrfalch in #191
- Add TSC to the CI by @wcandillon in #184
- Make workflow name more explicit by @wcandillon in #192
- Fix typo in documentation example by @wcandillon in #197
- Fix blending on iOS by @wcandillon in #198
- Add support for useDataFromBytes by @wcandillon in #203
- Add MakePath1D, MakeLine2D, and MakePath2D by @wcandillon in #185
- Remove duplicate code for circle and rectangle processing by @wcandillon in #213
- Fix font memory issues by @wcandillon in #211
- Backdrop filters by @wcandillon in #196
- Bump prismjs from 1.25.0 to 1.27.0 in /docs by @dependabot in #208
Full Changelog: v0.1.103-alpha...v0.1.104-alpha
Release 0.1.103 alpha
What's Changed
- Fix bug in Coons Patches + API alignement + Example by @wcandillon in #164
- Feature/skia m99 by @chrfalch in #165
- Draw Vertices by @wcandillon in #107
Full Changelog: v0.1.98-alpha...v0.1.103-alpha
Note - Library Developers:
Since we've upgraded to the latest Skia version and made some changes to support Apple M1 Simulator, please follow the upgrade instructions in the repo - Only applies to library developers.
Release 0.1.98 alpha
What's Changed
- Fix bug in Coons Patches + API alignement + Example by @wcandillon in #164
Full Changelog: v0.1.97-alpha...v0.1.98-alpha
Release 0.1.97 alpha
Release 0.1.95 alpha
What's Changed
Full Changelog: v0.1.94-alpha...v0.1.95-alpha
Release 0.1.94 alpha
What's Changed
Full Changelog: v0.1.93-alpha...v0.1.94-alpha
Release 0.1.93 alpha
What's Changed
- ⬆️ Update documentation version by @wcandillon in #154
Full Changelog: v0.1.92-alpha...v0.1.93-alpha