Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update django-storages to 1.6.5 #345

Closed
wants to merge 1 commit into from

Conversation

Projects
None yet
2 participants
@pyup-bot
Copy link
Collaborator

commented Aug 1, 2017

There's a new version of django-storages available.
You are currently using 1.1.8. I have updated it to 1.6.5

These links might come in handy: PyPI | Changelog | Repo

Changelog

1.6.5


  • Fix Django 1.11 regression with gzipped content being saved twice
    resulting in empty files (367, 371, 373_)
  • Fix the mtime when gzipping content on S3Boto3Storage (374_)

.. _367: jschneier/django-storages#367
.. _371: jschneier/django-storages#371
.. _373: jschneier/django-storages#373
.. _374: jschneier/django-storages#374

1.6.4


  • Files uploaded with GoogleCloudStorage will now set their appropriate mimetype (320_)
  • Fix DropBoxStorage.url to work. (357_)
  • Fix S3Boto3Storage when AWS_PRELOAD_METADATA = True (366_)
  • Fix S3Boto3Storage uploading file-like objects without names (195, 368)
  • S3Boto3Storage is now threadsafe - a separate session is created on a
    per-thread basis (268, 358)

.. _320: jschneier/django-storages#320
.. _357: jschneier/django-storages#357
.. _366: jschneier/django-storages#366
.. _195: jschneier/django-storages#195
.. _368: jschneier/django-storages#368
.. _268: jschneier/django-storages#268
.. _358: jschneier/django-storages#358

1.6.3


  • Revert default AWS_S3_SIGNATURE_VERSION to V2 to restore backwards
    compatability in S3Boto3. It's recommended that all new projects set
    this to be 's3v4'. (344_)

.. _344: jschneier/django-storages#344

1.6.2


  • Fix regression in safe_join() to handle a trailing slash in an
    intermediate path. (341_)
  • Fix regression in gs.GSBotoStorage getting an unexpected kwarg.
    (342_)

.. _341: jschneier/django-storages#341
.. _342: jschneier/django-storages#342

1.6.1


  • Drop support for Django 1.9 (e89db45_)
  • Fix regression in safe_join() to allow joining a base path with an empty
    string. (336_)

.. _e89db45: jschneier/django-storages@e89db45
.. _336: jschneier/django-storages#336

1.6


  • Breaking: Remove backends deprecated in v1.5.1 (280_)
  • Breaking: DropBoxStorage has been upgrade to support v2 of the API, v1 will be shut off at the
    end of the month - upgrading is recommended (273_)
  • Breaking: The SFTPStorage backend now checks for the existence of the fallback ~/.ssh/known_hosts
    before attempting to load it. If you had previously been passing in a path to a non-existent file it will no longer
    attempt to load the fallback. (118, 325)
  • Breaking: The default version value for AWS_S3_SIGNATURE_VERSION is now 's3v4'. No changes should
    be required (335_)
  • Deprecation: The undocumented gs.GSBotoStorage backend. See the new gcloud.GoogleCloudStorage
    or apache_libcloud.LibCloudStorage backends instead. (236_)
  • Add a new backend, gcloud.GoogleCloudStorage based on the google-cloud bindings. (236_)
  • Pass in the location constraint when auto creating a bucket in S3Boto3Storage (257, 258)
  • Add support for reading AWS_SESSION_TOKEN and AWS_SECURITY_TOKEN from the environment
    to S3Boto3Storage and S3BotoStorage. (283_)
  • Fix Boto3 non-ascii filenames on Python 2.7 (216, 217)
  • Fix collectstatic timezone handling in and add get_modified_time to S3BotoStorage (290_)
  • Add support for Django 1.11 (295_)
  • Add project keyword support to GCS in LibCloudStorage backend (269_)
  • Files that have a guessable encoding (e.g. gzip or compress) will be uploaded with that Content-Encoding in
    the s3boto3 backend (263, 264)
  • The Dropbox backend now properly translates backslashes in Windows paths into forward slashes (e52a127_)
  • The S3 backends now permit colons in the keys (248, 322)

.. _217: jschneier/django-storages#217
.. _273: jschneier/django-storages#273
.. _216: jschneier/django-storages#216
.. _283: jschneier/django-storages#283
.. _280: jschneier/django-storages#280
.. _257: jschneier/django-storages#257
.. _258: jschneier/django-storages#258
.. _290: jschneier/django-storages#290
.. _295: jschneier/django-storages#295
.. _269: jschneier/django-storages#269
.. _263: jschneier/django-storages#263
.. _264: jschneier/django-storages#264
.. _e52a127: jschneier/django-storages@e52a127
.. _236: jschneier/django-storages#236
.. _118: jschneier/django-storages#118
.. _325: jschneier/django-storages#325
.. _248: jschneier/django-storages#248
.. _322: jschneier/django-storages#322
.. _335: jschneier/django-storages#335

