Skip to content

Commit

Permalink
Prepare release 0.53.0 (#2167)
Browse files Browse the repository at this point in the history
* Prepare release 0.53.0

* Auto-update of Starter template

* Update RELEASE_NOTES.md

Co-authored-by: Alex Strick van Linschoten <[email protected]>

* Auto-update of Starter template

* add alembic

---------

Co-authored-by: GitHub Actions <[email protected]>
Co-authored-by: Alex Strick van Linschoten <[email protected]>
  • Loading branch information
3 people authored Dec 20, 2023
1 parent e1e6f2d commit 46f10ca
Show file tree
Hide file tree
Showing 9 changed files with 93 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
<a href="https://www.zenml.io/company#team">Meet the Team</a>
<br />
<br />
🎉 Version 0.52.0 is out. Check out the release notes
🎉 Version 0.53.0 is out. Check out the release notes
<a href="https://github.com/zenml-io/zenml/releases">here</a>.
<br />
<br />
Expand Down
56 changes: 56 additions & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,60 @@
<!-- markdown-link-check-disable -->
# 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

Check warning on line 32 in RELEASE_NOTES.md

View workflow job for this annotation

GitHub Actions / setup-and-test / setup-and-test

"ubunut" should be "ubuntu".
* 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.
Expand Down
2 changes: 1 addition & 1 deletion examples/quickstart/.copier-answers.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
7 changes: 6 additions & 1 deletion examples/quickstart/quickstart.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>"]
Expand Down
2 changes: 1 addition & 1 deletion src/zenml/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.52.0
0.53.0
2 changes: 1 addition & 1 deletion src/zenml/zen_server/deploy/helm/Chart.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/zenml/zen_server/deploy/helm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
24 changes: 24 additions & 0 deletions src/zenml/zen_stores/migrations/versions/0.53.0_release.py
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 46f10ca

Please sign in to comment.