Skip to content

Commit 69ed244

Browse files
committed
Release 2.0.1
1 parent 316c943 commit 69ed244

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
# Version 2.0.1
2+
3+
* Breaking change (which I forgot to include in 2.0.0): `missing_foreign_keys`
4+
uses `belongs_to` associations to identify columns used as foreign key,
5+
instead of guessing based on the `_id` suffix (contributed by hatsu38).
6+
* Enhancement: `missing_presence_validation` recognizes explicit presence
7+
validators on foreign key columns allowing the corresponding `belongs_to`
8+
associations to be marked as optional.
9+
* Bug fix: `missing_presence_validation` recognizes regexp ignores (contributed
10+
by fatkodima).
11+
* Bug fix: `missing_presence_validation` reports correct association and column
12+
names in error messages.
13+
114
# Version 2.0.0
215

316
* Breaking change: drop support for Active Record 6.0 and older.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# frozen_string_literal: true
22

33
module ActiveRecordDoctor
4-
VERSION = "2.0.0"
4+
VERSION = "2.0.1"
55
end

0 commit comments

Comments
 (0)