Skip to content

Release 0.5.0

Choose a tag to compare

@mrousavy mrousavy released this 03 Aug 18:34
· 81 commits to main since this release

0.5.0-beta.7 (2025-07-29)

Stable 0.5.0 πŸ₯³

This release contains a full rewrite to separate NitroImage (core type) and NitroWebImage (web image loader) from each other.
This means other libraries like VisionCamera can depend on NitroImage (the core type) to return instances of Image or use the Image type freely and typesafe.
It was necessary to separate those two libraries from each other to make sure NitroImage is a super lightweight core library that other libraries can depend on, and have NitroWebImage be an optional addon if you want to use web images with Nitro.
Alternatively, you can stick to <Image /> from react-native, or <FastImage />. Benchmark and compare those different image types with <NitroImage /> if you want to consider upgrading.

Also, ImageLoader was introduced - a way to load images deferred, which allows proper recycling and virtualization for Images inside Lists.

✨ Features

πŸ› Bug Fixes

  • Set Image on Main Thread (#32) (bf9bde7)
  • Fix typescript type of optional options (#25) (7a85a51)
  • Rename to WebImages.loadFromURLAsync (#26) (2f9efdf)
  • Run Android CI on bun.lock (38c4c35)