Releases: a1phyr/assets_manager
Releases · a1phyr/assets_manager
Version 0.12.5
Version 0.12.4
Catch panics when hot-reloading assets
Version 0.12.1
- Implement
DirLoadable
forOnceInitCell
when possible
Version 0.12.0
- Remove
NotHotReloaded
trait andHandle::get
(Handle::read
is still guaranteed to be a no-op whenHOT_RELOADED
isfalse
) Storable
trait is now a trait alias ofSized + Send + Sync + 'static
. All customStorable
implementations can be removed without breaking anything.- Remove
rodio
support from the main crate. It is now done inassets_manager-rodio
. - Add
zip-zstd
for easy zstd support in Zip - Use
hashbrown
to avoid hashing keys multiple times, which increases performance - Zip, Tar: remove deprecated
from_slice
- Update
image
to0.25
- Update MSRV to 1.71
Version 0.11.6
- No longer depend on
serde
's derive feature - Improve performance of opening
Zip
For version starting from 0.18
, rodio
support is in assets_manager-rodio
. This allows keeping up to date with rodio
versions more easily, and potentially improving compile times.
Version 0.11.5
- Internals improvements
Version 0.11.4
- Update
base64
to 0.22 - Improve internals to reduce monomorphization per asset type
Version 0.11.3
- Add
downcast
method toAssetReadGuard<'_, dyn Any>
- Add
into_inner
anddowncast
methods toError
- Implement
Default
for many types (includingAssetCache
,LocalAssetCache
,source::Empty
,ReloadId
andAtomicReloadId
) - Doc: Make it clear that
get_or_insert
inhibits hot-reloading
Version 0.11.2
Added
- Support for deriving
Asset
trait#[derive(Asset, serde::Deserialize)] #[asset_format = "ron"] struct Point { x: i32, y: i32, }
AssetReadGuard::map
andAssetReadGuard::try_map
- Many methods on
UntypedHandle
to mirror those onHandle<T>
Changed
Zip::from_bytes*
andTar::from_bytes*
are now generic over the bytes type.
In consequence,from_slice*
are now deprecated.- Small documentation improvements.
Version 0.11.1
- Use
sync_file::SyncFile
as default type parameter ofTar