Skip to content

Releases: michel-kraemer/gradle-download-task

5.6.0

29 Feb 07:04
Compare
Choose a tag to compare

New features:

  • Add possibility to configure HTTP status code validator (using the validateStatus property)
  • Add integration tests for Gradle versions up to 8.6

Bug fixes:

  • Do not unnecessarily enable preemptive auth for proxy (possible security issue)
  • Remove sensitive headers from request after redirect (possible security issue).
    Thanks to @diederikfaber for reporting this and to @dtretyakov and @eghobo for the pointers.
  • Really log all requests (including redirects) and all headers in debug mode.
    It seems something has changed in Apache HttpClient since we initially implemented this feature.

Maintenance:

  • Update dependencies
  • Update to Gradle 8.6
  • Fix some warnings in build script
  • Set dependabot interval to weekly
  • Split CI tests of Gradle 7.x versions

5.5.0

27 Aug 13:59
Compare
Choose a tag to compare

New features:

  • Accept URI as source (#338)
  • Support RegularFile as input for the Verify action

Bug fixes:

  • Relocate Apache HttpClient's public suffix list to avoid classpath conflicts (#317)

Maintenance:

  • Add integration tests for Gradle versions up to 8.3
  • Remove unnecessary integration tests for some 5.x and 6.x versions of Gradle
  • Update dependencies
  • Update to Gradle 8.3
  • Fix deprecation warnings in examples

5.4.0

18 Mar 10:19
Compare
Choose a tag to compare

New features:

  • Add possibility to set request method and body

Maintenance:

  • Update dependencies
  • Improve documentation
  • Add integration tests for Gradle 8.0.1

5.3.1

04 Feb 09:57
Compare
Choose a tag to compare

Bug fixes:

  • Downgrade slf4j to fix warning on console about missing slf4j provider
  • Allow download and verify extensions to be created on demand in custom tasks, so these tasks can be made compatible with Gradle's configuration cache (see #284). Thanks to @liblit for testing!

Maintenance:

  • Update dependencies
  • Improve documentation
  • Add integration tests for Gradle 6.9.3 and 7.6

5.3.0

15 Oct 07:49
Compare
Choose a tag to compare

New features:

  • Add path and relativePath properties to the DownloadDetails class so eachFile actions can also change the relative path of a target file and not only its name
  • Duplicate destination files are now prevented. Specifying a duplicate destination file (e.g. in an eachFile action) will lead to an exception being thrown.

Bug fixes:

  • Call eachFile action only once per source
  • Correctly create list of output files (even if the destination is the project's build directory)

Maintenance:

  • Update dependencies

5.2.1

28 Sep 14:22
Compare
Choose a tag to compare

Bug fixes:

  • Use pooling connection manager of Apache HttpClient instead of basic one. The basic one is not meant to be used by multiple threads. This fixes an issue that could cause an IllegalStateException with the message Connection is still allocated. Thanks to @dmarks2 for spotting this.

Maintenance:

  • Update dependencies

5.2.0

13 Sep 09:08
Compare
Choose a tag to compare

New features:

  • Add eachFile method that adds an action to be applied to each source URL before it is downloaded. The action can be used to modify the filename of the target file.
  • Add runAsync method to download extension. This allows multiple files to be downloaded in parallel if the download extension is used. For normal download tasks, multiple files were downloaded in parallel already.

5.1.3

09 Sep 12:10
Compare
Choose a tag to compare

Bug fixes:

  • Initialize progress logger just before the download starts (see #243)

5.1.2

21 Aug 17:33
Compare
Choose a tag to compare

Bug fixes:

  • Do not include default HTTP and HTTPS ports in Host header unless explicitly specified by the user

5.1.1

13 Aug 07:16
Compare
Choose a tag to compare

Bug fixes:

  • Correctly update cached sources

Maintenance:

  • Add integration tests for Gradle 7.5 and 7.5.1
  • Update dependencies