1.5.2


  • Actually use SFTP_STORAGE_HOST in SFTPStorage backend (204_)
  • Fix S3Boto3Storage to avoid race conditions in a multi-threaded WSGI environment (238_)
  • Fix trying to localize a naive datetime when settings.USE_TZ is False in S3Boto3Storage.modified_time.
    (235, 234)
  • Fix automatic bucket creation in S3Boto3Storage when AWS_AUTO_CREATE_BUCKET is True (196_)
  • Improve the documentation for the S3 backends

.. _204: jschneier/django-storages#204
.. _238: jschneier/django-storages#238
.. _234: jschneier/django-storages#234
.. _235: jschneier/django-storages#235
.. _196: jschneier/django-storages#196

1.5.1


  • Breaking: Drop support for Django 1.7 (185_)
  • Deprecation: hashpath, image, overwrite, mogile, symlinkorcopy, database, mogile, couchdb.
    See (202_) to discuss maintenance going forward
  • Use a fixed mtime argument for GzipFile in S3BotoStorage and S3Boto3Storage to ensure
    a stable output for gzipped files
  • Use .putfileobj instead of .put in S3Boto3Storage to use the transfer manager,
    allowing files greater than 5GB to be put on S3 (194_ , 201_)
  • Update S3Boto3Storage for Django 1.10 (181_) (get_modified_time and get_accessed_time)
  • Fix bad kwarg name in S3Boto3Storage when AWS_PRELOAD_METADATA is True (189, 190)

.. _202: jschneier/django-storages#202
.. _201: jschneier/django-storages#201
.. _194: jschneier/django-storages#194
.. _190: jschneier/django-storages#190
.. _189: jschneier/django-storages#189
.. _185: jschneier/django-storages#185
.. _181: jschneier/django-storages#181

1.5.0


  • Add new backend S3Boto3Storage (179_)
  • Add a strict option to utils.setting (176_)
  • Tests, documentation, fixing .close for SFTPStorage (177_)
  • Tests, documentation, add .readlines for FTPStorage (175_)
  • Tests and documentation for DropBoxStorage (174_)
  • Fix MANIFEST.in to not ship .pyc files. (145_)
  • Enable CI testing of Python 3.5 and fix test failure from api change (171_)

.. _145: jschneier/django-storages#145
.. _171: jschneier/django-storages#171
.. _174: jschneier/django-storages#174
.. _175: jschneier/django-storages#175
.. _177: jschneier/django-storages#177
.. _176: jschneier/django-storages#176
.. _179: jschneier/django-storages#179

1.4.1


  • Files that have a guessable encoding (e.g. gzip or compress) will be uploaded with that Content-Encoding
    in the s3boto backend. Compressable types such as application/javascript will still be gzipped.
    PR 122_
  • Fix DropBoxStorage.exists check and add DropBoxStorage.url (127_)
  • Add GS_HOST setting (with a default of GSConnection.DefaultHost) to fix GSBotoStorage.
    (124, 125)

.. _122: jschneier/django-storages#122
.. _127: jschneier/django-storages#127
.. _124: jschneier/django-storages#124
.. _125: jschneier/django-storages#125

1.4


  • This package is now released on PyPI as django-storages. Please update your requirements files to
    django-storages==1.4.

1.3.2


  • Fix memory leak from not closing underlying temp file in s3boto backend (106_)
  • Allow easily specifying a custom expiry time when generating a url for S3BotoStorage (96_)
  • Check for bucket existence when the empty path ('') is passed to storage.exists in S3BotoStorage -
    this prevents a crash when running collectstatic -c on Django 1.9.1 (112) fixed in 116

.. _106: jschneier/django-storages#106
.. _96: jschneier/django-storages#96
.. _112: jschneier/django-storages#112
.. _116: jschneier/django-storages#116

1.3.1


  • A few Azure Storage fixes [pass the content-type to Azure, handle chunked content, fix url] (45__)
  • Add support for a Dropbox (dropbox) storage backend
  • Various fixes to the apache_libcloud backend [return the number of bytes asked for by .read, make .name non-private, don't
    initialize to an empty BytesIO object] (55_)
  • Fix multi-part uploads in s3boto backend not respecting AWS_S3_ENCRYPTION (94_)
  • Automatically gzip svg files (100_)

