Zenml

Latest version: v0.58.2

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

Scan your dependencies

Page 3 of 20

0.55.5

Not secure
This patch contains a number of bug fixes and security improvements.

We improved the isolation of artifact stores so that various artifacts cannot be stored or accessed outside of the configured artifact store scope. Such unsafe operations are no longer allowed. This may have an impact on existing codebases if you have used unsafe file operations in the past.

To illustrate such a side effect, let's consider a remote S3 artifact store is configured for the path `s3://some_bucket/some_sub_folder` and in the code you use `artifact_store.open("s3://some_bucket/some_other_folder/dummy.txt","w")` -> this operation is considered unsafe as it accesses the data outside the scope of the artifact store. If you really need this to achieve your goals, consider switching to `s3fs` or similar libraries for such cases.

Also with this release, the server global configuration is no longer stored on the server file system to prevent exposure of sensitive information.

User entities are now uniquely constrained to prevent the creation of duplicate users under certain race conditions.

What's Changed
* Change runnerset name to ubuntu-runners by safoinme in https://github.com/zenml-io/zenml/pull/2489
* Allow latest `ruff` versions by strickvl in https://github.com/zenml-io/zenml/pull/2487
* Uniquely constrained users table by avishniakov in https://github.com/zenml-io/zenml/pull/2483
* Add option to add base URL for zenml server (with support for cloud) by wjayesh in https://github.com/zenml-io/zenml/pull/2464
* Improve Artifact Store isolation by avishniakov in https://github.com/zenml-io/zenml/pull/2490
* Don't write the global config to file on server by stefannica in https://github.com/zenml-io/zenml/pull/2491
* Add versions for DB migration testing by strickvl in https://github.com/zenml-io/zenml/pull/2486


**Full Changelog**: https://github.com/zenml-io/zenml/compare/0.55.4...0.55.5

0.55.4

Not secure
This release brings a host of enhancements and fixes across the board, including
significant improvements to our services logging and status, the integration of
model saving to the registry via CLI methods, and more robust handling of
parallel pipelines and database entities. We've also made strides in optimizing
MLflow interactions, enhancing our documentation, and ensuring our CI processes
are more robust.

Additionally, we've tackled several bug fixes and performance improvements,
making our platform even more reliable and user-friendly.

We'd like to give a special thanks to christianversloot and francoisserra for
their contributions.

