[DOC] Add Ruby::Box on NEWS

This commit is contained in:
Satoshi Tagomori 2025-12-09 21:29:36 +09:00 committed by Satoshi Tagomori
parent 4b8e48a362
commit 5ae2bd240f
Notes: git 2025-12-09 12:36:57 +00:00
2 changed files with 11 additions and 5 deletions

View File

@ -160,6 +160,12 @@ Note: We're only listing outstanding class updates.
Ruby-related constants. This module was reserved in Ruby 3.4
and is now officially defined. [[Feature #20884]]
* Ruby::Box
* A new (experimental) feature to provide separation about definitions.
For the detail of "Ruby Box", see [doc/language/box.md](doc/language/box.md).
[[Feature #21311]] [[Misc #21385]]
* Set
* `Set` is now a core class, instead of an autoloaded stdlib class.
@ -427,8 +433,10 @@ A lot of work has gone into making Ractors more stable, performant, and usable.
[Feature #21262]: https://bugs.ruby-lang.org/issues/21262
[Feature #21275]: https://bugs.ruby-lang.org/issues/21275
[Feature #21287]: https://bugs.ruby-lang.org/issues/21287
[Feature #21311]: https://bugs.ruby-lang.org/issues/21311
[Feature #21347]: https://bugs.ruby-lang.org/issues/21347
[Feature #21360]: https://bugs.ruby-lang.org/issues/21360
[Misc #21385]: https://bugs.ruby-lang.org/issues/21385
[Feature #21389]: https://bugs.ruby-lang.org/issues/21389
[Feature #21390]: https://bugs.ruby-lang.org/issues/21390
[Feature #21459]: https://bugs.ruby-lang.org/issues/21459

View File

@ -1,6 +1,6 @@
# Ruby Box - Ruby's in-process separation of Classes and Modules
Ruby Box is designed to provide separated spaces in a Ruby process, to isolate applications and libraries.
Ruby Box is designed to provide separated spaces in a Ruby process, to isolate application codes, libraries and monkey patches.
## Known issues
@ -12,13 +12,11 @@ Ruby Box is designed to provide separated spaces in a Ruby process, to isolate a
## TODOs
* Add the loaded namespace on iseq to check if another namespace tries running the iseq (add a field only when VM_CHECK_MODE?)
* Delete per-box extension files (.so) lazily or process exit
* Collect `rb_classext_t` entries for a box when GC collects the box
* Delete per-box extension files (.so) lazily or process exit (on Windows)
* Assign its own TOPLEVEL_BINDING in boxes
* Fix calling `warn` in boxes to refer `$VERBOSE` and `Warning.warn` in the box
* Make an internal data container `Ruby::Box::Entry` invisible
* Make an internal data container class `Ruby::Box::Entry` invisible
* More test cases about `$LOAD_PATH` and `$LOADED_FEATURES`
* Return classpath and nesting without the namespace prefix in the namespace itself [#21316](https://bugs.ruby-lang.org/issues/21316), [#21318](https://bugs.ruby-lang.org/issues/21318)
## How to use