diff --git a/docker/version.py b/docker/version.py index 3429f284..5460e165 100644 --- a/docker/version.py +++ b/docker/version.py @@ -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(".")]) diff --git a/docs/change-log.md b/docs/change-log.md index ceab083e..4715c524 100644 --- a/docs/change-log.md +++ b/docs/change-log.md @@ -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 ----- diff --git a/docs/client.rst b/docs/client.rst index 43d7c63b..85a1396f 100644 --- a/docs/client.rst +++ b/docs/client.rst @@ -26,6 +26,7 @@ Client reference .. autoattribute:: swarm .. autoattribute:: volumes + .. automethod:: close() .. automethod:: df() .. automethod:: events() .. automethod:: info() diff --git a/scripts/release.sh b/scripts/release.sh index 814185bd..f36efff9 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -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