Skip to content

Releases: ZihanType/rudi

v0.2.1

12 Aug 08:57
Compare
Choose a tag to compare
  • Improve compile error messages.
  • Add the ability to customize rudi path for #[Singleton] and #[Transient].

v0.2.0

11 Aug 07:23
Compare
Choose a tag to compare

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.

v0.1.3

11 Aug 01:55
Compare
Choose a tag to compare
  • Relaxing constraints on the name attribute expression type in the #[Singleton] and #[Transient] attributes. Now, when specifying the name of a Provider or a dependency of a Provider, any expression type can be used.

v0.1.2

10 Aug 09:58
Compare
Choose a tag to compare
  • Add circular dependency detection.
  • Improve readability of log messages and error messages.

v0.1.1

10 Aug 05:26
Compare
Choose a tag to compare
  • Allow functions with the #[Singleton] or #[Transient] attribute to use CamleCase.