Prefect

Latest version: v3.1.4

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

Scan your dependencies

Page 47 of 60

0.14.2

Not secure
Changelog

Released on January 6, 2021.

Features

- Support for specifying `run_config` for an individual flow run - [3903](https://github.com/PrefectHQ/prefect/pull/3903)

Enhancements

- Allow the usage of a `profile_name` on `get_boto_client` - [3916](https://github.com/PrefectHQ/prefect/pull/3916)
- Support executing Prefect agents/flows without having the `prefect` CLI on path - [3918](https://github.com/PrefectHQ/prefect/pull/3918)

Task Library

- Add support for specifying a `run_config` in `StartFlowRun` - [3903](https://github.com/PrefectHQ/prefect/pull/3903)
- Task to add Trello card for task library - [3910](https://github.com/PrefectHQ/prefect/pull/3910)

Fixes

- Remove unused `description` field on `Task` serializer - [3917](https://github.com/PrefectHQ/prefect/pull/3917)
- Fix edge case in `apply_map` that resulted in cycles in the `Flow` graph - [3920](https://github.com/PrefectHQ/prefect/pull/3920)
- Support storing multiple local flows with the same name when using `Local` storage - [3923](https://github.com/PrefectHQ/prefect/pull/3923)
- Fix bug in `prefect.context` contextmanager that resulted in context fields reverting to their initially configured values - [3924](https://github.com/PrefectHQ/prefect/pull/3924)

Contributors

- [Albert Franzi](https://github.com/afranzi)
- [Allyson Lubimir](https://github.com/whimsicallyson)

0.14.1

Not secure
Released on December 29, 2020.

Enhancements

- Make `setup` method optional for `resource_manager` tasks - [3869](https://github.com/PrefectHQ/prefect/pull/3869)
- Add labels to all containers managed by the docker agent - [3893](https://github.com/PrefectHQ/prefect/pull/3893)
- Add `prefect server stop` command for stopping the server - [3899](https://github.com/PrefectHQ/prefect/pull/3899)
- Add `--detach` to `prefect server start` for running the server in the background - [3899](https://github.com/PrefectHQ/prefect/pull/3899)

Fixes

- Add support for `google-cloud-storage` < 1.31.0 - [3875](https://github.com/PrefectHQ/prefect/pull/3875)
- Fix use of `imagePullSecrets`/`serviceAccountName` in k8s agent - [3884](https://github.com/PrefectHQ/prefect/pull/3884)
- Fix `read_bytes_from_path` to work properly with S3 - [3885](https://github.com/PrefectHQ/prefect/pull/3885)
- Change default `idempotency_key` in `StartFlowRun` to use `task_run_id` instead of `flow_run_id` - [3892](https://github.com/PrefectHQ/prefect/pull/3892)

0.14.0

Not secure
Released on December 16, 2020.

Features

- New flow run configuration system based on `RunConfig` types, see [here](https://docs.prefect.io/orchestration/flow_config/overview.html) for more info

Enhancements

- Kubernetes Agent now reports events for pending pods created by prefect jobs - [3783](https://github.com/PrefectHQ/prefect/pull/3783)
- Using `--rbac` for Kubernetes Agent install command now includes the `events` resource - [3783](https://github.com/PrefectHQ/prefect/pull/3783)
- Add orchestration-based dependencies to the `prefecthq/prefect` Docker image - [3804](https://github.com/PrefectHQ/prefect/pull/3804)
- Add a slimmed down `prefecthq/prefect:core` Docker image that only contains base dependencies - [3804](https://github.com/PrefectHQ/prefect/pull/3804)
- Docker storage now installs all orchestration-based dependencies when using default image - [3804](https://github.com/PrefectHQ/prefect/pull/3804)
- Add warning on flow registration if `flow.executor` is set but the flow is using the legacy `flow.environment` configuration system - [3808](https://github.com/PrefectHQ/prefect/pull/3808)
- Echoing prefect config file as JSON to be able to parse it with jq in the terminal - [3818](https://github.com/PrefectHQ/prefect/pull/3818)
- Produce artifact for RunGreatExpectationsValidation even if validation fails - [3829](https://github.com/PrefectHQ/prefect/pull/3829)
- `execute flow-run` command now sends flow run log in the case of an error - [3832](https://github.com/PrefectHQ/prefect/pull/3832)
- Changed name of logs raised by the Kubernetes Agent if they stem from infrastructure events - [3832](https://github.com/PrefectHQ/prefect/pull/3832)
- Add `tini` to the official Prefect docker images - [3839](https://github.com/PrefectHQ/prefect/pull/3839)
- Remove task run level heartbeats for performance - [3842](https://github.com/PrefectHQ/prefect/pull/3842)

Task Library

- Fix mising `job_id` in `DatabricksRunNow` task initialization - [3793](https://github.com/PrefectHQ/prefect/issues/3793)

Fixes

- Fix Azure result byte decoding of blob data - [3846](https://github.com/PrefectHQ/prefect/issues/3846)
- Prefect kubernetes agent no longer relies on existence of any fields in configured Kubernetes Job Template - [3805](https://github.com/PrefectHQ/prefect/pull/3805)
- Accept old envvar style configuration for Kubernetes agent for `--service-account-name`/`--image-pull-secrets` options - [3814](https://github.com/PrefectHQ/prefect/pull/3814)
- Pass `as_user=False` when using `client.get_cloud_url` in `StartFlowRun` - [3850](https://github.com/PrefectHQ/prefect/pull/3850)
- Fix AWS boto3 utility passing duplicate kwargs to client initialization - [3857](https://github.com/PrefectHQ/prefect/pull/3857)

Deprecations

- Storage classes have been moved from `prefect.environments.storage` to `prefect.storage`, the old import paths have been deprecated accordingly - [3796](https://github.com/PrefectHQ/prefect/pull/3796)
- Executor classes have been moved from `prefect.engine.executors` to `prefect.executors`, the old import paths have been deprecated accordingly - [3798](https://github.com/PrefectHQ/prefect/pull/3798)
- Deprecated use of `storage_labels` boolean kwarg on local agent - [3800](https://github.com/PrefectHQ/prefect/pull/3800)
- Deprecated use of `--storage-labels` option from agent `start` CLI command - [3800](https://github.com/PrefectHQ/prefect/pull/3800)
- Deprecates all `Environment` classes - users should transition to setting `flow.run_config` instead of `flow.environment` - [3811](https://github.com/PrefectHQ/prefect/pull/3811)
- Deprecate the Fargate Agent in favor of the ECS Agent - [3812](https://github.com/PrefectHQ/prefect/pull/3812)

Breaking Changes

- Using in-cluster installs of the Kubernetes Agent now requires RBAC for the `events` resource - [3783](https://github.com/PrefectHQ/prefect/pull/3783)
- Removed setting of default labels on storage objects and the local agent - [3800](https://github.com/PrefectHQ/prefect/pull/3800)
- Remove deprecated `RemoteEnvironment`/`RemoteDaskEnvironment` - [3802](https://github.com/PrefectHQ/prefect/pull/3802)
- Remove deprecated `executor_kwargs` argument to `KubernetesJobEnvironment`/`FargateTaskEnvironment` - [3802](https://github.com/PrefectHQ/prefect/pull/3802)
- Remove deprecated `prefect run cloud`/`prefect run server` CLI commands - [3803](https://github.com/PrefectHQ/prefect/pull/3803)
- Remove deprecated `prefect execute cloud-flow` CLI command - [3803](https://github.com/PrefectHQ/prefect/pull/3803)
- Stop building the `prefecthq/prefect:all_extras` image and switch flow deployment default to using `prefecthq/prefect:{core_version}` - [3804](https://github.com/PrefectHQ/prefect/pull/3804)
- Flows now use `RunConfig` based deployments by default - legacy `Environment` based deployments are now opt-in only - [3806](https://github.com/PrefectHQ/prefect/pull/3806)
- Remove deprecated `prefect.contrib` module - [3813](https://github.com/PrefectHQ/prefect/pull/3813)
- Remove all references to result handlers and safe results - [3838](https://github.com/PrefectHQ/prefect/pull/3838)
- Remove option to enable deprecated Kubernetes resource manager in agent install CLI command - [3840](https://github.com/PrefectHQ/prefect/pull/3840)

Contributors

- [Christian Werner](https://github.com/cwerner)
- [Erich Oliveira](https://github.com/ericholiveira)
- [Jacob Hayes](https://github.com/JacobHayes)
- [Pedro Martins](https://github.com/pedrocwb)

0.13.19

Not secure
Released on December 8, 2020.

Enhancements

- Use explicit exception chaining - [3306](https://github.com/PrefectHQ/prefect/issues/3306)
- Support Bitbucket as storage option - [3711](https://github.com/PrefectHQ/prefect/pull/3711)
- Surface pod failures and container errors in jobs deployed with the Kubernetes Agent - [3747](https://github.com/PrefectHQ/prefect/issues/3747)
- Support timeout option in GCS tasks - [3732](https://github.com/PrefectHQ/prefect/pull/3732)
- Added storage option for AWS CodeCommit - [3733](https://github.com/PrefectHQ/prefect/pull/3733)
- Add the image used for a flow-run to the flow run environment as `prefect.context.image` - [3746](https://github.com/PrefectHQ/prefect/pull/3746)
- Add `UniversalRun` run-config that works with all agents - [3750](https://github.com/PrefectHQ/prefect/pull/3750)
- Support flows that have no run-config or environment - [3750](https://github.com/PrefectHQ/prefect/pull/3750)
- Allow Docker storage environment vars to be used in commands - [3755](https://github.com/PrefectHQ/prefect/pull/3755)
- Add `service_account_name` and `image_pull_secrets` options to `KubernetesRun` and `KubernetesAgent` - [3778](https://github.com/PrefectHQ/prefect/pull/3778)
- Add a new Client function `delete_project` - [3728](https://github.com/PrefectHQ/prefect/pull/3728)

Task Library

- Add task to fetch data from Dremio - [3734](https://github.com/PrefectHQ/prefect/pull/3734)
- Add `RunGreatExpectationsValidation` task - [3753](https://github.com/PrefectHQ/prefect/pull/3753)
- Add the option to post markdown artifacts from the `RunGreatExpectationsValidation` task - [3753](https://github.com/PrefectHQ/prefect/pull/3753)

Fixes

- Fix state attempting to read result from absent upstream result - [3618](https://github.com/PrefectHQ/prefect/issues/3618)
- Replace deprecated download_as_string method with download_as_bytes method - [3741](https://github.com/PrefectHQ/prefect/pull/3741)
- Fix default image whenever working on a non-tagged commit - [3748](https://github.com/PrefectHQ/prefect/pull/3748)
- Fix type-casting for task timeout defaults loaded from config - [3761](https://github.com/PrefectHQ/prefect/pull/3761)
- Fix the `ref` default on GitHub storage - [3764](https://github.com/PrefectHQ/prefect/pull/3764)
- Fix rare cancellation bug when running with external Dask cluster - [3770](https://github.com/PrefectHQ/prefect/pull/3770)

Deprecations

- Deprecated the `RunGreatExpectationsCheckpoint` task in favor of `RunGreatExpectationsValidation` - [3766](https://github.com/PrefectHQ/prefect/pull/3766)

Contributors

- [BluePoof](https://github.com/BluePoof)
- [Faris ALSaleem](https://github.com/FarisALSaleem)
- [Jonathan Owen](https://github.com/jrowen)
- [Klemen Strojan](https://github.com/strojank)
- [Phillip Choi](https://github.com/philz-catz)
- [Sam Bail](https://github.com/spbail)
- [Takayuki Hirayama](https://github.com/yukihira1992)

0.13.18

Not secure
Released on November 30, 2020.

Enhancements

- Display formatted graphql errors on client request failure - [3632](https://github.com/PrefectHQ/prefect/pull/3632)
- Refactor Core Client API calls for performance - [3730](https://github.com/PrefectHQ/prefect/pull/3730)

Task Library

- Refactor execute query code for `PostgresExecute`, `PostgresExecuteMany`, and `PostgresFetch` tasks - [3714](https://github.com/PrefectHQ/prefect/pull/3714)
- Fix `PicklingError` in `BigQueryLoadFile` and `BigQueryLoadGoogleCloudStorage` - [3724](https://github.com/PrefectHQ/prefect/pull/3724)
- Allow custom exporter for `ExecuteNotebook` task - [3725](https://github.com/PrefectHQ/prefect/pull/3725)
- Properly forward `location` parameter in bigquery tasks - [3726](https://github.com/PrefectHQ/prefect/pull/3726)
- Support passing `helper_script` to `ShellTask`/`DBTShellTask` at runtime - [3729](https://github.com/PrefectHQ/prefect/pull/3729)

Fixes

- Fix bug with docker storage throwing exception while trying to display output - [3717](https://github.com/PrefectHQ/prefect/pull/3717)

Contributors

- [Amanda Wee](https://github.com/amanda-wee)
- [Panagiotis Simakis](https://github.com/sp1thas)
- [Swier Heeres](https://github.com/swierh)
- [Takayuki Hirayama](https://github.com/yukihira1992)

0.13.17

Not secure
Released on November 24, 2020.

Features

- Improved support for Tasks returning multiple results - [3697](https://github.com/PrefectHQ/prefect/pull/3697)

Enhancements

- Allow chaining of `Task` imperative dependency calls - [3696](https://github.com/PrefectHQ/prefect/pull/3696)
- Add `task_definition_arn` to `ECSRun` run-config - [3681](https://github.com/PrefectHQ/prefect/pull/3681)
- Rerun `resource_manager` tasks when restarting flows from failed - [3689](https://github.com/PrefectHQ/prefect/pull/3689)
- Raise nice warning if user passes `Task` instance to `Task` constructor, rather than when calling the `Task` (or using `Task.map`/`Task.set_dependencies`) - [3691](https://github.com/PrefectHQ/prefect/pull/3691)
- Always use tenant slug in output of Client `get_cloud_url` function - [3692](https://github.com/PrefectHQ/prefect/pull/3692)

Task Library

- Add enhancement to `StartFlowRun` task to create link artifact for started flow run - [3692](https://github.com/PrefectHQ/prefect/pull/3692)
- Add a new postgres task `PostgresExecuteMany` - [3703](https://github.com/PrefectHQ/prefect/pull/3703)
- Add debug logging for Docker tasks `PullImage` and `BuildImage` - [3672](https://github.com/PrefectHQ/prefect/pull/3672)
- `ShellTask` returns output on failure - [3649](https://github.com/PrefectHQ/prefect/pull/3649)
- `ShellTask` allows streaming of output independently of the number of lines returned - [3649](https://github.com/PrefectHQ/prefect/pull/3649)

Fixes

- Make `serialized_hash` handle unordered task sets correctly - [3682](https://github.com/PrefectHQ/prefect/pull/3682)
- Docker storage build error logs were not always displayed - [3693](https://github.com/PrefectHQ/prefect/pull/3693)
- Fix automatic quoting of Docker storage environment variable values - [3694](https://github.com/PrefectHQ/prefect/pull/3694)
- Use `exist_ok` flag in `os.makedirs` to avoid race condition in local storage class - [3679](https://github.com/PrefectHQ/prefect/pull/3679)

Contributors

- [Faris ALSaleem](https://github.com/FarisALSaleem)
- [R Max Espinoza](https://github.com/rmax)
- [Takayuki Hirayama](https://github.com/yukihira1992)

Page 47 of 60

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.