File tree Expand file tree Collapse file tree 3 files changed +14
-6
lines changed
Expand file tree Collapse file tree 3 files changed +14
-6
lines changed Original file line number Diff line number Diff line change 77module Memory
88 # @namespace
99 module Profiler
10- VERSION = "1.2 .0"
10+ VERSION = "1.3 .0"
1111 end
1212end
1313
Original file line number Diff line number Diff line change @@ -22,6 +22,18 @@ Please see the [project documentation](https://socketry.github.io/memory-profile
2222
2323Please 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
7684We welcome contributions to this project.
Original file line number Diff line number Diff line change 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.
You can’t perform that action at this time.
0 commit comments