Skip to content

Releases: alephdata/servicelayer

v1.22.2

22 Apr 12:43
v1.22.2
252178b
Compare
Choose a tag to compare

⚠️ This release fixes a potential security vulnerability. We strongly encourage you to use this release and disregard previous ones. ⚠️

This release includes a fix for the archive functionality in servicelayer. Previously, the generate_url methods of the Google Cloud Storage archive adapter and the AWS S3 archive adapter were generating URLs instructing AWS S3 and Google Cloud Storage to send a Content-Disposition: inline header in the response.

When sending this header, most browsers will automatically open the file if the file’s MIME type is supported by the browser. This may not be desired in some cases, for example when downloading files from untrustworthy sources.

Starting with this version of servicelayer, the generated URLs will instead instruct AWS S3 and Google Cloud Storage to send a Content-Disposition: attachment header. Browsers won’t open files without user interaction if this header is set.

v1.22.1

21 Nov 13:37
bd68c29
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.22.0...v1.22.1

v1.22.0

13 Oct 11:24
v1.22.0
fddf4d7
Compare
Choose a tag to compare

What's Changed

Dependency upgrades

New Contributors

Full Changelog: v1.21.2...v1.22.0

v1.21.0

14 Jun 17:28
eb343c8
Compare
Choose a tag to compare

What's Changed

  • Add Sentry support to servicelayer workers by @stchris in #88

    This release adds support for sending error tracebacks to sentry.io (or a self-hosted instance). This is controlled by two environment variables: SENTRY_DSN and SENTRY_ENVIRONMENT. Note that you also have to take care of installing the sentry_sdk package.

  • Add and enforce linter (ruff) and code formatter (black) by @stchris in #89

    This updates the development environment and CI configuration to be closer to what we have in Aleph.

Full Changelog: v1.20.7...v1.21.0

v1.20.7

02 May 12:43
7ce4108
Compare
Choose a tag to compare

What's Changed

  • Bump fakeredis to 2.11.2
  • Add release steps to README

New Contributors

Full Changelog: v1.20.6...v1.20.7

v1.20.6

25 Apr 14:20
ec9a07c
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.20.5...v1.20.6

v1.20.5

29 Mar 13:11
ebbd6ed
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.20.4...v1.20.5

1.19.1

08 Jul 12:28
041d864
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.19.0...v1.19.1