Docs: added the description of the filename attribute to images.rst 2621
[dasdachs]
Dependencies: Updated libimagequant to 2.10.1 2616
[radarhere]
PDF: Renamed parameter to not shadow built-in dict 2612
[kijeong]
django-allauth 0.32.0 -> 0.34.0
0.34.0
Security notice
The "Set Password" view did not properly check whether or not the user already
had a usable password set. This allowed an attacker to set the password
without providing the current password, but only in case the attacker already
gained control over the victim's session.
Note worthy changes
New provider: Meetup.
0.33.0
Note worthy changes
Security: password reset tokens are now prevented from being leaked through
the password reset URL.
New providers: Patreon, Authentiq, Dataporten.
Dropbox has been upgraded to API V2.
New translation: Norwegian.
Backwards incompatible changes
Dropped support for Django 1.9.
psycopg2 2.7.1 -> 2.7.3.2
2.7.3.2
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Wheel package compiled against PostgreSQL 10.0 libpq and OpenSSL 1.0.2l
(:tickets:601, 602)
2.7.3.1
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Dropped libresolv from wheel package to avoid incompatibility with
glibc 2.26 (wheels ticket 2)
2.7.3
^^^^^^^^^^^^^^^^^^^^^^^^^^^
Restored default :sql:timestamptz[] typecasting to Python !datetime.
Regression introduced in Psycopg 2.7.2 (:ticket:578).
2.7.2
^^^^^^^^^^^^^^^^^^^^^^^^^^^
Fixed inconsistent state in externally closed connections
(:tickets:263, 311, 443). Was fixed in 2.6.2 but not included in
2.7 by mistake.
Fixed Python exceptions propagation in green callback (:ticket:410).
Don't display the password in connection.dsn when the connection
string is specified as an URI (:ticket:528).
Return objects with timezone parsing "infinity" :sql:timestamptz
(:ticket:536).
Dropped dependency on VC9 runtime on Windows binary packages
(:ticket:541).
Fixed segfault in ~connection.lobject() when mode\=\ !None
(:ticket:544).
The change to --no-startup/--use-pythonrc in shell_plus changes the
default behaviour to automatically load PYTHONSTARTUP and ~/.pythonrc.py
unless --no-startup is set.
Changes:
Fix: pipchecker, fix up-to-date check for Github sha commits
Fix: JSONField, fix handling to_python() for strings with tests
Fix: print_settings, fix print_settings to receive positional args
Improvement: shell_plus, update PYTHONSTARTUP / pythonrc handling to match Django
Improvement: shell_plus, added new 1.11 features from django.db.models to shell_plus import list
Improvement: runserver_plus, startup message now accounts for https
Docs: jobs, improve documentation about jobs scheduling
Docs: admin, add documentation for ForeignKeyAutocompleteStackedInline and ForeignKeyAutocompleteTabularInline
Docs: fix typos
django-import-export 0.5.1 -> 0.7.0
0.7.0
skip_row override example (702)
Testing against Django 2.0 should not fail (709)
Refactor transaction handling (690)
Resolves 703 fields shadowed (703)
discourage installation as a zipped egg (548)
Fixed middleware settings in test app for Django 2.x (696)
Allow injection of context data for template rendered by import_action() and export_action() (544)
Bugfix/fix exception in generate_log_entries() (543)
Process import dataset and result in separate methods (542)
Bugfix/fix error in converting exceptions to strings (526)
Fix admin integration tests for the new "Import finished..." message, update Czech translations to 100% coverage. (596)
Make import form type easier to override (604)
Add saves_null_values attribute to Field to control whether null values are saved on the object (611)
Add Bulgarian translations (656)
Add django 1.11 to TravisCI (621)
Make Signals code example format correctly in documentation (553)
Add Django as requirement to setup.py (634)
Update import of reverse for django 2.x (620)
Add Django-version classifiers to setup.py’s CLASSIFIERS (616)
Some fixes for Django 2.0 (672)
Strip whitespace when looking up ManyToMany fields (668)
Fix all ResourceWarnings during tests in Python 3.x (637)
Remove downloads count badge from README since shields.io no longer supports it for PyPi (677)
Add coveralls support and README badge (678)
djangorestframework 3.6.3 -> 3.7.7
3.7.7
Date: [21st December 2017][3.7.7-milestone]
Fix typo to include *.mo locale files to packaging. [5697][gh5697], [5695][gh5695]
3.7.6
Date: [21st December 2017][3.7.6-milestone]
Add missing *.ico icon files to packaging.
3.7.5
Date: [21st December 2017][3.7.5-milestone]
Add missing *.woff2 font files to packaging. [5692][gh5692]
Add missing *.mo locale files to packaging. [5695][gh5695], [5696][gh5696]
3.7.4
Date: [20th December 2017][3.7.4-milestone]
Schema: Extract method for manual_fields processing [5633][gh5633]
Allows for easier customisation of manual_fields processing, for example
to provide per-method manual fields. AutoSchema adds get_manual_fields,
as the intended override point, and a utility method update_fields, to
handle by-name field replacement from a list, which, in general, you are not
expected to override.
Note: AutoSchema.__init__ now ensures manual_fields is a list.
Previously may have been stored internally as None.
Remove ulrparse compatability shim; use six instead [5579][gh5579]
Drop compat wrapper for TimeDelta.total_seconds() [5577][gh5577]
Clean up all whitespace throughout project [5578][gh5578]
Compat cleanup [5581][gh5581]
Add pygments CSS block in browsable API views [5584][gh5584] [5587][gh5587]
Remove set_rollback() from compat [5591][gh5591]
Fix request body/POST access [5590][gh5590]
Rename test to reference correct issue [5610][gh5610]
Documentation Fixes [5611][gh5611] [5612][gh5612]
Remove references to unsupported Django versions in docs and code [5602][gh5602]
Test Serializer exclude for declared fields [5599][gh5599]
Fixed schema generation for filter backends [5613][gh5613]
Minor cleanup for ModelSerializer tests [5598][gh5598]
Add rounding parameter to DecimalField [5562][gh5562]
Fix all BytesWarning caught during tests [5561][gh5561]
Use dict and set literals instead of calls to dict() and set() [5559][gh5559]
Change ImageField validation pattern, use validators from DjangoImageField [5539][gh5539]
Fix processing unicode symbols in query_string by Python 2 [5552][gh5552]
3.7.1
Date: [16th October 2017][3.7.1-milestone]
Fix Interactive documentation always uses false for boolean fields in requests [5492][gh5492]
Improve compatibility with Django 2.0 alpha. [5500][gh5500] [5503][gh5503]
Improved handling of schema naming collisions [5486][gh5486]
Added additional docs and tests around providing a default value for dotted source fields [5489][gh5489]
3.7.0
Date: [6th October 2017][3.7.0-milestone]
Fix DjangoModelPermissions to ensure user authentication before calling the view's get_queryset() method. As a side effect, this changes the order of the HTTP method permissions and authentication checks, and 405 responses will only be returned when authenticated. If you want to replicate the old behavior, see the PR for details. [5376][gh5376]
Deprecated exclude_from_schema on APIView and api_view decorator. Set schema = None or schema(None) as appropriate. [5422][gh5422]
Timezone-aware DateTimeFields now respect active or default timezone during serialization, instead of always using UTC. [5435][gh5435]
Resolves inconsistency whereby instances were serialised with supplied datetime for create but UTC for retrieve. [3732][gh3732]
Possible backwards compatibility break if you were relying on datetime strings being UTC. Have client interpret datetimes or [set default or active timezone (docs)][djangodocs-set-timezone] to UTC if needed.
Removed DjangoFilterBackend inline with deprecation policy. Use django_filters.rest_framework.FilterSet and/or django_filters.rest_framework.DjangoFilterBackend instead. [5273][gh5273]
Don't strip microseconds from time when encoding. Makes consistent with datetime.
BC Change: Previously only milliseconds were encoded. [5440][gh5440]
Added STRICT_JSON setting (default True) to raise exception for the extended float values (nan, inf, -inf) accepted by Python's json module.
BC Change: Previously these values would converted to corresponding strings. Set STRICT_JSON to False to restore the previous behaviour. [5265][gh5265]
Add support for page_size parameter in CursorPaginator class [5250][gh5250]
Make DEFAULT_PAGINATION_CLASSNone by default.
BC Change: If your were just setting PAGE_SIZE to enable pagination you will need to add DEFAULT_PAGINATION_CLASS.
The previous default was rest_framework.pagination.PageNumberPagination. There is a system check warning to catch this case. You may silence that if you are setting pagination class on a per-view basis. [5170][gh5170]
Catch APIException from get_serializer_fields in schema generation. [5443][gh5443]
Allow custom authentication and permission classes when using include_docs_urls [5448][gh5448]
Defer translated string evaluation on validators. [5452][gh5452]
Added default value for 'detail' param into 'ValidationError' exception [5342][gh5342]
Adjust schema get_filter_fields rules to match framework [5454][gh5454]
Updated test matrix to add Django 2.0 and drop Django 1.8 & 1.9
BC Change: This removes Django 1.8 and Django 1.9 from Django REST Framework supported versions. [5457][gh5457]
Fixed a deprecation warning in serializers.ModelField [5058][gh5058]
Added a more explicit error message when get_queryset returned None [5348][gh5348]
Fix docs for Response data description [5361][gh5361]
Fix pycache/.pyc excludes when packaging [5373][gh5373]
Fix default value handling for dotted sources [5375][gh5375]
Ensure content_type is set when passing empty body to RequestFactory [5351][gh5351]
Fix ErrorDetail Documentation [5380][gh5380]
Allow optional content in the generic content form [5372][gh5372]
Updated supported values for the NullBooleanField [5387][gh5387]
Fix ModelSerializer custom named fields with source on model [5388][gh5388]
Fixed the MultipleFieldLookupMixin documentation example to properly check for object level permission [5398][gh5398]
Update get_object() example in permissions.md [5401][gh5401]
Fix authtoken management command [5415][gh5415]
Fix schema generation markdown [5421][gh5421]
Allow ChoiceField.choices to be set dynamically [5426][gh5426]
Add the project layout to the quickstart [5434][gh5434]
Reuse 'apply_markdown' function in 'render_markdown' templatetag [5469][gh5469]
Added links to drf-openapi package in docs [5470][gh5470]
Added docstrings code highlighting with pygments [5462][gh5462]
Fixed documentation rendering for views named data [5472][gh5472]
Remove deprecated schema code from DefaultRouter [5482][gh5482]
Refactor schema generation to allow per-view customisation.
BC Change: SchemaGenerator.get_serializer_fields has been refactored as AutoSchema.get_serializer_fields and drops the view argument [5354][gh5354]
3.6.x series
3.6.4
Date: [21st August 2017][3.6.4-milestone]
Ignore any invalidly formed query parameters for OrderingFilter. [5131][gh5131]
Improve memory footprint when reading large JSON requests. [5147][gh5147]
Fix schema generation for pagination. [5161][gh5161]
Fix exception when HTML_CUTOFF is set to None. [5174][gh5174]
Fix browsable API not supporting multipart/form-data correctly. [5176][gh5176]
Simplified chained comparisons and minor code fixes. [5276][gh5276]
RemoteUserAuthentication, docs, and tests. [5306][gh5306]
Revert "Cached the field's root and context property" [5313][gh5313]
Fix introspection of list field in schema. [5326][gh5326]
Fix interactive docs for multiple nested and extra methods. [5334][gh5334]
Fix/remove undefined template var "schema" [5346][gh5346]
django-filter 1.0.4 -> 1.1.0
1.1
Add Deprecations for 2.0 (792)
Improve IsoDateTimeField test clarity (790)
Fix form attr references in tests (789)
Simplify tox config, drop python 3.3 & django 1.8 (787)
Make get_filter_name a classmethod, allowing it to be overriden for each FilterClass (775)
Support active timezone (750)
Docs Typo: django_filters -> filters in docs (773)
Add Polish translations for some messages (771)
Remove support for Django 1.9 (EOL) (752)
Use required attribute from field when getting schema fields (766)
Prevent circular ImportError hiding for rest_framework sub-package (741)
Deprecate 'extra' field attrs on Filter (734)
Add SuffixedMultiWidget (681)
Fix null filtering for *Choice filters (680)
Use isort on imports (761)
Use urlencode from django.utils.http (760)
Remove OrderingFilter.help_text (757)
Update DRF test dependency to 3.6 (747)
django-cors-headers 2.0.0 -> 2.1.0
2.1.0
Django 1.11 compatibility. There were no changes to the actual library code,
so previous versions probably work, though they weren't properly tested on
1.11.
2.0.2
Fix when the check for CORS_MODEL is done to allow it to properly add
the headers and respond to OPTIONS requests.
2.0.1
Add support for specifying 'null' in CORS_ORIGIN_WHITELIST.
Once you have closed this pull request, I'll create separate pull requests for every update as soon as I find them.
This is my first visit to this fine repo so I have bundled all updates in a single pull request to make things easier for you to merge.
Close this pull request and delete the branch if you want me to start with single pull requests right away
Here's the executive summary:
Updates
Here's a list of all the updates bundled in this pull request. I've added some links to make it easier for you to find all the information you need.
Changelogs
django-environ 0.4.3 -> 0.4.4
whitenoise 3.3.0 -> 3.3.1
django-crispy-forms 1.6.1 -> 1.7.0
django-model-utils 3.0.0 -> 3.1.1
Pillow 4.2.1 -> 5.0.0
django-allauth 0.32.0 -> 0.34.0
psycopg2 2.7.1 -> 2.7.3.2
ipython 5.4.1 -> 6.2.1
django-extensions 1.8.1 -> 1.9.9
django-import-export 0.5.1 -> 0.7.0
djangorestframework 3.6.3 -> 3.7.7
django-filter 1.0.4 -> 1.1.0
django-cors-headers 2.0.0 -> 2.1.0
Once you have closed this pull request, I'll create separate pull requests for every update as soon as I find them.
That's it for now!
Happy merging! 🤖