Skip to content

Releases: dry-rb/dry-logic

v1.5.0

24 Nov 18:33
v1.5.0
Compare
Choose a tag to compare

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

04 Nov 16:39
v1.4.0
6daf95b
Compare
Choose a tag to compare

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

26 Apr 06:24
v1.2.0
Compare
Choose a tag to compare

Added

  • Add predicate and operation builder DSL (@oleander)

Compare v1.1.1...v1.2.0

v1.1.1

14 Apr 12:54
v1.1.1
Compare
Choose a tag to compare

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

26 Dec 17:08
v1.1.0
Compare
Choose a tag to compare

1.1.0 2020-12-26

Changed

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

Compare v1.0.8...v1.1.0

v1.0.8

28 Sep 09:03
v1.0.8
9192cda
Compare
Choose a tag to compare

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

13 Aug 10:35
v1.0.7
a9b4ba4
Compare
Choose a tag to compare

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

10 Feb 19:03
v1.0.6
c78044c
Compare
Choose a tag to compare

Fixed

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

Compare v1.0.5...v1.0.6

v1.0.5

06 Nov 22:26
v1.0.5
39bd7ae
Compare
Choose a tag to compare

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

06 Nov 19:40
v1.0.4
0680ab0
Compare
Choose a tag to compare

v1.0.4 2019-11-06

Compare v1.0.3...v1.0.4