Releases: dry-rb/dry-effects
Releases · dry-rb/dry-effects
v0.4.1
v0.4.0
Changed
- This version is compatible with recently released dry-rb dependencies (@flash-gordon)
v0.3.1
v0.3.0
Changed
- Use zeitwerk for auto-loading (@flash-gordon)
- Remove dependency on dry-configurable (@flash-gordon)
v0.2.0
v0.1.5
0.1.5 2020-02-09
Fixed
- Add patch for ActiveRecord::TaggedLogger to preserve tags in presence of effect handlers (leehambley)
Dry::Effects.load_extensions(:active_support_tagged_logging)
v0.1.4
v0.1.4 - 2020-01-07
Fixed
- Some calls of effect builders were updated to prevent keyword warnings on 2.7 (flash-gordon)
v0.1.3
v0.1.3 - 2019-12-20
Added
- Options for the random provider. You can pass a
seed
or a proc that will be used to generate random values. It is expected the value returned from the proc is within the0.0...1.0
range (flash-gordon)with_random(seed: 123) { ... } with_random(proc {|prev = 0.0| (prev + 0.1) % 1 }) { ... }
v0.1.2
v0.1.2 - 2019-12-15
Fixed
- Keyword warnings issued by Ruby 2.7 (flash-gordon)
v0.1.1
v0.1.1 - 2019-11-30
Added
-
Extension for RSpec. Some features of RSpec require access to thread-local storage. This extension patches RSpec so that storage is shared between the root fiber and dry-effects context (flash-gordon)
# in spec_helper.rb do require 'dry/effects' Dry::Effects.load_extensions(:rspec)