Prefect

Latest version: v3.1.4

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

Scan your dependencies

Page 43 of 59

0.15.1

Not secure
Enhancements

- Add documentation for querying role and membership info - [4721](https://github.com/PrefectHQ/prefect/pull/4721)
- Checkpoint task results when `SUCCESS` is raised - [4744](https://github.com/PrefectHQ/prefect/pull/4744)

Fixes

- Fix loading of `PREFECT__CLOUD__API_KEY` environment variable when starting agents - [4751](https://github.com/PrefectHQ/prefect/pull/4751)
- Fix bug where the tenant could not be inferred during flow runs while using token auth - [4758](https://github.com/PrefectHQ/prefect/pull/4758)
- Fix bug where an agent using token auth could clear the tenant from disk - [4759](https://github.com/PrefectHQ/prefect/pull/4759)

0.15.0

Not secure
Released on July 1, 2021.

Features

- Add objects for inspecting flows, flow runs, and task runs without writing queries - [4426](https://github.com/PrefectHQ/prefect/pull/4426)
- Rehaul `prefect run` CLI for executing flows locally and with agents - [4463](https://github.com/PrefectHQ/prefect/pull/4463)
- Add flow run tasks to simplify flow run result passing - [4563](https://github.com/PrefectHQ/prefect/pull/4563)
- Add agentless execution for flow runs - [4589](https://github.com/PrefectHQ/prefect/pull/4589)
- Add `prefect auth create-key` to create API keys - [4643](https://github.com/PrefectHQ/prefect/pull/4643)
- Add `prefect auth list-keys` to list API key metadata - [4643](https://github.com/PrefectHQ/prefect/pull/4643)
- Add `prefect auth revoke-key` to revoke an API key - [4643](https://github.com/PrefectHQ/prefect/pull/4643)
- Add `prefect auth status` command to see the state of your authentication - [4643](https://github.com/PrefectHQ/prefect/pull/4643)

Enhancements

- Improve flow run documentation with new dedicated section - [4492](https://github.com/PrefectHQ/prefect/pull/4492)
- Update `Client` to support API keys - [4643](https://github.com/PrefectHQ/prefect/pull/4643)
- Add API key support to `prefect auth login/logout/switch-tenants` - [4643](https://github.com/PrefectHQ/prefect/pull/4643)
- API keys can be configured in the Prefect config - [4643](https://github.com/PrefectHQ/prefect/pull/4643)
- Change SendGrid `SendEmail` task to use secret value - [4669](https://github.com/PrefectHQ/prefect/pull/4669)
- Add `TenantView` for retrieval of tenant information - [4676](https://github.com/PrefectHQ/prefect/pull/4676)
- Add custom rbac documentation - [4696](https://github.com/PrefectHQ/prefect/pull/4696)
- Exit with non-zero status on flow run failure when watched - [4709](https://github.com/PrefectHQ/prefect/pull/4709)
- Display return code on local agent flow process failure - [4715](https://github.com/PrefectHQ/prefect/pull/4715)

Task Library

- Add `KafkaBatchConsume` and `KafkaBatchProduce` tasks - [4533](https://github.com/PrefectHQ/prefect/pull/4533)

Fixes

- Fix cleanup issue with `Git` storage on Windows - [4665](https://github.com/PrefectHQ/prefect/pull/4665)
- Pass API keys as tokens for compatibility when creating flow run environments - [4683](https://github.com/PrefectHQ/prefect/pull/4683)
- Fix missing event timestamp attribute errors in K8s agent - [4693](https://github.com/PrefectHQ/prefect/pull/4693)
- Fix backwards compatibility for flows without a `terminal_state_handler` - [4695](https://github.com/PrefectHQ/prefect/pull/4695)
- Raise a better exception when a task run result type is not set in `TaskRunView.get_result()` - [4708](https://github.com/PrefectHQ/prefect/pull/4708)

Deprecations

- Deprecate `prefect auth create-token` - [4643](https://github.com/PrefectHQ/prefect/pull/4643)
- Deprecate `prefect auth list-tokens` - [4643](https://github.com/PrefectHQ/prefect/pull/4643)
- Deprecate `prefect auth revoke-token` - [4643](https://github.com/PrefectHQ/prefect/pull/4643)
- Deprecate setting auth tokens in the Prefect config - [4643](https://github.com/PrefectHQ/prefect/pull/4643)
- `prefect.utilities.exceptions` has been deprecated in favor of `prefect.exceptions` - [4664](https://github.com/PrefectHQ/prefect/pull/4664)

Breaking Changes

- Remove deprecated `prefect.environment.storage` module
- Remove deprecated `DockerAgent` kwarg `network`
- Remove deprecated `kubernetes.ResourceManager` class
- Remove deprecated `prefect agent start/install <agent-type>` commands
- Remove deprecated `prefect agent local start` flag `--storage-labels`
- Remove deprecated `DroboxDownload` task kwarg `access_token_secret`
- Remove deprecated `GCS...` tasks kwarg `encryption_key_secret`
- Remove deprecated `prefect.tasks.google` module
- Remove deprecated `prefect.tasks.secret.Secret` class
- Remove deprecated `Scheduler` serializers for Prefect <0.6.0
- Remove deprecated `RunGreatExpectionsCheckpoint` task
- Remove deprecated `OneTimeSchedule` and `UnionSchedule` classes
- Remove deprecated flow run tasks ending in `Task`
- Remove deprecated prefect.utilities.tasks.unmapped; moved to `prefect.utilities.edges.unmapped`
- Prefect state signals now inherit from `BaseException` to prevent accidental capture - [4664](https://github.com/PrefectHQ/prefect/pull/4664)
- `TaskTimeoutError` has been replaced with `TaskTimeoutSignal` - [4664](https://github.com/PrefectHQ/prefect/pull/4664)
- `VersionLockError` has been replaced with `VersionLockMismatchSignal` - [4664](https://github.com/PrefectHQ/prefect/pull/4664)

Contributors

- [Stéphan Taljaard](https://github.com/taljaards)
- [Tenzin Choedak](https://github.com/tchoedak)

0.14.22

Not secure
Released on June 15, 2021.

Enhancements

- Use `functools.update_wrapper` for `FunctionTask` - [4608](https://github.com/PrefectHQ/prefect/pull/4608)
- Add ability to merge reference tasks when combining two flows - [4644](https://github.com/PrefectHQ/prefect/pull/4644)
- Add client side check for key value size - [4655](https://github.com/PrefectHQ/prefect/pull/4655)
- Ensure stack traces are included in logs during task run exceptions - [4657](https://github.com/PrefectHQ/prefect/pull/4657)
- Add `poll_interval` parameter to `StartFlowRun` to define the polling interval when waiting for the flow run to finish - [4641](https://github.com/PrefectHQ/prefect/pull/4641)
- Add ability to set task timeouts with `timedelta` objects - [4619](https://github.com/PrefectHQ/prefect/pull/4619)

Fixes

- Add ssh documentation - [4539](https://github.com/PrefectHQ/prefect/pull/4539)

Contributors

- [Pawel Janowski, Recursion](https://github.com/pjanowski)
- [Peter Roelants](https://github.com/peterroelants)

0.14.21

Not secure
Features

- Add interface for backend key-value metadata store - [4499](https://github.com/PrefectHQ/prefect/pull/4499)

Enhancements

- Keep intermediate docker layers when using Docker Storage to improve caching - [4584](https://github.com/PrefectHQ/prefect/pull/4584)

Fixes

- Fix possible race condition in `LocalResult` directory creation - [4587](https://github.com/PrefectHQ/prefect/pull/4587)
- Use absolute paths when registering flows in `prefect register` - [4593](https://github.com/PrefectHQ/prefect/pull/4593)
- Propagate storage labels (e.g. hostname label on `Local` storage) when registering flows with `prefect register` - [4593](https://github.com/PrefectHQ/prefect/pull/4593)
- Fix small-flow parallelism issues with multiprocess `LocalDaskExecutor` - [4602](https://github.com/PrefectHQ/prefect/pull/4602)
- Cleanly handle unpicklable exceptions in tasks - [4605](https://github.com/PrefectHQ/prefect/pull/4605)

Contributors

- [Tom Forbes](https://github.com/orf)

0.14.20

Not secure
Released on May 25, 2021.

Enhancements

- Refactor `Agent` base class for readability - [4341](https://github.com/PrefectHQ/prefect/pull/4341)
- Display the agent config id on agent startup if set - [4524](https://github.com/PrefectHQ/prefect/pull/4524)
- Add debug logs during agent auth verification - [4547](https://github.com/PrefectHQ/prefect/pull/4547)
- Sending logs to Cloud can be globally disabled via config in addition to the agent flag - [4487](https://github.com/PrefectHQ/prefect/pull/4487)

Task Library

- Enable sending attachments with emails in the `EmailTask` - [4457](https://github.com/PrefectHQ/prefect/pull/4457)
- Add Google Cloud Platform `GCPSecret` task - [4561](https://github.com/PrefectHQ/prefect/pull/4561)

Fixes

- Fix `import_object` handling of submodules that are not attributes - [4513](https://github.com/PrefectHQ/prefect/pull/4513)
- Fix `DockerStorage` building with python slim image - [4523](https://github.com/PrefectHQ/prefect/pull/4523)
- Gracefully handle events with missing timestamps in K8s agent - [4544](https://github.com/PrefectHQ/prefect/pull/4544)
- Fix bug where agent uses originally scheduled start time instead of latest state time - [4568](https://github.com/PrefectHQ/prefect/pull/4568)

Deprecations

- `logging.log_to_cloud` has been deprecated in favor of `cloud.send_flow_run_logs` - [4487](https://github.com/PrefectHQ/prefect/pull/4487)

Contributors

- [Stéphan Taljaard](https://github.com/taljaards)
- [Thomas Heyenbrock](https://github.com/thomasheyenbrock)

0.14.19

Not secure
Released on May 11, 2021 as a hotfix for 0.14.18

Fixes

- Fix docker container name error while using docker agents - [4511](https://github.com/PrefectHQ/prefect/pull/4511)

Page 43 of 59

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.