Skip to content

Commit

Permalink
Bump version: v4.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
joerick committed Oct 12, 2023
1 parent d7d20ec commit 0fe2318
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
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.5.3"
release = "4.6.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.5.3"
__version__ = "4.6.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.5.3",
version="4.6.0",
ext_modules=[
Extension(
"pyinstrument.low_level.stat_profile",
Expand Down

0 comments on commit 0fe2318

Please sign in to comment.