diff --git a/docs/advance.rst b/docs/advance.rst index e481b11..a20fb78 100644 --- a/docs/advance.rst +++ b/docs/advance.rst @@ -123,6 +123,7 @@ To enable the old (pathlib common) Algorithm you can configure it like this: >>> path = PureS3Path('/') >>> register_configuration_parameter(path, glob_new_algorithm=False) +**Note: from version 0.6.0 glob implementation will work only with the new algorithm, there for the glob_new_algorithm arg is in depreciation cycle** .. _pathlib : https://docs.python.org/3/library/pathlib.html .. _boto3 : https://github.com/boto/boto3 diff --git a/docs/interface.rst b/docs/interface.rst index a452b1d..699eb61 100644 --- a/docs/interface.rst +++ b/docs/interface.rst @@ -159,7 +159,8 @@ In other words, it enables recursive globbing: S3Path('/pypi-proxy/boto3/index.html'), S3Path('/pypi-proxy/botocore/index.html')] -New in version 0.4.0: + +In version 0.4.0: New Algorithm that better suited to s3 API. Especially for recursive searches. @@ -169,6 +170,9 @@ To enable the old (pathlib common) Algorithm you can configure it like this: register_configuration_parameter(path, glob_new_algorithm=False) +New version 0.6.0: +glob implementation will work only with the new algorithm, there for the glob_new_algorithm arg is in depreciation cycle + For more configuration details please see this `Advanced S3Path configuration`_ **NOTE:** Using the "**" pattern in large Buckets may consume an inordinate amount of time in the old algorithm. @@ -325,10 +329,13 @@ This is like calling S3Path.glob_ with ``"**/"`` added in front of the given rel S3Path('/pypi-proxy/index.html'), S3Path('/pypi-proxy/botocore/index.html')] -New in version 0.4.0: +Version 0.4.0: New Algorithm that better suited to s3 API. Especially for recursive searches. +New version 0.6.0: +glob implementation will work only with the new algorithm, there for the glob_new_algorithm arg is in depreciation cycle + S3Path.rmdir() ^^^^^^^^^^^^^^ diff --git a/s3path/__init__.py b/s3path/__init__.py index 7877e26..9661d94 100644 --- a/s3path/__init__.py +++ b/s3path/__init__.py @@ -5,7 +5,7 @@ from pathlib import Path from . import accessor -__version__ = '0.5.8' +__version__ = '0.6.0' __all__ = ( 'Path', 'register_configuration_parameter',