Releases: Shopify/react-native-skia
Release 0.1.113 alpha
What's Changed
- enable C++17 for iOS build by @schiller-manuel in #364
- Update documentation notes by @wcandillon in #365
- Publish on NPM by @wcandillon in #366
Full Changelog: v0.1.111-alpha...v0.1.113-alpha
Release 0.1.111 alpha
What's Changed
- ⬆️ Upgrade version number by @wcandillon in #322
- 💄 ITypeface -> SkTypeface by @wcandillon in #328
- cache default font manager in canvas by @schiller-manuel in #339
- fixed param name in usePaint by @schiller-manuel in #338
- Fix indices property in Vertices by @wcandillon in #335
- Added fix to make sure the python command is valid by @chrfalch in #331
- cleanup includes by @schiller-manuel in #288
- Upgraded to version m101 of Skia by @chrfalch in #332
- fix Transform example by @schiller-manuel in #309
- Clarify normalized coordinates in SKGL by @wcandillon in #342
- allow arrays for uniforms by @schiller-manuel in #348
- validate uniform index by @schiller-manuel in #347
- Fix regression in main by @wcandillon in #351
- use move semantics by @schiller-manuel in #340
- use reserve for std::vector by @schiller-manuel in #346
- fix offset in updateTouchPoints on Android by @schiller-manuel in #349
- Clean up unused examples by @wcandillon in #344
- 💄 Minor shader improvement by @wcandillon in #356
- Fixed regression on Androd after merging std::move branch by @chrfalch in #358
- Build JS code by @wcandillon in #353
- Fix build npm package step by @wcandillon in #363
Full Changelog: v0.1.109-alpha...v0.1.111-alpha
Release 0.1.109 alpha
What's Changed
- Remove fps values by @wcandillon in #284
- fix duplicate stream by @schiller-manuel in #289
- 💄update default tile mode for backdrop filter by @wcandillon in #282
- 🐎 Consolidate Spring function by @wcandillon in #269
- ✅ completion callback to spring and timing by @wcandillon in #272
- 💄 Fix memoization issues by @wcandillon in #266
- 💄 Update useDerivedValue signature by @wcandillon in #265
- 🐞 Fix Bad Access exception by @chrfalch in #275
- explicitly set font color in example app by @schiller-manuel in #291
- use std::unordered_map instead of std::map by @schiller-manuel in #292
- simplify SkiaView by @schiller-manuel in #285
- 🐛 Fix useTouchHandler useDrawCallback memoization by @wcandillon in #267
- ⬆️ Upgrade TS version by @wcandillon in #294
- Bump minimist from 1.2.5 to 1.2.6 in /package by @dependabot in #298
- Bump minimist from 1.2.5 to 1.2.6 in /docs by @dependabot in #297
- Bump minimist from 1.2.5 to 1.2.6 in /example by @dependabot in #296
- Bump node-forge from 1.2.1 to 1.3.0 in /docs by @dependabot in #295
- Fixed unlocking when an error occurs in the js drawing code. by @chrfalch in #303
- Added resetting of velocity between touch start/end by @chrfalch in #300
- Fixed warnings after removing fps by @chrfalch in #314
- Fix minor regressions in the examples by @wcandillon in #312
- fix typos by @schiller-manuel in #316
- Alternative value subscription implementation by @wcandillon in #310
Full Changelog: v0.1.108-alpha...v0.1.109-alpha
Release 0.1.108 alpha
What's Changed
- ⬆️ upgrade docs version by @wcandillon in #253
- 📖 Documentation improvements by @wcandillon in #256
- Make iOS installation step consistent by @wcandillon in #258
- 🏎 Background Thread Skia Rendering by @chrfalch in #254
- 🐙 Substancial reconciller improvements by @wcandillon in #227
- 💄 Fix node prefix by @wcandillon in #271
- fix reference to wrong class by @schiller-manuel in #274
- fix typo in file name by @schiller-manuel in #276
- fix typos in docs by @schiller-manuel in #277
Full Changelog: v0.1.107-alpha...v0.1.108-alpha
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