Skip to content

Commit a4f6b92

Browse files
committed
Ready for 2.7.5
1 parent a22d742 commit a4f6b92

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

CHANGELOG.md

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

3+
## 2.7.5 (19 Feb 2025)
4+
5+
* If available, tree traversal is based on `Dir.scan`, which saves syscalls in common platforms. This method is a recent addition to Ruby contributed by @byroot, so you need to be on Ruby `main` to leverage this for now.
6+
7+
* Tree traversal is a tad more performant, regardless of the previous point. Gains are marginal when eager loading, because it is dominated by loading the code, but `Zeitwerk::Loader#all_expected_cpaths` was 14% faster in some benchmarks, for example.
8+
9+
* _README.md_ documents [how to collect autoloaded constants](https://github.com/fxn/zeitwerk?tab=readme-ov-file#autoloaded-constants) using an `on_load` callback.
10+
11+
* Internal maintenance.
12+
313
## 2.7.4 (16 Dec 2025)
414

515
* Loaders have to manage disjoint source trees. Therefore, when a root directory

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.7.4"
5+
VERSION = "2.7.5"
66
end

0 commit comments

Comments
 (0)