- Set minimum Ruby version to 3.1 (@flash-gordon)
- Workaround for a clash with Object#with (@tallica + @flash-gordon)
- This version is compatible with recently released dry-rb dependencies (@flash-gordon)
- Add missing zeitwerk loader (@flash-gordon)
- Use zeitwerk for auto-loading (@flash-gordon)
- Remove dependency on dry-configurable (@flash-gordon)
- Updated "system" extension to work with dry-system 0.19.0 (@timriley in #83)
- Add patch for ActiveRecord::TaggedLogger to preserve tags in presence of effect handlers (leehambley)
Dry::Effects.load_extensions(:active_support_tagged_logging)
- Some calls of effect builders were updated to prevent keyword warnings on 2.7 (flash-gordon)
- 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 }) { ... }
- Keyword warnings issued by Ruby 2.7 (flash-gordon)
-
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)
Initial release.