Version 3.1.1

April 11, 2024

Fixed

  • Fixed bug which occurred when referrer URL is null.

Version 3.1.0

April 8, 2024

[Hotlinking](https://plugins.doublesecretagency.com/digital-download/hotlinking/) from other websites is prevented by default for all new links. Hotlinking can be enabled either on the "Settings" page, or when configuring an individual token.

Added

  • Introduced hotlink prevention (and enabled it by default).
  • Made it possible to allow hotlinks from other websites.

Changed

Version 3.0.0

February 23, 2024

Fixed

  • Added volume subpath for local files.

Version 3.0.0-beta.1

February 22, 2024

Changed

  • Craft 5 compatibility.

Version 2.2.1

August 2, 2022

Fixed

  • Fixed bug which occurred when user login is required. (thanks @corneliusio)

Version 2.2.0

April 21, 2022

Added

  • Craft 4 compatibility.

Version 2.1.9

January 15, 2022

Changed

  • New plugin icon.

Version 2.1.8

October 15, 2021

Changed

  • Parse environment variables in Volume paths. (thanks @Peter-The-Great)

Version 2.1.7

August 19, 2020

Changed

  • Craft 3.5 is now required.

Fixed

  • Adjusted raw HTML output on settings page.

Version 2.1.6

August 7, 2020

Changed

  • Redirect anonymous downloads to login page when a user is required, instead of just showing an error message.

Version 2.1.5

October 16, 2019

Fixed

  • Fixed a bug where flush may trigger an error.

Version 2.1.4

September 16, 2019

Changed

  • Improved timing of download tracking mechanism.

Version 2.1.3

May 24, 2019

Added

  • Added error message for a missing file, assuming token & asset are otherwise correct.

Fixed

  • Normalize local filepaths.

Version 2.1.2

May 23, 2019

Fixed

  • Fixed bug which prevented downloading cloud assets that contained spaces in the filename.

Version 2.1.1

May 21, 2019

Fixed

  • Removed unnecessary parameter in link methods.

Version 2.1.0

May 21, 2019

Added

  • Can now download files from volumes without public URLs.
  • Allows optional HTTP headers to be included at download.
  • Added getLinkData variable to see what a token represents.

Changed

  • Significantly improved performance for large file downloads.
  • Improved messages for invalid links.

Fixed

  • Fixed bug which allowed expiration timestamps to be slightly inaccurate.
  • Fixed uninstall bug.

Version 2.0.0

August 13, 2018

Added

  • Craft 3 compatibility.

Version 1.1.0

October 2, 2017

Added

Fixed

  • Fixed PHP 7 race condition.
  • Fixed null array bug.

Version 1.0.0

March 1, 2016

Initial release.