You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+8-1Lines changed: 8 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,12 @@
1
1
# Changelog
2
2
3
-
## 4.11.0 (Unreleased)
3
+
## 4.11.0 (2026-02-17)
4
+
5
+
Enhancements:
6
+
This release focuses on improving memory management:
7
+
* C++ API is now GC safe
8
+
* C++ API wrappers no longer default to rb_cObject, avoiding unintended Object changes
9
+
* Enable Instance Registry for Ruby owned C++ objects to avoid double frees
4
10
5
11
Incompatible Changes:
6
12
*`InstanceRegistry.isEnabled` (boolean) has been replaced by an `InstanceRegistry.isEnabled` which is an enum (`Off`, `Owned`, `All`).
@@ -9,6 +15,7 @@ Incompatible Changes:
9
15
* C++ API wrappers now store their Ruby `VALUE` in a `Pin` instead of a raw `VALUE` field. Previously, wrappers were not GC-safe and Ruby could reclaim wrapped objects while C++ still referenced them. This is now fixed, and wrappers such as `Object` can be stored safely in containers like `std::vector`.
10
16
* The global `Object` constants (`Rice::Nil`, `Rice::True`, `Rice::False`, `Rice::Undef`) have been removed.
11
17
*`Object::test()` has been removed. Use `operator bool()` or `is_nil()` depending on the desired semantics.
18
+
* Remove `Builtin_Object` since it didn't serve a useful purpose
0 commit comments