Repository navigation
v1.26.0: contacts job_title/phone_type, certifi floor, kiota cap lift, tag-only PyPI upload - #150
Merged
Merged
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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'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.
outlook_create_contact'stitlewrites Graph'stitle, the name prefix ("Dr.", "Ms."), which Graph folds into thedisplay name — so an agent filling in a business card that passed the person's job there got
back "Engineer Jane Doe" (
outlook_create_contact'stitleis Graph's name prefix, not a job title, so a job title becomes part of the display name #119).outlook_create_contactandoutlook_update_contactnow takejob_title(Graph'sjobTitle),outlook_get_contactreturns it, andtitleis described asthe prefix it is.
titlekeeps its name and meaning, so existing callers are unaffected.outlook_update_contactalso takestitlenow, so a job already stuck in the prefix can becorrected in place instead of by deleting and recreating the contact.
outlook_create_contactandoutlook_update_contactwrote everyphonetomobilePhone, so an office number from abusiness 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 newphone_typeargument (
mobile, the default,businessorhome) 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_contactalso takesclear_phones, which empties the types it names, so anumber already saved as mobile moves to business in one update instead of leaving a copy
behind in mobile.
update is pinned to the version it read, and Graph answers a stale pin with
412. The hintsaid "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 beenapplied and to re-read the item before trying again. Retry behaviour is unchanged.
Changed
microsoft-kiota-*below 1.13 because
msgraph-core1.5.1 stopped rewriting/meunder it, so every callfailed with
me-token-to-replace is invalid(me-token-to-replace is invalidon fresh install — microsoft-kiota >=1.13.0 breaks/mecalls #80).msgraph-core1.5.2 carries the fix(fix: honor Kiota request extensions in Graph transport microsoftgraph/msgraph-sdk-python-core#1129), so the cap is gone and
msgraph-core>=1.5.2takes its place. The floor is what keeps it fixed:
msgraph-sdkstill accepts 1.5.1, whichinstalls beside kiota 1.13+ and breaks
/methe same way. The lock now resolves kiota 1.14.3and
msgraph-core1.5.2, andtests/test_me_rewrite_reaches_the_wire.pyfails on 1.5.1 withkiota 1.14.3 and passes on 1.5.2.
Security
uses:in the CI andpublish 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:
buildruns the checks, tests and build with no publishing token;
pypionly uploads the built files,with no checkout and no cache;
registrypublishes to the MCP registry.tests/test_workflows_are_pinned.pyholds both lines.pypijob now runs in apypiGitHubenvironment 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 manualretry after a partial failure now names the release tag
(
gh workflow run publish.yml --ref vX.Y.Z); without it the run starts onmainand theenvironment refuses it. RELEASING.md's appendix gives the three settings and their order.
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 keyswere stolen (GHSA-6q48-6c7w-9gw2): someone holding one and sitting on the network path could
impersonate
login.microsoftonline.comorgraph.microsoft.com. Nothing set a minimum, soupgrading this package kept whatever certifi was already installed. It now requires
certifi>=2026.10.19, andtests/test_trust_store_excludes_compromised_roots.pychecks theroot 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 ofcertifi, so upgrading this package changes nothing for you: update your distribution's CA
package (
ca-certificates) as well.aiohttpto 3.14.5 andopentelemetry-apito 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
tracestateparsing theopentelemetry-api advisory names does run: the MCP SDK's default
OpenTelemetryMiddlewareextracts trace context from every request's
_meta. But the server speaks only stdio, so theonly party that can send
_metais the client that launched it, which is why there is nominimum on opentelemetry-api.
Documentation
conciseis taken by six read tools, not five (outlook_read_messageswas missing fromboth 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_categoriestable names every tool each category gates (draftattachments, 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.pypins 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