Skip to content

Commit

Permalink
Bump version to 5.41.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyevans committed Feb 1, 2021
1 parent 8690f70 commit 9f57022
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
=== master
=== 5.41.0 (2021-02-01)

* Have explicit :text option for a String column take priority over :size option on PostgreSQL (jeremyevans) (#1750)

Expand Down
25 changes: 25 additions & 0 deletions doc/release_notes/5.41.0.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
= New Features

* The validation methods added by the validation_helpers plugin now
support the :skip_invalid option, which will not add a validation
error on a column if it already has a validation error. This can
be useful if you want to avoid having duplicate errors.

* The auto_validations plugin now supports a :skip_invalid plugin
option, which will pass the :skip_invalid option when calling
validation methods.

= Other Improvements

* The :adder, :remover, and :clearer association options now
support keyword arguments in Ruby 2.7+.

* In the pg_interval extension, Sequel now uses the same number of
seconds per month and seconds per year as active_support. It
originally used the same number, but active_support changed the
values in active_support 5.1. Sequel now uses the active_support
values if they are available.

* When adding a String column on PostgreSQL, an explicit text: true
option now takes precedence over an explicit :size option, as it
does in Sequel's default behavior.
2 changes: 1 addition & 1 deletion lib/sequel/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module Sequel

# The minor version of Sequel. Bumped for every non-patch level
# release, generally around once a month.
MINOR = 40
MINOR = 41

# The tiny version of Sequel. Usually 0, only bumped for bugfix
# releases that fix regressions from previous versions.
Expand Down

0 comments on commit 9f57022

Please sign in to comment.