Releases: Shopify/react-native-skia
Releases ยท Shopify/react-native-skia
Release 0.1.118 alpha
What's Changed
- Bump plist from 3.0.4 to 3.0.5 in /package by @dependabot in #362
- Bump ansi-regex from 4.1.0 to 4.1.1 in /package by @dependabot in #361
- Bump ansi-regex from 4.1.0 to 4.1.1 in /example by @dependabot in #360
- Bump plist from 3.0.4 to 3.0.5 in /example by @dependabot in #359
- ๐ Fix DX in example app by @wcandillon in #369
- ๐ Update documentation by @wcandillon in #367
- ๐ Gen-Z Mode by @wcandillon in #336
- ๐ Remove deadcode and refine type by @wcandillon in #370
- Update package description by @wcandillon in #372
- ๐ฆ Fix package post install by @wcandillon in #375
- Box Shadow by @wcandillon in #320
- Fix Drawing component by @wcandillon in #354
- Added SkPicture implementation with SkPictureRecording by @chrfalch in #327
- Fix documentation deployment by @wcandillon in #376
- Clean up examples by @wcandillon in #379
- Upgrade example to rn0.68 by @chrfalch in #378
โ๏ธ useCanvasSize() by @wcandillon in #380- RN 0.68: iOS/Project-file Added change after running pod install by @chrfalch in #382
- Fix regression on main by @wcandillon in #383
- Bump cocoapods-downloader from 1.6.2 to 1.6.3 in /example by @dependabot in #381
Full Changelog: v0.1.115-alpha...v0.1.118-alpha
Release 0.1.115 alpha
Full Changelog: v0.1.113-alpha...v0.1.115-alpha
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