Skip to content

Release 0.5.0 - #139

Merged
manish-wekan merged 208 commits into
mainfrom
develop
Nov 26, 2026
Merged

manish-wekan merged 208 commits into
mainfrom
develop

Conversation

@manish-wekan

Copy link
Copy Markdown
Collaborator

Summary

Release 0.5.0: promotes develop to main. The full change list and evidence are in #138.

 main (0.4.2)
+  TS 1.1.3 ports: default app mode openai, ExecutionContext.input, JSON body limit (1mb), calculator hardening
+  E2E fixes: dev hot reload, dev --port, packed wheels ship main.py, nitrostack>=<SDK> pin, stable tools/list order
+  perf: lazy `import nitrostack` (~502 → ~59 ms), tools/list 130 → ~414 rps
+  version 0.5.0

On merge, publish.yml builds the package, uploads 0.5.0 to PyPI (trusted publishing; it skips if the version is already there) and tags v0.5.0.

Evidence

Merge Danger

Door: one-way for the PyPI upload. A published 0.5.0 can be yanked but its version number can never be reused. The git merge itself can be reverted.

Blast Radius: wide. All pip install nitrostack users get 0.5.0. Behaviour changes are listed in #138's Merge Danger section, mainly the openai default app mode and the 1mb HTTP JSON body limit.

🤖 Generated with Claude Code

ROHIT-JR and others added 30 commits September 15, 2026 12:37
[security] Mitigate eMudhra/emSign CA incident in dependency resolution, CI, and CLI installs : Issue #79
fix(auth): deny CIMD host mismatch, require pinned IP for outbound peer, remove duplicate helpers
[health] Async @health_check methods always report an error  #63
… the legacy wire

- tools/list no longer advertises execution.taskSupport or _meta.task_support
  on auto/modern (regression tests added, they fail without the fix)
- restore the in-flight registry and cancel handling that the previous commit
  removed by accident (needed for concurrent calls that reuse a JSON-RPC id)
- tests that exercise task augmentation now build their app with
  protocol_era="legacy"
…y-v2

[transforms] Progressive tool discovery (#62)
Resolve the modify/delete conflicts by keeping the sidecar modules deleted, as
this PR intends. develop's session-id rejection lived only in those modules.
…TP rules as xfail

- remove tests that import or exercise StatelessIngressPipeline, IngressContext,
  StatelessTransportMiddleware and build_ping_response (the code is deleted)
- the 21 HTTP tests that checked rules only the sidecar enforced are marked
  xfail(run=False) with a reason instead of being deleted, because the official
  /mcp app behaves differently (session-id rejection, Mcp-Method/Mcp-Name rules,
  modern initialize rejection). They need a keep-or-drop decision.
Resolve nitrostack/testing/__init__.py by keeping develop's create(protocol_era=None,
transforms=None); the earlier protocol_era='auto' default is covered by it.
…en-tasks 2026 wire

- task conformance tests (blueprint) build their app with protocol_era=legacy
- tasks/* handlers are absent on auto/modern, so the tests now assert that instead of
  calling a handler that no longer exists
- tasks/result and tasks/list are no longer listed as deprecated modern methods
- the SEP-2243 method table has no tasks/* rows on the 2026 wire
- tools_list_baseline.json: auto and modern no longer carry _meta.task_support
SecretValue keeps a secret out of logs, repr, str, f-strings, tracebacks, pickles
and Pydantic/JSON output. The raw value is only available through unwrap().

- port of the SecretValue from closed PR #4 with the snake_case API only
- pickling redacts: a pickled secret loads back with no value and unwrap() raises
- Pydantic v2 fields validate a SecretValue or str and serialize as the redacted marker
- equality uses hmac.compare_digest
- add is_secret_value() and unwrap_secret()
- JWTModule(secret=...), ApiKeyModule(keys=[...]), OAuthService client secrets and
  ConfigService defaults/get_secret() accept a SecretValue; plain str still works
manish-wekan and others added 29 commits November 12, 2026 14:54
…efactor

refactor(cli): split project packaging into cohesive modules
…ample-refactor

refactor: split CLI and flight-booking example into cohesive modules
…followups

fix(auth): improve OAuth token lifecycle and storage reliability
Move telemetry hooks into split CLI modules after develop refactor.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
fix(auth): retry on busy port and report bound port in discovery server
…emetry

Add opt-out PostHog telemetry to the Python CLI
Resolve merge conflicts keeping develop's split CLI modules while
re-applying main's pack --include-env, vendored upgrade, validate
skip, and 0.4.2 release assets.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…487 rps @ 50 tools)

Precompute per-tool inputSchema during bootstrap so tools/list skips repeated
model_json_schema() work while preserving APP_MODE-dependent list metadata.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…dicts

Compute has_spillover and input JSON schema on first list build, wire spillover
when tools register after bootstrap, and deep-copy cached schemas per response.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ms -> ~20ms import)

PEP 562 lazy exports for `import nitrostack`; CLI console script routes through
`nitrostack.cli.entry` so --help avoids telemetry and heavy command imports.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Iterate resolved modules in DFS declaration order instead of a set so
multi-module bootstrap order no longer depends on PYTHONHASHSEED.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Terminate the MCP child as a process group, wait for uvicorn shutdown,
and keep child logs off the parent pipe so reload is not blocked.
Add an integration test that edits a tool description and asserts
tools/list updates within 10s.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Emit nitrostack>=<running-sdk> in vendored pyproject/requirements and
wheel metadata so clean venv installs cannot resolve ancient PyPI builds.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Hot reload had started sending the child server's stdout and stderr to
/dev/null, which hid tracebacks and request logs during development.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The revert of #41 on develop also deleted publish.yml, bump-version.yml,
scripts/bump_version.py and its test. Without them, merging develop into
main would remove the PyPI publish workflow.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
_stop_child called os.killpg(process.pid) unconditionally. With a fake
process in tests, pid became 1 and Linux CI signalled init's process
group, shutting the runner down. Signal a group only when the child leads
its own group and it is not ours; otherwise fall back to terminate/kill.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Release 0.5.0: sync main, port TS 1.1.3 changes, E2E fixes and performance
@manish-wekan
manish-wekan merged commit 1d31005 into main Nov 26, 2026
6 checks passed
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.

6 participants