Skip to content

Releases: Forceu/Gokapi

v1.9.6

18 Dec 14:35
34873b5
Compare
Choose a tag to compare

Changelog

  • Add API call and GUI option to replace content of files (can be disabled with the env variable GOKAPI_DISABLE_REPLACE) #128
  • Display error if encrypted download fails due to invalid SSL or CORS
  • Better error handling for AWS setup check
  • Fixed upload defaults being deleted when resetting e2e key
  • Update download count in real time #206
  • Fixed race condition that could lead to crash
  • Change download count atomically to prevent race condition
  • Renamed "Access Restriction" to indicate that authentication is disababled
  • Make upload non blocking (#224), to prevent timouts after uploading large files
  • Added API call /files/list/{id}
  • Better handling for E2E errors
  • Other minor changes

Breaking Changes

  • API: API now returns 404 on invalid file IDs

Full Changelog: v1.9.5...v1.9.6

v1.9.5

08 Dec 15:26
5a2c097
Compare
Choose a tag to compare

1.9.5

Changelog

  • Fixed a crash caused by an incorrectly upgraded database version #215, #216

1.9.3

Changelog

  • Fixed editing of API permissions or existing files not working, when using external authentication #210
  • Fixed not showing an error message if file is larger than allowed file size #213
  • Upload defaults are now saved locally instead of server-side #196
  • Internal API key is now used for all API actions on the GUI
  • Added API endpoint /auth/delete to delete API key
  • Added parameter in /auth/create to include basic permissions
  • Added warning in docker container, if data or config volume are not mounted
  • Minor changes

Breaking Changes

  • API: Session authentication has been removed, an API key is now required
  • API: When not adding a parameter for maximum downloads or expiry, the default values of 1 download or 14 days are used instead of previous used values for calls /files/add and /chunk/complete

Full Changelog: v1.9.3...v1.9.5

v1.9.3

07 Dec 08:53
94ef260
Compare
Choose a tag to compare

Changelog

  • Fixed editing of API permissions or existing files not working, when using external authentication #210
  • Fixed not showing an error message if file is larger than allowed file size #213
  • Upload defaults are now saved locally instead of server-side #196
  • Internal API key is now used for all API actions on the GUI
  • Added API endpoint /auth/delete to delete API key
  • Added parameter in /auth/create to include basic permissions
  • Added warning in docker container, if data or config volume are not mounted
  • Minor changes

Breaking Changes

  • API: Session authentication has been removed, an API key is now required
  • API: When not adding a parameter for maximum downloads or expiry, the default values of 1 download or 14 days are used instead of previous used values for calls /files/add and /chunk/complete

Full Changelog: v1.9.2...v1.9.3

v1.9.2

30 Sep 16:14
0e80a59
Compare
Choose a tag to compare

Changelog

  • Added preview meta-data, enabling preview for services like WhatsApp
  • Added hotlink support for avif and apng format
  • Fixed headers not set when proxying S3 storage, resulting in incorrect filename and not forcing download #199

Upgrading

  • If running an older version than 1.9.2 please check the 1.9.1 changelog for upgrading and breaking changes

Full Changelog: v1.9.1...v1.9.2

v1.9.1

31 Jul 17:32
Compare
Choose a tag to compare

Changelog

  • Fixed processing/uploading status not showing after upload #193
  • Fixed crash when OIDC returns nil for groups #198
  • Fixed crash after running setup and changing encryption #197
  • Changed versioning of css/js files to prevent caching of old versions #195
  • Other minor changes

Breaking changes

If you are using a custom theme, make sure that you change the CSS and JS filenames. Instead of e.g. main.min.css, the files are versioned now to include the version number in the filename, in this example the filename would be main.min.5.css

Upgrading

  • If running an older version than 1.9.0, please check the 1.9.0 changelog for upgrading and breaking changes

Full Changelog: v1.9.0...v1.9.1

v1.9.0

15 Jul 12:27
Compare
Choose a tag to compare

Changelog

  • Fixed upload speeds being very low in some cases #162
  • Fixed Docker image having the incorrect timezone #169
  • Added Redis support. If you want to use Redis instead of SQLite, re-run the setup to change your database type. Refer to the documentation on how to migrate your data to a different database
  • Database location can now be changed with the setup
  • Fixed QR code not having decryption key when end-to-end encryption was enabled
  • Added option to display filenames in URL #171
  • Added makefile for development
  • Replaced SSE library with more efficient code
  • Fixed go generate not working on Windows, thanks @Kwonunn
  • Gokapi version number will not be displayed on public pages anymore
  • Added windows/arm64 target

Breaking Changes

  • API: The output for the schema File has changed. The base URL was removed and now the complete URL for to download or hotlink the file is added. The additional key IncludeFilename indicates if the URLs contain the filename.
  • Configuration: Env variable GOKAPI_DB_NAME deprecated. On first start the database location will be saved as an URL string to the configuration file. For automatic deployment GOKAPI_DATABASE_URL can also be used

Upgrading

  • Configuration file needs to be writable
  • If running an older version than 1.8.0, please upgrade to 1.8.4 first and check the 1.8.0 changelog for upgrading and breaking changes

Full Changelog: v1.8.4...v1.9.0

v1.8.4

29 May 12:01
Compare
Choose a tag to compare

Changelog

  • Gokapi runs as root in Docker container by default (this was changed in 1.8.3). To run it as unprivileged user, set environment variable DOCKER_NONROOT to true.
  • Removed logging of errors when a user unexpectedly closed download or upload connection

Upgrading

  • You might need to change permissions on the docker volumes, if you want the content to be readable by the host user. (Only applicable if you were running 1.8.3 before)
  • Important: If you have used the old Keycloak example for configuration, please make sure that it is configure properly, as with the old example unauthorised access might have been possible! Documentation: Creating scopes for groups

If you are running a version <1.8.0, please see the 1.8.0 changelog for upgrading and breaking changes

Full Changelog: v1.8.3...v1.8.4

v1.8.3

27 May 15:33
Compare
Choose a tag to compare

Changelog

  • Fixed Keycloak documentation. Important: If you have used the old example for configuration, please make sure that it is configure properly, as with the old example unauthorised access might have been possible! Documentation: Creating scopes for groups
  • The binary will no longer be run as root in the Docker image. Breaking change: If you want to reconfigure Gokapi, the argument to pass to Docker is now a different one: Documentation
  • If salts are empty, new ones will now be generated on startup. This is to aid automatic deployment
  • A new admin password can be set with --deployment-password newPassword, but this should only be used for automatic deployment
  • Env variable GOKAPI_LOG_STDOUT added, which also outputs all log entries to the terminal
  • Display error message, if a reverse proxy does not allow file upload, or has been set to accept a too low file size
  • Added header, so that nginx does not cache SSE
  • Cloud storage file downloads can now be proxied through Gokapi, e.g. if the storage server is on an internal network
  • Fixed a bug, where the option "Always save images locally" reverted back to default when re-running setup
  • Updated documentation

Upgrading

If you are running a version <1.8.0, please see the 1.8.0 changelog for upgrading and breaking changes

Full Changelog: v1.8.2...v1.8.3

v1.8.2

20 Apr 13:57
99e1034
Compare
Choose a tag to compare

Changelog

  • Fixed that trailing slash was removed from OIDC provider URL: Thanks @JeroenoBoy
  • S3 credentials are not shown in setup anymore, if they are provided through environment variables
  • Added parameter to install Gokapi as a systemd service: Thanks @masoncfrancis
  • Fixed typos: Thanks @Phaeton
  • Updated Go version to 1.22

Upgrading

If you are running a version <1.8.0, please see the 1.8.0 changelog for upgrading and breaking changes

Full Changelog: v1.8.1...v1.8.2

v1.8.1

07 Feb 15:30
a08cd2e
Compare
Choose a tag to compare

Changelog

  • Reworked OIDC authentication, added support for Groups, use consent instead of select_account, better error handling
  • Added wildcard support for OIDC groups and users
  • Fixed crash on client timeout #125
  • Added /auth/create API endpoint for creating API keys
  • Minor changes and fixes

Upgrading

If you are running a version <1.8.0, please see the 1.8.0 changelog for upgrading and breaking changes