Skip to content

Releases: dry-rb/dry-system

v1.1.1

03 Nov 12:07
v1.1.1
Compare
Choose a tag to compare

Fixed

  • Restore ProviderRegistrar#find_and_load_provider as an alias of #[]

Compare v1.1.0...v1.1.1

v1.1.0

31 Oct 04:10
v1.1.0
Compare
Choose a tag to compare

v1.1.0.beta2

25 Sep 10:22
v1.1.0.beta2
Compare
Choose a tag to compare

Changed

  • Allow provider sources to use a custom superclass. This requires a custom provider registrar
    to be configured, with its own implementations of #provider_source_class (the superclass to
    use) and #provider_source_options (custom initialization args to pass to the provider
    source). (via #275) (@alassek, @timriley)

Compare v1.1.0.beta1...v1.1.0.beta2

v1.1.0.beta1

03 Jul 07:00
v1.1.0.beta1
f3effcf
Compare
Choose a tag to compare

Added

  • Add Dry::System::ProviderRegistrar#target_container, to be passed when initializing
    providers. By default this is an alias of #container. This allows for custom provider
    registrars to override #target_container to provide a custom #target within providers.
    An overridden value MUST still wrap the original #target_container to ensure components
    are registered in the right place. (via #270) (@timriley)

Changed

  • Make Dry::System::ProviderRegistrar public API (via #270) (@timriley)
  • When registering a provider source, you can now provide a provider_options: hash of default
    options for providers to be registered using that source. The one provider option currently
    supported is namespace:. (via #271) (@timriley)
  • Load providers when accessing them via Dry::System::ProviderRegistrar#[]. The previous,
    behavior of #[] returning nil if a provider had not been explicitly loaded was a
    potential source of confusion. Now #[] can serve as the one and only interface for fetching
    a provider. (via #273) (@timriley)

Compare v1.0.1...v1.1.0.beta1

v1.0.1

18 Nov 09:32
v1.0.1
5dfe7ae
Compare
Choose a tag to compare

Changed

  • Bumped dry-auto_inject dependency to its 1.0.0 final release (@solnic)

Compare v1.0.0...v1.0.1

v1.0.0

18 Nov 09:14
v1.0.0
Compare
Choose a tag to compare

Fixed

  • Only use DidYouMean-integrated Error for Component loading failure (via #261) (@cllns + @solnic)

Changed

Compare v0.27.2...v1.0.0

v1.0.0.rc1

04 Nov 18:04
v1.0.0.rc1
a89749b
Compare
Choose a tag to compare

Changed

Compare v0.27.2...v0.28.0

v0.27.2

17 Oct 05:19
v0.27.2
ec7b97f
Compare
Choose a tag to compare

Fixed

  • Removed remaining manual require left-overs (@solnic)

Compare v0.27.1...v0.27.2

v0.27.1

15 Oct 15:34
v0.27.1
Compare
Choose a tag to compare

Fixed

Compare v0.27.0...v0.27.1

v0.27.0

15 Oct 14:42
v0.27.0
b66ebfa
Compare
Choose a tag to compare

Changed

Compare v0.26.0...v0.27.0