mirror of
https://github.com/docker/compose.git
synced 2026-02-10 02:29:25 +08:00
Compare commits
13 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d445165955 | ||
|
|
3d94f44217 | ||
|
|
1386a85571 | ||
|
|
8034c96d66 | ||
|
|
48d093697d | ||
|
|
28bf47ce45 | ||
|
|
d279b7a891 | ||
|
|
83371df2d1 | ||
|
|
46118bc5e0 | ||
|
|
3288404b24 | ||
|
|
07cab51378 | ||
|
|
12637904f0 | ||
|
|
160034f678 |
35
CHANGELOG.md
35
CHANGELOG.md
@@ -1,6 +1,41 @@
|
||||
Change log
|
||||
==========
|
||||
|
||||
1.26.0 (2020-06-03)
|
||||
-------------------
|
||||
|
||||
### Features
|
||||
|
||||
- Add `docker context` support
|
||||
|
||||
- Add missing test dependency `ddt` to `setup.py`
|
||||
|
||||
- Add `--attach-dependencies` to command `up` for attaching to dependencies
|
||||
|
||||
- Allow compatibility option with `COMPOSE_COMPATIBILITY` environment variable
|
||||
|
||||
- Bump `Pytest` to 5.3.4 and add refactor compatibility with new version
|
||||
|
||||
- Bump `OpenSSL` from 1.1.1f to 1.1.1g
|
||||
|
||||
- Bump `docker-py` from 4.2.0 to 4.2.1
|
||||
|
||||
### Bugs
|
||||
|
||||
- Properly escape values coming from env_files
|
||||
|
||||
- Sync compose-schemas with upstream (docker/cli)
|
||||
|
||||
- Remove `None` entries on exec command
|
||||
|
||||
- Add `python-dotenv` to delegate `.env` file processing
|
||||
|
||||
- Don't adjust output on terminal width when piped into another command
|
||||
|
||||
- Show an error message when `version` attribute is malformed
|
||||
|
||||
- Fix HTTPS connection when DOCKER_HOST is remote
|
||||
|
||||
1.25.5 (2020-02-04)
|
||||
-------------------
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
from __future__ import absolute_import
|
||||
from __future__ import unicode_literals
|
||||
|
||||
__version__ = '1.26.0dev'
|
||||
__version__ = '1.26.0'
|
||||
|
||||
@@ -31,7 +31,7 @@ def default_cert_path():
|
||||
|
||||
def make_context(host, options, environment):
|
||||
tls = tls_config_from_options(options, environment)
|
||||
ctx = Context("compose", host=host)
|
||||
ctx = Context("compose", host=host, tls=tls.verify if tls else False)
|
||||
if tls:
|
||||
ctx.set_endpoint("docker", host, tls, skip_tls_verify=not tls.verify)
|
||||
return ctx
|
||||
@@ -138,7 +138,7 @@ def docker_client(environment, version=None, context=None, tls_version=None):
|
||||
tls = kwargs.get("tls", None)
|
||||
verify = False if not tls else tls.verify
|
||||
if host:
|
||||
context = Context("compose", host=host)
|
||||
context = Context("compose", host=host, tls=verify)
|
||||
else:
|
||||
context = ContextAPI.get_current_context()
|
||||
if tls:
|
||||
|
||||
@@ -1080,7 +1080,7 @@ class TopLevelCommand(object):
|
||||
log.error(
|
||||
"The image for the service you're trying to recreate has been removed. "
|
||||
"If you continue, volume data could be lost. Consider backing up your data "
|
||||
"before continuing.\n".format(e.explanation)
|
||||
"before continuing.\n"
|
||||
)
|
||||
res = yesno("Continue with the new image? [yN]", False)
|
||||
if res is None or not res:
|
||||
|
||||
@@ -1157,7 +1157,7 @@ class Service(object):
|
||||
container_name = build_container_name(
|
||||
self.project, service_name, number, slug,
|
||||
)
|
||||
ext_links_origins = [l.split(':')[0] for l in self.options.get('external_links', [])]
|
||||
ext_links_origins = [link.split(':')[0] for link in self.options.get('external_links', [])]
|
||||
if container_name in ext_links_origins:
|
||||
raise DependencyError(
|
||||
'Service {0} has a self-referential external link: {1}'.format(
|
||||
|
||||
@@ -5,7 +5,7 @@ certifi==2020.4.5.1
|
||||
chardet==3.0.4
|
||||
colorama==0.4.3; sys_platform == 'win32'
|
||||
distro==1.5.0
|
||||
docker==4.2.0
|
||||
docker==4.2.1
|
||||
docker-pycreds==0.4.0
|
||||
dockerpty==0.4.1
|
||||
docopt==0.6.2
|
||||
@@ -25,4 +25,5 @@ six==1.12.0
|
||||
subprocess32==3.5.4; python_version < '3.2'
|
||||
texttable==1.6.2
|
||||
urllib3==1.25.7; python_version == '3.3'
|
||||
wcwidth==0.1.9
|
||||
websocket-client==0.57.0
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
set -e
|
||||
|
||||
VERSION="1.25.5"
|
||||
VERSION="1.26.0"
|
||||
IMAGE="docker/compose:$VERSION"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user