Skip to content

Commit

Permalink
Bump version: v5.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
joerick committed Oct 11, 2024
1 parent e5ad9c6 commit e362034
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 3 deletions.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,23 @@ Known issues
Changelog
---------

### v5.0.0

_11 October 2024_

Loads of improvements to the HTML renderer!

- Timeline mode - see and zoom into an interactive linear timeline!

![timeline mode](docs/img/timeline.png)
- HTML mode now has interactive options, rather than needing to set the upfront.
- Streamlined the design of the HTML page header.
- HTML Call stack view supports arrow key navigation.
- The way ‘library’ code is detected has been changed. Previously, if the string ‘/lib/’ occurred in the file path, that was considered library code (and collapsed by default). Now, pyinstrument captures the paths of the Python install and any active virtualenv/conda env at profile time. Files that are stored there are considered library. That should give fewer false positives.
- Calls to profiler.start() can now pass a target_description parameter, which is displayed in the profile readout.

Check my [blog post](https://joerick.me/posts/2024/10/3/pyinstrument-5/) for more info on the new features.

### v4.7.3

_6 September 2024_
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
author = "Joe Rickerby"

# The full version, including alpha/beta/rc tags
release = "4.7.3"
release = "5.0.0"


# -- General configuration ---------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion pyinstrument/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from pyinstrument.profiler import Profiler

__all__ = ["__version__", "Profiler", "load_ipython_extension", "profile"]
__version__ = "4.7.3"
__version__ = "5.0.0"

# enable deprecation warnings
warnings.filterwarnings("once", ".*", DeprecationWarning, r"pyinstrument\..*")
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
setup(
name="pyinstrument",
packages=find_namespace_packages(include=["pyinstrument*"]),
version="4.7.3",
version="5.0.0",
ext_modules=[
Extension(
"pyinstrument.low_level.stat_profile",
Expand Down

0 comments on commit e362034

Please sign in to comment.