What's Changed
* Bump mlflow to 2.10.2 by christianversloot in https://github.com/zenml-io/zenml/pull/2444
* Improve services logging and status by safoinme in https://github.com/zenml-io/zenml/pull/2436
* Add `save models to registry` setting of a model to CLI methods by avishniakov in https://github.com/zenml-io/zenml/pull/2447
* Parallel pipelines can create entities in DB by avishniakov in https://github.com/zenml-io/zenml/pull/2446
* Fix MlFlow TF autlogging excessive warnings by avishniakov in https://github.com/zenml-io/zenml/pull/2449
* Fix and improve integration deps checker by stefannica in https://github.com/zenml-io/zenml/pull/2455
* Add migration test version + use self-hosted runners for release by strickvl in https://github.com/zenml-io/zenml/pull/2450
* Enable running pipeline via REST by schustmi in https://github.com/zenml-io/zenml/pull/2389
* Faster mlflow `list_model_versions` by avishniakov in https://github.com/zenml-io/zenml/pull/2460
* Avoid exposure of tracking uri to metadata by avishniakov in https://github.com/zenml-io/zenml/pull/2458
* Some important docs updates by htahir1 in https://github.com/zenml-io/zenml/pull/2463
* Fix CI by strickvl in https://github.com/zenml-io/zenml/pull/2467
* Fix local Airflow install + docs instructions by strickvl in https://github.com/zenml-io/zenml/pull/2459
* Update `.coderabbit.yaml` by strickvl in https://github.com/zenml-io/zenml/pull/2470
* Prevent templates update from formatting the whole codebase by avishniakov in https://github.com/zenml-io/zenml/pull/2469
* Telemetry guarding for CI & editable installs by strickvl in https://github.com/zenml-io/zenml/pull/2468
* Add Vertex Step Operator network parameter by francoisserra in https://github.com/zenml-io/zenml/pull/2398
* Allow integration export to overwrite a pre-existing file by strickvl in https://github.com/zenml-io/zenml/pull/2466
* Fix `log_model_metadata` with explicit name and version by avishniakov in https://github.com/zenml-io/zenml/pull/2465
* Triggers, actions, event sources - base abstractions and github and pipeline run implementations by AlexejPenner in https://github.com/zenml-io/zenml/pull/2312
* Mount zenml config path as empty dir by stefannica in https://github.com/zenml-io/zenml/pull/2472
* Fix broken docs links by strickvl in https://github.com/zenml-io/zenml/pull/2473
* Use `uv pip compile` for environment setup in CI by strickvl in https://github.com/zenml-io/zenml/pull/2474
* MLflow fix for tests on Mac Python 3.9 and 3.10 by strickvl in https://github.com/zenml-io/zenml/pull/2462
* Improve custom data types docs by avishniakov in https://github.com/zenml-io/zenml/pull/2476
* Reflect env variables on global configuration by safoinme in https://github.com/zenml-io/zenml/pull/2371
* Fix zenml deploy secret stores by safoinme in https://github.com/zenml-io/zenml/pull/2454
* Don't fail when workload manager source fails to load by schustmi in https://github.com/zenml-io/zenml/pull/2478
* Add analytics events for cloud onboarding by schustmi in https://github.com/zenml-io/zenml/pull/2456
* Race condition on creating new users allows duplicate usernames by avishniakov in https://github.com/zenml-io/zenml/pull/2479

**Full Changelog**: https://github.com/zenml-io/zenml/compare/0.55.3...0.55.4

0.55.3

Not secure
This patch comes with a variety of bug fixes and documentation updates.

With this release you can now download files directly from artifact versions
that you get back from the client without the need to materialize them. If you
would like to bypass materialization entirely and just download the data or
files associated with a particular artifact version, you can use the
`download_files` method:

python
from zenml.client import Client

client = Client()
artifact = client.get_artifact_version(name_id_or_prefix="iris_dataset")
artifact.download_files("path/to/save.zip")



What's Changed
* Backport: Add HyperAI to TOC (2406) by strickvl in https://github.com/zenml-io/zenml/pull/2407
* Fix conditional statements in GitHub workflows by strickvl in https://github.com/zenml-io/zenml/pull/2404
* Ensure proper spacing in error messages by christianversloot in https://github.com/zenml-io/zenml/pull/2399
* Fix hyperai markdown table by strickvl in https://github.com/zenml-io/zenml/pull/2426
* Upgrade Vertex integration `google-cloud-aiplatform` minimum required version to 1.34.0 by francoisserra in https://github.com/zenml-io/zenml/pull/2428
* Close code block left open in the docs by jlopezpena in https://github.com/zenml-io/zenml/pull/2432
* Simplify HF example and notify when cache is down by safoinme in https://github.com/zenml-io/zenml/pull/2300
* Adding the latest version id and name to the artifact response by bcdurak in https://github.com/zenml-io/zenml/pull/2430
* Adding the ID of the producer pipeline run to artifact versions by bcdurak in https://github.com/zenml-io/zenml/pull/2431
* Add vulnerability notice to README by strickvl in https://github.com/zenml-io/zenml/pull/2437
* REVERTED: Allow more recent `adlfs` and `s3fs` versions by strickvl in https://github.com/zenml-io/zenml/pull/2402
* Add new property for filtering service account events by strickvl in https://github.com/zenml-io/zenml/pull/2405
* Add `download_files` method for `ArtifactVersion` by strickvl in https://github.com/zenml-io/zenml/pull/2434
* Fixing `update_model`s and revert 2402 by bcdurak in https://github.com/zenml-io/zenml/pull/2440


