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

Update django-storages to 1.5.2 #15

Closed
wants to merge 1 commit into from

Conversation

pyup-bot
Copy link
Collaborator

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

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

Changelog

1.5.2


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

.. _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


  • Drop support for Django 1.7 (185_)
  • Deprecate hashpath, image, overwrite, mogile, symlinkorcopy, database, mogile, couchdb.
    See (issue 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) thanks JshWright
  • Fix bad kwarg name in S3Boto3Storage when AWS_PRELOAD_METADATA is True (189, 190) thanks leonsmith

.. _issue 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_) MASSIVE THANKS mbarrien
  • Add a strict option to utils.setting (176_) thanks ZuluPro
  • Tests, documentation, fixing .close for SFTPStorage (177_) thanks ZuluPro
  • Tests, documentation, add .readlines for FTPStorage (175_) thanks ZuluPro
  • Tests and documentation for DropBoxStorage (174_) thanks ZuluPro
  • Fix MANIFEST.in to not ship .pyc files. (145_) thanks fladi
  • Enable CI testing of Python3.5 and fix test failure from api change (171_) thanks tnir

.. _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_ thanks cambonf
  • Fix DropBoxStorage.exists check and add DropBoxStorage.url (127_) thanks zuck
  • Add GS_HOST setting (with a default of GSConnection.DefaultHost) to fix GSBotoStorage.
    Issue 124. Fixed in 125. Thanks patgmiller dcgoss.

.. _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_) thanks kmmbvnr
  • Allow easily specifying a custom expiry time when generating a url for S3BotoStorage (96_) thanks mattbriancon
  • Check for bucket existence when the empty path ('') is passed to storage.exists in S3BotoStorage -
    this prevents a crash when running collecstatic -c on Django 1.9.1 (112) fixed in 116 thanks xblitz

.. _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__) thanks erlingbo
  • Add support for a Dropbox (dropbox) storage backend, thanks ZuluPro (76_)
  • 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] thanks kaedroho (55_)
  • Fix multi-part uploads in s3boto backend not respecting AWS_S3_ENCRYPTION (94_) thanks andersontep
  • Automatically gzip svg files thanks comandrei (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


  • Drop Support for Django 1.5 and Python2.6
  • Remove previously deprecated mongodb backend
  • 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_) thanks stmos
  • 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


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

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

1.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_)
  • Remove legacy S3 storage (1_)
  • Remove mosso files backend (2_)

.. _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! 🤖

@gamealerts gamealerts closed this Jan 31, 2017
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