Dry Logic Versions Save

Predicate logic with rule composition

v1.5.0

1 year ago

Added

  • uri_rfc3986? predicate that uses a better regexp than uri? (see #94 for more details) (@hieuk09)

Changed

  • Made Predicates.respond_to? compatible with Object#respond_to? (via #105) (@solnic)
  • Made Predicates.eql? compatible with Object#eql? (via #106) (@solnic)

Compare v1.4.0...v1.5.0

v1.4.0

1 year ago

Added

  • uri_rfc3986? predicate that uses a better regexp than uri? (see #94 for more details) (@hieuk09)

Changed

  • Deprecate eql? in favor of is_eql? (issue #92 via #98) (@solnic)
  • Deprecate respond_to? in favor of interface? (issue #73 closed via #99) (@solnic)

Compare v1.3.0...vunreleased

v1.2.0

3 years ago

Added

  • Add predicate and operation builder DSL (@oleander)

Compare v1.1.1...v1.2.0

v1.1.1

3 years ago

Fixed

  • Fixed a crash under jruby caused by arg splatting in Binary operations (@flash-gordon)

Compare v1.1.0...v1.1.1

v1.1.0

3 years ago

1.1.0 2020-12-26

Changed

  • Switched to equalizer from dry-core (@solnic)

Compare v1.0.8...v1.1.0

v1.0.8

3 years ago

Fixed

  • Better Ruby 3 support with fixed specialization for rules of negative arity (@flash-gordon)

Compare v1.0.7...v1.0.8

v1.0.7

3 years ago

Added

  • A new uri? predicate that you can use to verify URI strings, ie uri?("https", "https://dry-rb.org") (@nerburish)
  • New predicates: uuid_v1?, uuid_v2?, uuid_v3? and uuid_v5? (via #75) (@jamesbrauman)

Compare v1.0.6...v1.0.7

v1.0.6

4 years ago

Fixed

  • Made the regexp used by uuid_v4? more secure (@kml)

Compare v1.0.5...v1.0.6

v1.0.5

4 years ago

v1.0.5 2019-11-07

  • Make format? tolerant to nil values. It already worked like that before, but starting Ruby 2.7 it would produce warnings. Now it won't. Don't rely on this behavior, it's only added to make tests pass in dry-schema. Use explicit type checks instead (@flash-gordon)

Compare v1.0.4...v1.0.5

v1.0.4

4 years ago

v1.0.4 2019-11-06

  • Fix keyword warnings (@flash-gordon)

Compare v1.0.3...v1.0.4