Draft: Update OJ to 3.11.2, fix segfault from GC.compact
What does this MR do?
Updates the oj
gem version to include GC.compact
-related fixes.
The target issue on the upstream: https://github.com/ohler55/oj/issues/637
oj
CHANGELOG:
## 3.11.2 - 2021-01-27
- Fixed JSON gem `:decimal_class` option.
## 3.11.1 - 2021-01-24
- XrXr fixed Ruby 3.0.0 object movement issue.
## 3.11.0 - 2021-01-12
- Added `:compat_bigdecimal` to support the JSON gem `:decimal_class` undocumented option.
- Reverted the use of `:bigdecimal_load` for `:compat` mode.
## 3.10.18 - 2020-12-25
- Fix modes table by marking compat mode `:bigdecimal_load` instead of `:bigdecimal_as_decimal`.
- Added `:custom` mode setting that are the same as `:compat` mode. There are some minor differences between the two setting.
## 3.10.17 - 2020-12-15
- The undocumented JSON gem option of `:decimal_class` is now
supported and the default option of `:bigdecimal_load` is also
honored in JSON.parse() and in compat mode.
- Invalid encoding detection bug fixed for rails.
## 3.10.16 - 2020-11-10
- Allow escaping any character in :compat mode to match the json gem behavior.
## 3.10.15 - 2020-10-16
Remove license from code.
## 3.10.14 - 2020-09-05
- Updated float test to check a range.
## 3.10.13 - 2020-08-28
- Removed explicit dependency on bigdecimal.
## 3.10.12 - 2020-08-20
- Another try at bracketing bigdecimal versions to 1.0 and 3.
## 3.10.11 - 2020-08-20
- Bracketed bigdecimal dependency to 1.0 and 3.
## 3.10.10 - 2020-08-20
- Backed off bigdecimal dependency to 1.0.
## 3.10.9 - 2020-08-17
- Add bigdecimal dependency to gemfile.
## 3.10.8 - 2020-07-24
- New fast option for float parsing.
- Fixes a float parse error.
## 3.10.7 - 2020-07-13
- Faster float parsing and an adjust to more closely match Ruby.
Does this MR meet the acceptance criteria?
Conformity
-
📋 Does this MR need a changelog?-
I have included a changelog entry. - [-] I have not included a changelog entry because _____.
-
- [-] Documentation (if required)
-
Code review guidelines -
Merge request performance guidelines -
Style guides - [-] Database guides
- [-] Separation of EE specific content
Availability and Testing
N/A
Security
N/A
Related to #323555 (closed)
Edited by Aleksei Lipniagov