diff --git a/README.md b/README.md index 9d1adf71..ae460eba 100644 --- a/README.md +++ b/README.md @@ -54,15 +54,22 @@ Known issues Changelog --------- +### v4.6.0 + +_12 October 2023_ + +- Adds a feature `-c`, which allows profiling code directly from the command line, like `python -c`. (#271) +- Adds a convenience method [`Profiler.write_html`](https://pyinstrument.readthedocs.io/en/latest/reference.html#pyinstrument.Profiler.write_html), for writing HTML output to a file directly. (#266) + ### v4.5.3 -_7 Sep 2023_ +_7 September 2023_ - Fix a problem in the packaging process that prevented upload to PyPI ### v4.5.2 -_1 Sep 2023_ +_1 September 2023_ - Show the program name in the header of the HTML output (#260) - Improve program name capture through resilience to other programs modifying sys.argv (#258) diff --git a/docs/conf.py b/docs/conf.py index 423b114a..ded321a0 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.5.3" +release = "4.6.0" # -- General configuration --------------------------------------------------- diff --git a/pyinstrument/__init__.py b/pyinstrument/__init__.py index 395a2af6..98e3e0f0 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.5.3" +__version__ = "4.6.0" # enable deprecation warnings warnings.filterwarnings("once", ".*", DeprecationWarning, r"pyinstrument\..*") diff --git a/setup.py b/setup.py index 52eb29cb..029370d8 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ setup( name="pyinstrument", packages=find_namespace_packages(include=["pyinstrument*"]), - version="4.5.3", + version="4.6.0", ext_modules=[ Extension( "pyinstrument.low_level.stat_profile",