Skip to content

Latest commit

 

History

History
168 lines (101 loc) · 7.39 KB

CHANGELOG.md

File metadata and controls

168 lines (101 loc) · 7.39 KB

Change Log

All notable changes to this project will be documented in this file.

[unreleased]

Added

Changed

Fixed

0.9.7

Added

  • Snapshot dependencies are added as their own layer (#584)
  • jib:buildTar goal to build an image tarball at target/jib-image.tar, which can be loaded into docker using docker load (#514)
  • <container><useCurrentTimestamp> parameter to set the image creation time to the build time (#413)
  • Authentication over HTTP using the sendCredentialsOverHttp system property (#599)
  • HTTP connection and read timeouts for registry interactions configurable with the jib.httpTimeout system property (#656)

Changed

  • Docker context export parameter -Djib.dockerDir to -DjibTargetDir (#662)

Fixed

  • Using multi-byte characters in container configuration (#626)
  • For Docker Hub, also tries registry aliases when getting a credential from the Docker config (#605)
  • Decrypting credentials from Maven settings (#592)

0.9.6

Fixed

  • Using a private registry that does token authentication with allowInsecureRegistries set to true (#572)

0.9.5

Added

  • Incubating feature to build src/main/jib as extra layer in image (#565)

0.9.4

Fixed

  • Fixed handling case-insensitive Basic authentication method (#546)
  • Fixed regression that broke pulling base images from registries that required token authentication (#549)

0.9.3

Fixed

  • Using Docker config for finding registry credentials (was not ignoring extra fields and handling https protocol) (#524)

0.9.2

Changed

  • Minor improvements and issue fixes

0.9.1

Added

  • <container><ports> parameter to define container's exposed ports (similar to Dockerfile EXPOSE) (#383)
  • Can set allowInsecureRegistries parameter to true to use registries that only support HTTP (#388)

Changed

  • Fetches credentials from inferred credential helper before Docker config (#401)
  • Container creation date set to timestamp 0 (#341)
  • Does not authenticate base image pull unless necessary - reduces build time by about 500ms (#414)
  • jvmFlags, mainClass, args, and format are now grouped under container configuration object (#384)

Fixed

  • Using Azure Container Registry now works - define credentials in Maven settings (#415)
  • Supports access_token as alias to token in registry authentication (#420)

0.9.0

Added

  • Better feedback for build failures (#197)
  • Warns if specified mainClass is not a valid Java class (#206)
  • Warns if build may not be reproducible (#245)
  • jib:dockerBuild maven goal to build straight to Docker daemon (#266)
  • mainClass is inferred by searching through class files if configuration is missing (#278)
  • Can now specify target image with -Dimage (#328)
  • args parameter to define default main args (#346)

Changed

  • Removed enableReproducibleBuilds parameter - application layers will always be reproducible (#245)
  • Changed configuration schema to be more like configuration for jib-gradle-plugin - NOT compatible with prior versions of jib-maven-plugin (#212)
  • jib:dockercontext has been changed to jib:exportDockerContext (#350)

Fixed

  • Directories in resources are added to classes layer (#318)

0.1.7

Fixed

  • Using base images that lack entrypoints (#284

0.1.6

Changed

  • Base image layers are now cached on a user-level rather than a project level - disable with useOnlyProjectCache configuration (#29)

Fixed

  • jib:dockercontext not building a Dockerfile (#171)
  • Failure to parse Docker config with HttpHeaders field (#175)

0.1.5

Added

  • Export a Docker context (including a Dockerfile) with jib:dockercontext (#49)

0.1.4

Fixed

  • Null tag validation generating NullPointerException (#125)
  • Build failure on project with no dependencies (#126)

0.1.3

Added

  • Build and push OCI container image (#96)

0.1.2

Added

  • Use credentials from Docker config if none can be found otherwise (#101)
  • Reproducible image building (#7)

0.1.1

Added

  • Simple example helloworld project under examples/ (#62)
  • Better error messages when pushing an image manifest (#63)
  • Validates target image configuration (#63)
  • Configure multiple credential helpers with credHelpers (#68)
  • Configure registry credentials with Maven settings (#81)

Changed

  • Removed configuration credentialHelperName (#68)

Fixed

  • Build failure on Windows (#74)
  • Infers common credential helper names (for GCR and ECR) (#64)
  • Cannot use private base image (#68)
  • Building applications with no resources (#73)
  • Pushing to registries like Docker Hub and ACR (#75)
  • Cannot build with files having long file names (> 100 chars) (#91)