Zenml

Latest version: v0.58.2

Safety actively analyzes 638437 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 6 of 20

0.45.4

Not secure
UPDATE: a breaking update to two of our dependencies means that you should run the following update after installing this version of `zenml`:

shell
pip install 'bcrypt==4.0.1' 'sqlmodel==0.0.8'


This minor update fixes a database migration bug that you could potentially encounter while upgrading your ZenML version and relates to use of the `ExternalArtifact` object.
*If you are upgrading from <0.45.x version, this is the recommended release.*

UPDATE (Oct 24, 2023): A new version of `sqlmodel` (0.0.9) might cause issues with your ZenML installation. If you encounter this error, please do a `pip install 'sqlmodel==0.0.8'` to fix the problem. This will be permanently fixed in higher versions of ZenML.

**PROBLEMS?**: If you upgraded to ZenML v0.45.2 or v0.45.3 and are experiencing issues with your database, please consider upgrading to v0.45.4 instead.

What's Changed
* Increase reuse of `ModelConfig` by avishniakov in https://github.com/zenml-io/zenml/pull/1954
* resolve alembic branches by avishniakov in https://github.com/zenml-io/zenml/pull/1964
* Fix corrupted migration for old dbs by avishniakov in https://github.com/zenml-io/zenml/pull/1966

**Full Changelog**: https://github.com/zenml-io/zenml/compare/0.45.3...0.45.4

0.45.3

Not secure
UPDATE: a breaking update to two of our dependencies means that you should run the following update after installing this version of `zenml`:

shell
pip install 'bcrypt==4.0.1' 'sqlmodel==0.0.8'


This minor update fixes a database migration bug that you could potentially encounter while upgrading your ZenML version and relates to use of the `ExternalArtifact` object.

