Releases: ZihanType/rudi
Releases · ZihanType/rudi
v0.2.1
v0.2.0
This release adds all methods defined on Context
for getting instances from Context
as attributes to #[Singleton]
and #[Transient]
, bringing the attribute macro API fully in line with the function API.
All that needs to be changed for the migration is to change the #[di(...)]
that was used on field
and argument
to #[di(name = ...)]
.
For details on the new attributes that can be used on field
and argument
, see Singleton / Transient.