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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pin django-storages to latest version 1.6.5 #75

Closed
wants to merge 1 commit into from

Conversation

pyup-bot
Copy link
Contributor

django-storages is not pinned to a specific version.

I'm pinning it to the latest version 1.6.5 for now.

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

1.1.8


  • Fixes 156_ regarding date parsing, ValueError when running collectstatic
  • Proper handling of boto dev version parsing
  • Made SFTP URLs accessible, now uses settings.MEDIA_URL instead of sftp://

.. _156: https://bitbucket.org/david/django-storages/issue/156/s3boto-backend-valueerror-time-data-thu-07

1.1.7


  • Listing of huge buckets on S3 is now prevented by using the prefix argument to boto's list() method
  • Initial support for Windows Azure Storage
  • Switched to useing boto's parse_ts date parser getting last modified info when using S3boto backend
  • Fixed key handling in S3boto and Google Storage backends
  • Account for lack of multipart upload in Google Storage backend
  • Fixed seek() issue when using AWS_IS_GZIPPED by darkness51 with pull-request 50_
  • Improvements to S3BotoStorage and GSBotoStorage

.. _50: https://bitbucket.org/david/django-storages/pull-request/50/

1.1.6


  • Merged many changes from Jannis Leidel (mostly regarding gzipping)
  • Fixed tests by Ian Lewis
  • Added support for Google Cloud Storage backend by Jannis Leidel
  • Updated license file by Dan Loewenherz, fixes 133_ with pull-request 44_
  • Set Content-Type header for use in upload_part_from_file by Gerardo Curiel
  • Pass the rewind parameter to Boto's set_contents_from_file method by Jannis Leidel with pull-request 45_
  • Fix for FTPStorageFile close() method by Mathieu Comandon with pull-request 43_
  • Minor refactoring by Oktay Sancak with pull-request 48_
  • Ungzip on download based on Content-Encoding by Gavin Wahl with pull-request 46_
  • Add support for S3 server-side encryption by Tobias McNulty with pull-request 17_
  • Add an optional setting to the boto storage to produce protocol-relative URLs, fixes 105_

.. _133: https://bitbucket.org/david/django-storages/issue/133/license-file-refers-to-incorrect-project
.. _44: https://bitbucket.org/david/django-storages/pull-request/44/
.. _45: https://bitbucket.org/david/django-storages/pull-request/45/
.. _43: https://bitbucket.org/david/django-storages/pull-request/43/
.. _48: https://bitbucket.org/david/django-storages/pull-request/48/
.. _46: https://bitbucket.org/david/django-storages/pull-request/46/
.. _17: https://bitbucket.org/david/django-storages/pull-request/17/
.. _105: https://bitbucket.org/david/django-storages/issue/105/add-option-to-produce-protocol-relative

1.1.5


  • Merged pull request 36_ from freakboy3742 Keith-Magee, improvements to Apache Libcloud backend and docs
  • Merged pull request 35_ from atodorov, allows more granular S3 access settings
  • Add support for SSL in Rackspace Cloudfiles backend
  • Fixed the listdir() method in s3boto backend, fixes 57_
  • Added base url tests for safe_join in s3boto backend
  • Merged pull request 20_ from alanjds, fixed SuspiciousOperation warning if AWS_LOCATION ends with '/'
  • Added FILE_BUFFER_SIZE setting to s3boto backend
  • Merged pull request 30_ from pendletongp, resolves 108, 109 and 110_
  • Updated the modified_time() method so that it doesn't require dateutil. fixes 111_
  • Merged pull request 16_ from chamal, adds Apache Libcloud backend
  • When preloading the S3 metadata make sure we reset the files key during saving to prevent stale metadata
  • Merged pull request 24_ from tobias.mcnulty, fixes bug where s3boto backend returns modified_time in wrong time zone
  • Fixed HashPathStorage.location to no longer use settings.MEDIA_ROOT
  • Remove download_url from setup file so PyPI dist is used

.. _36: https://bitbucket.org/david/django-storages/pull-request/36/
.. _35: https://bitbucket.org/david/django-storages/pull-request/35/
.. _57: https://bitbucket.org/david/django-storages/issue/57
.. _20: https://bitbucket.org/david/django-storages/pull-request/20/
.. _30: https://bitbucket.org/david/django-storages/pull-request/30/
.. _108: https://bitbucket.org/david/django-storages/issue/108
.. _109: https://bitbucket.org/david/django-storages/issue/109
.. _110: https://bitbucket.org/david/django-storages/issue/110
.. _111: https://bitbucket.org/david/django-storages/issue/111
.. _16: https://bitbucket.org/david/django-storages/pull-request/16/
.. _24: https://bitbucket.org/david/django-storages/pull-request/24/

1.1.4


  • Added PendingDeprecationWarning for mosso backend
  • Merged pull request 13_ from marcoala, adds SFTP_KNOWN_HOST_FILE setting to SFTP storage backend
  • Merged pull request 12_ from ryankask, fixes HashPathStorage tests that delete remote media
  • Merged pull request 10_ from key, adds support for django-mongodb-engine 0.4.0 or later, fixes GridFS file deletion bug
  • Fixed S3BotoStorage performance problem calling modified_time()
  • Added deprecation warning for s3 backend, refs 40_
  • Fixed CLOUDFILES_CONNECTION_KWARGS import error, fixes 78_
  • Switched to sphinx documentation, set official docs up on http://django-storages.rtfd.org/
  • HashPathStorage uses self.exists now, fixes 83_

.. _13: https://bitbucket.org/david/django-storages/pull-request/13/a-version-of-sftp-storage-that-allows-you
.. _12: https://bitbucket.org/david/django-storages/pull-request/12/hashpathstorage-tests-deleted-my-projects
.. _10: https://bitbucket.org/david/django-storages/pull-request/10/support-django-mongodb-engine-040
.. _40: https://bitbucket.org/david/django-storages/issue/40/deprecate-s3py-backend
.. _78: https://bitbucket.org/david/django-storages/issue/78/import-error
.. _83: https://bitbucket.org/david/django-storages/issue/6/symlinkorcopystorage-new-custom-storage

1.1.3


  • Created this lovely change log
  • Fixed 89_: broken StringIO import in CloudFiles backend
  • Merged pull request 5_: HashPathStorage path bug

.. _89: https://bitbucket.org/david/django-storages/issue/89/112-broke-the-mosso-backend
.. _pull request 5: https://bitbucket.org/david/django-storages/pull-request/5/fixed-path-bug-and-added-testcase-for

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

Happy merging! 🤖

@codingjoe codingjoe closed this Nov 11, 2017
@codingjoe codingjoe deleted the pyup-pin-django-storages-1.6.5 branch November 11, 2017 15:17
@codecov
Copy link

codecov bot commented Nov 11, 2017

Codecov Report

Merging #75 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff          @@
##           master    #75   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           4      4           
  Lines          71     71           
=====================================
  Hits           71     71

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3e91b3f...f4e9e9e. Read the comment docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants