Merge branch 'release'

This commit is contained in:
Joffrey F 2018-03-29 16:36:33 -07:00
commit 2dcedec7c9
4 changed files with 65 additions and 1 deletions

View File

@ -1,2 +1,2 @@
version = "3.2.0-dev"
version = "3.2.0"
version_info = tuple([int(d) for d in version.split("-")[0].split(".")])

View File

@ -1,6 +1,63 @@
Change log
==========
3.2.0
-----
[List of PRs/ issues for this release](https://github.com/docker/docker-py/milestone/45?closed=1)
### Features
* Generators returned by `attach()`, `logs()` and `events()` now have a
`cancel()` method to let consumers stop the iteration client-side.
* `build()` methods can now handle Dockerfiles supplied outside of the
build context.
* Added `sparse` argument to `DockerClient.containers.list()`
* Added `isolation` parameter to `build()` methods.
* Added `close()` method to `DockerClient`
* Added `APIClient.inspect_distribution()` method and
`DockerClient.images.get_registry_data()`
* The latter returns an instance of the new `RegistryData` class
3.1.4
-----
[List of PRs / issues for this release](https://github.com/docker/docker-py/milestone/48?closed=1)
### Bugfixes
* Fixed a bug where build contexts containing directory symlinks would produce
invalid tar archives
3.1.3
-----
### Bugfixes
* Regenerated invalid wheel package
3.1.2
-----
[List of PRs / issues for this release](https://github.com/docker/docker-py/milestone/47?closed=1)
### Bugfixes
* Fixed a bug that led to a Dockerfile not being included in the build context
in some situations when the Dockerfile's path was prefixed with `./`
3.1.1
-----
[List of PRs / issues for this release](https://github.com/docker/docker-py/milestone/46?closed=1)
### Bugfixes
* Fixed a bug that caused costly DNS lookups on Mac OSX when connecting to the
engine through UNIX socket
* Fixed a bug that caused `.dockerignore` comments to be read as exclusion
patterns
3.1.0
-----

View File

@ -26,6 +26,7 @@ Client reference
.. autoattribute:: swarm
.. autoattribute:: volumes
.. automethod:: close()
.. automethod:: df()
.. automethod:: events()
.. automethod:: info()

View File

@ -18,6 +18,9 @@ if [ -z $VERSION ]; then
exit 1
fi
echo "##> Removing stale build files"
rm -rf ./build || exit 1
echo "##> Tagging the release as $VERSION"
git tag $VERSION || exit 1
if [[ $2 == 'upload' ]]; then
@ -30,4 +33,7 @@ pandoc -f markdown -t rst README.md -o README.rst || exit 1
if [[ $2 == 'upload' ]]; then
echo "##> Uploading sdist to pypi"
python setup.py sdist bdist_wheel upload
else
echo "##> sdist & wheel"
python setup.py sdist bdist_wheel
fi