tinker-cookbook breaking changes
tinker-cookbook 0.6.0 (November 5, 2026) is its newest release with breaking changes, 27 of them. The first: Removed tinker_cookbook.renderers.tml_v0.AudioPart. Every breaking API change we have recorded in tinker-cookbook on PyPI: 27 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.7.2, released December 5, 2026. Source repository
Packages on PyPI run on Python. Python end of life dates.
tinker-cookbook 0.6.0 breaking changes
- Removed
tinker_cookbook.renderers.tml_v0.AudioPart
tinker_cookbook.renderers.tml_v0.AudioPart was removed in tinker-cookbook 0.6.0 pypi.org - Removed
tinker_cookbook.renderers.tml_v0.image_to_data_uri
tinker_cookbook.renderers.tml_v0.image_to_data_uri was removed in tinker-cookbook 0.6.0 pypi.org - Renamed
tinker_cookbook.capture.proxy.app.SamplingClientLike.sample_async
Use SamplingClientLike.sample instead. pypi.org - Renamed
tinker_cookbook.renderers.tml_v0.ImagePart
Use tinker_cookbook.third_party.openai_compat.ImagePart instead. pypi.org - Renamed
tinker_cookbook.renderers.tml_v0.ToolCall
Use tinker_cookbook.third_party.tml_renderers_compat.ToolCall instead. pypi.org - Signature changed
tinker_cookbook.completers.TokensWithLogprobs.__init__
Was def __init__(self, tokens: list[int], maybe_logprobs: list[float] | None, stop_reason: tinker.StopReason = 'stop') -> None; now def __init__(self, tokens: list[int], maybe_logprobs: list[float] | None, stop_reason: tinker.StopReason =... pypi.org - Signature changed
tinker_cookbook.distillation.sdft.assemble_training_data
Was def assemble_training_data(trajectory_groups_P: list[TrajectoryGroup], advantages_P: list[torch.Tensor]) -> tuple[list[tinker.Datum], list[dict[str, int]]]; now def assemble_training_data(trajectory_groups_P: list[TrajectoryGroup]... pypi.org - Signature changed
tinker_cookbook.distillation.sdft.save_checkpoint_and_get_sampling_client
Was async def save_checkpoint_and_get_sampling_client(training_client: tinker.TrainingClient, checkpoint_mgr: checkpoint_utils.CheckpointManager, i_batch: int, start_batch: int = 0) -> tuple[tinker.SamplingClient, dict[str, Any]]; now... pypi.org - Signature changed
tinker_cookbook.distillation.train_on_policy.assemble_training_data
Was def assemble_training_data(trajectory_groups_P: list[TrajectoryGroup], advantages_P: list[torch.Tensor]) -> tuple[list[tinker.Datum], list[dict[str, int]]]; now def assemble_training_data(trajectory_groups_P: list[TrajectoryGroup]... pypi.org - Signature changed
tinker_cookbook.distillation.train_on_policy.compute_full_batch_metrics_and_get_sampling_client
Was async def compute_full_batch_metrics_and_get_sampling_client(training_client: tinker.TrainingClient, checkpoint_mgr: checkpoint_utils.CheckpointManager, i_batch: int, data_D: list[tinker.Datum], training_logprobs_D: list[torch.Tensor]... pypi.org - Signature changed
tinker_cookbook.distillation.train_on_policy.save_checkpoint_and_get_sampling_client
Was async def save_checkpoint_and_get_sampling_client(training_client: tinker.TrainingClient, checkpoint_mgr: checkpoint_utils.CheckpointManager, i_batch: int, start_batch: int = 0) -> tuple[tinker.SamplingClient, dict[str, Any]]; now... pypi.org - Signature changed
tinker_cookbook.rl.data_processing.assemble_training_data
Was def assemble_training_data(trajectory_groups_P: list[TrajectoryGroup], advantages_P: list[torch.Tensor]) -> tuple[list[tinker.Datum], list[dict[str, int]]]; now def assemble_training_data(trajectory_groups_P: list[TrajectoryGroup]... pypi.org - Signature changed
tinker_cookbook.rl.data_processing.trajectory_to_data
Was def trajectory_to_data(traj: Trajectory, traj_advantage: float) -> list[tinker.Datum]; now def trajectory_to_data(traj: Trajectory, traj_advantage: float, include_provenance: bool = True) -> list[tinker.Datum]. pypi.org - Signature changed
tinker_cookbook.rl.metrics.compute_post_kl
Was async def compute_post_kl(data_D: list[tinker.Datum], post_sampling_client: tinker.SamplingClient) -> dict[str, float]; now async def compute_post_kl(data_D: list[tinker.Datum], post_sampling_client: tinker.SamplingClient) ->... pypi.org - Signature changed
tinker_cookbook.rl.metrics.incorporate_kl_penalty
Was async def incorporate_kl_penalty(data_D: list[tinker.Datum], base_sampling_client: tinker.SamplingClient, kl_penalty_coef: float, kl_discount_factor: float) -> dict[str, float]; now async def incorporate_kl_penalty(data_D... pypi.org - Signature changed
tinker_cookbook.rl.train.assemble_training_data
Was def assemble_training_data(trajectory_groups_P: list[TrajectoryGroup], advantages_P: list[torch.Tensor]) -> tuple[list[tinker.Datum], list[dict[str, int]]]; now def assemble_training_data(trajectory_groups_P: list[TrajectoryGroup]... pypi.org - Signature changed
tinker_cookbook.rl.train.compute_full_batch_metrics_and_get_sampling_client
Was async def compute_full_batch_metrics_and_get_sampling_client(training_client: tinker.TrainingClient, checkpoint_mgr: checkpoint_utils.CheckpointManager, i_batch: int, data_D: list[tinker.Datum], training_logprobs_D: list[torch.Tensor]... pypi.org - Signature changed
tinker_cookbook.rl.train.compute_post_kl
Was async def compute_post_kl(data_D: list[tinker.Datum], post_sampling_client: tinker.SamplingClient) -> dict[str, float]; now async def compute_post_kl(data_D: list[tinker.Datum], post_sampling_client: tinker.SamplingClient) ->... pypi.org - Signature changed
tinker_cookbook.rl.train.do_async_training
Was async def do_async_training(start_batch: int, end_batch: int, num_batches: int, config: Config, training_client: tinker.TrainingClient, kl_reference_client: tinker.SamplingClient | None, evaluators: list[SamplingClientEvaluator]... pypi.org - Signature changed
tinker_cookbook.rl.train.do_sync_training
Was async def do_sync_training(start_batch: int, end_batch: int, num_batches: int, config: Config, training_client: tinker.TrainingClient, kl_reference_client: tinker.SamplingClient | None, evaluators: list[SamplingClientEvaluator]... pypi.org - Signature changed
tinker_cookbook.rl.train.do_sync_training_with_stream_minibatch
Was async def do_sync_training_with_stream_minibatch(start_batch: int, end_batch: int, num_batches: int, config: Config, training_client: tinker.TrainingClient, kl_reference_client: tinker.SamplingClient | None, evaluators... pypi.org - Signature changed
tinker_cookbook.rl.train.do_train_step_and_get_sampling_client
Was async def do_train_step_and_get_sampling_client(config: Config, i_batch: int, training_client: tinker.TrainingClient, checkpoint_mgr: checkpoint_utils.CheckpointManager, kl_reference_client: tinker.SamplingClient | None, tokenizer... pypi.org - Signature changed
tinker_cookbook.rl.train.do_train_step_streaming_and_get_sampling_client
Was async def do_train_step_streaming_and_get_sampling_client(config: Config, i_batch: int, trajectory_groups_queue: asyncio.Queue[WrappedTrajectoryGroup | _Shutdown | None], training_client: tinker.TrainingClient, checkpoint_mgr... pypi.org - Signature changed
tinker_cookbook.rl.train.incorporate_kl_penalty
Was async def incorporate_kl_penalty(data_D: list[tinker.Datum], base_sampling_client: tinker.SamplingClient, kl_penalty_coef: float, kl_discount_factor: float) -> dict[str, float]; now async def incorporate_kl_penalty(data_D... pypi.org - Signature changed
tinker_cookbook.rl.train.prepare_minibatch
Was async def prepare_minibatch(env_group_builders_P: Sequence[EnvGroupBuilder], trajectory_groups_P: list[TrajectoryGroup], tokenizer: Tokenizer, kl_reference_client: tinker.SamplingClient | None, kl_penalty_coef: float... pypi.org - Signature changed
tinker_cookbook.rl.train.save_checkpoint_and_get_sampling_client
Was async def save_checkpoint_and_get_sampling_client(training_client: tinker.TrainingClient, checkpoint_mgr: checkpoint_utils.CheckpointManager, i_batch: int, start_batch: int = 0) -> tuple[tinker.SamplingClient, dict[str, Any]]; now... pypi.org - Signature changed
tinker_cookbook.utils.trace.FunctionCallContext.__init__
Was def __init__(self, scope_context: ScopeContext, coroutine_name: str, thread_name: str, category: str, thread_id: int) -> None; now def __init__(self, scope_context: ScopeContext, coroutine_name: str, thread_name: str, category: str... 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.