From 87755b2d7fd979d7975486abdd56f2e4d191e2f7 Mon Sep 17 00:00:00 2001 From: nate nowack Date: Thu, 8 Feb 2024 15:32:19 -0500 Subject: [PATCH] The title (#380) --- .github/PULL_REQUEST_TEMPLATE.md | 1 - CHANGELOG.md | 404 ------------------------------- 2 files changed, 405 deletions(-) delete mode 100644 CHANGELOG.md diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 1db88eb0..f7bec8da 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -25,4 +25,3 @@ Any relevant screenshots - Run `pre-commit install && pre-commit run --all` locally for formatting and linting. - [ ] Includes screenshots of documentation updates. - Run `mkdocs serve` view documentation locally. -- [ ] Summarizes PR's changes in [CHANGELOG.md](https://github.com/PrefectHQ/prefect-aws/blob/main/CHANGELOG.md) diff --git a/CHANGELOG.md b/CHANGELOG.md deleted file mode 100644 index 1445d22c..00000000 --- a/CHANGELOG.md +++ /dev/null @@ -1,404 +0,0 @@ -# Changelog - -All notable changes to this project will be documented in this file. - -The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), -and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). - -## Unreleased - -### Added - -### Changed - -- Use cached boto3 clients in `ECSWorker` - [#375](https://github.com/PrefectHQ/prefect-aws/pull/375) - -### Fixed - -### Deprecated - -### Removed - -## 0.4.9 - -Released January 24rd, 2024. - -### Fixed - -- Hashing of nested objects within `AwsClientParameters` - [#373](https://github.com/PrefectHQ/prefect-aws/pull/373) - -## 0.4.8 - -Released January 23rd, 2024. - -### Added - -- Support MinIO Credentials as `credentials` dict for `push_to_s3` and `pull_from_s3` - [#366](https://github.com/PrefectHQ/prefect-aws/pull/366) - -### Changed - -- Handle `boto3` clients more efficiently with `lru_cache` - [#361](https://github.com/PrefectHQ/prefect-aws/pull/361) - -## 0.4.7 - -Released January 3rd, 2024. - -### Added - -- `LambdaFunction` block to invoke lambda functions - [#355](https://github.com/PrefectHQ/prefect-aws/pull/355) - -### Fixed - -- Bug where `S3Bucket.load()` constructed `AwsCredentials` instead of `MinIOCredentials` - [#359](https://github.com/PrefectHQ/prefect-aws/pull/359) - -## 0.4.6 - -Released December 11th, 2023. - -### Added - -Ability to publish `ECSTask`` block as an ecs work pool - [#353](https://github.com/PrefectHQ/prefect-aws/pull/353) - -## 0.4.5 - -Released November 30th, 2023. - -### Fixed - -- Bug where Prefect API key provided to ECS tasks was masked - [#347](https://github.com/PrefectHQ/prefect-aws/pull/347) - -## 0.4.4 - -Released November 29th, 2023. - -### Changed - -- Mask Prefect API key in logs - [#341](https://github.com/PrefectHQ/prefect-aws/pull/341) - -## 0.4.3 - -Released November 13th, 2023. - -### Added - -- `SecretBrinary` suport to `AwsSecret` block - [#274](https://github.com/PrefectHQ/prefect-aws/pull/274) - -## 0.4.2 - -Released November 6th, 2023. - -### Fixed - -- Fixed use_ssl default for s3 client. - -## 0.4.1 - -Released October 13th, 2023. - -### Added - -- AWS S3 copy and move tasks and `S3Bucket` methods - [#316](https://github.com/PrefectHQ/prefect-aws/pull/316) - -### Fixed - -- `ECSWorker` issue where defining a custom network configuration with a subnet would erroneously report it as missing from the VPC when more than one subnet exists in the VPC. [#321](https://github.com/PrefectHQ/prefect-aws/pull/321) -- Updated `push_to_s3` and `pull_from_s3` deployment steps to properly create a boto3 session client if the passed credentials are a referenced `AwsCredentials` block [#322](https://github.com/PrefectHQ/prefect-aws/pull/322) - -## 0.4.0 - -Released October 5th, 2023. - -### Changed - -- Changed `push_to_s3` deployment step function to write paths `as_posix()` to allow support for deploying from windows [#314](https://github.com/PrefectHQ/prefect-aws/pull/314) -- Conditional imports to support operating with pydantic>2 installed - [#317](https://github.com/PrefectHQ/prefect-aws/pull/317) - -## 0.3.7 - -Released August 31st, 2023. - -### Added - -- Added retries to ECS task run creation for ECS worker - [#303](https://github.com/PrefectHQ/prefect-aws/pull/303) -- Added support to `ECSWorker` for `awsvpcConfiguration` [#304](https://github.com/PrefectHQ/prefect-aws/pull/304) - -## 0.3.6 - -Released July 20th, 2023. - -### Changed - -- Promoted workers to GA, removed beta disclaimers - -## 0.3.5 - -Released on July 14th, 2023. - -### Fixed - -- Fixed `S3Bucket.stream_from` path resolution - [#291](https://github.com/PrefectHQ/prefect-aws/pull/291) -- Fixed `ECSWorker` debug logs from failing to parse json - [#296](https://github.com/PrefectHQ/prefect-aws/pull/296) - -## 0.3.4 - -Released on June 15th, 2023. - -### Added - -- Added `S3Bucket.stream_from` to copy objects between buckets - [#276](https://github.com/PrefectHQ/prefect-aws/pull/276) - -### Deprecated - -- `prefect_aws.projects` module. Use `prefect_aws.deployments` instead. - [#278](https://github.com/PrefectHQ/prefect-aws/pull/278) -- `pull_project_from_s3` step. Use `pull_from_s3` instead. - [#278](https://github.com/PrefectHQ/prefect-aws/pull/278) -- `push_project_to_s3` step. Use `push_to_s3` instead. - [#278](https://github.com/PrefectHQ/prefect-aws/pull/278) -- `PullProjectFromS3Output` step output. Use `PullFromS3Output` instead. - [#278](https://github.com/PrefectHQ/prefect-aws/pull/278) -- `PushProjectToS3Output` step output. Use `PushToS3Output` instead. - [#278](https://github.com/PrefectHQ/prefect-aws/pull/278) - -## 0.3.3 - -Released on June 13th, 2023. - -### Fixed - -- Change prefect.docker import to prefect.utilities.dockerutils to fix a crash when using custom blocks based on S3Bucket - [#273](https://github.com/PrefectHQ/prefect-aws/pull/273) - -## 0.3.2 - -Released on May 25th, 2023. - -### Added - -- Stream ECS Worker flow run logs to the API - [#267](https://github.com/PrefectHQ/prefect-aws/pull/267) - -### Fixed - -- Fixed bug where incorrect credentials model was selected when `MinIOCredentials` was used with `S3Bucket` - [#254](https://github.com/PrefectHQ/prefect-aws/pull/254) -- Fixed bug where `S3Bucket.list_objects` was truncating prefix paths ending with slashes - [#263](https://github.com/PrefectHQ/prefect-aws/pull/263) -- Fixed bug where ECS worker could not cancel flow runs - [#268](https://github.com/PrefectHQ/prefect-aws/pull/268) - -## 0.3.1 - -Released on April 20th, 2023. - -### Added - -- `ECSWorker` for executing Prefect flow runs as ECS tasks - [#238](https://github.com/PrefectHQ/prefect-aws/pull/238) - -### Fixed - -- Fixes retrieving files from large buckets via pagination in the `pull_project_from_s3` step - [#240](https://github.com/PrefectHQ/prefect-aws/pull/240) -- Slugify tags to ensure compatibility with ECS limitations - [#245](https://github.com/PrefectHQ/prefect-aws/pull/245) - -## 0.3.0 - -Released on April 6th, 2023. - -### Added - -- Support for unsigned AWS requests - [#220](https://github.com/PrefectHQ/prefect-aws/pull/220) -- Added push and pull project steps for S3 - [#229](https://github.com/PrefectHQ/prefect-aws/pull/229) -- `basepath` property to `S3Bucket` to maintain compatibility with storage block based deployments - [#231](https://github.com/PrefectHQ/prefect-aws/pull/231) - -### Changed - -- Added string support to `JsonPatch` implementation for task customizations Link [#233](https://github.com/PrefectHQ/prefect-aws/pull/233) - -### Removed - -- `basepath`, `aws_credentials` and `minio_credentials` fields from `S3Bucket` - [#231](https://github.com/PrefectHQ/prefect-aws/pull/231) - -## 0.2.5 - -Released on March 13th, 2023. - -### Fixed - -- Fixed errors raised when using `write_path` and `read_path` with `credentials` field on `S3Bucket` - [#208](https://github.com/PrefectHQ/prefect-aws/pull/208) -- Resolving paths in `S3Bucket` unintentionally generating an arbitrary UUID when path is an empty string - [#212](https://github.com/PrefectHQ/prefect-aws/pull/212) -- Fixed crashes when pausing flow runs executed with `ECSTask` - [#218](https://github.com/PrefectHQ/prefect-aws/pull/218) - -## 0.2.4 - -Released on January 23rd, 2023. - -### Added - -- `AwsSecret` block with `read_secret`, `write_secret`, and `delete_secret` methods - [#176](https://github.com/PrefectHQ/prefect-aws/pull/176) - -### Changed - -- Object keys sent in S3 requests use '/' delimiters instead of system default - [#192](https://github.com/PrefectHQ/prefect-aws/pull/192) - -### Fixed - -- Fix bug where ECSTask could fail to stream logs - [#186](https://github.com/PrefectHQ/prefect-aws/pull/186) - -## 0.2.3 - -Released on January 4th, 2023. - -### Fixed - -- Missing `mypy_boto3_s3` in requirements.txt - [#189](https://github.com/PrefectHQ/prefect-aws/pull/189) - -## 0.2.2 - -Released on January 4th, 2023. - -### Added - -- `list_objects`, `download_object_to_path`, `download_object_to_file_object`, `download_folder_to_path`, `upload_from_path`, `upload_from_file_object`, `upload_from_folder` methods in `S3Bucket` - [#85](https://github.com/PrefectHQ/prefect-aws/pull/175) -- `aws_client_parameters` as a field in `AwsCredentials` and `MinioCredentials` blocks - [#175](https://github.com/PrefectHQ/prefect-aws/pull/175) -- `get_client` and `get_s3_client` methods to `AwsCredentials` and `MinioCredentials` blocks - [#175](https://github.com/PrefectHQ/prefect-aws/pull/175) - -### Changed - -- `S3Bucket` additionally inherits from `ObjectStorageBlock` - [#175](https://github.com/PrefectHQ/prefect-aws/pull/175) -- Exposed all existing blocks to the top level init - [#175](https://github.com/PrefectHQ/prefect-aws/pull/175) -- Inherit `CredentialsBlock` for `AwsCredentials` and `MinIOCredentials` - [#183](https://github.com/PrefectHQ/prefect-aws/pull/183) - -### Deprecated - -- `endpoint_url` field in S3Bucket; specify `aws_client_parameters` in `AwsCredentials` or `MinIOCredentials` instead - [#175](https://github.com/PrefectHQ/prefect-aws/pull/175) -- `basepath` field in S3Bucket; specify `bucket_folder` instead - [#175](https://github.com/PrefectHQ/prefect-aws/pull/175) -- `minio_credentials` and `aws_credentials` field in S3Bucket; use the `credentials` field instead - [#175](https://github.com/PrefectHQ/prefect-aws/pull/175) - -## 0.2.1 - -Released on December 7th, 2022. - -### Changed - -- `ECSTask` now logs the difference between the requested and the pre-registered task definition when using a `task_definition_arn` - [#166](https://github.com/PrefectHQ/prefect-aws/pull/166) -- Default of `S3Bucket` to be an empty string rather than None - [#169](https://github.com/PrefectHQ/prefect-aws/pull/169) - -### Fixed - -- Deployments of `S3Bucket` - [#169](https://github.com/PrefectHQ/prefect-aws/pull/169) -- The image from `task_definition_arn` will be respected if `image` is not explicitly set - [#170](https://github.com/PrefectHQ/prefect-aws/pull/170) - -## 0.2.0 - -Released on December 2nd, 2022. - -### Added - -- `ECSTask.kill` method for cancellation support - [#163](https://github.com/PrefectHQ/prefect-aws/pull/163) - -### Changed - -- Breaking: Identifiers `ECSTask` now include the cluster in addition to the task ARN - [#163](https://github.com/PrefectHQ/prefect-aws/pull/163) -- Bumped minimum required `prefect` version - [#154](https://github.com/PrefectHQ/prefect-aws/pull/154) - -## 0.1.8 - -Released on November 16th, 2022. - -### Added - -- Added `family` field to `ECSTask` to configure task definition family names — [#152](https://github.com/PrefectHQ/prefect-aws/pull/152) - -### Changed - -- Changes the default `ECSTask` family to include the flow and deployment names if available — [#152](https://github.com/PrefectHQ/prefect-aws/pull/152) - -### Fixed - -- Fixed failure while watching ECS task execution when the task is missing — [#153](https://github.com/PrefectHQ/prefect-aws/pull/153) - -## 0.1.7 - -Released on October 28th, 2022. - -### Changed - -- `ECSTask` is no longer experimental — [#137](https://github.com/PrefectHQ/prefect-aws/pull/137) - -### Fixed - -- Fix ignore_file option in `S3Bucket` skipping files which should be included — [#139](https://github.com/PrefectHQ/prefect-aws/pull/139) -- Fixed bug where `basepath` is used twice in the path when using `S3Bucket.put_directory` - [#143](https://github.com/PrefectHQ/prefect-aws/pull/143) - -## 0.1.6 - -Released on October 19th, 2022. - -### Added - -- `get_directory` and `put_directory` methods on `S3Bucket`. The `S3Bucket` block is now usable for remote flow storage with deployments. - [#82](https://github.com/PrefectHQ/prefect-aws/pull/82) - -## 0.1.5 - -Released on October 14th, 2022. - -### Added - -- Add `ECSTask.cloudwatch_logs_options` for customization of CloudWatch logging — [#116](https://github.com/PrefectHQ/prefect-aws/pull/116) -- Added `config` parameter to AwsClientParameters to support advanced configuration (e.g. accessing public S3 buckets) [#117](https://github.com/PrefectHQ/prefect-aws/pull/117) -- Add `@sync_compatible` to `S3Bucket` methods to allow calling them in sync contexts - [#119](https://github.com/PrefectHQ/prefect-aws/pull/119). -- Add `ECSTask.task_customizations` for customization of arbitary fields in the run task payload — [#120](https://github.com/PrefectHQ/prefect-aws/pull/120) - -### Fixed - -- Fix configuration to submit doc edits via GitHub - [#110](https://github.com/PrefectHQ/prefect-aws/pull/110) -- Removed invalid ecs task register fields - [#126](https://github.com/PrefectHQ/prefect-aws/issues/126) - -## 0.1.4 - -Released on September 13th, 2022. - -### Changed - -- Increased default timeout on the `ECSTask` block - [#106](https://github.com/PrefectHQ/prefect-aws/pull/106) - -## 0.1.3 - -Released on September 12th, 2022. - -### Added - -- `client_waiter` task - [#43](https://github.com/PrefectHQ/prefect-aws/pull/43) -- `ECSTask` infrastructure block - [#85](https://github.com/PrefectHQ/prefect-aws/pull/85) - -## 0.1.2 - -Released on August 2nd, 2022. - -### Added - -- `batch_submit` task - [#41](https://github.com/PrefectHQ/prefect-aws/pull/41) -- `MinIOCredentials` block - [#46](https://github.com/PrefectHQ/prefect-aws/pull/46) -- `S3Bucket` block - [#47](https://github.com/PrefectHQ/prefect-aws/pull/47) - -### Changed - -- Converted `AwsCredentials` into a `Block` [#45](https://github.com/PrefectHQ/prefect-aws/pull/45) - -### Deprecated - -### Removed - -- Removed `.result()` and `is_complete` on test flow calls. [#45](https://github.com/PrefectHQ/prefect-aws/pull/45) - -## 0.1.1 - -## Added - -Released on April 18th, 2022. - -- `AwsClientParameters` for added configuration of the `boto3` S3 client - [#29](https://github.com/PrefectHQ/prefect-aws/pull/29) - - Contributed by [davzucky](https://github.com/davzucky) -- Added boto3 client type hinting via `types-boto3` - [#26](https://github.com/PrefectHQ/prefect-aws/pull/26) - - Contributed by [davzucky](https://github.com/davzucky) - -## 0.1.0 - -Released on March 9th, 2022. - -### Added - -- `s3_download`, `s3_upload` and `s3_list_objects` tasks -- `read_secret` task - [#6](https://github.com/PrefectHQ/prefect-aws/pull/6) -- `update_secret` task - [#12](https://github.com/PrefectHQ/prefect-aws/pull/12) -- `create_secret` and `delete_secret` tasks - [#13](https://github.com/PrefectHQ/prefect-aws/pull/13)