Skip to content

Commit

Permalink
Merge branch 'ex_aws_23'
Browse files Browse the repository at this point in the history
# Conflicts:
#	config/dev.exs
#	lib/ex_aws/auth.ex
#	lib/ex_aws/auth/utils.ex
#	lib/ex_aws/request.ex
#	lib/ex_aws/s3.ex
#	lib/ex_aws/s3/download.ex
#	lib/ex_aws/s3/upload.ex
#	mix.exs
#	mix.lock
#	test/lib/ex_aws/s3/upload_test.exs
  • Loading branch information
bettyblocks-release-bot committed May 20, 2022
2 parents 0c9b43b + fb90d49 commit 9be237d
Show file tree
Hide file tree
Showing 111 changed files with 6,333 additions and 12,638 deletions.
5 changes: 5 additions & 0 deletions .formatter.exs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[
import_deps: [],
inputs: ["*.{ex,exs}", "priv/*/", "{config,lib,test}/**/*.{ex,exs}"],
subdirectories: ["priv/*/"]
]
14 changes: 14 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
version: 2
updates:
- package-ecosystem: mix
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 10
ignore:
- dependency-name: ex_doc
versions:
- 0.24.2
- dependency-name: hackney
versions:
- 1.17.1
32 changes: 32 additions & 0 deletions .github/workflows/on-push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: on-push
on: [push, pull_request]
env:
MIX_ENV: test
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
otp: ['23.3.3']
elixir: ['1.7.4', '1.8.2', '1.9.4', '1.10.4', '1.11.4', '1.12.3', '1.13.2']
steps:
- uses: actions/checkout@v2
- uses: erlef/setup-elixir@v1
with:
otp-version: ${{matrix.otp}}
elixir-version: ${{matrix.elixir}}
- uses: rrainn/[email protected]
with:
port: 8000
cors: '*'
- run: mix deps.update --all
if: matrix.elixir == '1.13.2'
- run: mix deps.get
- run: mix compile
- run: mix format --check-formatted
if: matrix.elixir == '1.13.2' # Only check formatting with the latest verison
- run: mix dialyzer
if: matrix.elixir == '1.13.2'
- run: mix test
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,8 @@ erl_crash.dump
/mnesia/prod
*.pem
/tmp

# IntelliJ IDEA files
/.idea
/exaws.iml
.elixir_ls
17 changes: 0 additions & 17 deletions .travis.yml

This file was deleted.

176 changes: 176 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,176 @@
v2.3.1
- Fix issue with ECS instance meta data introduced in 2.3.0
- Fix typespec on `ExAws.Request.HttpClient.request/5`

v2.3.0
- Raise an exception on S3 operation when bucket is `nil`
- Update regions for transcribe service
- Doc and spec improvements
- Add location service
- Add support for IMDSv2
- Add support for awscli SSO credentials system

v2.2.10
- Add Athena support in `ca-central-1`
- Add support for `me` region

v2.2.9
- Add me-south-1 region
- Display `ExAws.Config` docs

v2.2.8
- Fix compiler warning on Elixir 1.13
- Fix support for explicitly passing in headers
- Add new Rekognition endpoints

v2.2.7
- `Request.Url`: Fix sanitize with spaces in request params
- Relax `jsx` requirement
- Relax `mime` requirement
- Update CI tests to include elixir 1.12

