Releases: asfadmin/thin-egress-app
tea-release.3.0.0
What's Changed
- PR-6390 Add PR Checklist to repo by @mattp0 in #861
- PR-6290 Update default branch name to 'main' by @reweeden in #862
- ASFCUMULUS-845: upgrade rain-api-core to set additional properties of session cookie by @asjohnston-asf in #866
- set expires in tests_e2e auth_cookies fixure to resolve failing test_… by @asjohnston-asf in #872
New Contributors
- @asjohnston-asf made their first contribution in #866
Full Changelog: tea-release.2.0.3...tea-release.3.0.0
tea-release.2.0.4
tea-release.2.0.3: Improved bearer token handling
This release updates the backend handling of EDL bearer tokens to reduce the load created on EDL to verify the tokens and fetch the user profile. Best practice when using bearer tokens is still to use a client that can capture session cookies and re-use them on subsequent requests as this will have by far the best performance, however, even if clients are behaving badly, TEA will now better guard against causing degraded performance in the EDL infrastructure.
Python example using bearer tokens and session re-use:
import requests
URLS_TO_DOWNLOAD = [...]
EDL_BEARER_TOKEN = ...
with requests.Session() as s:
for url in URLS_TO_DOWNLOAD:
response = s.get(
url,
headers={"Authorization": f"Bearer {EDL_BEARER_TOKEN}"},
)
# Write response to file, etc...What's Changed
- Fix Terraform updating dependency layer object when content hasn't changed by @reweeden in #844
- Update dependencies by @reweeden in #852
- PR-3243 Add short TTL caching to bearer tokens by @reweeden in #856
- fet: remove unused code by @mckadesorensen in #859
- Refactor EDL call to use EdlClient from rain-api-core by @reweeden in #855
- PR-3242 Improve handling of JWT bearer tokens by @reweeden in #853
- Add error handling for malformed auth headers by @reweeden in #858
- Move code to src/ folder by @reweeden in #860
Full Changelog: tea-release.2.0.2...tea-release.2.0.3
tea-release.2.0.2: Python version update to 3.10
What's Changed
- Use aws_s3_object instead of aws_s3_bucket_object by @gjclark in #821
- Update Dependencies by @reweeden in #839
- Update RAIN API core and open telemetry by @gjclark in #843
- PR-6096: Upgrade to Python 3.10 by @gjclark in #842
New Contributors
Full Changelog: tea-release.2.0.1...tea-release.2.0.2
tea-release.2.0.1
This release adds the required DAR tag to the code bucket created by the terraform module as well as regular dependency updates.
What's Changed
- PR-5848 Add DAR tag to terraform module by @reweeden in #814
- Improve tea-cli help text by @reweeden in #816
- Update dependencies by @reweeden in #820
Full Changelog: tea-release.2.0.0...tea-release.2.0.1
tea-release.2.0.0
Breaking Changes
- The
/locateendpoint now requires the full bucket name to be provided in thebucket_namequery parameter.
Previously it expected only the trailing part of the bucket name with theBUCKET_NAME_PREFIXstripped off
Backwards Compatible Changes
- Added CORS preflight
OPTIONSrequest.
Some cross origin requests were failing when using certain libraries that send CORS preflight requests - Added
A-api-request-uuidfor metrics NGAP-11057
What's Changed
- Update dependencies by @reweeden in #774
- Allow floating points for session TTL by @reweeden in #776
- Fix docs build by @reweeden in #778
- PR-5069 Refactor locate endpoint by @reweeden in #777
- PR-5727 Update dependencies by @reweeden in #797
- Add workflow_dispatch trigger to e2e tests workflow by @reweeden in #804
- Fix locate endpoint bucket name test by @reweeden in #802
- Standardize quotes and log calls by @reweeden in #805
- PR-5790 Add CORS preflight OPTIONS request by @reweeden in #803
- Chore: Update CodeCov Version to 4 by @mattp0 in #809
- Add support for A-api-request-uuid query parameter by @jeffersonwhite in #807
- Update dependencies by @reweeden in #810
New Contributors
- @jeffersonwhite made their first contribution in #807
Full Changelog: tea-release.1.3.5...tea-release.2.0.0
tea-release.1.3.5: Dependency updates
What's Changed
Full Changelog: tea-release.1.3.4...tea-release.1.3.5
tea-release.1.3.4: Session TTL bugfix
Fixes a bug where the SessionTTL parameter in the CloudFormation was no longer being respected and only the default of 7 day sessions was being used. Also includes regular dependency updates.
What's Changed
- PR-4061 Add TEA command line tool by @reweeden in #734
- Update isort config by @reweeden in #745
- Get session ttl from environment variable by @reweeden in #741
- PR-5371 Update all dependencies by @reweeden in #769
- Update dependencies by @reweeden in #774
- Allow floating points for session TTL by @reweeden in #776
Full Changelog: tea-release.1.3.3...tea-release.1.3.4
tea-release.1.3.3: Bugfix and dependency updates
Fixes a bug where trying to access objects with a : or other special characters in the name would result in an invalid signature causing S3 to return a 403 error. There was also some internal restructuring of the project layout and dependency updates.
What's Changed
- PR-3136 rename lambda folder by @reweeden in #531
- Use moto for tests by @reweeden in #708
- PR-4048 use devel as default branch by @reweeden in #710
- PR-4752 Fix issue with presigned URLs not working for keys with weird characters by @reweeden in #730
Full Changelog: tea-release.1.3.2...tea-release.1.3.3
tea-release.1.3.2: Fix userid being `None` for public data
This release fixes an issue introduced in v1.2.0 where the userid for metrics reporting was not being set for public data even if the user was logged in.
What's Changed
- Update docs by @reweeden in #698
- Fix userid none for public data by @reweeden in #700
- PR-4138 Remove Jenkins configuration by @reweeden in #704
- Refactor GitHub Actions by @reweeden in #705
Full Changelog: tea-release.1.3.1...tea-release.1.3.2