Skip to content

Releases: Shopify/react-native-skia

Release 0.1.107 alpha

14 Mar 08:49
e8532fb
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.1.37...v0.1.107-alpha

Release 0.1.106 alpha

11 Mar 12:23
b66cb9d
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.1.105-alpha...v0.1.106-alpha

Release 0.1.105 alpha

08 Mar 12:01
51b2785
Compare
Choose a tag to compare

What's Changed

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

02 Mar 09:47
1ea28f6
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.1.103-alpha...v0.1.104-alpha

Release 0.1.103 alpha

02 Feb 15:05
590f9e3
Compare
Choose a tag to compare

What's Changed

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

02 Feb 09:42
9912c25
Compare
Choose a tag to compare

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

01 Feb 10:03
202efcb
Compare
Choose a tag to compare

What's Changed

  • fix: Safely and lazily initialize native RNSkia JSI Bindings by @mrousavy in #151
  • Add some trouble shootings for android installation by @yjb94 in #145

New Contributors

Full Changelog: v0.1.95-alpha...v0.1.97-alpha

Release 0.1.95 alpha

01 Feb 09:58
d72299e
Compare
Choose a tag to compare

What's Changed

  • Fixed issue with wrong axis used for text in graph example by @chrfalch in #159

Full Changelog: v0.1.94-alpha...v0.1.95-alpha

Release 0.1.94 alpha

01 Feb 09:56
dffc670
Compare
Choose a tag to compare

What's Changed

  • Fixed issue with symlink already exists error on Android by @chrfalch in #160

Full Changelog: v0.1.93-alpha...v0.1.94-alpha

Release 0.1.93 alpha

28 Jan 15:03
f835461
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.1.92-alpha...v0.1.93-alpha