**Full Changelog**: https://github.com/zenml-io/zenml/compare/0.55.2...0.55.3

0.55.2

Not secure
This patch comes with a variety of new features, bug-fixes, and documentation updates.

Some of the most important changes include:

- The ability to add tags to outputs through the step context
- Allowing the secret stores to utilize the implicit authentication method of AWS/GCP/Azure Service Connectors
- [Lazy loading client methods](https://docs.zenml.io/v/docs/user-guide/advanced-guide/data-management/late-materialization) in a pipeline context
- Updates on the Vertex orchestrator to switch to the native VertexAI scheduler
- The new [HyperAI](https://hyperai.ai) integration featuring a new orchestrator and service connector
- Bumping the mlflow version to 2.10.0

We'd like to give a special thanks to christianversloot and francoisserra for their contributions.

What's Changed
* `0.55.1` in migration testing by avishniakov in https://github.com/zenml-io/zenml/pull/2368
* Credential-less AWS/GCP/Azure Secrets Store support by stefannica in https://github.com/zenml-io/zenml/pull/2365
* Small docs updates by strickvl in https://github.com/zenml-io/zenml/pull/2359
* generic `Client()` getters lazy loading by avishniakov in https://github.com/zenml-io/zenml/pull/2323
* Added slack settings OSSK-382 by htahir1 in https://github.com/zenml-io/zenml/pull/2378
* Label triggered slow ci by avishniakov in https://github.com/zenml-io/zenml/pull/2379
* Remove unused `is-slow-ci` input from fast and slow integration testing by strickvl in https://github.com/zenml-io/zenml/pull/2382
* Add deprecation warning for `ExternalArtifact` non-value features by avishniakov in https://github.com/zenml-io/zenml/pull/2375
* Add telemetry pipeline run ends by htahir1 in https://github.com/zenml-io/zenml/pull/2377
* Updating the `update_model` decorator by bcdurak in https://github.com/zenml-io/zenml/pull/2136
* Mocked API docs building by avishniakov in https://github.com/zenml-io/zenml/pull/2360
* Add outputs tags function by avishniakov in https://github.com/zenml-io/zenml/pull/2383
* Bump mlflow to v2.10.0 by christianversloot in https://github.com/zenml-io/zenml/pull/2374
* Fix sharing of model versions by schustmi in https://github.com/zenml-io/zenml/pull/2380
* Fix GCP service connector login to overwrite existing valid credentials by stefannica in https://github.com/zenml-io/zenml/pull/2392
* Update `has_custom_name` for legacy artifacts by avishniakov in https://github.com/zenml-io/zenml/pull/2384
* Use native VertexAI scheduler capability instead of old GCP official workaround by francoisserra in https://github.com/zenml-io/zenml/pull/2310
* HyperAI integration: orchestrator and service connector by christianversloot in https://github.com/zenml-io/zenml/pull/2372

**Full Changelog**: https://github.com/zenml-io/zenml/compare/0.55.1...0.55.2

0.55.1

Not secure
**If you are actively using the Model Control Plane features, we suggest that you directly upgrade to 0.55.1, bypassing 0.55.0.**

This is a patch release bringing backward compatibility for breaking changes introduced in **0.55.0**, so that appropriate migration actions can be performed at the desired pace. Please refer to [the 0.55.0 release notes](https://github.com/zenml-io/zenml/releases/tag/0.55.0) for specific information on breaking changes and how to update your code to align with the new way of doing things. We also have updated our documentation to serve you better and introduced `PipelineNamespace` models in our API.

Also, this release is packed with Database recovery in case the upgrade failed to migrate the Database to a newer version of ZenML.

What's Changed
* Update skypilot docs by safoinme in https://github.com/zenml-io/zenml/pull/2344
* Fast CI / Slow CI by strickvl in https://github.com/zenml-io/zenml/pull/2268
* Add repeating tests and instafail error logging to testing in CI by strickvl in https://github.com/zenml-io/zenml/pull/2334
* Added more info about metadata by htahir1 in https://github.com/zenml-io/zenml/pull/2346
* Use GitHub as trusted publisher for PyPI publication by strickvl in https://github.com/zenml-io/zenml/pull/2343
* Fix code in docs/questions about MCP by wjayesh in https://github.com/zenml-io/zenml/pull/2340
* Update release notes for 0.55.0 by avishniakov in https://github.com/zenml-io/zenml/pull/2351
* Fixed metadata docs by htahir1 in https://github.com/zenml-io/zenml/pull/2350
* Add generate test duration file cron by safoinme in https://github.com/zenml-io/zenml/pull/2347
* CI comments for slow CI and more conditional membership checking by strickvl in https://github.com/zenml-io/zenml/pull/2356
* Backward compatible `ModelVersion` by avishniakov in https://github.com/zenml-io/zenml/pull/2357
* Add model version created to analytics by avishniakov in https://github.com/zenml-io/zenml/pull/2352
* Make CI run on the appropriate branch by strickvl in https://github.com/zenml-io/zenml/pull/2358
* Add MVP pipeline namespace support by schustmi in https://github.com/zenml-io/zenml/pull/2353
* Apply docker run args to skypilot orchestrator VM by schustmi in https://github.com/zenml-io/zenml/pull/2342
* 📝 Minor docs improvements (basic step example) by plattenschieber in https://github.com/zenml-io/zenml/pull/2348
* Add DB backup and recovery during DB schema migrations by wjayesh in https://github.com/zenml-io/zenml/pull/2158
* Fix CI issues by strickvl in https://github.com/zenml-io/zenml/pull/2363

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

**Full Changelog**: https://github.com/zenml-io/zenml/compare/0.55.0...0.55.1

0.55.0

Not secure
This release comes with a range of new features, bug fixes and documentation updates. The most notable changes are the ability to do lazy loading of Artifacts and their Metadata and Model and its Metadata inside the pipeline code using pipeline context object, and the ability to link Artifacts to Model Versions implicitly via the `save_artifact` function.

Additionally, we've updated the documentation to include a new starter guide on how to manage artifacts, and a new production guide that walks you through how to configure your pipelines to run in production.

Breaking Change
The `ModelVersion` concept was renamed to `Model` going forward, which affects code bases using the Model Control Plane feature. **This change is not backward compatible.**

Pipeline decorator
`pipeline(model_version=ModelVersion(...))` -> `pipeline(model=Model(...))`

**Old syntax:**
python
from zenml import pipeline, ModelVersion

pipeline(model_version=ModelVersion(name="model_name",version="v42"))
def p():
...


**New syntax:**
python
from zenml import pipeline, Model

pipeline(model=Model(name="model_name",version="v42"))
def p():
...

Step decorator
`step(model_version=ModelVersion(...))` -> `step(model=Model(...))`

**Old syntax:**
python
from zenml import step, ModelVersion

step(model_version=ModelVersion(name="model_name",version="v42"))
def s():
...


**New syntax:**
python
from zenml import step, Model

step(model=Model(name="model_name",version="v42"))
def s():
...


Acquiring model configuration from pipeline/step context

**Old syntax:**
python
from zenml import pipeline, step, ModelVersion, get_step_context, get_pipeline_context

pipeline(model_version=ModelVersion(name="model_name",version="v42"))
def p():
model_version = get_pipeline_context().model_version
...

step(model_version=ModelVersion(name="model_name",version="v42"))
def s():
model_version = get_step_context().model_version
...


**New syntax:**
python
from zenml import pipeline, step, Model, get_step_context, get_pipeline_context

pipeline(model=Model(name="model_name",version="v42"))
def p():
model = get_pipeline_context().model
...

step(model=Model(name="model_name",version="v42"))
def s():
model = get_step_context().model
...


Usage of model configuration inside pipeline YAML config file

**Old syntax:**
yaml
model_version:
name: model_name
version: v42
...


**New syntax:**
yaml
model:
name: model_name
version: v42
...


`ModelVersion.metadata` -> `Model.run_metadata`

**Old syntax:**
python
from zenml import ModelVersion

def s():
model_version = ModelVersion(name="model_name",version="production")
some_metadata = model_version.metadata["some_metadata"].value
...


**New syntax:**
python
from zenml import Model

def s():
model = Model(name="model_name",version="production")
some_metadata = model.run_metadata["some_metadata"].value
...


Those using the older syntax are requested to update their code accordingly.

Full set of changes are highlighted here: https://github.com/zenml-io/zenml/pull/2267

What's Changed
* Remove --name from service account creation in docs by christianversloot in https://github.com/zenml-io/zenml/pull/2295
* Secrets store hot backup and restore by stefannica in https://github.com/zenml-io/zenml/pull/2277
* Updating the README of the e2e template by bcdurak in https://github.com/zenml-io/zenml/pull/2299
* Add missing docstring for Skypilot setting by schustmi in https://github.com/zenml-io/zenml/pull/2305
* Update Manage artifacts starter guide docs by JonathanLoscalzo in https://github.com/zenml-io/zenml/pull/2301
* Add some tiny details and move around a page by htahir1 in https://github.com/zenml-io/zenml/pull/2297
* Model links lazy evaluation in pipeline code by avishniakov in https://github.com/zenml-io/zenml/pull/2205
* Link artifact to MCP entity via function call or implicitly in `save_artifact` by avishniakov in https://github.com/zenml-io/zenml/pull/2298
* Extend MCP/ACP listing capabilities by avishniakov in https://github.com/zenml-io/zenml/pull/2285
* Add the latest `zenml` version to migration testing scripts by strickvl in https://github.com/zenml-io/zenml/pull/2294
* Remove Python 3.7 check for Langchain Integration by strickvl in https://github.com/zenml-io/zenml/pull/2308
* Allow spellcheck to run for docs changes by strickvl in https://github.com/zenml-io/zenml/pull/2307
* Add helper message for `zenml up --blocking` login by strickvl in https://github.com/zenml-io/zenml/pull/2290
* Fix secret migration from an external store in helm deployment by stefannica in https://github.com/zenml-io/zenml/pull/2315
* Small docs fixes by htahir1 in https://github.com/zenml-io/zenml/pull/2314
* Rename model version to a model by avishniakov in https://github.com/zenml-io/zenml/pull/2267
* Updating the docs after the Skypilot tests by bcdurak in https://github.com/zenml-io/zenml/pull/2311
* Remove unused Segment / Mixpanel generation workflow and script by strickvl in https://github.com/zenml-io/zenml/pull/2319
* Add `log_step_metadata` utility function by strickvl in https://github.com/zenml-io/zenml/pull/2322
* Add conditional checks to prevent scheduled actions running inside forked repositories by strickvl in https://github.com/zenml-io/zenml/pull/2317
* RBAC resource sharing by schustmi in https://github.com/zenml-io/zenml/pull/2320
* Fix typo in migration downgrade by avishniakov in https://github.com/zenml-io/zenml/pull/2337
* Separate `skypilot` flavors into different folders by safoinme in https://github.com/zenml-io/zenml/pull/2332
* Add warning for GCP integration when using Python >=3.11 by strickvl in https://github.com/zenml-io/zenml/pull/2333

New Contributors
* JonathanLoscalzo made their first contribution at https://github.com/zenml-io/zenml/pull/2301

**Full Changelog**: https://github.com/zenml-io/zenml/compare/0.54.1...0.55.0

Page 3 of 20

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.