Skip to content

Latest commit

 

History

History
97 lines (79 loc) · 8.02 KB

CHANGELOG.md

File metadata and controls

97 lines (79 loc) · 8.02 KB

1.3

Changed
  • Migrate to AWS SDK 2.17.106: it shades Jackson, so less dependencies for s3-build-cache

1.2

Added
  • Gradle configuration cache support
  • Migrate to AWS SDK 2.16.52

1.1

Added
  • Improved cache statistics output, added configuration properties showStatisticsWhenImpactExceeds, showStatisticsWhenSavingsExceeds, showStatisticsWhenWasteExceeds, showStatisticsWhenTransferExceeds

1.0.0

Added
  • S3Mock for integration test (77d62e07)
  • Print cache performance statistics at the end of the build (9b5d66e)
  • Add maximumCachedObjectLength to limit the cached entry size (950bdbc1)
  • Security: use custom environment variables for credentials to avoid unexpected use of AWS keys. S3_BUILD_CACHE_ACCESS_KEY_ID, S3_BUILD_CACHE_SECRET_KEY, S3_BUILD_CACHE_SESSION_TOKEN (4183489e)
  • Security: allow anonymous access to S3 buckets.
  • Security: cache lookup needs only GetObject permission (myniva plugin requires ListObjects as well)
  • Security: cache store needs only PutObject permission
  • Performance: eliminate doesObjectExists API call to make cache lookup faster (11a5c690)
  • Performance: send cache entries from File when File is available (avoids OutOfMemoryError for big cache entries) (455321bf)
  • Cached items contain metadata (elapsed duration, task name, Gradle version) which help to analyze the cache contents
Changed
  • Rename path parameter to prefix to allow prefixes without the trailing slash (1c6d7106)
  • Minimal supported (and tested) Gradle version is 4.1
  • Minimal supported (and tested) Java version is 1.8
  • Use JUnit5 for tests
  • Improve IDE autoconfiguration for plugin development: add .editorconfig, .gitattributes, .gitignore
  • CI: migrate Travis -> GitHub Actions
  • Release automation: Skipkit -> com.github.vlsi.stage-vote-release (56d2359e)
  • Rewrite plugin in Kotlin (11a5c690)
  • Bump Gradle: 4.0 -> 6.5.1
  • Add Gradle wrapper validation CI (dc6a692d)
Migration from myniva/gradle-s3-build-cache
  • Use S3_BUILD_CACHE_ACCESS_KEY_ID, S3_BUILD_CACHE_SECRET_KEY, S3_BUILD_CACHE_SESSION_TOKEN properties to pass the credentials. Note: by default burrunan does not lookup default AWS credentials, and it will default to annonymous access if credentials are missing.
  • If you want the plugin to use default AWS credentials, then configure lookupDefaultAwsCredentials=true in the remote cache configuration
  • If you use path=folder, then update it to prefix=folder/ (note the trailing slash)
  • If you do not use path=..., then you need to configure an empty prefix: prefix="" otherwise the plugin would use cache/

0.10.0

  • 2020-03-26 - 12 commits by Basil Brunner (10), Egor Neliuba (1), Marcin Erdmann (1)
  • Upgrade Shipkit to latest version (#32)
  • Pin dependencies to fixed versions (#31)
  • Cover AwsS3BuildCacheService#load with unit tests (#27)
  • Pin build env to Java 8 (#25)
  • Don't use a dynamic version for com.amazonaws:aws-java-sdk-s3 (#20)
  • Document how expiration of cache entries can be configured using S3 object lifecycle management. (#19)
  • Add option to configure expiration time of cache objects (#1)

0.9.0

0.8.0

  • 2019-01-26 - 6 commits by Michael J Bailey (5), Basil Brunner (1)
  • Issue #13 Add support for custom headers (#14)
  • Add an option to set custom HTTP headers (#13)

0.7.0

0.6.0

0.5.1

0.5.0

0.4.1 (2017-10-18) - 1 commit by Basil Brunner

  • No pull requests referenced in commit messages.

0.4.0 (2017-10-18) - 14 commits by Basil Brunner (11), Kamal Wood (3)