pyinstrument breaking changes
pyinstrument 5.1.4 (November 27, 2026) is its newest release with breaking changes, 6 of them. The first: Removed pyinstrument.frame_ops.combine_frames. Every breaking API change we have recorded in pyinstrument on PyPI: 9 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 5.1.4, released November 27, 2026. Source repository
Packages on PyPI run on Python. Python end of life dates.
pyinstrument 5.1.4 breaking changes
- Removed
pyinstrument.frame_ops.combine_frames
pyinstrument.frame_ops.combine_frames was removed in pyinstrument 5.1.4 pypi.org - Removed
pyinstrument.processors.combine_frames
pyinstrument.processors.combine_frames was removed in pyinstrument 5.1.4 pypi.org - Behavior changed
Resampled durations now use whole intervals, omitting the final partial interval, so resampled results differ from before. github.com - Behavior changed
flat_time
With flat_time="total", time is now summed across call sites without double-counting recursive calls, so reported totals change. github.com - Signature changed
pyinstrument.renderers.pstatsrenderer.PstatsRenderer.render_frame
Was def render_frame(self, frame: Frame | None, stats: StatsDict) -> None; now def render_frame(self, frame: Frame | None, stats: StatsDict, keys_on_stack: set[FrameKey] | None = None) -> None. pypi.org - Signature changed
pyinstrument.renderers.PstatsRenderer.render_frame
Was def render_frame(self, frame: Frame | None, stats: StatsDict) -> None; now def render_frame(self, frame: Frame | None, stats: StatsDict, keys_on_stack: set[FrameKey] | None = None) -> None. pypi.org
pyinstrument 5.1.3 breaking changes
- Removed
pyinstrument.vendor.appdirs
pyinstrument.vendor.appdirs was removed in pyinstrument 5.1.3 pypi.org - Signature changed
pyinstrument.Profiler.__exit__
Was def __exit__(self, *args: Any); now def __exit__(self, exc_type: type[BaseException] | None, exc_value: BaseException | None, traceback: types.TracebackType | None) -> None. pypi.org - Signature changed
pyinstrument.profiler.Profiler.__exit__
Was def __exit__(self, *args: Any); now def __exit__(self, exc_type: type[BaseException] | None, exc_value: BaseException | None, traceback: types.TracebackType | None) -> None. pypi.org
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.