Skip to content

Latest commit

 

History

History
178 lines (138 loc) · 11.7 KB

CHANGELOG.md

File metadata and controls

178 lines (138 loc) · 11.7 KB

1.8.4

Fixed

  • Implemented configuration cache reuse in case S3_BUILD_CACHE_... environment variables change commit b603fdfb8424

Changed

  • Updated software.amazon.awssdk from 2.26.30 to 2.28.27
  • Updated Gradle from 8.9 to 8.10.2

1.8.3

Changed

  • Updated software.amazon.awssdk from 2.26.1 to 2.26.30
  • Updated Gradle from 8.5 to 8.9

1.8.2

Added

  • Allow specifying a KMS Key ID for server-side encryption PR#58

Changed

  • Updated software.amazon.awssdk from 2.22.10 to 2.26.1

Thanks to @TheImplementer for the contribution.

1.8.1

Changed

  • Updated software.amazon.awssdk from 2.21.42 to 2.22.10

1.8

Added

  • Added software.amazon.awssdk:ssooidc dependency to support AWS SSO login PR#30
  • Added Renovate bot to bump dependencies

Changed

  • Updated software.amazon.awssdk from 2.20.61 to 2.21.42
  • Updated build-time dependencies

1.7

Added

  • Allow passing instance of AwsCredentialsProvider to configuration PR#22

Thanks to @joshfriend for the contributions.

1.6

Added

  • forcePathStyle option to use path-style S3 URLs. By default S3 client uses subdomains for buckets, which is not supported by some S3-compatible storages (e.g. S3MockClient)
  • transferAcceleration option to enable S3 Transfer Acceleration PR#22
  • Added support for specifying AWS profile in DSL PR#24

Changed

  • Updated software.amazon.awssdk from 2.17.267 to 2.20.61
  • Add dependency on httpclient 4.5.14 to workaround certificate resolution bug (see issue#23)
  • Updated build-time dependencies

Thanks to @Shaftway, and @guynaa for the contributions.

1.5

Changed

  • Added AWS STS dependency for profile-based authentication

Thanks to https://github.com/run3wide for the contribution!

1.4

Changed

  • Updated AWS SDK to 2.17.267
  • Added software.amazon.awssdk:sso dependency to support AWS SSO login PR#18
  • Removed references of jcenter repository PR#15

Thanks to https://github.com/devdavidkarlsson, and https://github.com/francescocervone for contributions.

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)