Skip to content

Commit

Permalink
Bump version: v4.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
joerick committed Jun 5, 2023
1 parent 25129ff commit b18e304
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,15 @@ Known issues
Changelog
---------

### v4.5.0

_5 June 2023_

- Adds a flat mode to the console renderer, which can be enabled by passing `-p flat` on the command line. This mode shows the heaviest frame as measured by self-time, which can be useful in some codebases. (#240)
- Adds the ability to save `pstats` files. This is the file format used by cprofile in the stdlib. It's less detailed than pyinstrument profiles, but it's compatible with more tools. (#236)
- Fixes a detail of the `--show-all` option - pyinstrument will no longer remove Python-internal frames when this option is supplied. (#239)
- Internally to the HTML renderer, it now uses Svelte to render the frontend, meaning profile HTML files bundle less javascript and so are smaller. (#222)

### v4.4.0

_5 November 2022_
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.4.0"
release = "4.5.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 @@ -3,7 +3,7 @@
from pyinstrument.profiler import Profiler

__all__ = ["__version__", "Profiler", "load_ipython_extension"]
__version__ = "4.4.0"
__version__ = "4.5.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.4.0",
version="4.5.0",
ext_modules=[
Extension(
"pyinstrument.low_level.stat_profile",
Expand Down

0 comments on commit b18e304

Please sign in to comment.