Swiss AI Hub v0.291.0
Pre-release
Pre-release
Added
- 🚀 Automated npm publishing workflow: Introduced a dedicated GitHub Actions workflow (
publish-npm.yml) to
streamline and automate the publishing of the@swiss-ai-hub/webpackage to npm, utilizing OIDC trusted publishing
for enhanced security. - 🧪 Web package build and pack verification: Added a new GitHub Actions workflow (
verify-web-package.yml) to
automatically build and validate the packaging of@swiss-ai-hub/webon every pull request, ensuring package
integrity and publishability before merge.
Changed
- ⚙️ Streamlined CI/CD branch triggering: Modified several core CI/CD workflows (
analyze-test-pr,lint-pr,
semantic-pr,test-backup-e2e) to exclusively trigger on themainbranch, simplifying branching strategy and
pipeline execution. - 📄 Enhanced web package installation and dependency management documentation: Significantly updated the
packages/web/README.mdwith detailed guidance on required dependency overrides (specifically forvueand
primevue) to prevent common runtime issues caused by multiple framework instances. - 🔄 Redesigned runtime configuration for static builds: Introduced a new, more robust runtime configuration
mechanism for the@swiss-ai-hub/weblayer, moving away fromNUXT_PUBLIC_*environment variables to a dynamic
/config.jsfile generated at container startup, offering greater deployment flexibility for static single-page
applications. - 🐳 Updated Dockerfile and deployment examples: Provided comprehensive and up-to-date Dockerfile and
nuxt.config.tsexamples in thepackages/web/README.mdthat reflect the new best practices for building, serving,
and configuring the static web package in production environments. - ✨ Integrated FormKit PrimeVue: Added
@sfxcode/formkit-primevueas a new dependency within thepackages/web
package, enhancing its form building capabilities with PrimeVue components. - ⬆️ Updated PrimeVue peer dependency: Bumped the recommended
primevuepeer dependency version to4.5.5to
ensure compatibility and leverage the latest updates for the UI component library.