Skip to content

Commit 3b6c9cb

Browse files
committed
Bump minor version.
1 parent d470dcc commit 3b6c9cb

File tree

3 files changed

+14
-6
lines changed

3 files changed

+14
-6
lines changed

lib/memory/profiler/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
module Memory
88
# @namespace
99
module Profiler
10-
VERSION = "1.2.0"
10+
VERSION = "1.3.0"
1111
end
1212
end
1313

readme.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,18 @@ Please see the [project documentation](https://socketry.github.io/memory-profile
2222

2323
Please see the [project releases](https://socketry.github.io/memory-profiler/releases/index) for all releases.
2424

25+
### v1.3.0
26+
27+
- **Breaking**: Renamed `Capture#count_for` to `Capture#retained_count_of` for better clarity and consistency.
28+
- **Breaking**: Changed `CallTree#top_paths(limit)` to `CallTree#top_paths(limit:)` - now uses keyword argument.
29+
- **Breaking**: Changed `CallTree#hotspots(limit)` to `CallTree#hotspots(limit:)` - now uses keyword argument.
30+
- Simplified `Sampler#analyze` return structure to `{allocations: {...}, call_tree: {...}}` format.
31+
- Added `Allocations#as_json` and `Allocations#to_json` methods for JSON serialization.
32+
- Added `CallTree#as_json` and `CallTree#to_json` methods for JSON serialization with configurable options.
33+
- `Memory::Profiler::Allocations.new` can now be instantiated directly (primarily for testing).
34+
- `Sampler#statistics` is now a deprecated alias for `Sampler#analyze`.
35+
- **Breaking**: Removed `Sampler#all_statistics` method.
36+
2537
### v1.2.0
2638

2739
- Enable custom `depth:` and `filter:` options to `Sampler#track`.
@@ -67,10 +79,6 @@ Please see the [project releases](https://socketry.github.io/memory-profiler/rel
6779

6880
- Use single global queue for event handling to avoid incorrect ordering.
6981

70-
### v1.1.7
71-
72-
- Expose `Capture#statistics` for debugging internal memory tracking state.
73-
7482
## Contributing
7583

7684
We welcome contributions to this project.

releases.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Releases
22

3-
## Unreleased
3+
## v1.3.0
44

55
- **Breaking**: Renamed `Capture#count_for` to `Capture#retained_count_of` for better clarity and consistency.
66
- **Breaking**: Changed `CallTree#top_paths(limit)` to `CallTree#top_paths(limit:)` - now uses keyword argument.

0 commit comments

Comments
 (0)