Skip to content

Commit fd0ec3f

Browse files
committed
Remove deprecate ActiveSupport::Multibyte::Unicode.default_normalization_form
1 parent b95077a commit fd0ec3f

File tree

3 files changed

+6
-12
lines changed

3 files changed

+6
-12
lines changed

activesupport/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
* Remove deprecate `ActiveSupport::Multibyte::Unicode.default_normalization_form`.
2+
3+
*Rafael Mendonça França*
4+
15
* Remove deprecated support to use `Range#include?` to check the inclusion of a value in
26
a date time range is deprecated.
37

activesupport/lib/active_support/multibyte/unicode.rb

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,6 @@ module Unicode
88
# The Unicode version that is supported by the implementation
99
UNICODE_VERSION = RbConfig::CONFIG["UNICODE_VERSION"]
1010

11-
def default_normalization_form
12-
ActiveSupport::Deprecation.warn(
13-
"ActiveSupport::Multibyte::Unicode.default_normalization_form is deprecated and will be removed in Rails 7.0."
14-
)
15-
end
16-
17-
def default_normalization_form=(_)
18-
ActiveSupport::Deprecation.warn(
19-
"ActiveSupport::Multibyte::Unicode.default_normalization_form= is deprecated and will be removed in Rails 7.0."
20-
)
21-
end
22-
2311
# Decompose composed characters to the decomposed form.
2412
def decompose(type, codepoints)
2513
if type == :compatibility

guides/source/7_0_release_notes.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,8 @@ Please refer to the [Changelog][active-support] for detailed changes.
236236
* Remove deprecated support to use `Range#include?` to check the inclusion of a value in
237237
a date time range is deprecated.
238238

239+
* Remove deprecate `ActiveSupport::Multibyte::Unicode.default_normalization_form`.
240+
239241
### Deprecations
240242

241243
### Notable changes

0 commit comments

Comments
 (0)