Release 0.5.0
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
- Add
require(...)support (#31) (d76b4a2) - Add
preload(url)API (#29) (6513145) - Add
cacheKey(#24) (687b23a)