.. __: jschneier/django-storages#45
.. _76: jschneier/django-storages#76
.. _55: jschneier/django-storages#55
.. _94: jschneier/django-storages#94
.. _100: jschneier/django-storages#100

1.3


  • Breaking: Drop Support for Django 1.5 and Python 2.6
  • Breaking: Remove previously deprecated mongodb backend
  • Breaking: Remove previously deprecated parse_ts_extended from s3boto storage
  • Add support for Django 1.8+ (36__)
  • Add AWS_S3_PROXY_HOST and AWS_S3_PROXY_PORT settings for s3boto backend (41_)
  • Fix Python3K compat issue in apache_libcloud (52_)
  • Fix Google Storage backend not respecting GS_IS_GZIPPED setting (51__, 60_)
  • Rename FTP _name attribute to name which is what the Django File api is expecting (70_)
  • Put StorageMixin first in inheritance to maintain backwards compat with older versions of Django (63_)

.. __: jschneier/django-storages#36
.. _41: jschneier/django-storages#41
.. _52: jschneier/django-storages#52
.. __: jschneier/django-storages#51
.. _60: jschneier/django-storages#60
.. _70: jschneier/django-storages#70
.. _63: jschneier/django-storages#63

1.2.3


  • Variety of FTP backend fixes (fix exists, add modified_time, remove call to non-existent function) (26_)
  • Apparently the year changed to 2015

.. _26: jschneier/django-storages#26

1.2.2


  • Remove always show all warnings filter (21_)
  • Release package as a wheel
  • Avoid resource warning during install (20__)
  • Made S3BotoStorage deconstructible (previously only S3BotoStorageFile was deconstructible) (19_)

.. _21: jschneier/django-storages#21
.. __: jschneier/django-storages#20
.. _19: jschneier/django-storages#19

1.2.1


  • Deprecation: Issue warning about parse_ts_extended
  • Deprecation: mongodb backend - django-mongodb-engine now ships its own storage backend
  • Fix storage.modified_time crashing on new files when AWS_PRELOAD_METADATA=True (11, 12__, 14)

.. _11: jschneier/django-storages#11
__ jschneier/django-storages#12
.. _14: jschneier/django-storages#14

1.2


  • Breaking: Remove legacy S3 storage (1_)
  • Breaking: Remove mosso files backend (2_)
  • Add text/javascript mimetype to S3BotoStorage gzip allowed defaults
  • Add support for Django 1.7 migrations in S3BotoStorage and ApacheLibCloudStorage (5, 8)
  • Python3K (3.3+) now available for S3Boto backend (4_)

.. _8: jschneier/django-storages#8
.. _5: jschneier/django-storages#5
.. _4: jschneier/django-storages#4
.. _1: jschneier/django-storages#1
.. _2: jschneier/django-storages#2

NOTE: Version 1.1.9 is the first release of django-storages after the fork.
It represents the current (2014-12-08) state of the original django-storages in
master with no additional changes. This is the first release of the code base
since March 2013.

1.1.9


  • Fix syntax for Python3 with pull-request 91_
  • Support pushing content type from File object to GridFS with pull-request 90_
  • Support passing a region to the libcloud driver with pull-request 86_
  • Handle trailing slash paths fixes 188_ fixed by pull-request 85_
  • Use a SpooledTemporaryFile to conserve memory in S3BotoFile pull-request 69_
  • Guess content-type for S3BotoStorageFile the same way that _save() in S3BotoStorage does
  • Pass headers and response_headers through from url to generate_url in S3BotoStorage pull-request 65_
  • Added AWS_S3_HOST, AWS_S3_PORT and AWS_S3_USE_SSL settings to specify host, port and is_secure in pull-request 66_

.. _91: https://bitbucket.org/david/django-storages/pull-request/91/
.. _90: https://bitbucket.org/david/django-storages/pull-request/90/
.. _86: https://bitbucket.org/david/django-storages/pull-request/86/
.. _188: https://bitbucket.org/david/django-storages/issue/188/s3boto-_clean_name-is-broken-and-leads-to
.. _85: https://bitbucket.org/david/django-storages/pull-request/85/
.. _69: https://bitbucket.org/david/django-storages/pull-request/69/
.. _66: https://bitbucket.org/david/django-storages/pull-request/66/
.. _65: https://bitbucket.org/david/django-storages/pull-request/65/

Everything Below Here Was Previously Released on PyPi under django-storages

Got merge conflicts? Close this PR and delete the branch. I'll create a new PR for you.

Happy merging! 馃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can鈥檛 perform that action at this time.