Skip to content

Latest commit

 

History

History
346 lines (289 loc) · 24.3 KB

CHANGELOG.md

File metadata and controls

346 lines (289 loc) · 24.3 KB

Change Log

3.0.1-SNAPSHOT

All changes

  • Updated all dependencies
  • [#643] (docker-java#643) Fixes for .dockerignore filtering
  • [#627] (docker-java#627) Implementation of POST /images/load endpoint
  • [#630] (docker-java#630) Fix: Second execution of a docker command in Netty implementation always fails
  • [#596] (docker-java#596) Refactor configuration of SSL to allow override with custom config
  • [#529] (docker-java#529) Refactor CertUtils. Support ECDSA and PrivateKey
  • [#593] (docker-java#593) Added Device.parse() method with simple verification.

v3.0.0

Notes

  • The 3.0.0 release contains multiple API breaking changes compared to 2.x therefore the major version switch. It supports a subset of v.1.22 of the docker remote API. It also includes an experimental netty based implementation of DockerCmdExecFactory that probably will replace the current jersey/httpclient based one in a later release. Take a look at the Wiki how to use it.
  • The configuration has been changed to better match the docker CLI configuration options. The properties file was renamed from docker.io.properties to docker-java.properties. See README.md for details.

All changes

  • [#590] (docker-java#590) Fix default docker.properties to match with docker CLI defaults
  • [#585] (docker-java#585) Add RootDir property to GraphData
  • [#580] (docker-java#580) Fixes execute permissions for files when copied to container
  • [#579] (docker-java#579) Adds missing name filter evaluation to netty version of ListImagesCmdExec
  • [#578] (docker-java#578) Fix error during image build when Dockerfile in subdirectory of build context
  • [#575] (docker-java#575) Support binding of port ranges
  • [#574] (docker-java#574) Fix for copyArchiveToContainerCmd bug
  • [#572] (docker-java#572) Inspect container command now shows sizes if requested
  • [#563] (docker-java#563) Fix memory leak in netty implementation of DockerCmdExecFactory
  • [#550] (docker-java#550) Add ability to configure IPAM config for CreateNetworkCmd
  • [#484] (docker-java#484) Implement missing network api options for v1.22

Included in 3.0.0-RC5

  • [#542] (docker-java#542) Fix large volumes of output from "docker exec" trigger out of memory error
  • [#541] (docker-java#541) ImageInspectResponse.GraphDriver.Data is more complex structure
  • [#534] (docker-java#534) Fix create volume command doesn't assign passed in volume driverOpts to field
  • [#533] (docker-java#533) Added shmsize build option

Included in 3.0.0-RC4

Included in 3.0.0-RC3

Included in 3.0.0-RC2

Included in 3.0.0-RC1

v2.2.3

  • [#487] (docker-java#487) Fix NegativeArraySizeException in awaitCompletion()

v2.2.2

v2.2.1

v2.2.0

  • [#457] (docker-java#457) Input configuration should not be altered as it breaks unix socket support
  • [#430] (docker-java#430) Fix ExecStartCmd failure (backported from 3.0.0)

v2.1.4

  • [#396] (docker-java#396) Disable evaluation of http.proxy... variables when using unix socket connection
  • [#359] (docker-java#359) Fix performance issue of build command by adding bulk-read variant of InputStream.read()

v2.1.3

  • [#387] (docker-java#387) Make ProgressDetails attributes public
  • [#386] (docker-java#386) Basic http proxy configuration support
  • [#362] (docker-java#362) Deprecate "network" and enable "networks" stats (remote Docker API 1.21)

v2.1.2

v2.1.1

v2.1.0

  • [#306] (docker-java#306) fix(core): fix NPE if latestItem is null in result callback
  • [#305] (docker-java#305) chore(core): do not expect default DockerCmdExecFactory service
  • [#304] (docker-java#304) Throw original exception when command.close() throws Exception too
  • [#299] (docker-java#299) BuildImage sync to 1.20 API
  • [#291] (docker-java#291) Moved "Memory", "MemorySwap" and "CpuShares" mappings from ContainerConfig to HostConfig

v2.0.1

Release notes

  • This is a bugfix release. With this release docker >= v1.7.0 is recommended.

All changes

  • [#301] (docker-java#301) Respect exception rules in .dockerignore file while build images
  • [#298] (docker-java#298) Fix repository name validation errors
  • [#296] (docker-java#296) Fix Build FROM private registry broken with docker 1.7.x
  • [#295] (docker-java#295) Support certificate chains in cert.pem
  • [#287] (docker-java#287) Using the oomKillDisable flag throws a null pointer exception

v2.0.0

Release notes

  • Some commands APIs has been changed to be callback-driven now to simplify the processing of the result streams for the client application. This affects namely the events, stats, log, attach, build, push and pull commands. Look at the Wiki how to process events or how to build an image from dockerfile for example.
  • The DockerClientConfig API has changed to free it from implementation specific configuration options like readTimeout, maxTotalConnections, maxPerRouteConnections and enableLoggingFilter. Most options can be configured via DockerCmdExecFactoryImpl programmatically now. Logging is configurable via logback configuration file in the classpath.

All changes

  • #284 Added GZIP compression for build context creation
  • #282 Remove JAXRS/ApacheConnector implementation specific properties from DockerClientConfig
  • #280 Handle multiple source files in ADD command
  • #278 Stop leaking tar files in temporary folder
  • #275 Implemented LogConfig (create and inspect containers)
  • #272 remove withHostConfig() from create container command
  • #270 Passing result callbacks for async commands via commands exec()
  • #269 Add filters option to events operation
  • #268 Concurrent DockerCmdExecFactory.getDefaultDockerCmdExecFactory fails on reload
  • #263 Refactoring of streaming commands APIs (event, stats, log, attach)
  • #262 Accept filters in list containers
  • #260 Add labels to create and inspect container

v1.4.0

  • #248 Removed deprecated start options
  • #247 Add Domainname attribute on create command
  • #245 Added ReadonlyRootfs option
  • #233 Labels are array of Strings (fixes #232)
  • #189 Add docker stats support

v1.3.0

  • #213 Add ulimit support
  • #208 Added PullEventStreamItem and EventStreamReader to stream the reading of events
  • #205 Access mode of VolumesRW incorrectly deserialized
  • [#204] (docker-java#204) Added support to use the credentials from .dockercfg during build
  • #203 Missing 'MacAddress' option in create container command
  • #197 Allow for null bindings

v1.2.0

  • #194 Fixed remove intermediate containers bug on build goal
  • #193 Add HostConfig related methods from start command to create command
  • #192 Added a Links constructor accepting a List object

v1.1.0

  • #186 Added withPull method to BuilImageCmd
  • #185 Introduce WrappedResponseInputStream to close underlying Response
  • #180 Dockerfiles not called 'dockerfile'
  • #179 Add support for cpuset in CreateContainerCmd
  • #170 Allow to specify alternative files other than 'Dockerfile' for building images
  • #165 PushImageCmd assumes that you have an auth config setup
  • #161 Inspect exec command
  • #159 Add missing Info fields
  • #156 Add support for configuring ExtraHosts
  • #146 Create Identifier type

v1.0.0

  • #152 Restore guava as a dependency
  • #149 Handle HTTP-Redirects
  • #148 Save image functionality
  • #142 Reduce Logging Level
  • #138 Apache CXF interopabilty
  • #137 Multiple volumesFrom option when creating a container
  • #135 Update to latest unix-socket-factory
  • #134 Remove Google Guava as dependency
  • #131 Utility classes and streamed JSON representations
  • #128 Allow unauthorized pullImageCmd

v0.10.5

  • #125 Unixsocket support
  • #123 support DOCKER_TLS_VERIFY to detect ssl
  • #121 Implemented support for commands: Exec-start, Exec-create
  • #120 Command resource cleanup after command execution
  • #118 Use chunked encoding when passing the docker image
  • #116 Allow SSL configuration from pre-existing keystore to be used
  • #115 Polish RestartPolicy
  • #114 Fix CreateContainerCmdImpl.withVolumesFrom()
  • #111 Allow to send empty messages in StartContainerCmd

v0.10.4

  • #109 Support tag in push image command
  • #106 Allow to manage Linux capabilities in CreateContainerCmd
  • #105 Allow to pass HostConfig when creating a container
  • #103 Make GoLangMatchFileFilter work on Windows
  • #102 Downgraded jackson-jaxrs dependency version
  • #101 list filtered images as described in the remote api docs
  • #100 Add support for .dockercfg files to handle auth for push command
  • #95 Add support for .dockerignore files
  • #92 Add travis-ci support
  • #90 Update DockerClientBuilder.java
  • #88 Add support for private repositories and pull/push authentication

v0.10.3

  • #87 Improve adding of port bindings
  • #83 Loading of custom DockerCmdExecFactory
  • #81 Env config
  • #82 Allow multiple port bindings per ExposedPort
  • #80 explicitly use the latest image version
  • #79 Move slow tests to integration test phase, enable tests by default
  • #76 New enum "InternetProtocol" for supported IP protocols replaces "scheme"
  • #75 Use ExposedPort.toString() in serialization
  • #74 Use project.build.sourceEncoding in compiler
  • #73 Improve parsing and serialization of Link
  • #70 Improve instantiation and serialization of Bind

v0.10.2

  • #69 Use canonical form of Docker folder when building TAR files
  • #68 Set Jersey client CommonProperties.FEATURE_AUTO_DISCOVERY_DISABLE
  • #67 typo in README.md
  • #65 Added static method udp in ExposedPort
  • #63 Bind.parse() fails when access mode is specified
  • #57 Add streaming events API
  • #59 Update readme to include corrected api example
  • #2 Move to new maven coordinate com.github.docker-java:docker-java
  • #56 Update README.md
  • #58 Code clear and bug fix

v0.10.1

  • #49 Allow user to check where volume is binded on host
  • #47 let CompressArchiveUtil preserve executable flags
  • #46 Fixes to AttachContainerCmd and CreateContainerCmd.

v0.10.0

  • #45 Fix Issue #44 Adjusting DNS property type to be a String array as specified by the Doc...
  • #38 Remove special-case for one ":" from PullCommand
  • #37 Starts v0.10.0
  • #35 Exposing the withTTY method for container creation.

v0.9.1

  • #31 Change VolumesFrom to handle array
  • #29 Makes Config a public, immutable class with a builder
  • #22 Fixes for startContainerCmd
  • #19 Add missing options to BuildCmd and set them to match Docker client.
  • #16 Build image improvements

v0.9.0

  • #14 Use RegEx to match ADD command from Dockerfile.
  • #9 Add a build command accepting a tar as a InputStream, so we can build the Dockerfile TAR on the fly without a temporary folder.

v0.8.2

  • #2 Move to new maven coordinate com.github.docker-java:docker-java
  • #1 Merge
  • #2 Move to new maven coordinate com.github.docker-java:docker-java
  • #66 Backport the new structure to Jersey 1.18
  • #65 Added static method udp in ExposedPort
  • #61
  • #60 Added additional callback methods to EventCallback
  • #1 Merge
  • #55
  • #58 Code clear and bug fix
  • #54
  • #3
  • #2 Move to new maven coordinate com.github.docker-java:docker-java
  • #1 Merge
  • #34
  • #36
  • #37 Starts v0.10.0
  • #32

v0.8.1

v0.8.1

  • #28 Improves use of docker-java in unit tests
  • #30 Add ping method
  • #27 Added a close method to DockerClient
  • #26
  • #24
  • #23
  • #22 Fixes for startContainerCmd
  • #20
  • #19 Add missing options to BuildCmd and set them to match Docker client.
  • #18 Added Container-Linking
  • #16 Build image improvements
  • #15 Collection of changes driven by use in gradle-docker and on Windows
  • #14 Use RegEx to match ADD command from Dockerfile.
  • #9 Add a build command accepting a tar as a InputStream, so we can build the Dockerfile TAR on the fly without a temporary folder.
  • #5 add paused field in ContainerInspectResponse
  • #6