We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14cff5e commit 76f0790Copy full SHA for 76f0790
2 files changed
CHANGELOG.md
@@ -1,5 +1,21 @@
1
# CHANGELOG
2
3
+## 2.8.2 (23 May 2026)
4
+
5
+* `on_load` and `on_unload` accept constant paths with leading colons. For example:
6
7
+ ```ruby
8
+ loader.on_load('::User') { ... }
9
+ ```
10
11
+* `on_load` and `on_unload` validate that their input is a constant path. For example:
12
13
14
+ loader.on_load(':User') { ... }
15
16
17
+ raises `NameError`.
18
19
## 2.8.1 (19 May 2026)
20
21
* Replace anonymous block parameters with regular named ones.
lib/zeitwerk/version.rb
@@ -2,5 +2,5 @@
module Zeitwerk
#: String
- VERSION = '2.8.1'
+ VERSION = '2.8.2'
end
0 commit comments