- Home
- Releases
- Instructor
- 1.18.0
Instructor 1.18.0 release notes
Instructor 1.18.0 was released on November 26, 2026. It is the latest version.
Release notes
What's Changed
- fix(cache): prevent mapping-key collisions and strengthen coverage contracts by @jxnl in https://github.com/567-labs/instructor/pull/2614
- refactor(core): consolidate duplicate helpers and utility tests by @jxnl in https://github.com/567-labs/instructor/pull/2616
- refactor(v2): separate token-budget policy from retry execution by @jxnl in https://github.com/567-labs/instructor/pull/2617
- fix: prepare 1.17.1 streaming, GenAI and documentation consolidation by @jxnl in https://github.com/567-labs/instructor/pull/2628
- refactor(bedrock): move SDK construction into provider module by @jxnl in https://github.com/567-labs/instructor/pull/2618
- refactor(genai): own request configuration policy by @jxnl in https://github.com/567-labs/instructor/pull/2619
- refactor(cache): separate runtime response serialization by @jxnl in https://github.com/567-labs/instructor/pull/2621
- test(providers): expose CI evidence and add Responses wire contracts by @jxnl in https://github.com/567-labs/instructor/pull/2623
- test(core): distinguish response model allocations from retention by @jxnl in https://github.com/567-labs/instructor/pull/2624
- fix(retry): correct custom-policy terminal hooks and measure HTTP attempts by @jxnl in https://github.com/567-labs/instructor/pull/2625
- test(benchmarks): add reproducible offline performance baseline by @jxnl in https://github.com/567-labs/instructor/pull/2627
- fix(packaging): verify installed distributions and declare CLI dependency by @jxnl in https://github.com/567-labs/instructor/pull/2622
- Audit provider usage accounting and preserve Anthropic thinking totals by @jxnl in https://github.com/567-labs/instructor/pull/2620
- fix(streaming): honor request-local routing across providers by @jxnl in https://github.com/567-labs/instructor/pull/2626
- feat(release): consolidate reviewed Instructor 1.18 changes by @jxnl in https://github.com/567-labs/instructor/pull/2708
- feat(decisions): add typed Jev decision models by @jxnl-oai in https://github.com/567-labs/instructor/pull/2707
- fix(release): integrate compact 1.18 correctness and docs fixes by @jxnl in https://github.com/567-labs/instructor/pull/2767
- fix(security): protect request logs and scan incoming commits by @jxnl-oai in https://github.com/567-labs/instructor/pull/2880
- docs(anthropic): fix PdfWithCacheControl → PDFWithCacheControl by @ninglinLiu in https://github.com/567-labs/instructor/pull/2785
- docs(blog): drop non-existent RedisCache from native caching callout by @ninglinLiu in https://github.com/567-labs/instructor/pull/2786
- docs(partial): stop requiring deprecated PartialLiteralMixin by @ninglinLiu in https://github.com/567-labs/instructor/pull/2793
- docs(llms.txt): fix Maybe factory and result/error/message fields by @ninglinLiu in https://github.com/567-labs/instructor/pull/2794
- docs(tutorials): fix OpenAI().create(...) in 1-introduction.ipynb by @ninglinLiu in https://github.com/567-labs/instructor/pull/2788
- docs(tutorials): stop teaching instructor.patch() as the core path by @ninglinLiu in https://github.com/567-labs/instructor/pull/2789
- fix(batch): preserve output files and reject truncated results by @jxnl-oai in https://github.com/567-labs/instructor/pull/2881
- fix(citations): reject empty and unrelated short quotes by @jxnl-oai in https://github.com/567-labs/instructor/pull/2884
- fix(gemini): preserve caller messages during JSON preparation by @jxnl-oai in https://github.com/567-labs/instructor/pull/2885
- fix(patch): route wrapped async callables to the async parser by @jxnl-oai in https://github.com/567-labs/instructor/pull/2886
- fix(cache): restore legacy responses with envelope field names by @jxnl-oai in https://github.com/567-labs/instructor/pull/2887
- fix(security): make raw response logging opt-in and ignore disk caches by @jxnl-oai in https://github.com/567-labs/instructor/pull/2882
- fix(bedrock): preserve caller tool choice in tool modes by @jxnl-oai in https://github.com/567-labs/instructor/pull/2883
- docs: fix citation example, hook imports and Poetry extras by @jxnl-oai in https://github.com/567-labs/instructor/pull/2897
- fix(multimodal): handle long Base64 PDFs through Bedrock conversion by @jxnl-oai in https://github.com/567-labs/instructor/pull/2898
- fix(streaming): preserve Unicode control characters in JSON strings by @jxnl-oai in https://github.com/567-labs/instructor/pull/2899
- fix(streaming): resolve field aliases in partial snapshots by @jxnl-oai in https://github.com/567-labs/instructor/pull/2900
- fix(core): preserve ReadOnly TypedDict field schemas by @jxnl-oai in https://github.com/567-labs/instructor/pull/2901
- fix(providers): retry empty completion choices across handlers by @jxnl-oai in https://github.com/567-labs/instructor/pull/2902
- fix(core): preserve validation details and repair the batch tutorial by @jxnl-oai in https://github.com/567-labs/instructor/pull/2903
- fix(openai): preserve caller tools in structured Responses requests by @jxnl-oai in https://github.com/567-labs/instructor/pull/2904
- fix(anthropic): choose compatible defaults for thinking and tool use by @jxnl-oai in https://github.com/567-labs/instructor/pull/2905
- fix(batch): retain OpenAI request error messages and HTTP status by @jxnl-oai in https://github.com/567-labs/instructor/pull/2906
- fix(gemini): retain retry feedback for blocked and prose responses by @jxnl-oai in https://github.com/567-labs/instructor/pull/2907
- fix(batch): normalize provider job status and validation errors by @jxnl-oai in https://github.com/567-labs/instructor/pull/2908
- fix(multimodal): normalize MIME types and parameterized data URIs by @jxnl-oai in https://github.com/567-labs/instructor/pull/2909
- docs: correct spelling and provider names across examples and posts by @jxnl-oai in https://github.com/567-labs/instructor/pull/2910
- fix(parallel): dispatch by declared tool names and reject collisions by @jxnl-oai in https://github.com/567-labs/instructor/pull/2911
- fix(streaming): select the last valid JSON for single-model responses by @jxnl-oai in https://github.com/567-labs/instructor/pull/2912
- fix(validation): collect async errors across nested containers by @jxnl-oai in https://github.com/567-labs/instructor/pull/2913
- fix(templating): render provider text blocks and system prompts by @jxnl-oai in https://github.com/567-labs/instructor/pull/2914
- chore(metadata): remove personal maintainer email by @jxnl in https://github.com/567-labs/instructor/pull/2640
- fix(distil): resolve return annotations and refresh model defaults by @jxnl-oai in https://github.com/567-labs/instructor/pull/2919
- fix(core): report missing template variables and join message runs by @jxnl-oai in https://github.com/567-labs/instructor/pull/2918
- ci(actions): refresh pinned workflow dependencies by @jxnl-oai in https://github.com/567-labs/instructor/pull/2921
- fix(batch): recover expired outputs and stop failed file polling by @jxnl-oai in https://github.com/567-labs/instructor/pull/2922
- fix(multimodal): preserve media fallbacks and tool-call turns by @jxnl-oai in https://github.com/567-labs/instructor/pull/2915
- fix(core): preserve handler errors and shallow client copies by @jxnl-oai in https://github.com/567-labs/instructor/pull/2917
- fix(providers): parse text blocks and account for Responses usage by @jxnl-oai in https://github.com/567-labs/instructor/pull/2920
- fix(streaming): validate completed mapping models and dependent defaults by @jxnl-oai in https://github.com/567-labs/instructor/pull/2924
- fix(bedrock): preserve Converse inputs and scope bearer tokens by @jxnl-oai in https://github.com/567-labs/instructor/pull/2916
- fix(cache): restore aliased models and isolate request options by @jxnl-oai in https://github.com/567-labs/instructor/pull/2925
- docs: repair union examples and consolidate provider contribution guidance by @jxnl-oai in https://github.com/567-labs/instructor/pull/2926
- docs: publish the Simplified Chinese README with matching examples by @jxnl-oai in https://github.com/567-labs/instructor/pull/2928
- fix(providers): reject truncated Google results and skip empty deltas by @jxnl-oai in https://github.com/567-labs/instructor/pull/2923
- fix(openai): share strict schemas across chat, tools, and batches by @jxnl-oai in https://github.com/567-labs/instructor/pull/2930
- fix(streaming): preserve tool-call boundaries and reject injected Markdown items by @jxnl-oai in https://github.com/567-labs/instructor/pull/2927
- fix(models): support collection responses and reuse schema wrappers safely by @jxnl-oai in https://github.com/567-labs/instructor/pull/2929
- docs(integrations): consolidate OpenAI-compatible gateway examples by @jxnl-oai in https://github.com/567-labs/instructor/pull/2934
- build(deps): resolve OpenAI 3.x with Jiter and expand safe LiteLLM versions by @jxnl-oai in https://github.com/567-labs/instructor/pull/2933
- docs(examples): ground extracted claims and product facts in source quotes by @jxnl-oai in https://github.com/567-labs/instructor/pull/2936
- feat(batch): add Mistral job and result support by @jxnl-oai in https://github.com/567-labs/instructor/pull/2932
- feat(providers): share OpenAI-compatible gateway clients and mode contracts by @jxnl-oai in https://github.com/567-labs/instructor/pull/2935
- docs(examples): trace Instructor with content-redacted Arize and Phoenix spans by @jxnl-oai in https://github.com/567-labs/instructor/pull/2938
- docs(examples): extract medication reports with evidence for pharmacist review by @jxnl-oai in https://github.com/567-labs/instructor/pull/2939
- fix(batch): keep Anthropic result streams open until downloads finish by @jxnl-oai in https://github.com/567-labs/instructor/pull/2942
- docs(examples): add request-scoped persistent memory with Dakera by @jxnl-oai in https://github.com/567-labs/instructor/pull/2943
- feat(schema): add bounded schema analysis and opt-in mode suggestions by @jxnl-oai in https://github.com/567-labs/instructor/pull/2941
- feat(azure): support Foundry clients and Azure provider aliases by @jxnl-oai in https://github.com/567-labs/instructor/pull/2937
- docs: fix the monthly documentation example checks by @jxnl-oai in https://github.com/567-labs/instructor/pull/2944
- build(deps): update provider SDKs with tested Python and transport compatibility by @jxnl-oai in https://github.com/567-labs/instructor/pull/2945
- fix(cache): preserve distinct fields with overlapping validation aliases by @jxnl-oai in https://github.com/567-labs/instructor/pull/2947
- fix(streaming): isolate tool-call arguments and simplify partial field parsing by @jxnl-oai in https://github.com/567-labs/instructor/pull/2948
- fix(batch): preserve Mistral output and share SDK resolution by @jxnl-oai in https://github.com/567-labs/instructor/pull/2949
- fix(providers): route gateway SDK options and type generated factories by @jxnl-oai in https://github.com/567-labs/instructor/pull/2950
- test: replace duplicate fixtures with independent behavior assertions by @jxnl-oai in https://github.com/567-labs/instructor/pull/2951
- fix(security): restrict disk response caches to inline data by @jxnl-oai in https://github.com/567-labs/instructor/pull/2952
- fix(ci): scan incoming lockfile history for private registry URLs by @jxnl-oai in https://github.com/567-labs/instructor/pull/2954
- fix(deps): require Python 3.10 and remove affected dependency lines by @jxnl-oai in https://github.com/567-labs/instructor/pull/2955
- fix(ci): restrict provider credentials to live test steps by @jxnl-oai in https://github.com/567-labs/instructor/pull/2953
- docs(cache): use shared response caches and hashed request keys by @jxnl-oai in https://github.com/567-labs/instructor/pull/2957
- fix(release): verify source provenance and use PyPI trusted publishing by @jxnl-oai in https://github.com/567-labs/instructor/pull/2958
- fix(security): keep provider and validation payloads out of automatic logs by @jxnl-oai in https://github.com/567-labs/instructor/pull/2956
- fix(types): distinguish sync and async Responses clients by @jxnl-oai in https://github.com/567-labs/instructor/pull/2959
- fix(providers): honor explicit modes across SDK factories by @jxnl-oai in https://github.com/567-labs/instructor/pull/2963
- test: remove self-confirming provider checks and unused fixtures by @jxnl-oai in https://github.com/567-labs/instructor/pull/2964
- fix(deps): lock audited dependency updates and check freshness in CI by @jxnl-oai in https://github.com/567-labs/instructor/pull/2965
- fix(docs): unify example dependencies and validate Logfire routes by @jxnl-oai in https://github.com/567-labs/instructor/pull/2966
- ci: split offline tests and combine coverage by @jxnl-oai in https://github.com/567-labs/instructor/pull/2967
- fix(ci): reuse verified main coverage and lock build tools by @jxnl-oai in https://github.com/567-labs/instructor/pull/2968
- build(deps): bump astral-sh/setup-uv from 10.0.1 to 10.3.3 by @dependabot[bot] in https://github.com/567-labs/instructor/pull/2972
- test(registry): isolate decorator registrations by @jxnl-oai in https://github.com/567-labs/instructor/pull/2974
- feat(decisions): support native OpenAI clients and inputs by @jxnl-oai in https://github.com/567-labs/instructor/pull/2975
- docs(decisions): clarify SDK usage and version availability by @jxnl-oai in https://github.com/567-labs/instructor/pull/2973
- docs(batch): align guides with supported providers by @shuaiyafei in https://github.com/567-labs/instructor/pull/3036
- docs: fix compatability typo in Gemini multimodal tests by @ninglinLiu in https://github.com/567-labs/instructor/pull/2976
- fix(anthropic): report max_tokens between iterable stream items by @feiiiiii5 in https://github.com/567-labs/instructor/pull/2991
- fix(ci): reuse the provider filter in weekly tests by @jxnl-oai in https://github.com/567-labs/instructor/pull/3030
- perf(openai): yield sync partials as chunks arrive by @jxnl-oai in https://github.com/567-labs/instructor/pull/3040
- Speed up OpenAI strict schema copying by @jxnl-oai in https://github.com/567-labs/instructor/pull/3045
- fix: 1.18 community batch (CLI, batch, token limits, providers, DSL) by @jxnl in https://github.com/567-labs/instructor/pull/3056
- Optimize partial streaming and migrate native models to Luna and Haiku by @jxnl-oai in https://github.com/567-labs/instructor/pull/3041
- perf(streaming): skip parsed spans and pass whole JSON candidates by @jxnl-oai in https://github.com/567-labs/instructor/pull/3131
- perf(partial): reuse the JSON parse for completeness checks by @jxnl-oai in https://github.com/567-labs/instructor/pull/3129
- docs: improve search metadata and clarify Python guides by @jxnl-oai in https://github.com/567-labs/instructor/pull/3130
New Contributors
- @ninglinLiu made their first contribution in https://github.com/567-labs/instructor/pull/2785
- @shuaiyafei made their first contribution in https://github.com/567-labs/instructor/pull/3036
- @feiiiiii5 made their first contribution in https://github.com/567-labs/instructor/pull/2991
Full Changelog: https://github.com/567-labs/instructor/compare/v1.17.0...v1.18.0
Source: GitHub release v1.18.0