Skip to content

Commit a605234

Browse files
committed
NEWS.md: Add a note for [Feature #16495] and [Feature #19117]
1 parent 081ee3d commit a605234

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

NEWS.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,20 @@ See GitHub releases like [GitHub Releases of Logger](https://github.com/ruby/log
6666

6767
## Compatibility issues
6868

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+
6983
## Stdlib compatibility issues
7084

7185
## C API updates
@@ -76,6 +90,8 @@ See GitHub releases like [GitHub Releases of Logger](https://github.com/ruby/log
7690

7791
## JIT
7892

93+
[Feature #16495]: https://bugs.ruby-lang.org/issues/16495
7994
[Feature #18980]: https://bugs.ruby-lang.org/issues/18980
95+
[Feature #19117]: https://bugs.ruby-lang.org/issues/19117
8096
[Bug #20064]: https://bugs.ruby-lang.org/issues/20064
8197
[Feature #20182]: https://bugs.ruby-lang.org/issues/20182

0 commit comments

Comments
 (0)