Skip to content

Releases: mrousavy/react-native-blurhash

Release 1.1.4

05 Mar 11:19
Compare
Choose a tag to compare

1.1.4 (2021-03-05)

Release 1.1.3

25 Feb 15:48
Compare
Choose a tag to compare

1.1.3 (2021-02-25)

Release 1.1.2

25 Feb 14:30
Compare
Choose a tag to compare

1.1.2 (2021-02-25)

Release 1.1.1

25 Feb 14:07
Compare
Choose a tag to compare

1.1.1 (2021-02-25)

Release 1.1.0

25 Feb 14:05
Compare
Choose a tag to compare

1.1.0 (2021-02-25)

Class Component

16 Dec 08:38
Compare
Choose a tag to compare

This release fixes a regression in which the <Blurhash> component has been converted to a FunctionComponent (FC<P,S,SS>).

  • Converts <Blurhash> component back to Class Component (PureComponent<P,S,SS>)
    • Matches the types
    • Allows to use createAnimatedComponent(Blurhash)

Cleanups

10 Dec 13:05
Compare
Choose a tag to compare

This release includes a few minor code improvements:

  • Remove debug logging
  • Add a new isBlurhashValid(...) function that checks if a given string is a valid encoded blurhash. (Non-native method)
  • Cleanups for the native codebase
  • Cleanups for the example app

Better encoding!

20 Oct 09:59
Compare
Choose a tag to compare

1.0.27 comes with the following changes:

  1. Better Blurhash.encode() support, since now you can use all URIs the native React Native Image Loader (iOS: RCTImageLoader, Android: Fresco) supports! This includes http, https, base64 (data:image/), and even local files!
  2. Some repo maintainability changes
  3. Small bugfixes

Events!

04 Sep 10:07
Compare
Choose a tag to compare

This release contains:

  • onLoadStart event: Emitted when the Blurhash received new parameters and started to decode the given blurhash string.
  • onLoadEnd event: Emitted when the Blurhash successfully decoded the given blurhash string and rendered the image to the <Blurhash> view
  • onLoadError event: Emitted when the Blurhash failed to load. Use the message parameter to get the error message.
  • Performance improvements for native code

iOS Performance Improvements

25 Aug 08:33
Compare
Choose a tag to compare

This release includes:

  • 2-4x performance speedup by caching cos operations in the Swift decoder!
  • Improved encoder speed by increasing it's service priority