**PROBLEMS?**: If you upgraded to ZenML v0.45.2 and are experiencing issues with your database, please either [reach out to us on Slack directly](https://zenml.io/slack-invite/) or feel free to [use this migration script](https://gist.github.com/strickvl/2178d93c8693f068768a82587fd4db75) that will manually fix the issue. (Please do backup your database before using the migration script so as to prevent any data loss!)

This release also includes a bugfix from cameronraysmith relating to the
resolution of our Helm chart OCI location. Thank you!

What's Changed
* fix: match chart name in docs to publish workflow by cameronraysmith in https://github.com/zenml-io/zenml/pull/1942
* Evaluate YAML based config early + OSS-2511 by avishniakov in https://github.com/zenml-io/zenml/pull/1876
* Fixing nullable parameter to avoid extra migrations by bcdurak in https://github.com/zenml-io/zenml/pull/1955
* Pin Helm version to avoid 400 Bad Request error by wjayesh in https://github.com/zenml-io/zenml/pull/1958
* `external_input_artifact` backward compatibility with alembic by avishniakov in https://github.com/zenml-io/zenml/pull/1957
* Fix nlp template link by htahir1 in https://github.com/zenml-io/zenml/pull/1960
* handle NULLs in migration by avishniakov in https://github.com/zenml-io/zenml/pull/1961
* Prepare release 0.45.3 by strickvl in https://github.com/zenml-io/zenml/pull/1959

New Contributors
* cameronraysmith made their first contribution in https://github.com/zenml-io/zenml/pull/1942

**Full Changelog**: https://github.com/zenml-io/zenml/compare/0.45.2...0.45.3

0.45.2

Not secure
UPDATE: a breaking update to two of our dependencies means that you should run the following update after installing this version of `zenml`:

shell
pip install 'bcrypt==4.0.1' 'sqlmodel==0.0.8'


**UPDATE NOTE:** 0.45.2 introduced a minor database migration bug. To avoid this, please install 0.45.3 directly. If you already installed 0.45.2 and are running into database migration issues (especially if you're using `ExternalArtifact` objects), please [contact us directly on Slack](https://zenml.io/slack-invite/) or (alternatively) use [this migration script](https://gist.github.com/strickvl/2178d93c8693f068768a82587fd4db75) to fix your broken database (script should be executed directly on the server if you use remote installation).

This release replaces 0.45.0 and 0.45.1, and fixes the major migration bugs that were in
that yanked release. Please upgrade directly to 0.45.2 and avoid upgrading to
0.45.0 to avoid unexpected migration issues.

Note that 0.45.0 and 0.45.1 were removed from PyPI due to an issue with the
alembic versions + migration which could affect the database state. This release
fixes that issue.

If you have already upgraded to 0.45.0 please [let us know in Slack](https://zenml.io/slack-invite/) and we'll happy to assist in rollback and recovery.

This release introduces a major upgrade to ZenML, featuring a new authentication mechanism, performance improvements, the introduction of the model control plane, and internal enhancements.

New Authentication Mechanism (4303)

Our improved authentication mechanism offers a more secure way of connecting to the ZenML server. It initiates a device flow that prompts you to log in via the browser dashboard:


zenml connect --url <YOUR_SERVER_URL>


This eliminates the need for explicit credential input. The previous method (`zenml connect --url <URL> --username <USERNAME> --password <PASSWORD>`) remains operational but is less recommended due to security concerns.

**Critical** This change disrupts existing pipeline schedules. After upgrading, manually cancel and reschedule pipelines using the updated version of ZenML.

For more information, read about the device flow in our [documentation](https://docs.zenml.io/user-guide/starter-guide/switch-to-production).

Performance enhancements (3207)

Internal API adjustments have reduced the footprint of ZenML API objects by up to 35%. This will particularly benefit users with large step and pipeline configurations. Further reductions will be implemented in our next release.

Model Control Plane debut (5648)

ZenML now includes a preliminary version of the model control plane, a feature for registering models and their metadata on a single ZenML dashboard view. Future releases will provide more details. To test this early version, follow this [example](https://github.com/zenml-io/zenml-plugins/tree/main/model_control_plane).

Breaking Changes

- Environment variables `ZENML_AUTH_TYPE` and `ZENML_JWT_SECRET_KEY` have been renamed to `ZENML_SERVER_AUTH_SCHEME` and `ZENML_SERVER_JWT_SECRET_KEY`, respectively.
- All ZenML server-issued JWT tokens now include an issuer and an audience. After the server update, current scheduled pipelines become invalidated. Reset your schedules and reconnect all clients to the server to obtain new tokens.
- `UnmaterializedArtifact` has been relocated to `zenml.artifacts`. Change your import statement from `from zenml.materializers import UnmaterializedArtifact` to `from zenml.artifacts.unmaterialized_artifact import UnmaterializedArtifact`.

Deprecations

- `zenml.steps.external_artifact.ExternalArtifact` has moved to `zenml.artifacts.external_artifact.ExternalArtifact`.


And the rest:

* Discord alerter integration by bhatt-priyadutt in https://github.com/zenml-io/zenml/pull/1818. Huge shoutout to you priyadutt - we're sending some swag your way!
* Update Neptune dependency: `neptune-client` > `neptune` by fa9r in https://github.com/zenml-io/zenml/pull/1837
* Disable codeql on pushes to `develop` by strickvl in https://github.com/zenml-io/zenml/pull/1842
* Template not updating due to git diff misuse by avishniakov in https://github.com/zenml-io/zenml/pull/1844
* Bump feast version to fix api docs generation by fa9r in https://github.com/zenml-io/zenml/pull/1845
* CI Fixes / Improvements by fa9r in https://github.com/zenml-io/zenml/pull/1848
* Fix MLflow registry methods with empty metadata by fa9r in https://github.com/zenml-io/zenml/pull/1843
* Use configured template REF in CI by avishniakov in https://github.com/zenml-io/zenml/pull/1851
* Fix template REF in CI by avishniakov in https://github.com/zenml-io/zenml/pull/1852
* Fix AWS service connector installation requirements by stefannica in https://github.com/zenml-io/zenml/pull/1850
* [Docs] Improvements to custom flavor and custom orchestrator pages by htahir1 in https://github.com/zenml-io/zenml/pull/1747
* Optimizing the performance through database changes by bcdurak in https://github.com/zenml-io/zenml/pull/1835
* Add `README` for `examples` folder by strickvl in https://github.com/zenml-io/zenml/pull/1860
* Free up disk space in CI by strickvl in https://github.com/zenml-io/zenml/pull/1863
* Make Terraform Optional Again by fa9r in https://github.com/zenml-io/zenml/pull/1855
* Model watchtower becomes Model control plane by strickvl in https://github.com/zenml-io/zenml/pull/1868
* Update documentation by VishalKumar-S in https://github.com/zenml-io/zenml/pull/1872
* Fix CI by freeing up space on runner by strickvl in https://github.com/zenml-io/zenml/pull/1866
* Allow for `user` param to be specified (successfully) in `DockerSettings` by strickvl in https://github.com/zenml-io/zenml/pull/1857
* Add `get_pipeline_context` by avishniakov in https://github.com/zenml-io/zenml/pull/1870
* [Helm] Use GCP creds directly instead of a file. by wjayesh in https://github.com/zenml-io/zenml/pull/1874
* External authenticator support, authorized devices and web login by stefannica in https://github.com/zenml-io/zenml/pull/1814
* Connect to Service-connector at component registration by safoinme in https://github.com/zenml-io/zenml/pull/1858
* Fixing the `upgrade` migration script after the database changes by bcdurak in https://github.com/zenml-io/zenml/pull/1877
* [Model Control Plane] v0.1 mega-branch by avishniakov in https://github.com/zenml-io/zenml/pull/1816
* Update to templates by htahir1 in https://github.com/zenml-io/zenml/pull/1878
* Docs for orgs, rbac and sso by AlexejPenner in https://github.com/zenml-io/zenml/pull/1875
* Convert network_config dict to NetworkConfig object in SageMaker orchestrator by christianversloot in https://github.com/zenml-io/zenml/pull/1873
* Add missing Docker build options for GCP image builder by strickvl in https://github.com/zenml-io/zenml/pull/1856
* Solve alembic branching issue by avishniakov in https://github.com/zenml-io/zenml/pull/1879
* Fix typo for 0.45 release by strickvl in https://github.com/zenml-io/zenml/pull/1881
* Only import ipinfo when necessary by schustmi in https://github.com/zenml-io/zenml/pull/1888
* [Model Control Plane] Suppress excessive logging in model control plane by avishniakov in https://github.com/zenml-io/zenml/pull/1885
* Add warning generation scripts for Gitbook docs by strickvl in https://github.com/zenml-io/zenml/pull/1929
* Fix calling `click` decorator in model CLI command by safoinme in https://github.com/zenml-io/zenml/pull/1932
* Lightweight template CI by avishniakov in https://github.com/zenml-io/zenml/pull/1930
* Update `Skypilot` orchestrator setting docs section by safoinme in https://github.com/zenml-io/zenml/pull/1931

New Contributors
* VishalKumar-S made their first contribution in https://github.com/zenml-io/zenml/pull/1872

**Full Changelog**: https://github.com/zenml-io/zenml/compare/0.44.3...0.45.0

0.45.1

Not secure
Update: It's one of those days! This release is also yanked due to alembic migration issues. We are working hard to solve it. In the meanwhile please use 0.44.3

This release replaces 0.45.0, and fixes the major migration bugs that were in that yanked release. Please upgrade directly to 0.45.1 and avoid upgrading to 0.45.0 to avoid unexpected migration issues.

What's changed

This release introduces a major upgrade to ZenML, featuring a new authentication mechanism, performance improvements, the introduction of the model control plane, and internal enhancements.

New Authentication Mechanism (4303)

Our improved authentication mechanism offers a more secure way of connecting to the ZenML server. It initiates a device flow that prompts you to log in via the browser dashboard:


zenml connect --url <YOUR_SERVER_URL>


This eliminates the need for explicit credential input. The previous method (`zenml connect --url <URL> --username <USERNAME> --password <PASSWORD>`) remains operational but is less recommended due to security concerns.

**Critical** This change disrupts existing pipeline schedules. After upgrading, manually cancel and reschedule pipelines using the updated version of ZenML.

For more information, read about the device flow in our [documentation](https://docs.zenml.io/user-guide/starter-guide/switch-to-production).

Performance enhancements (3207)

Internal API adjustments have reduced the footprint of ZenML API objects by up to 35%. This will particularly benefit users with large step and pipeline configurations. Further reductions will be implemented in our next release.

Model Control Plane debut (5648)

ZenML now includes a preliminary version of the model control plane, a feature for registering models and their metadata on a single ZenML dashboard view. Future releases will provide more details. To test this early version, follow this [example](https://github.com/zenml-io/zenml-plugins/tree/main/model_control_plane).

Breaking Changes

- Environment variables `ZENML_AUTH_TYPE` and `ZENML_JWT_SECRET_KEY` have been renamed to `ZENML_SERVER_AUTH_SCHEME` and `ZENML_SERVER_JWT_SECRET_KEY`, respectively.
- All ZenML server-issued JWT tokens now include an issuer and an audience. After the server update, current scheduled pipelines become invalidated. Reset your schedules and reconnect all clients to the server to obtain new tokens.
- `UnmaterializedArtifact` has been relocated to `zenml.artifacts`. Change your import statement from `from zenml.materializers import UnmaterializedArtifact` to `from zenml.artifacts.unmaterialized_artifact import UnmaterializedArtifact`.

Deprecations

- `zenml.steps.external_artifact.ExternalArtifact` has moved to `zenml.artifacts.external_artifact.ExternalArtifact`.


And the rest:

* Discord alerter integration by bhatt-priyadutt in https://github.com/zenml-io/zenml/pull/1818. Huge shoutout to you priyadutt - we're sending some swag your way!
* Update Neptune dependency: `neptune-client` > `neptune` by fa9r in https://github.com/zenml-io/zenml/pull/1837
* Disable codeql on pushes to `develop` by strickvl in https://github.com/zenml-io/zenml/pull/1842
* Template not updating due to git diff misuse by avishniakov in https://github.com/zenml-io/zenml/pull/1844
* Bump feast version to fix api docs generation by fa9r in https://github.com/zenml-io/zenml/pull/1845
* CI Fixes / Improvements by fa9r in https://github.com/zenml-io/zenml/pull/1848
* Fix MLflow registry methods with empty metadata by fa9r in https://github.com/zenml-io/zenml/pull/1843
* Use configured template REF in CI by avishniakov in https://github.com/zenml-io/zenml/pull/1851
* Fix template REF in CI by avishniakov in https://github.com/zenml-io/zenml/pull/1852
* Fix AWS service connector installation requirements by stefannica in https://github.com/zenml-io/zenml/pull/1850
* [Docs] Improvements to custom flavor and custom orchestrator pages by htahir1 in https://github.com/zenml-io/zenml/pull/1747
* Optimizing the performance through database changes by bcdurak in https://github.com/zenml-io/zenml/pull/1835
* Add `README` for `examples` folder by strickvl in https://github.com/zenml-io/zenml/pull/1860
* Free up disk space in CI by strickvl in https://github.com/zenml-io/zenml/pull/1863
* Make Terraform Optional Again by fa9r in https://github.com/zenml-io/zenml/pull/1855
* Model watchtower becomes Model control plane by strickvl in https://github.com/zenml-io/zenml/pull/1868
* Update documentation by VishalKumar-S in https://github.com/zenml-io/zenml/pull/1872
* Fix CI by freeing up space on runner by strickvl in https://github.com/zenml-io/zenml/pull/1866
* Allow for `user` param to be specified (successfully) in `DockerSettings` by strickvl in https://github.com/zenml-io/zenml/pull/1857
* Add `get_pipeline_context` by avishniakov in https://github.com/zenml-io/zenml/pull/1870
* [Helm] Use GCP creds directly instead of a file. by wjayesh in https://github.com/zenml-io/zenml/pull/1874
* External authenticator support, authorized devices and web login by stefannica in https://github.com/zenml-io/zenml/pull/1814
* Connect to Service-connector at component registration by safoinme in https://github.com/zenml-io/zenml/pull/1858
* Fixing the `upgrade` migration script after the database changes by bcdurak in https://github.com/zenml-io/zenml/pull/1877
* [Model Control Plane] v0.1 mega-branch by avishniakov in https://github.com/zenml-io/zenml/pull/1816
* Update to templates by htahir1 in https://github.com/zenml-io/zenml/pull/1878
* Docs for orgs, rbac and sso by AlexejPenner in https://github.com/zenml-io/zenml/pull/1875
* Convert network_config dict to NetworkConfig object in SageMaker orchestrator by christianversloot in https://github.com/zenml-io/zenml/pull/1873
* Add missing Docker build options for GCP image builder by strickvl in https://github.com/zenml-io/zenml/pull/1856
* Solve alembic branching issue by avishniakov in https://github.com/zenml-io/zenml/pull/1879
* Fix typo for 0.45 release by strickvl in https://github.com/zenml-io/zenml/pull/1881
* Only import ipinfo when necessary by schustmi in https://github.com/zenml-io/zenml/pull/1888
* [Model Control Plane] Suppress excessive logging in model control plane by avishniakov in https://github.com/zenml-io/zenml/pull/1885
* Add warning generation scripts for Gitbook docs by strickvl in https://github.com/zenml-io/zenml/pull/1929
* Fix calling `click` decorator in model CLI command by safoinme in https://github.com/zenml-io/zenml/pull/1932
* Lightweight template CI by avishniakov in https://github.com/zenml-io/zenml/pull/1930
* Update `Skypilot` orchestrator setting docs section by safoinme in https://github.com/zenml-io/zenml/pull/1931
* Add missing space when creating new model version by strickvl in https://github.com/zenml-io/zenml/pull/1935
* Fix alembic inconsistencies by fa9r in https://github.com/zenml-io/zenml/pull/1944
* [Model Control Plane] link cached artifacts by avishniakov in https://github.com/zenml-io/zenml/pull/1946
* Fixing the migration issues by bcdurak in https://github.com/zenml-io/zenml/pull/1945
* Release prepped by htahir1 in https://github.com/zenml-io/zenml/pull/1948

New Contributors
* VishalKumar-S made their first contribution in https://github.com/zenml-io/zenml/pull/1872

**Full Changelog**: https://github.com/zenml-io/zenml/compare/0.44.3...0.45.0

0.45.0

Not secure
IMPORTANT THIS RELEASE HAS BEEN YANKED

* Due to an unforseen alembic migration issue, this release has been yanked.0.45.1 is on its way to being released to fix the bugs that have been uncovered
* If you have already upgraded to 0.45.0 please let us know in [Slack](https://zenml.io/slack) and we'll happy to assist in rollback and recovery

0.44.4

Not secure
This patch release backports some important fixes that have been introduced in more recent versions
of ZenML to the 0.44.x release line.

UPDATE: a breaking update to one of our dependencies means that you should run the following update after installing this version of `zenml`:

shell
pip install 'bcrypt==4.0.1'


What's Changed
* [backport/0.44] Backport important patches by stefannica in https://github.com/zenml-io/zenml/pull/2042


**Full Changelog**: https://github.com/zenml-io/zenml/compare/0.44.3...0.44.4

Page 6 of 20

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.