Skip to content

Releases: uc-cdis/fence

Major update to Flask and other dependencies

04 May 19:03
0304957
Compare
Choose a tag to compare

Release Notes

For: uc-cdis/fence
Notes since tag: 8.0.1
Notes to tag/commit: 0304957
Generated: 2023-05-04

Breaking Changes

  • Removed most Prometheus support (#1086)

Improvements

  • Remove out of date Flask SQLAlchemy session handling library and refactor
    session management to use a recommended pure Flask + SQLAlchemy approach
    that is thread-safe (#1086)
  • The DELETE /data/<GUID> endpoint now supports resolving and deleting a
    GUID without its prefix (#1094)
  • add backoff to Google Group API calls (#1081)

Dependency Updates

  • Update to next major version of Flask, alongside many other updates to
    support that (#1086)
  • Update to latest Werkzeug for security (#1086)
  • Remove libmhash2 dependency (#1093)

Deployment Changes

  • Allow setting INDEXD_PASSWORD via environment variable. (#1092)

Usersync Google failure resiliency

26 Apr 20:48
213ff54
Compare
Choose a tag to compare

Release Notes

For: uc-cdis/fence

Notes since tag: 8.0.0
Notes to tag/commit: 213ff54
Generated: 2023-04-26

Improvements

  • log google update errors but don't raise error and don't halt usersync
    process (#1089)

8.0.0

21 Apr 20:34
0e03135
Compare
Choose a tag to compare

Release Notes

For: uc-cdis/fence

Notes since tag: 7.3.1

Notes to tag/commit: 8.0.0

Generated: 2023-04-21

New Features

  • Add the ENABLE_VISA_UPDATE_CRON setting (#1087)

Breaking Changes

  • The default value for the GLOBAL_PARSE_VISAS_ON_LOGIN setting is now
    False instead of None. By default, parsing visas on login is now
    disabled and the parse_visas parameter cannot be used (#1087)

Bug Fixes

  • Fix access for rotated client credentials (#1090)
  • Fix fence-create google-bucket-create when the project does not exist
    (#1077)

Improvements

  • Add details to client_credentials and user.yaml docs (#1082)
  • Use libraries functionality for automatically adding ssh keys (#1078)

Deployment Changes

  • Systems that use visas parsing must update their Fence configuration to set
    ENABLE_VISA_UPDATE_CRON to True and set GLOBAL_PARSE_VISAS_ON_LOGIN
    to either True or None (#1087)

7.3.1

02 Mar 15:29
9c8b705
Compare
Choose a tag to compare

Release Notes

For: uc-cdis/fence

Notes since tag: 7.3.0

Notes to tag/commit: 7.3.1

Generated: 2023-03-02

Bug Fixes

  • Fix "non-unique client name" migration to delete all the "unique client
    name" constraints it finds, instead of assuming there is exactly one
    (#1075)

Improvements

  • Add project id format check in usersync (#1067)

Dependency Updates

  • various updates to cryptography/future/pyjwt (#1073)

fence-create client-rotate

03 Feb 16:43
fd45bf4
Compare
Choose a tag to compare

Release Notes

For: uc-cdis/fence

Notes since tag: 7.2.0

Notes to tag/commit: 7.3.0

Generated: 2023-02-03

New Features

  • Use the fence-create client-rotate command to receive a new set of
    credentials for a client without deleting the old credentials first. This
    allows for a rotation without downtime. (#1068)

Deployment Changes

  • Requires a Fence DB migration (#1068)

Python 3.9

24 Jan 19:44
cf62d2a
Compare
Choose a tag to compare

Release Notes

For: uc-cdis/fence

Notes since tag: 7.1.0

Notes to tag/commit: 7.2.0

Generated: 2023-01-24

Dependency Updates

  • Python to 3.9 (#1069)
  • authutils to ^6.2.2, PyJWT to ^2.4.0 (#1069)

7.1.0: Merge pull request #1061 from uc-cdis/feat/cookies-secure

15 Dec 20:01
cab1b90
Compare
Choose a tag to compare

Release Notes

For: uc-cdis/fence
Notes since tag: 7.0.0
Notes to tag/commit: cab1b90
Generated: 2022-12-15

New Features

  • Ability to add DB connection string via environment variable (#1060)

Improvements

  • ensure secure cookies are set based on configuration (#1061)

7.0.0

02 Dec 19:25
254dac3
Compare
Choose a tag to compare

Release Notes

For: uc-cdis/fence

Notes since tag: 6.1.1

Notes to tag/commit: 7.0.0

Generated: 2022-12-02

New Features

  • Add --expires-in parameter to the fence-create client-create and
    client-modify commands to specify the number of days in which in a client
    expires (#1057)
  • Add the fence-create client-delete-expired command to remove expired OIDC
    clients and optionally post warnings in Slack (#1057)
  • Allow specifying the bucket to upload to (endpoints /data/upload and
    /data/upload/<GUID>) (#1051)

Breaking Changes

  • Default session expiration changed from 30 minutes to 15 minutes to comply
    with FedRAMP (#1040)

Bug Fixes

  • sort expired tokens so all expired ones get deleted and valid one gets used
    (#1058)

Improvements

  • ensure deletion of expired tokens from the database (#1050)
  • Update users' _last_auth at login (#1027)
  • Use blue Gen3 logo (#1054)
  • Removing Veracode scanning pipeline (#1052, #1053)
  • Return a 500 error instead of a 401 error when an S3 bucket is not
    configured properly (#1051)
  • Update the default filename generated by the GET /data/upload/<GUID>
    endpoint (#1042)
  • Raise errors so usersync does not fail silently (#1042)
  • temporarily do not block on security flags until we update to Python 3.9
    (#1044)
  • Switches to using Github Actions for CI (#1043)
  • Adds Superlint vs. Wool (#1043)
  • Adds Secrets Detection in line for additional coverage (#1043)
  • Adds Poetry Vuln Coverage (#1043)

Deployment Changes

  • Configure the ALLOWED_DATA_UPLOAD_BUCKETS setting to allow users to
    upload to buckets other than DATA_UPLOAD_BUCKET (#1051)
  • B/c the default session expiration changed from 30 minutes to 15 minutes to
    comply with FedRAMP, you MUST ensure that an instance that should comply
    with FedRAMP does NOT override this fence configuration (e.g. it should be
    15 minutes) SESSION_TIMEOUT: 900 (#1040)

6.1.1

08 Sep 15:39
d05f94c
Compare
Choose a tag to compare

Release Notes

For: uc-cdis/fence

Notes since tag: 6.1.0

Notes to tag/commit: d05f94c

Generated: 2022-09-08

Bug Fixes

  • Fix intermittent issue with db cache containing info that can't be loaded
    into JSON (#1037)

Dependency Updates

6.1.0

18 Aug 15:44
27c6598
Compare
Choose a tag to compare

Release Notes

For: uc-cdis/fence

Notes since tag: 6.0.1

Notes to tag/commit: 6177892

Generated: 2022-08-17

New Features

  • Support the OAuth2 "client credentials" grant (#1033)
  • Support "client credentials" tokens that are not linked to a user in the
    presigned URL endpoint for files in S3 (#1033)
  • Add non-dbgap whitelist support in usersync. (#1020)
  • Use Alembic for DB migrations (#1029)

Improvements

  • fence-create client-create now outputs the whole stacktrace in case of
    error (#1033)

Deployment Changes

  • Requires a Fence DB migration (Client.redirect_uri is now optional)
    (#1033)

Bug Fixes

  • Fix test_user_sync_with_visa_sync_job flakiness by generating unique
    jti, txn fields for every mocked passport (#1030)

Dependency Updates

  • cryptography and others (#1032)