OpenMed v1.9.1: SwiftPM and release distribution fixes
OpenMed 1.9.1 completes the cross-platform 1.9 release rollout with a
Swift Package Manager packaging fix, hardened Android release behavior,
current public model examples, and a clean dependency-security gate.
Release date: 2026-07-14.
Reviewed range: v1.9.0..v1.9.1. This is a compatibility-preserving patch;
the Python, npm, Android, Swift, service, and model inference APIs introduced
in 1.9.0 are unchanged.
What this patch fixes
- Swift Package Manager: the repository-root
Package.swiftnow processes
OpenMedKit's bundled policy resources. A clean consumer can resolve, build,
test, andimport OpenMedKitthrough the documented Git tag. Swift CI now
exercises that same public root package instead of only the nested package. - Android publishing: tag builds continue to validate the Android AAR when
optional Maven Central credentials are not configured. JitPack remains the
public immutable Android distribution path; manual Central uploads still
fail closed unless every signing and Portal credential is present. - Runnable model examples: ONNX runtime documentation uses
OpenMed/OpenMed-PII-ClinicalE5-Small-33M-v1-onnx-android; generic
token-classification export examples usedslim/bert-base-NER; causal
quantization examples useTinyLlama/TinyLlama-1.1B-Chat-v1.0. - Dependency security: the locked
setuptoolsversion includes the fix for
the advisory that blocked the post-merge master security job.
Install and upgrade
Python
pip install --upgrade "openmed==1.9.1"Add only the optional extras needed by the application, for example
openmed[onnx-runtime]==1.9.1 or openmed[service]==1.9.1.
Browser and Node.js
npm install openmed@1.9.1The package retains ESM and CommonJS exports and the same
loadOnnxModel(...) API.
Swift
dependencies: [
.package(url: "https://github.com/maziyarpanahi/openmed.git", from: "1.9.1"),
]This is the minimum recommended Swift package version because it contains the
root-package resource fix.
Android
Add JitPack and use the immutable tag:
dependencies {
implementation("com.github.maziyarpanahi:openmed:v1.9.1")
}Container and Helm
Use ghcr.io/maziyarpanahi/openmed:v1.9.1. The Helm chart defaults to
1.9.1; when selecting the release image explicitly, set
image.tag=v1.9.1.
Validation
The patch is gated by the complete Python suite, Ruff lint and formatting,
dependency audit, package builds, strict MkDocs, root Swift package tests,
Android AAR unit/build checks, npm build/typecheck/tests/audit, Helm
lint/rendering, OpenAPI consistency, multi-architecture container smokes,
SBOM generation, and provenance verification. Post-publish checks install and
exercise the public PyPI, npm, JitPack, SwiftPM, GHCR, Helm, and documentation
coordinates exactly as shown above.
Full Changelog: v1.9.0...v1.9.1