summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Evans <code@jeremyevans.net>2022-03-25 14:33:24 -0700
committerJeremy Evans <code@jeremyevans.net>2022-03-25 14:33:24 -0700
commitf79765abe8dc3eb0a58c5a9dd7e91922e4aca1fa (patch)
tree2ce7475edbde5742a6ac31e13a7ebcde9cba475b
parent7f93b7dc88b25328dadbc4637a03d5d7bb3195d1 (diff)
Update NEWS for {Kernel,TracePoint}#binding change
-rw-r--r--NEWS.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/NEWS.md b/NEWS.md
index 61d334c3dd..d69d49e9f3 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -59,6 +59,10 @@ Note: We're only listing outstanding class updates.
empty, instead of returning the default value or
calling the default proc. [[Bug #16908]]
+* Kernel
+ * Kernel#binding raises RuntimeError if called from a non-Ruby frame
+ (such as a method defined in C). [[Bug #18487]]
+
* MatchData
* MatchData#byteoffset has been added. [[Feature #13110]]
@@ -88,6 +92,10 @@ Note: We're only listing outstanding class updates.
* A Struct class can also be initialized with keyword arguments
without `keyword_init: true` on `Struct.new` [[Feature #16806]]
+* TracePoint
+ * TracePoint#binding now returns `nil` for `c_call`/`c_return` TracePoints.
+ [[Bug #18487]]
+
## Stdlib updates
* The following default gem are updated.
@@ -184,5 +192,6 @@ The following deprecated APIs are removed.
[Feature #17881]: https://bugs.ruby-lang.org/issues/17881
[Feature #18037]: https://bugs.ruby-lang.org/issues/18037
[Feature #18351]: https://bugs.ruby-lang.org/issues/18351
+[Bug #18487]: https://bugs.ruby-lang.org/issues/18487
[Feature #18585]: https://bugs.ruby-lang.org/issues/18585
[Feature #18598]: https://bugs.ruby-lang.org/issues/18598