Skip to content

Commit 7ae4182

Browse files
committed
Advent of Changelog: Day 4
1 parent 47bb485 commit 7ae4182

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

_src/3.3.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,9 @@ description: Ruby 3.3 full and annotated changelog
5454

5555
### `Module#set_temporary_name`
5656

57-
* **Reason:**
57+
Allows to assign a string to be rendered as class/module's `#name`, without assigning the class/module to a constant.
58+
59+
* **Reason:** The feature is useful to provide reasonable representation for dynamically auto-generated classes without assigning them to constants (which pollutes the global namespace and might conflict with existing constants) or redefining `Class#name` (which might break other code and not always respected in the output).
5860
* **Discussion:** [Feature #19521]
5961
* **Documentation:** [Module#set_temporary_name](https://docs.ruby-lang.org/en/master/Module.html#method-i-set_temporary_name)
6062
* **Code:**
@@ -164,3 +166,10 @@ description: Ruby 3.3 full and annotated changelog
164166
* **Code:**
165167
* **Notes:**
166168

169+
### New `Warning` category: `:performance`
170+
171+
* **Reason:**
172+
* **Discussion:** [Feature #19538]
173+
* **Documentation:** [Warning#[category]](https://docs.ruby-lang.org/en/master/Warning.html#method-c-5B-5D)
174+
* **Code:**
175+
* **Notes:**

0 commit comments

Comments
 (0)