Swiss AI Hub v0.292.0
Pre-release
Pre-release
Added
- 🚀 PyPI Publishing Workflow: Introduced a new automated GitHub Actions workflow for building and publishing all
public Python SDK packages to PyPI, enabling wider distribution and easier installation. - 🔐 Distribution Artifact Validation: Added a new Python script (
check_dist.py) to enforce namespace integrity,
prevent secret leaks, and flag unexpectedly large files within PyPI packages, significantly enhancing release security
and quality. - 📦
swiss-ai-hubMeta-Package: A new meta-package,swiss-ai-hub, has been added to simplify the installation of
the entire Swiss AI Hub Python SDK with a single command. - 📄 Package License Files: Explicit
LICENSEfiles have been added to each Python package (agent,api,bot,
core,meta,pipeline,process), ensuring clear license compliance for distributed artifacts (Apache-2.0 for
most, AGPL-3.0-or-later forbackup).
Changed
- 📝 Comprehensive Package READMEs: The
README.mdfiles for all Python SDK packages have been significantly
expanded and improved to provide detailed purpose, installation, usage, development, and production guidance, tailored
for PyPI consumers. - ⚙️ Standardized PyPI Metadata: All
pyproject.tomlfiles across the Python SDK packages have been enhanced with
detailed descriptions, relevant PyPI classifiers, and comprehensive project URLs (Homepage, Repository, Documentation,
Issues) for improved discoverability and information. - 🔗 Pinned Internal Dependencies: Python
pyproject.tomlfiles now explicitly pin inter-package dependencies (e.g.,
swiss-ai-hub-agentdepending onswiss-ai-hub-core) to their exact version, ensuring consistent and predictable
builds. - 🛠️ Build System Configuration: Adjusted
uv_buildsettings inpyproject.tomlfor all Python packages to
correctly handle PEP 420 native namespaces during artifact creation, ensuring proper module loading. - 🌐 Public Image URLs in README: All image references in the root
README.mdhave been updated to use absolute
GitHub raw URLs, guaranteeing they display correctly on external platforms like PyPI. - 🔒 NPM Publish Workflow Environment: The
publish-npm.ymlGitHub Actions workflow now uses an explicitnpm
environment for enhanced security context during package publication. - 📖 Environment Variables Documentation: The formatting and readability of the environment variables reference
documentation have been updated for better clarity. - ⬆️ Core Dependency Updates: Several key dependencies in
swiss-ai-hub-corehave been upgraded, including
mem0ai,langchain-neo4j,neo4j,rank-bm25, andstarlette(with a security floor to1.0.1), enhancing
functionality and addressing known vulnerabilities. - 🐍
jamboInternal Dependency: Thejambodependency inswiss-ai-hub-apihas been migrated to
swiss-ai-hub-jambo, reflecting an internal packaging change for consistent namespace usage. - ⚡️ Version Bump Script: The
Makefile'sversion-bumptarget now correctly updates inter-package dependencies to
ensure all internalswiss-ai-hub-*packages reference the new version.
Refactor
- 🧹 Form Default Seeding Logic: The web UI's
seedFormDefaultsfunction has been refactored by extracting dedicated
helper functions for handling group and repeater elements, improving code clarity and maintainability.