v2.2.6
- Increase minimum SweetXML version and disable DTD parsing (#781)
- Pass optional headers to REST requests (#820)
- Restrict mime version to 1.x
- Add config for sagemaker_runtime_a2i

v2.2.5
- Revert #796 to resolve #814. A more comprehensive fix for #796 is in the works.

v2.2.4
- Various documentation updates
- Improve performance of space de-duplication on auth headers (#788)
- Include the expected sequence token in error returns where it exists (#791)
- Ensure absolute path for virtual hosted stile S3 URLs (#792)
- Add QuickSight endpoints (#793)
- Tighten up `telemetry` version requirement
- Prevent `:awscli` config values from causing config from the CLI to leak into other values for
which it wasn't specified (#796)
- Update SageMaker endpoints (#804)
- Update SES endpoints (#807)
- Add eu-north-1 endpoint for logs (#811)

v2.2.3
- Add af-south-1 S3 region
- Add support for telemetry events

v2.2.2
- Add sa-east-1 region to cognito-idp service
- Support for af-south-1
- Increase minimum hackney version to 1.16 to hopefully reduce instances of people hitting bugs
in older versions
- Include profile in ETS key used for :awscli auth cache

v2.2.1
- Fix regression in 2.2.0 requiring metadata instance config parameter
- Fix calculation of authentication cache time

v2.2.0
- Add us-west-1 to list of supported ses services.
- Handle aws errors that do not have a `#` in the type
- [Breaking] Allow STS credentials to be injected by configuration
- This change moves the `ExAws.CredentialsIni` functions into
`ExAws.CredentialsIni.File` and turns the former into a behaviour definition.
Any explicit uses of `ExAws.CredentialsIni.<function>` will need to be
replaced with `ExAws.CredentialsIni.File.<function>`.

v2.1.9
- Small tweak to correctly handle error responses from DynamoDB local v1.15

v2.1.8
- Fix regression introduced in 2.1.7 which broke creation of folders (#752)
- Fixes to run cleanly under dialyzer
- Fix ExAws.Request.HttpClient.request spec to include header fields required by S3
- Fix S3 path handling on Windows
- Add Athena for eu-west-2
- Refactor auth cache refreshing (fixes issue #625)
- `mix format` pass

v2.1.7

- Various documentation updates
- Add `comprehend` endpoint
- Support firehose in region ca-central-1
- More documentation fixes
- Add github workflow actions for CI
- Add us-east-2 endpoint for SES
- Use :crypto.mac/4 rather than the deprecated :crypto.hmac/3 when available
- Support virtual-host style S3 buckets
- Fix presigned URLs with embedded query parameter strings
- Support reading profile for CLI config from AWS_PROFILE environment variable

v2.1.6

- Fixes/updates for various service endpoints
- Add support form Chime, via ex_chime_aws
- Typing fix for HTTP content-lenght header
- Fix warnings for Elixir 1.11
- Increase minimum Elixir version to 1.5
- Update and tidy docs and README

v2.1.5

- Elixir 1.11 compatibility tweak

v2.1.3

- Relax Jason version

v2.1.0

- Slew of bug fixes
- Updated endpoints and regions
- [Breaking] kinesis.tail task renamed to aws.kinesis.tail

v2.0.2

- Enhancement: Enable `ExAws.Auth.presigned_url` with custom body. Enables https://github.com/ex-aws/ex_aws_rds/pull/3
- Enhancement: Handle non AWS regions with new default structure.

v2.0.1

- Fix regression where mix config region was applies too late.

ExAws v2.0.0

- Major Project Split
- Configuration update to support all regions on all services.

ExAws v1.1.4

- Further refactoring of EC2, relaxed dependencies

ExAws v1.1.3

- Significant refactoring of EC2
- Expansion of CloudFormation functionality

- DynamoDB: Permit empty lists, add stream_query.

ExAws v1.1.2

- New Service: Cloudwatch (initial)
- New Service: ElasticTranscoder

- Various bug fixes.

Thanks to our many contributors!

ExAws v1.1.0

This update has quite a few changes, many thanks to those who contributed code
this release!

Enhancements
- New Service: Route53
- New Service: DynamoStreams
- New Service: SES (Partial)
- New Service: STS (Partial)
- SQS: Support for FIFO queues added.
- Improved error message when authentication keys are missing or invalid
- Improved error message when instance role is used locally

Breaking Changes:
- Elixir 1.4 required for `S3.upload`
- Flow support removed in favor of `Task.async_stream`
Loading

0 comments on commit 9be237d

Please sign in to comment.