Skip to content

Commit 76f0790

Browse files
committed
Ready for 2.8.2
1 parent 14cff5e commit 76f0790

2 files changed

Lines changed: 17 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
# CHANGELOG
22

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+
```ruby
14+
loader.on_load(':User') { ... }
15+
```
16+
17+
raises `NameError`.
18+
319
## 2.8.1 (19 May 2026)
420

521
* Replace anonymous block parameters with regular named ones.

lib/zeitwerk/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22

33
module Zeitwerk
44
#: String
5-
VERSION = '2.8.1'
5+
VERSION = '2.8.2'
66
end

0 commit comments

Comments
 (0)