pycalphad breaking changes
pycalphad 0.12.0 (November 10, 2026) is its newest release with breaking changes, 16 of them. The first: Removed BinaryStrategy. Every breaking API change we have recorded in pycalphad on PyPI: 16 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 0.12.0, released November 10, 2026. Source repository
Packages on PyPI run on Python. Python end of life dates.
pycalphad 0.12.0 breaking changes
- Removed
BinaryStrategy
BinaryStrategy was merged into TielineStrategy. Use TielineStrategy instead. github.com - Removed
generate_dof
The deprecated generate_dof helper utility was removed. Stop calling it. github.com - Removed
TernaryStrategy
TernaryStrategy was merged into TielineStrategy. Use TielineStrategy instead. github.com - Behavior changed
Model contributions must now return their energies per mole of formula units, not per mole of atoms. Update custom model contributions to match. github.com - Behavior changed
Model.ast
Model.ast was refactored to be in formula units. Code that reads it must expect formula-unit values. github.com - Signature changed
pycalphad.io.tdb.write_tdb
Was def write_tdb(dbf, fd, groupby='subsystem', if_incompatible='warn'); now def write_tdb(dbf, fd, groupby='subsystem', if_incompatible='warn', maxlen=78). pypi.org - Signature changed
pycalphad.mapping.BinaryStrategy
Was class BinaryStrategy(MapStrategy); now class BinaryStrategy(TielineStrategy). pypi.org - Signature changed
pycalphad.mapping.plot_binary
Was def plot_binary(strategy: BinaryStrategy, x: v.StateVariable = None, y: v.StateVariable = None, ax=None, tielines=1, label_nodes=False, legend_generator=phase_legend, tieline_color=(0, 1, 0, 1), tie_triangle_color=(1, 0, 0, 1), *args... pypi.org - Signature changed
pycalphad.mapping.plot_ternary
Was def plot_ternary(strategy: TernaryStrategy, x: v.StateVariable = None, y: v.StateVariable = None, ax=None, tielines=1, label_nodes=False, legend_generator=phase_legend, tieline_color=(0, 1, 0, 1), tie_triangle_color=(1, 0, 0, 1)... pypi.org - Signature changed
pycalphad.mapping.plotting.plot_invariants
Was def plot_invariants(ax, strategy: Union[BinaryStrategy, TernaryStrategy], x: v.StateVariable, y: v.StateVariable, phase_colors, label_end_points: bool = False, tie_triangle_color=(1, 0, 0, 1)); now def plot_invariants(ax, strategy... pypi.org - Signature changed
pycalphad.mapping.plotting.plot_tielines
Was def plot_tielines(ax, strategy: Union[BinaryStrategy, TernaryStrategy], x: v.StateVariable, y: v.StateVariable, phase_colors, tielines=1, tieline_color=(0, 1, 0, 1)); now def plot_tielines(ax, strategy: TielineStrategy, x... pypi.org - Signature changed
pycalphad.mapping.TernaryStrategy
Was class TernaryStrategy(MapStrategy); now class TernaryStrategy(TielineStrategy). pypi.org - Signature changed
pycalphad.mapping.utils.degrees_of_freedom
Was def degrees_of_freedom(point: Union[Point, Node], components: list[str], num_potential_conditions: int); now def degrees_of_freedom(point: Union[Point, Node], components: list[str], num_fixed_potentials: int). pypi.org - Signature changed
pycalphad.tests.test_mapping_strategy.BinaryStrategy
Was class BinaryStrategy(MapStrategy); now class BinaryStrategy(TielineStrategy). pypi.org - Signature changed
pycalphad.tests.test_mapping_strategy.plot_ternary
Was def plot_ternary(strategy: TernaryStrategy, x: v.StateVariable = None, y: v.StateVariable = None, ax=None, tielines=1, label_nodes=False, legend_generator=phase_legend, tieline_color=(0, 1, 0, 1), tie_triangle_color=(1, 0, 0, 1)... pypi.org - Signature changed
pycalphad.tests.test_mapping_strategy.TernaryStrategy
Was class TernaryStrategy(MapStrategy); now class TernaryStrategy(TielineStrategy). 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.