Skip to content

v1.26.0: contacts job_title/phone_type, certifi floor, kiota cap lift, tag-only PyPI upload - #150

Merged
mpalermiti merged 1 commit into
mainfrom
release/1.26.0
Oct 23, 2026
Merged

mpalermiti merged 1 commit into
mainfrom
release/1.26.0

Conversation

@mpalermiti

Copy link
Copy Markdown
Owner

Version bump for 1.26.0: pyproject, server.json (both fields), uv.lock, CHANGELOG heading. Tool count unchanged at 68. Everything below merged via #122 and #123.

Fixed

  • Tool descriptions no longer carry the source file's indentation. The SDK publishes each
    tool's docstring as Python stores it. Python 3.13 strips a docstring's indentation when it
    compiles it; 3.10–3.12 keep it, so on those versions every client paid for about 240 proxy
    tokens of spaces on every turn. The tool-surface budget also measured a different number on
    each Python, so a change measured on 3.13 could fit the ceiling locally and fail CI. The
    descriptions are now dedented once, when each tool is registered, and the surface measures
    13,004 on every supported version.
  • A contact's job title no longer becomes part of its name. outlook_create_contact's
    title writes Graph's title, the name prefix ("Dr.", "Ms."), which Graph folds into the
    display name — so an agent filling in a business card that passed the person's job there got
    back "Engineer Jane Doe" (outlook_create_contact's title is Graph's name prefix, not a job title, so a job title becomes part of the display name #119). outlook_create_contact and outlook_update_contact now take
    job_title (Graph's jobTitle), outlook_get_contact returns it, and title is described as
    the prefix it is. title keeps its name and meaning, so existing callers are unaffected.
    outlook_update_contact also takes title now, so a job already stuck in the prefix can be
    corrected in place instead of by deleting and recreating the contact.
  • A business or home phone number can be saved as one. outlook_create_contact and
    outlook_update_contact wrote every phone to mobilePhone, so an office number from a
    business card was saved as a mobile and had to be moved by hand (Contact tools can only write a phone number as mobilePhone; business and home numbers cannot be set #120). A new phone_type
    argument (mobile, the default, business or home) files it under the matching Graph field.
    Graph keeps business and home numbers as lists, and a write replaces that list with the one
    number given — the same replace-not-merge rule the addresses follow.
    outlook_update_contact also takes clear_phones, which empties the types it names, so a
    number already saved as mobile moves to business in one update instead of leaving a copy
    behind in mobile.
  • A refused calendar update no longer claims nothing changed when it may have. A series
    update is pinned to the version it read, and Graph answers a stale pin with 412. The hint
    said "nothing was modified", but the SDK retries an update after a gateway timeout, and when
    the first attempt had gone through, the retry is the one refused — so an agent reported a
    change that landed as a failure (A kiota retry of a pinned PATCH that already landed gets 412, and the hint says nothing was modified #96). The hint now says the change may already have been
    applied and to re-read the item before trying again. Retry behaviour is unchanged.

Changed

Security

  • The release pipeline runs only actions it can name exactly. Every uses: in the CI and
    publish workflows is pinned to a full commit SHA, with the version it was resolved from as a
    comment; a version tag can be moved by the action's owner, a SHA cannot. Dependabot
    (GitHub Actions only) opens PRs to move the pins. Publishing is split into three jobs: build
    runs the checks, tests and build with no publishing token; pypi only uploads the built files,
    with no checkout and no cache; registry publishes to the MCP registry.
    tests/test_workflows_are_pinned.py holds both lines.
  • Only a release tag can upload to PyPI. The pypi job now runs in a pypi GitHub
    environment limited to v* tags, so a workflow run started from a branch cannot publish,
    and once PyPI's trusted publisher names the same environment, no other job in the workflow
    can either. The environment checks only the tag's name, so the lock is as strong as the
    rule on who may create a v* tag; RELEASING.md's appendix sets that up too. The manual
    retry after a partial failure now names the release tag
    (gh workflow run publish.yml --ref vX.Y.Z); without it the run starts on main and the
    environment refuses it. RELEASING.md's appendix gives the three settings and their order.
  • Sign-in and Graph calls stop trusting a compromised certificate authority — upgrade.
    msal (through requests) and httpx check Microsoft's certificates against certifi's bundle,
    and certifi before 2026.10.19 includes emSign ECC Root CA - G3, whose intermediate CA keys
    were stolen (GHSA-6q48-6c7w-9gw2): someone holding one and sitting on the network path could
    impersonate login.microsoftonline.com or graph.microsoft.com. Nothing set a minimum, so
    upgrading this package kept whatever certifi was already installed. It now requires
    certifi>=2026.10.19, and tests/test_trust_store_excludes_compromised_roots.py checks the
    root is gone from what both clients load. If you followed the README's Linux SSL fix and set
    SSL_CERT_FILE / REQUESTS_CA_BUNDLE, both clients read your system CA bundle instead of
    certifi, so upgrading this package changes nothing for you: update your distribution's CA
    package (ca-certificates) as well.
  • The lock moves aiohttp to 3.14.5 and opentelemetry-api to 1.45.1 (Dependabot alerts;
    lock only, nothing users install changes). aiohttp is never loaded (azure-core imports it
    only for async credentials, and sign-in is synchronous). The tracestate parsing the
    opentelemetry-api advisory names does run: the MCP SDK's default OpenTelemetryMiddleware
    extracts trace context from every request's _meta. But the server speaks only stdio, so the
    only party that can send _meta is the client that launched it, which is why there is no
    minimum on opentelemetry-api.

Documentation

  • The README and SKILL.md match the registered surface again, and a test keeps them there.
    concise is taken by six read tools, not five (outlook_read_messages was missing from
    both lists); the toolset example loads 28 tools, not "~30"; errors reach the client as a
    tool error whose text carries the message and hint, not a {code, message, action}
    response; the allow_categories table names every tool each category gates (draft
    attachments, reclassify, Focused Inbox overrides were missing); and the README's roadmap
    no longer offers inbox rules, which ROADMAP.md records as not viable on personal accounts.
    tests/test_docs_match_the_surface.py pins tool lists, per-section and total counts,
    toolset groups, the concise list, the category set and the prompts to the code.

Generated with Claude Code

https://claude.ai/code/session_01KDcqe6UfC9NDmAezNyvuhu

Contacts gain job_title, phone_type and clear_phones (#119, #120); the 412
hint no longer claims nothing changed (#96); certifi floored at 2026.10.19
(GHSA-6q48-6c7w-9gw2); kiota caps lifted on msgraph-core>=1.5.2 (#80); every
workflow action pinned to a SHA and the PyPI upload moved to its own
tag-only job. Tool count unchanged at 68.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KDcqe6UfC9NDmAezNyvuhu
@mpalermiti
mpalermiti merged commit a832318 into main Oct 23, 2026
16 checks passed
@mpalermiti
mpalermiti deleted the release/1.26.0 branch October 23, 2026 23:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant