Skip to content

Commit

Permalink
Prepare for 1.10.0 release
Browse files Browse the repository at this point in the history
See changelog for more details.

Signed-off-by: Pablo Galindo <pablogsal@gmail.com>
  • Loading branch information
pablogsal committed Oct 5, 2023
1 parent 8072257 commit 27c1f73
Show file tree
Hide file tree
Showing 10 changed files with 30 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 1.9.1
current_version = 1.10.0
commit = True
message =
Prepare for {new_version} release
Expand Down
28 changes: 28 additions & 0 deletions NEWS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,34 @@ Changelog

.. towncrier release notes start
memray 1.10.0 (2023-10-05)
--------------------------

Features
~~~~~~~~

- Add support for :ref:`inverted flame graphs`. In an inverted flame graph, the
roots are the functions that allocated memory, and the children of any given
node represent the percentage of that node's allocations that can be attributed
to a particular caller. The inverted flame graph is very helpful in analyzing
where memory is being spent in aggregate. You can generate one by passing the
``--inverted`` flag to ``memray flamegraph``. (#439)
- ``memray attach`` now supports ``--aggregate`` to produce :ref:`aggregated capture files <aggregated capture files>`. (#455)
- ``memray attach`` has been enhanced to allow tracking for only a set period of
time. (#458)
- A new ``memray detach`` command allows you to manually deactivate tracking that
was started by a previous call to ``memray attach``. (#458)
- Python 3.12 is now supported. (#474)


Bug Fixes
~~~~~~~~~

- Update ``memray attach`` on Linux to prefer GDB over LLDB for injecting itself into the process being attached to. We've had several reports of problems with the Linux LLDB, and hope this change will help give Linux users a better experience by default. You can still explicitly use LLDB on Linux even when GDB is detected by running ``memray attach --method=lldb``. (#449)
- Fix a memory leak in Memray itself when many different capture files are opened by a single Memray process and native stacks are being reported. This issue primarily affected ``pytest-memray``. (#473)
- Fix a crash in MacOS Sonoma when using system Framework libraries, like when using the ``pyobjc`` library. (#477)


memray 1.9.1 (2023-08-01)
-------------------------

Expand Down
6 changes: 0 additions & 6 deletions news/439.feature.rst

This file was deleted.

1 change: 0 additions & 1 deletion news/449.bugfix.rst

This file was deleted.

1 change: 0 additions & 1 deletion news/455.feature.rst

This file was deleted.

2 changes: 0 additions & 2 deletions news/458.feature.1.rst

This file was deleted.

2 changes: 0 additions & 2 deletions news/458.feature.rst

This file was deleted.

1 change: 0 additions & 1 deletion news/473.bugfix.rst

This file was deleted.

1 change: 0 additions & 1 deletion news/474.feature.rst

This file was deleted.

2 changes: 1 addition & 1 deletion src/memray/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.9.1"
__version__ = "1.10.0"

0 comments on commit 27c1f73

Please sign in to comment.