Skip to content

jib-core v0.14.0

Compare
Choose a tag to compare
@chanseokoh chanseokoh released this 21 May 22:44
· 951 commits to master since this release

jib-core

Major Changes

  • Fixed the problem not inheriting USER container configuration from a base image. (#2421)
  • Fixed an issue when using a base image whose image creation timestamp contains timezone offset. (#2428)
  • Fixed wrong capitalization of JSON properties in a loadable Docker manifest when building a tar image. (#2430)
  • The following classes in com.google.cloud.tools.jib.api has been moved to com.google.cloud.tools.jib.api.buildplan: AbsoluteUnixPath, RelativeUnixPath, Port, FilePermissions, and ImageFormat. (#2328)
  • LayerConfiguration and LayerEntry are deprecated. Use FileEntriesLayer and FileEntry in com.google.cloud.tools.jib.api.buildplan. (#2334)
  • New public API package hierarchy com.google.cloud.tools.jib.api.buildplan for Container Build Plan Specification and API.
  • ContainerBuildPlan, FileEntriesLayer, FileEntry, and LayerObject in com.google.cloud.tools.jib.api.buildplan as part of the Container Build Plan API. (#2338, #2328)
  • ImageReference#toStringWithTag has been renamed to toStringWithQualifier.
  • ImageReference#isValidTag no longer returns true for digests.
  • ImageReference#isTagDigest has been removed; use #getDigest with Optional#isPresent() to check if an ImageReference uses a digest.
  • ImageReference#withTag has been removed; use withQualifier() instead.
  • ImageReference#isDefaultTag and usesDefaultTag no longer return true for null or empty tags.
  • Multiple additions to ImageReference to separate tag and digest. (#1481)
    • of(registry, repository, tag, digest) to create an image from a tag and digest.
    • isValidDigest(digest) to check if a string is a valid digest.
    • getDigest() to get the digest.
    • parse() now supports image reference strings containing both a tag and a digest.
    • getQualifier() to return the digest, or the tag if no digest is set.
    • withQualifier() to change the image's tag or digest (old behavior of withTag())

See CHANGELOG.md for more details.