Skip to content

v1.18.0

Latest

Choose a tag to compare

@jxnl jxnl released this 26 Nov 21:02
b01fff4

What's Changed

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

New Contributors

Full Changelog: v1.17.0...v1.18.0