instructor breaking changes
instructor 1.0.0 (April 1, 2024) is its newest release with breaking changes, 3 of them. The first: Removed instructor.dsl.validators.instructor. Every breaking API change we have recorded in instructor on PyPI: 41 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 1.18.0, released November 26, 2026.
Packages on PyPI run on Python. Python end of life dates.
- From 0.6.0 to 1.0.0: 3 breaking changes in 1 version.
- From 0.5.0 to 1.0.0: 20 breaking changes in 2 versions.
instructor 1.0.0 breaking changes
- Removed
instructor.dsl.validators.instructor
instructor.dsl.validators.instructor was removed in instructor 1.0.0 pypi.org - Signature changed
instructor.llm_validator
Was def llm_validator(statement: str, allow_override: bool = False, model: str = 'gpt-3.5-turbo', temperature: float = 0, openai_client: Optional[OpenAI] = None) -> Callable[[str], str]; now def llm_validator(statement: str, client... pypi.org - Signature changed
instructor.openai_moderation
Was def openai_moderation(client: Optional[OpenAI] = None) -> Callable[[str], str]; now def openai_moderation(client: OpenAI) -> Callable[[str], str]. pypi.org
instructor 0.6.0 breaking changes
- Default changed
instructor.patch.py
The default mode in patch.py is now TOOLS instead of FUNCTIONS. Code that relied on the default should set the mode explicitly to keep the old behavior. github.com - Default changed
max_retries
The default number of validation retries went from 1 to 2, so failing validations now retry one more time. Set max_retries explicitly to keep the old count. github.com - Signature changed
instructor.apatch
Was def apatch(client: AsyncOpenAI, mode: Mode = Mode.FUNCTIONS); now def apatch(client: AsyncOpenAI, mode: Mode = Mode.TOOLS). pypi.org - Signature changed
instructor.distil.format_function
Was def format_function(func: Callable) -> str; now def format_function(func: Callable[..., Any]) -> str. pypi.org - Signature changed
instructor.distil.get_signature_from_fn
Was def get_signature_from_fn(fn: Callable) -> str; now def get_signature_from_fn(fn: Callable[..., Any]) -> str. pypi.org - Signature changed
instructor.dsl.validators.patch
Was def patch(client: Union[OpenAI, AsyncOpenAI] = None, create: Callable[T_ParamSpec, T_Retval] = None, mode: Mode = Mode.FUNCTIONS) -> Union[OpenAI, AsyncOpenAI]; now def patch(client: Union[OpenAI, AsyncOpenAI] = None, create... pypi.org - Signature changed
instructor.Instructions.__init__
Was def __init__(self, name: str = None, id: str = None, log_handlers: List[logging.Handler] = None, finetune_format: FinetuneFormat = FinetuneFormat.MESSAGES, indent: int = 2, include_code_body: bool = False, openai_client: OpenAI =... pypi.org - Signature changed
instructor.Instructions.distil
Was def distil(self, *args, name: str = None, mode: str = 'distil', model: str = 'gpt-3.5-turbo', fine_tune_format: FinetuneFormat = None); now def distil(self, *args: Any, name: Optional[str] = None, mode: str = 'distil', model: str =... pypi.org - Signature changed
instructor.Instructions.track
Was def track(self, fn: Callable[..., Any], args: tuple, kwargs: dict, resp: BaseModel, name: Optional[str] = None, finetune_format: FinetuneFormat = FinetuneFormat.MESSAGES); now def track(self, fn: Callable[..., Any], args: Tuple[Any... pypi.org - Signature changed
instructor.openai_moderation
Was def openai_moderation(client: OpenAI = None); now def openai_moderation(client: Optional[OpenAI] = None) -> Callable[[str], str]. pypi.org
And 7 more in this version. Sign up to see every change
instructor 0.5.0 breaking changes
- Removed
instructor.dsl.multitask
instructor.dsl.multitask was removed in instructor 0.5.0 pypi.org - Removed
instructor.MultiTask
instructor.MultiTask was removed in instructor 0.5.0 pypi.org - Removed
instructor.OpenAISchema.from_response_async
instructor.openai_schema().from_response_async() was removed in instructor 0.5.0 pypi.org - Removed
instructor.patch.MultiTaskBase
instructor.patch.MultiTaskBase was removed in instructor 0.5.0 pypi.org - Removed
instructor.patch.wrap_chatcompletion
instructor.patch.wrap_chatcompletion was removed in instructor 0.5.0 pypi.org - Signature changed
instructor.cli.jobs.create_from_file
Was def create_from_file(file: str = typer.Argument(..., help='Path to the file for fine-tuning'), model: str = typer.Option('gpt-3.5-turbo', help='Model to use for fine-tuning'), poll: int = typer.Option(2, help='Polling interval in... pypi.org - Signature changed
instructor.cli.jobs.create_from_id
Was def create_from_id(id: str = typer.Argument(..., help='ID of the existing fine-tuning job'), model: str = typer.Option('gpt-3.5-turbo', help='Model to use for fine-tuning'), n_epochs: int = typer.Option(None, help='Number of epochs for... pypi.org - Signature changed
instructor.cli.jobs.get_jobs
Was def get_jobs(limit: int = 5) -> List; now def get_jobs(limit: int = 5) -> List[FineTuningJob]. pypi.org - Signature changed
instructor.dsl.partial.JSONParser.parse_number
Was def parse_number(self, s, e); now def parse_number(self, s). pypi.org - Signature changed
instructor.dsl.validators.patch
Was def patch(client: Union[OpenAI, AsyncOpenAI], mode: Mode = Mode.FUNCTIONS); now def patch(client: Union[OpenAI, AsyncOpenAI] = None, create: Callable[T_ParamSpec, T_Retval] = None, mode: Mode = Mode.FUNCTIONS) -> Union[OpenAI... pypi.org
And 11 more in this version. Sign up to see every change
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.