diff --git a/README.md b/README.md index c8892e49f38..4398ffe79e7 100644 --- a/README.md +++ b/README.md @@ -89,7 +89,7 @@ Meet the Team

- 🎉 Version 0.52.0 is out. Check out the release notes + 🎉 Version 0.53.0 is out. Check out the release notes here.

diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 8a9dd34bfb5..550692f569a 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -1,4 +1,60 @@ +# 0.53.0 + +This release is packed with a deeply reworked quickstart example and starter template, the removal of secret manager stack component, improved experience with Cloud Secret Stores, support for tags and metadata directly in Model Versions, some breaking changes for Model Control Plane and a few bugfixes. + +## Breaking changes + +### Secret Manager stack components sunset + +Upon upgrading, all Secrets Manager stack components will be removed from the Stacks that still contain them and from the database. This also implies that access to any remaining secrets managed through Secrets Manager stack components will be lost. If you still have secrets configured and managed through Secrets Manager stack components, please consider migrating all your existing secrets to the centralized secrets store *before upgrading* by means of the `zenml secrets-manager secret migrate` CLI command. Also see the `zenml secret --help` command for more information. + +### Renaming "endpoints" to "deployments" in Model Control Plane + +This is just a renaming to provide better alignment with industry standards. Though, it will affect: +- `ArtifactConfig(..., is_endpoint_artifact=True)` now is `ArtifactConfig(..., is_deployment_artifact=True)` +- CLI command `zenml model endpoint_artifacts ...` now is `zenml model deployment_artifacts ...` +- `Client().list_model_version_artifact_links(..., only_endpoint_artifacts=True)` now is `Client().list_model_version_artifact_links(..., only_deployment_artifacts=True)` +- `ModelVersion(...).get_endpoint_artifact(...)` now is `ModelVersion(...).get_deployment_artifact(...)` + +## Major bugfixes +* Fix various bugs by @stefannica in https://github.com/zenml-io/zenml/pull/2147 +* Adding a link from pipeline runs to code repositories by @bcdurak in https://github.com/zenml-io/zenml/pull/2146 +* Fix Client doesn't recover from remote connection resets by @avishniakov in https://github.com/zenml-io/zenml/pull/2129 +* Bugfix: `run_metadata` value returns string instead of other types by @avishniakov in https://github.com/zenml-io/zenml/pull/2149 +* `KubernetesSparkStepOperator` imports fails by @avishniakov in https://github.com/zenml-io/zenml/pull/2159 +* Fix `get_pipeline_context().model_version.get_artifact(...)` flow by @avishniakov in https://github.com/zenml-io/zenml/pull/2162 + +## What's Changed +* Model Versions are taggable by @avishniakov in https://github.com/zenml-io/zenml/pull/2102 +* Adding a condition to the PR template by @bcdurak in https://github.com/zenml-io/zenml/pull/2140 +* trying local caching for custom runners by @safoinme in https://github.com/zenml-io/zenml/pull/2148 +* make template tests runs on ubunut latest instead of custom runners by @safoinme in https://github.com/zenml-io/zenml/pull/2150 +* Fix various bugs by @stefannica in https://github.com/zenml-io/zenml/pull/2147 +* Fix `importlib` calling to `importlib.metadata` by @safoinme in https://github.com/zenml-io/zenml/pull/2160 +* Debugging `zenml clean` by @bcdurak in https://github.com/zenml-io/zenml/pull/2119 +* Add metadata to model versions by @avishniakov in https://github.com/zenml-io/zenml/pull/2109 +* Adding a link from pipeline runs to code repositories by @bcdurak in https://github.com/zenml-io/zenml/pull/2146 +* Moving tags to the body for artifacts and artifact versions by @bcdurak in https://github.com/zenml-io/zenml/pull/2138 +* Fix MLFlow test by @avishniakov in https://github.com/zenml-io/zenml/pull/2161 +* Fix Client doesn't recover from remote connection resets by @avishniakov in https://github.com/zenml-io/zenml/pull/2129 +* Bugfix: `run_metadata` value returns string instead of other types by @avishniakov in https://github.com/zenml-io/zenml/pull/2149 +* `KubernetesSparkStepOperator` imports fails by @avishniakov in https://github.com/zenml-io/zenml/pull/2159 +* Endpoint artifacts rename to deployment artifacts by @avishniakov in https://github.com/zenml-io/zenml/pull/2134 +* Fix `get_pipeline_context().model_version.get_artifact(...)` flow by @avishniakov in https://github.com/zenml-io/zenml/pull/2162 +* Add CodeRabbit config to repo base by @strickvl in https://github.com/zenml-io/zenml/pull/2165 +* Feature: use service connectors to authenticate secrets stores. by @stefannica in https://github.com/zenml-io/zenml/pull/2154 +* Add dependabot updates for Github Actions on CI by @strickvl in https://github.com/zenml-io/zenml/pull/2087 +* Run DB migration testing using MySQL alongside SQLite by @strickvl in https://github.com/zenml-io/zenml/pull/2113 +* Remove `precommit` by @strickvl in https://github.com/zenml-io/zenml/pull/2164 +* Remove support for secrets managers by @stefannica in https://github.com/zenml-io/zenml/pull/2163 +* Add MariaDB test harnesses by @christianversloot in https://github.com/zenml-io/zenml/pull/2155 +* Feature/update quickstart from template by @AlexejPenner in https://github.com/zenml-io/zenml/pull/2157 +* Bump MLFlow to 2.9.2 by @christianversloot in https://github.com/zenml-io/zenml/pull/2156 + + +**Full Changelog**: https://github.com/zenml-io/zenml/compare/0.52.0...0.53.0 + # 0.52.0 This adds the ability to pass in pipeline parameters as YAML configuration and fixes a couple of minor issues affecting the W&B integration and the way expiring credentials are refreshed when service connectors are used. diff --git a/examples/quickstart/.copier-answers.yml b/examples/quickstart/.copier-answers.yml index 8662fc2da3f..d5caed3fea3 100644 --- a/examples/quickstart/.copier-answers.yml +++ b/examples/quickstart/.copier-answers.yml @@ -1,5 +1,5 @@ # Changes here will be overwritten by Copier -_commit: 0.43.0-48-g652a614 +_commit: 2023.12.18 _src_path: gh:zenml-io/template-starter email: '' full_name: ZenML GmbH diff --git a/examples/quickstart/quickstart.ipynb b/examples/quickstart/quickstart.ipynb index 36e502d79ee..c8885ce6730 100644 --- a/examples/quickstart/quickstart.ipynb +++ b/examples/quickstart/quickstart.ipynb @@ -66,7 +66,12 @@ "\n", "if Environment.in_google_colab():\n", " # Install Cloudflare Tunnel binary\n", - " !wget -q https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64.deb && dpkg -i cloudflared-linux-amd64.deb\n" + " !wget -q https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64.deb && dpkg -i cloudflared-linux-amd64.deb\n", + "\n", + " # Pull required modules from this example\n", + " !git clone -b main https://github.com/zenml-io/zenml\n", + " !cp -r zenml/examples/quickstart/* .\n", + " !rm -rf zenml\n" ] }, { diff --git a/pyproject.toml b/pyproject.toml index faacfbccf63..86432d91e63 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "zenml" -version = "0.52.0" +version = "0.53.0" packages = [{ include = "zenml", from = "src" }] description = "ZenML: Write production-ready ML code." authors = ["ZenML GmbH "] diff --git a/src/zenml/VERSION b/src/zenml/VERSION index 4f9b378b40f..7f422a161ae 100644 --- a/src/zenml/VERSION +++ b/src/zenml/VERSION @@ -1 +1 @@ -0.52.0 +0.53.0 diff --git a/src/zenml/zen_server/deploy/helm/Chart.yaml b/src/zenml/zen_server/deploy/helm/Chart.yaml index b1fbbe7e273..0e83cb7606f 100644 --- a/src/zenml/zen_server/deploy/helm/Chart.yaml +++ b/src/zenml/zen_server/deploy/helm/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: zenml -version: "0.52.0" +version: "0.53.0" description: Open source MLOps framework for portable production ready ML pipelines keywords: - mlops diff --git a/src/zenml/zen_server/deploy/helm/README.md b/src/zenml/zen_server/deploy/helm/README.md index 23fa57d6d41..f5348942d00 100644 --- a/src/zenml/zen_server/deploy/helm/README.md +++ b/src/zenml/zen_server/deploy/helm/README.md @@ -20,8 +20,8 @@ ZenML is an open-source MLOps framework designed to help you create robust, main To install the ZenML chart directly from Amazon ECR, use the following command: ```bash -# example command for version 0.52.0 -helm install my-zenml oci://public.ecr.aws/zenml/zenml --version 0.52.0 +# example command for version 0.53.0 +helm install my-zenml oci://public.ecr.aws/zenml/zenml --version 0.53.0 ``` Note: Ensure you have OCI support enabled in your Helm client and that you are authenticated with Amazon ECR. diff --git a/src/zenml/zen_stores/migrations/versions/0.53.0_release.py b/src/zenml/zen_stores/migrations/versions/0.53.0_release.py new file mode 100644 index 00000000000..1802d14d81c --- /dev/null +++ b/src/zenml/zen_stores/migrations/versions/0.53.0_release.py @@ -0,0 +1,24 @@ +"""Release [0.53.0]. + +Revision ID: 0.53.0 +Revises: 1041bc644e0d +Create Date: 2023-12-20 10:19:02.618928 + +""" + + +# revision identifiers, used by Alembic. +revision = "0.53.0" +down_revision = "1041bc644e0d" +branch_labels = None +depends_on = None + + +def upgrade() -> None: + """Upgrade database schema and/or data, creating a new revision.""" + pass + + +def downgrade() -> None: + """Downgrade database schema and/or data back to the previous revision.""" + pass