diff --git a/README.md b/README.md index aa9709bc..1a468972 100644 --- a/README.md +++ b/README.md @@ -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_ diff --git a/docs/conf.py b/docs/conf.py index 4406efa6..0f58ef2b 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -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 --------------------------------------------------- diff --git a/pyinstrument/__init__.py b/pyinstrument/__init__.py index 9d25b80d..0816fa29 100644 --- a/pyinstrument/__init__.py +++ b/pyinstrument/__init__.py @@ -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\..*") diff --git a/setup.py b/setup.py index 0fc734cd..6f3dde5e 100644 --- a/setup.py +++ b/setup.py @@ -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",