Prefect

Latest version: v2.82

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

Scan your dependencies

Page 25 of 44

1.0

Flows written with Prefect 1.0 will require modifications to run with Prefect 2.0. If you're using Prefect 1.0, please see our [guidance on Discourse for explicitly pinning your Prefect version in your package manager and Docker](https://discourse.prefect.io/t/the-general-availability-release-of-prefect-2-0-going-live-on-wednesday-27th-of-july-may-break-your-flows-unless-you-take-action-as-soon-as-possible/1227), so that you can make the transition to Prefect 2.0 when the time is right for you. See our [migration page](https://upgrade.prefect.io/) to learn more about upgrading.

1.0.0

Not secure
🎉

See [the latest documentation](https://docs.prefect.io/) and our [release blog post](https://www.prefect.io/blog/prefect-core-is-now-prefect-1-0/).

Highlights

- Authentication with tokens has been removed; use API keys instead. - [4643](https://github.com/PrefectHQ/prefect/pull/4643)
- Python 3.6 is no longer supported; use Python 3.7+ instead. - [5136](https://github.com/PrefectHQ/prefect/pull/5136)
- Flow `Environment`s have been removed; use `RunConfig`s instead. - [5072](https://github.com/PrefectHQ/prefect/pull/5072), [docs](https://docs.prefect.io/orchestration/flow_config/upgrade.html)
- We have a new [Discourse community](https://discourse.prefect.io/) to encourage lasting discussions.

Breaking Changes

<!-- agent changes -->
- The AWS Fargate agent has been removed; use the ECS agent instead. - [3812](https://github.com/PrefectHQ/prefect/pull/3812)
- `DockerAgent(docker_interface=...)` will now raise an exception if passed. - [4446](https://github.com/PrefectHQ/prefect/pull/4446)
- Agents will no longer check for authentication at the `prefect.cloud.agent.auth_token` config key. - [5140](https://github.com/PrefectHQ/prefect/pull/5140)
<!-- name/import changes -->
- Executors can no longer be imported from `prefect.engine.executors`; use `prefect.executors` instead. - [3798](https://github.com/PrefectHQ/prefect/pull/3798)
- `Parameter` is not importable from `prefect.core.tasks` anymore; use `prefect.Parameter` instead.
- Exceptions are no longer importable from `prefect.utilities.exceptions`; use `prefect.exceptions` instead. - [4664](https://github.com/PrefectHQ/prefect/pull/4664)
- `Client.login_to_tenant` has been renamed to `Client.switch_tenant`.
<!-- cli changes -->
- The `prefect register flow` command has been removed; use `prefect register` instead. - [4256](https://github.com/PrefectHQ/prefect/pull/4256)
- The `prefect run flow` command has been removed; use `prefect run` instead. - [4463](https://github.com/PrefectHQ/prefect/pull/4463)
- Authentication token CLI commands `create-token`, `revoke-token`, `list-tokens` have been removed; use API keys instead. - [4643](https://github.com/PrefectHQ/prefect/pull/4643)
- `prefect auth login` no longer accepts authentication tokens. - [5140](https://github.com/PrefectHQ/prefect/pull/5140)
- `prefect auth purge-tokens` has been added to delete the Prefect-managed tokens directory. - [5140](https://github.com/PrefectHQ/prefect/pull/5140)
<!-- config changes -->
- The `log_to_cloud` setting is now ignored; use `send_flow_run_logs` instead. - [4487](https://github.com/PrefectHQ/prefect/pull/4487)

Enhancements

- Update `LocalDaskExecutor` to use new Python futures feature. - [5046](https://github.com/PrefectHQ/prefect/issues/5046)
- Add a `State.__sizeof__` implementation to include the size of its result for better scheduling. - [5304](https://github.com/PrefectHQ/prefect/pull/5304)
- Allow the cancellation event check to be disabled in the `DaskExecutor`. - [5443](https://github.com/PrefectHQ/prefect/issues/5443)
- Update `Flow.visualize()` to allow change in orientation. - [5472](https://github.com/PrefectHQ/prefect/pull/5472)
- Allow ECS task definition role ARNs to override ECS agent defaults. - [5366](https://github.com/PrefectHQ/prefect/pull/5366)

Task Library

- Add `DatabricksGetJobID` to retreive Databricks job IDs with a given name. - [5438](https://github.com/PrefectHQ/prefect/issues/5438)
- Add `AWSParametersManager` task to retrieve value from AWS Systems Manager Parameter Store. - [5439](https://github.com/PrefectHQ/prefect/issues/5439)
- Update `SpacyNLP` task to support `spacy` version >= 3.0. - [5358](https://github.com/PrefectHQ/prefect/issues/5358)
- Add `exclude` parameter to `SpacyNLP` task. - [5402](https://github.com/PrefectHQ/prefect/pull/5402)
- Update the `AWSSecretsManager` task to parse non key-value type secrets. - [5451](https://github.com/PrefectHQ/prefect/issues/5451)
- Update the `DatabricksRunNow` task to use the Databricks 2.1 jobs API. - [5395](https://github.com/PrefectHQ/prefect/pull/5395/)
- Add `ge_checkpoint` and `checkpoint_kwargs` parameters to `RunGreatExpectationsValidation` to allow runtime configuration of checkpoint runs. - [5404](https://github.com/PrefectHQ/prefect/pull/5404)
- Add support for overwriting existing blobs when using Azure `BlobStorageUpload` task. - [5437](https://github.com/PrefectHQ/prefect/pull/5437)
- Add `Neo4jRunCypherQueryTask` task for running Cypher queries against Neo4j databases. - [5418](https://github.com/PrefectHQ/prefect/pull/5418)
- Add `DatabricksSubmitMultitaskRun` task to run Databricks jobs with multiple Databricks tasks. - [5395](https://github.com/PrefectHQ/prefect/pull/5395/)

Fixes

- Add support to `prefect.flatten` for non-iterable upstreams, including exceptions and signals. - [4084](https://github.com/PrefectHQ/prefect/issues/4084)
- While building Docker images for storage, `rm=True` is used as default, which deletes intermediate containers. - [5384](https://github.com/PrefectHQ/prefect/issues/5384)
- Use `__all__` to declare Prefect's public API for Pyright. - [5293](https://github.com/PrefectHQ/prefect/pull/5293)
- Fix usage of `sys.getsizeof` to restore support for PyPy. - [5390](https://github.com/PrefectHQ/prefect/issues/5390)
- Fix issues with log size estimates from [5316](https://github.com/PrefectHQ/prefect/pull/5316). - [#5390](https://github.com/PrefectHQ/prefect/issues/5390)


Contributors

- [Alessandro Lollo](https://github.com/AlessandroLollo)
- [Aneesh Makala](https://github.com/makalaaneesh)
- [Connor Martin](https://github.com/cjmartian)
- [Gebing](https://github.com/gebing)
- [Julio Faracco](https://github.com/jcfaracco)
- [Kevin Mullins](https://github.com/zyzil)
- [Mathijs Miermans](https://github.com/mmiermans)
- [Oliver Mannion](https://github.com/tekumara)
- [Raymond Yu](https://github.com/raymonds-backyard)

1.0rc1

Not secure
See the list of changes in the [changelog](https://github.com/PrefectHQ/prefect/blob/master/CHANGELOG.md#100).

0.15.13

Not secure
Changes

Enhancements

- Ensure that maximum log payload sizes are not exceeded - [5316](https://github.com/PrefectHQ/prefect/pull/5316)

Server

- Upgrade Hasura to v2.1.1 which includes support for Apple M1 - [5335](https://github.com/PrefectHQ/prefect/pull/5335)

Fixes

- Fix bug where logout was required before logging in with a new key if the new key does not have access to the old tenant - [5355](https://github.com/PrefectHQ/prefect/pull/5355)

Task Library

- Fix bug where the Airbyte sync job failure would not be reflected in the task state - [5362](https://github.com/PrefectHQ/prefect/pull/5362)

0.15.12

Not secure
Changes

Enhancements

- Allow passing timedeltas to `create_flow_run` to schedule subflows at runtime - [5303](https://github.com/PrefectHQ/prefect/pull/5303)
- Upgrade Prefect Server Hasura image to 2.0.9 - [5173](https://github.com/PrefectHQ/prefect/pull/5313)
- Allow client retries on failed requests to Prefect Server - [5292](https://github.com/PrefectHQ/prefect/pull/5292)

Task Library

- Add authentication parameter for Snowflake query tasks - [5173](https://github.com/PrefectHQ/prefect/pull/5173)
- Add Mixpanel tasks - [5276](https://github.com/PrefectHQ/prefect/pull/5276)
- Add Zendesk Tickets Incremental Export task - [5278](https://github.com/PrefectHQ/prefect/pull/5278)
- Add Cube.js Query task - [5280](https://github.com/PrefectHQ/prefect/pull/5280)
- Add Monte Carlo lineage tasks - [5256](https://github.com/PrefectHQ/prefect/pull/5256)
- Add Firebolt task - [5265](https://github.com/PrefectHQ/prefect/pull/5265)
- Add custom domain support to dbt Cloud tasks for enterprise customers - [5273](https://github.com/PrefectHQ/prefect/pull/5273)
- Fix response key in Airbyte task health check - [5314](https://github.com/PrefectHQ/prefect/pull/5314)
- Allow all Postgres task parameters to be configured at runtime - [4377](https://github.com/PrefectHQ/prefect/pull/5016)
- Fix `AirbyteConnectionTask` requiring optional parameters - [5260](https://github.com/PrefectHQ/prefect/pull/5260)
- Allow `StepActivate` task to receive runtime parameters - [5231](https://github.com/PrefectHQ/prefect/pull/5231)

Fixes

- Fix bug where null `run_config` field caused deserialization errors in backend views - [1234](https://github.com/PrefectHQ/prefect/pull/1234)

Contributors

- [Adam Brusselback](https://github.com/Tostino)
- [Ahmed Ezzat](https://github.com/bitthebyte)
- [Alessandro Lollo](https://github.com/AlessandroLollo)
- [Connor Martin](https://github.com/cjmartian)
- [Dennis Hinnenkamp](https://github.com/sikwel)
- [Gaylord Cherencey](https://github.com/gcherencey)
- [Henning Holgersen](https://github.com/radbrt)
- [Mathijs Miermans](https://github.com/mmiermans)
- [Michał Zawadzki](https://github.com/Trymzet)
- [Raghav Sharma](https://github.com/raghavSharmaSigmoid)

0.15.11

Not secure
Changes

Released on December 22, 2021.

Enhancements

- Allow passing kwargs to `Merge` task constructor via `merge()` function - [5233](https://github.com/PrefectHQ/prefect/pull/5233)
- Allow passing proxies to `slack_notifier` - [5237](https://github.com/PrefectHQ/prefect/pull/5237)

Fixes

- Update `RunGreatExpectationsValidation` task to work with latest version of `great_expectations` - [5172](https://github.com/PrefectHQ/prefect/issues/5172)
- Allow unsetting kubernetes `imagePullSecrets` with an empty string - [5001](https://github.com/PrefectHQ/prefect/pull/5001)
- Improve agent handling of kubernetes jobs for flow runs that have been deleted - [5190](https://github.com/PrefectHQ/prefect/pull/5190)
- Remove `beta1` from kubernetes agent template - [5194](https://github.com/PrefectHQ/prefect/pull/5194)
- Documentation improvements - [5220](https://github.com/PrefectHQ/prefect/pull/5220), [#5232](https://github.com/PrefectHQ/prefect/pull/5232), [#5288](https://github.com/PrefectHQ/prefect/pull/5288)

Contributors

- [Connor Martin](https://github.com/cjmartian)
- [Farley Farley](https://github.com/AndrewFarley)
- [Vincent Chéry](https://github.com/VincentAntoine)

Page 25 of 44

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.