Releases: dry-rb/dry-system
Releases · dry-rb/dry-system
v1.1.1
v1.1.0
v1.1.0.beta2
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)
v1.1.0.beta1
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 isnamespace:
. (via #271) (@timriley) - Load providers when accessing them via
Dry::System::ProviderRegistrar#[]
. The previous,
behavior of#[]
returningnil
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)
v1.0.1
v1.0.0
Fixed
Changed
- This version uses dry-core 1.0 and dry-configurable 1.0 (@solnic + @flash-gordon)
- Raise error on import after finalize (via #254) (@timriley + @tak1n)
- Validate settings even if loader does not set value (via #246) (@oeoeaio)
- Remove all deprecated functionality and deprecation messages (via #255) (@timriley)
- Use main dry/monitor entrypoint for autoloading (via #257) (@timriley)
- Use dry-configurable 1.0 (via 43c7909) (@flash-gordon)
- Use dry-core 1.0 (via 3d0cf95) (@flash-gordon)
- Remove dry-container dependency and update to use
Dry::Core::Container
(via 2b76554) (@solnic)
v1.0.0.rc1
Changed
- This version uses dry-core 1.0 and dry-configurable 1.0 (@solnic + @flash-gordon)
v0.27.2
v0.27.1
v0.27.0
Changed
- Use zeitwerk for auto-loading dry-system (@flash-gordon + @solnic)