From 30413f498a0e95881b4d9ec2fdf7fb7b7dbb3f2b Mon Sep 17 00:00:00 2001 From: Garrick Aden-Buie Date: Tue, 17 Oct 2023 15:50:16 -0400 Subject: [PATCH] docs: Add news item --- NEWS.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/NEWS.md b/NEWS.md index a4ebc95..0b5be0e 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,6 +1,10 @@ htmlwidgets 1.6.2.9000 ------------------------------------------------------ +### Potentially breaking changes + +* Closed #466: htmlwidgets no longer recurses into list-like objects when searching for JavaScript strings wrapped in `JS()`, unless the object has the class `"list"` or `"data.frame"`. This stops htmlwidgets from (possibly infinitely) recursively searching objects that are not actually recursive. Widget authors who relied on the previous behavior should ensure that their widget's `JS()` calls are wrapped in objects that have the class `"list"` or `"data.frame"`. (#467) + htmlwidgets 1.6.2 ------------------------------------------------------