Skip to content

Commit 5e38aa6

Browse files
github-actions[bot]antiguruclaude
authored
chore: release v0.7.0 (#65)
## 🤖 New release * `lgalloc`: 0.6.0 -> 0.7.0 (⚠ API breaking changes) --- This PR was generated with [release-plz](https://github.com/release-plz/release-plz/). --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Moritz Hoffmann <antiguru@gmail.com> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 2958886 commit 5e38aa6

File tree

3 files changed

+41
-2
lines changed

3 files changed

+41
-2
lines changed

CHANGELOG.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,45 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

9+
## [0.7.0](https://github.com/antiguru/rust-lgalloc/compare/v0.6.0...v0.7.0) - 2026-03-16
10+
11+
### Breaking changes
12+
13+
* Replace file-backed memory mappings with `MAP_ANONYMOUS` + `MADV_HUGEPAGE`.
14+
Allocations now use anonymous mappings with transparent huge page hints instead
15+
of memory-mapped temporary files. ([#67](https://github.com/antiguru/rust-lgalloc/pull/67))
16+
* Remove `LgAlloc::path`, `LgAlloc::with_path()`, and `LgAlloc::file_growth_dampener()`.
17+
Use `LgAlloc::growth_dampener()` instead.
18+
* Remove `FileStats`, `MapStats`, and `lgalloc_stats_with_mapping()`.
19+
`lgalloc_stats()` is the only stats function.
20+
* Remove `LgAllocStats::file` and `LgAllocStats::map` fields.
21+
* Raise minimum size class from 2^10 (1 KiB) to 2^21 (2 MiB), matching one huge page.
22+
* `Handle::prefetch` now takes a typed element range (`prefetch::<T>(Range<usize>)`)
23+
and returns `PrefetchError` instead of `AllocError`.
24+
25+
### Added
26+
27+
* `Handle::prefetch::<T>(Range<usize>)` for typed prefetch hints via `MADV_WILLNEED`.
28+
* `PrefetchError` type for prefetch-specific errors.
29+
* `munmap` on `GlobalStealer::drop` to return virtual address space on shutdown.
30+
* Graceful handling of `MADV_HUGEPAGE` failure (one-time warning instead of error).
31+
* Allocation benchmarks comparing lgalloc, system allocator, and raw mmap.
32+
33+
### Fixed
34+
35+
* Use `MADV_FREE` (Linux) / `MADV_DONTNEED` (other) for background clear instead of
36+
`MADV_REMOVE`, which fails on anonymous memory.
37+
38+
### Removed
39+
40+
* `numa_maps`, `memmap2`, `tempfile`, `serial_test` dependencies.
41+
42+
### Other
43+
44+
* Move tests to integration test files.
45+
* Rewrite README with structured sections.
46+
* Update release-plz workflow to patch README version automatically ([#68](https://github.com/antiguru/rust-lgalloc/pull/68)).
47+
948
## [0.6.0](https://github.com/antiguru/rust-lgalloc/compare/v0.5.0...v0.6.0) - 2025-05-27
1049

1150
### Other

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "lgalloc"
3-
version = "0.6.0"
3+
version = "0.7.0"
44
edition = "2021"
55
authors = ["Moritz Hoffmann <antiguru@gmail.com>"]
66
description = "Large object allocator"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ We spell it `lgalloc` and pronounce it el-gee-alloc.
77

88
```toml
99
[dependencies]
10-
lgalloc = "0.6"
10+
lgalloc = "0.7"
1111
```
1212

1313
## Example

0 commit comments

Comments
 (0)