Review the CHANGELOGs [ci skip]
Release 4.0.1.rc1
Escape the parentheses in the default function regexp

This is causing every default value in PostreSQL database to being
handled as default function.

Fixes #12581
Merge pull request #12588 from jetthoughts/12586_subquery_with_unprepared_sql

Inline bind values for sub-queries generated for Relation in where

Conflicts:
	activerecord/CHANGELOG.md

Conflicts:
	activerecord/CHANGELOG.md
	activerecord/test/cases/sanitize_test.rb

Fixes #12586
Release 4.0.1.rc2
Fix order dependent tests
Merge pull request #12612 from amatsuda/amo_validates_inclusion_of_time_range_error

Let validates_inclusion_of accept Time and DateTime ranges
Preparing for 4.0.1.rc3 release
Fix the install task
Merge pull request #12619 from Veraticus/fix_utils_normalize_path

Correct error in Utils.normalize_path that changed paths improperly
fix code typo in `MysqlAdapter` .Closes #12647.

Conflicts:
	activerecord/CHANGELOG.md
Release 4.0.1.rc4
Preparing for 4.0.1 release
Merge branch '4-0-1' into 4-0-stable