File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -66,6 +66,20 @@ See GitHub releases like [GitHub Releases of Logger](https://github.com/ruby/log
66
66
67
67
## Compatibility issues
68
68
69
+ * Error messages and backtrace displays have been changed.
70
+ * Use a single quote instead of a backtick as a opening quote. [ Feature #16495 ]
71
+ * Display a class name before a method name (only when the class has a permanent name). [ Feature #19117 ]
72
+ * ` Kernel#caller ` , ` Thread::Backtrace::Location ` 's methods, etc. are also changed accordingly.
73
+ ```
74
+ Old:
75
+ test.rb:1:in `foo': undefined method `time' for an instance of Integer
76
+ from test.rb:2:in `<main>'
77
+
78
+ New:
79
+ test.rb:1:in 'Object#foo': undefined method 'time' for an instance of Integer
80
+ from test.rb:2:in `<main>'
81
+ ```
82
+
69
83
## Stdlib compatibility issues
70
84
71
85
## C API updates
@@ -76,6 +90,8 @@ See GitHub releases like [GitHub Releases of Logger](https://github.com/ruby/log
76
90
77
91
## JIT
78
92
93
+ [ Feature #16495 ] : https://bugs.ruby-lang.org/issues/16495
79
94
[ Feature #18980 ] : https://bugs.ruby-lang.org/issues/18980
95
+ [ Feature #19117 ] : https://bugs.ruby-lang.org/issues/19117
80
96
[ Bug #20064 ] : https://bugs.ruby-lang.org/issues/20064
81
97
[ Feature #20182 ] : https://bugs.ruby-lang.org/issues/20182
You can’t perform that action at this time.
0 commit comments