diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-09-20 14:18:08 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-09-20 14:18:08 +0300 |
commit | 5afcbe03ead9ada87621888a31a62652b10a7e4f (patch) | |
tree | 9918b67a0d0f0bafa6542e839a8be37adf73102d /config/initializers/00_deprecations.rb | |
parent | c97c0201564848c1f53226fe19d71fdcc472f7d0 (diff) |
Add latest changes from gitlab-org/gitlab@16-4-stable-eev16.4.0-rc42
Diffstat (limited to 'config/initializers/00_deprecations.rb')
-rw-r--r-- | config/initializers/00_deprecations.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/config/initializers/00_deprecations.rb b/config/initializers/00_deprecations.rb index 3d6a6491176..e254da5b8c6 100644 --- a/config/initializers/00_deprecations.rb +++ b/config/initializers/00_deprecations.rb @@ -44,10 +44,13 @@ else # https://gitlab.com/gitlab-org/gitlab/-/issues/414556 /Merging .* no longer maintain both conditions, and will be replaced by the latter in Rails 7\.0/, # https://gitlab.com/gitlab-org/gitlab/-/issues/415890 - /(Date|Time|TimeWithZone)#to_s.+ is deprecated/ + /(Date|Time|TimeWithZone)#to_s.+ is deprecated/, + # https://gitlab.com/gitlab-org/gitlab/-/merge_requests/129686 + /Sum of non-numeric elements requires an initial argument/ ] view_component_3_warnings = [ + # https://gitlab.com/gitlab-org/gitlab/-/issues/408988 /Setting a slot with `#\w+` is deprecated and will be removed from ViewComponent 3.0.0/ ] ActiveSupport::Deprecation.disallowed_warnings = rails7_deprecation_warnings + view_component_3_warnings |