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 djangorestframework to 3.5.4 #65

Open
wants to merge 1 commit into
base: ng
Choose a base branch
from

Conversation

pyup-bot
Copy link

There's a new version of djangorestframework available.
You are currently using 3.2.2. I have updated it to 3.5.4

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

Changelog

3.5.3

Date: [7th November 2016][3.5.3-milestone]

  • Don't raise incorrect FilterSet deprecation warnings. ([4660][gh4660], [4643][gh4643], [4644][gh4644])
  • Schema generation should not raise 404 when a view permission class does. ([4645][gh4645], [4646][gh4646])
  • Add autofocus support for input controls. ([4650][gh4650])

3.5.2

Date: [1st November 2016][3.5.2-milestone]

  • Restore exception tracebacks in Python 2.7. ([4631][gh4631], [4638][gh4638])
  • Properly display dicts in the admin console. ([4532][gh4532], [4636][gh4636])
  • Fix is_simple_callable with variable args, kwargs. ([4622][gh4622], [4602][gh4602])
  • Support 'on'/'off' literals with BooleanField. ([4640][gh4640], [4624][gh4624])
  • Enable cursor pagination of value querysets. ([4569][gh4569])
  • Fix support of get_full_details() for Throttled exceptions. ([4627][gh4627])
  • Fix FilterSet proxy. ([4620][gh4620])
  • Make serializer fields import explicit. ([4628][gh4628])
  • Drop redundant requests adapter. ([4639][gh4639])

3.5.1

Date: [21st October 2016][3.5.1-milestone]

  • Make rest_framework/compat.py imports. ([4612][gh4612], [4608][gh4608], [4601][gh4601])
  • Fix bug in schema base path generation. ([4611][gh4611], [4605][gh4605])
  • Fix broken case of ListSerializer with single item. ([4609][gh4609], [4606][gh4606])
  • Remove bare raise for Python 3.5 compat. ([4600][gh4600])

3.5.0

Date: [20th October 2016][3.5.0-milestone]


3.4.x series

3.4.7

Date: [21st September 2016][3.4.7-milestone]

  • Fallback behavior for request parsing when request.POST already accessed. ([3951][gh3951], [4500][gh4500])
  • Fix regression of RegexField. ([4489][gh4489], [4490][gh4490], [2617][gh2617])
  • Missing comma in admin.html causing CSRF error. ([4472][gh4472], [4473][gh4473])
  • Fix response rendering with empty context. ([4495][gh4495])
  • Fix indentation regression in API listing. ([4493][gh4493])
  • Fixed an issue where the incorrect value is set to ResolverMatch.func_name of api_view decorated view. ([4465][gh4465], [4462][gh4462])
  • Fix APIClient.get() when path contains unicode arguments ([4458][gh4458])

3.4.6

Date: [23rd August 2016][3.4.6-milestone]

  • Fix malformed Javascript in browsable API. ([4435][gh4435])
  • Skip HiddenField from Schema fields. ([4425][gh4425], [4429][gh4429])
  • Improve Create to show the original exception traceback. ([3508][gh3508])
  • Fix AdminRenderer display of PK only related fields. ([4419][gh4419], [4423][gh4423])

3.4.5

Date: [19th August 2016][3.4.5-milestone]

  • Improve debug error handling. ([4416][gh4416], [4409][gh4409])
  • Allow custom CSRF_HEADER_NAME setting. ([4415][gh4415], [4410][gh4410])
  • Include .action attribute on viewsets when generating schemas. ([4408][gh4408], [4398][gh4398])
  • Do not include request.FILES items in request.POST. ([4407][gh4407])
  • Fix rendering of checkbox multiple. ([4403][gh4403])
  • Fix docstring of Field.get_default. ([4404][gh4404])
  • Replace utf8 character with its ascii counterpart in README. ([4412][gh4412])

3.4.4

Date: [12th August 2016][3.4.4-milestone]

  • Ensure views are fully initialized when generating schemas. ([4373][gh4373], [4382][gh4382], [4383][gh4383], [4279][gh4279], [4278][gh4278])
  • Add form field descriptions to schemas. ([4387][gh4387])
  • Fix category generation for schema endpoints. ([4391][gh4391], [4394][gh4394], [4390][gh4390], [4386][gh4386], [4376][gh4376], [4329][gh4329])
  • Don't strip empty query params when paginating. ([4392][gh4392], [4393][gh4393], [4260][gh4260])
  • Do not re-run query for empty results with LimitOffsetPagination. ([4201][gh4201], [4388][gh4388])
  • Stricter type validation for CharField. ([4380][gh4380], [3394][gh3394])
  • RelatedField.choices should preserve non-string values. ([4111][gh4111], [4379][gh4379], [3365][gh3365])
  • Test case for rendering checkboxes in vertical form style. ([4378][gh4378], [3868][gh3868], [3868][gh3868])
  • Show error traceback HTML in browsable API ([4042][gh4042], [4172][gh4172])
  • Fix handling of ALLOWED_VERSIONS and no DEFAULT_VERSION. [4370][gh4370]
  • Allow max_digits=None on DecimalField. ([4377][gh4377], [4372][gh4372])
  • Limit queryset when rendering relational choices. ([4375][gh4375], [4122][gh4122], [3329][gh3329], [3330][gh3330], [3877][gh3877])
  • Resolve form display with ChoiceField, MultipleChoiceField and non-string choices. ([4374][gh4374], [4119][gh4119], [4121][gh4121], [4137][gh4137], [4120][gh4120])
  • Fix call to TemplateHTMLRenderer.resolve_context() fallback method. ([4371][gh4371])

3.4.3

Date: [5th August 2016][3.4.3-milestone]

  • Include fallaback for users of older TemplateHTMLRenderer internal API. ([4361][gh4361])

3.4.2

Date: [5th August 2016][3.4.2-milestone]

  • Include kwargs passed to 'as_view' when generating schemas. ([4359][gh4359], [4330][gh4330], [4331][gh4331])
  • Access request.user.is_authenticated as property not method, under Django 1.10+ ([4358][gh4358], [4354][gh4354])
  • Filter HEAD out from schemas. ([4357][gh4357])
  • extra_kwargs takes precedence over uniqueness kwargs. ([4198][gh4198], [4199][gh4199], [4349][gh4349])
  • Correct descriptions when tabs are used in code indentation. ([4345][gh4345], [4347][gh4347])*
  • Change template context generation in TemplateHTMLRenderer. ([4236][gh4236])
  • Serializer defaults should not be included in partial updates. ([4346][gh4346], [3565][gh3565])
  • Consistent behavior & descriptive error from FileUploadParser when filename not included. ([4340][gh4340], [3610][gh3610], [4292][gh4292], [4296][gh4296])
  • DecimalField quantizes incoming digitals. ([4339][gh4339], [4318][gh4318])
  • Handle non-string input for IP fields. ([4335][gh4335], [4336][gh4336], [4338][gh4338])
  • Fix leading slash handling when Schema generation includes a root URL. ([4332][gh4332])
  • Test cases for DictField with allow_null options. ([4348][gh4348])
  • Update tests from Django 1.10 beta to Django 1.10. ([4344][gh4344])

3.4.1

Date: [28th July 2016][3.4.1-milestone]

  • Added root_renderers argument to DefaultRouter. ([4323][gh4323], [4268][gh4268])
  • Added url and schema_url arguments. ([4321][gh4321], [4308][gh4308], [4305][gh4305])
  • Unique together checks should apply to read-only fields which have a default. ([4316][gh4316], [4294][gh4294])
  • Set view.format_kwarg in schema generator. ([4293][gh4293], [4315][gh4315])
  • Fix schema generator for views with pagination_class = None. ([4314][gh4314], [4289][gh4289])
  • Fix schema generator for views with no get_serializer_class. ([4265][gh4265], [4285][gh4285])
  • Fixes for media type parameters in Accept and Content-Type headers. ([4287][gh4287], [4313][gh4313], [4281][gh4281])
  • Use verbose_name instead of object_name in error messages. ([4299][gh4299])
  • Minor version update to Twitter Bootstrap. ([4307][gh4307])
  • SearchFilter raises error when using with related field. ([4302][gh4302], [4303][gh4303], [4298][gh4298])
  • Adding support for RFC 4918 status codes. ([4291][gh4291])
  • Add LICENSE.md to the built wheel. ([4270][gh4270])
  • Serializing "complex" field returns None instead of the value since 3.4 ([4272][gh4272], [4273][gh4273], [4288][gh4288])

3.4.0

Date: [14th July 2016][3.4.0-milestone]

  • Don't strip microseconds in JSON output. ([4256][gh4256])
  • Two slightly different iso 8601 datetime serialization. ([4255][gh4255])
  • Resolve incorrect inclusion of media type parameters. ([4254][gh4254])
  • Response Content-Type potentially malformed. ([4253][gh4253])
  • Fix setup.py error on some platforms. ([4246][gh4246])
  • Move alternate formats in coreapi into separate packages. ([4244][gh4244])
  • Add localize keyword argument to DecimalField. ([4233][gh4233])
  • Fix issues with routers for custom list-route and detail-routes. ([4229][gh4229])
  • Namespace versioning with nested namespaces. ([4219][gh4219])
  • Robust uniqueness checks. ([4217][gh4217])
  • Minor refactoring of must_call_distinct. ([4215][gh4215])
  • Overridable offset cutoff in CursorPagination. ([4212][gh4212])
  • Pass through strings as-in with date/time fields. ([4196][gh4196])
  • Add test confirming that required=False is valid on a relational field. ([4195][gh4195])
  • In LimitOffsetPagination limit=0 should revert to default limit. ([4194][gh4194])
  • Exclude read_only=True fields from unique_together validation & add docs. ([4192][gh4192])
  • Handle bytestrings in JSON. ([4191][gh4191])
  • JSONField(binary=True) represents using binary strings, which JSONRenderer does not support. ([4187][gh4187])
  • JSONField(binary=True) represents using binary strings, which JSONRenderer does not support. ([4185][gh4185])
  • More robust form rendering in the browsable API. ([4181][gh4181])
  • Empty cases of .validated_data and .errors as lists not dicts for ListSerializer. ([4180][gh4180])
  • Schemas & client libraries. ([4179][gh4179])
  • Removed AUTH_USER_MODEL compat property. ([4176][gh4176])
  • Clean up existing deprecation warnings. ([4166][gh4166])
  • Django 1.10 support. ([4158][gh4158])
  • Updated jQuery version to 1.12.4. ([4157][gh4157])
  • More robust default behavior on OrderingFilter. ([4156][gh4156])
  • description.py codes and tests removal. ([4153][gh4153])
  • Wrap guardian.VERSION in tuple. ([4149][gh4149])
  • Refine validator for fields with <source=> kwargs. ([4146][gh4146])
  • Fix None values representation in childs of ListField, DictField. ([4118][gh4118])
  • Resolve TimeField representation for midnight value. ([4107][gh4107])
  • Set proper status code in AdminRenderer for the redirection after POST/DELETE requests. ([4106][gh4106])
  • TimeField render returns None instead of 00:00:00. ([4105][gh4105])
  • Fix incorrectly named zh-hans and zh-hant locale path. ([4103][gh4103])
  • Prevent raising exception when limit is 0. ([4098][gh4098])
  • TokenAuthentication: Allow custom keyword in the header. ([4097][gh4097])
  • Handle incorrectly padded HTTP basic auth header. ([4090][gh4090])
  • LimitOffset pagination crashes Browseable API when limit=0. ([4079][gh4079])
  • Fixed DecimalField arbitrary precision support. ([4075][gh4075])
  • Added support for custom CSRF cookie names. ([4049][gh4049])
  • Fix regression introduced by 4035. ([4041][gh4041])
  • No auth view failing permission should raise 403. ([4040][gh4040])
  • Fix string_types / text_types confusion. ([4025][gh4025])
  • Do not list related field choices in OPTIONS requests. ([4021][gh4021])
  • Fix typo. ([4008][gh4008])
  • Reorder initializing the view. ([4006][gh4006])
  • Type error in DjangoObjectPermissionsFilter on Python 3.4. ([4005][gh4005])
  • Fixed use of deprecated Query.aggregates. ([4003][gh4003])
  • Fix blank lines around docstrings. ([4002][gh4002])
  • Fixed admin pagination when limit is 0. ([3990][gh3990])
  • OrderingFilter adjustements. ([3983][gh3983])
  • Non-required serializer related fields. ([3976][gh3976])
  • Using safer calling way of "api_view" in tutorial. ([3971][gh3971])
  • ListSerializer doesn't handle unique_together constraints. ([3970][gh3970])
  • Add missing migration file. ([3968][gh3968])
  • OrderingFilter should call get_serializer_class() to determine default fields. ([3964][gh3964])
  • Remove old django checks from tests and compat. ([3953][gh3953])
  • Support callable as the value of initial for any serializer.Field. ([3943][gh3943])
  • Prevented unnecessary distinct() call in SearchFilter. ([3938][gh3938])
  • Fix None UUID ForeignKey serialization. ([3936][gh3936])
  • Drop EOL Django 1.7. ([3933][gh3933])
  • Add missing space in serializer error message. ([3926][gh3926])
  • Fixed _force_text_recursive typo. ([3908][gh3908])
  • Attempt to address Django 2.0 deprecate warnings related to field.rel. ([3906][gh3906])
  • Fix parsing multipart data using a nested serializer with list. ([3820][gh3820])
  • Resolving APIs URL to different namespaces. ([3816][gh3816])
  • Do not HTML-escape help_text in Browsable API forms. ([3812][gh3812])
  • OPTIONS fetches and shows all possible foreign keys in choices field. ([3751][gh3751])
  • Django 1.9 deprecation warnings ([3729][gh3729])
  • Test case for 3598 ([3710][gh3710])
  • Adding support for multiple values for search filter. ([3541][gh3541])
  • Use get_serializer_class in ordering filter. ([3487][gh3487])
  • Serializers with many=True should return empty list rather than empty dict. ([3476][gh3476])
  • LimitOffsetPagination limit=0 fix. ([3444][gh3444])
  • Enable Validators to defer string evaluation and handle new string format. ([3438][gh3438])
  • Unique validator is executed and breaks if field is invalid. ([3381][gh3381])
  • Do not ignore overridden View.get_view_name() in breadcrumbs. ([3273][gh3273])
  • Retry form rendering when rendering with serializer fails. ([3164][gh3164])
  • Unique constraint prevents nested serializers from updating. ([2996][gh2996])
  • Uniqueness validators should not be run for excluded (read_only) fields. ([2848][gh2848])
  • UniqueValidator raises exception for nested objects. ([2403][gh2403])
  • lookup_type is deprecated in favor of lookup_expr. ([4259][gh4259])

3.3.x series

3.3.3

Date: [14th March 2016][3.3.3-milestone].

  • Remove version string from templates. Thanks to blag for the report and fixes. ([3878][gh3878], [3913][gh3913], [3912][gh3912])
  • Fixes vertical html layout for BooleanField. Thanks to Mikalai Radchuk for the fix. ([3910][gh3910])
  • Silenced deprecation warnings on Django 1.8. Thanks to Simon Charette for the fix. ([3903][gh3903])
  • Internationalization for authtoken. Thanks to Michael Nacharov for the fix. ([3887][gh3887], [3968][gh3968])
  • Fix Token model as abstract when the authtoken application isn't declared. Thanks to Adam Thomas for the report. ([3860][gh3860], [3858][gh3858])
  • Improve Markdown version compatibility. Thanks to Michael J. Schultz for the fix. ([3604][gh3604], [3842][gh3842])
  • QueryParameterVersioning does not use DEFAULT_VERSION setting. Thanks to Brad Montgomery for the fix. ([3833][gh3833])
  • Add an explicit on_delete on the models. Thanks to Mads Jensen for the fix. ([3832][gh3832])
  • Fix DateField.to_representation to work with Python 2 unicode. Thanks to Mikalai Radchuk for the fix. ([3819][gh3819])
  • Fixed TimeField not handling string times. Thanks to Areski Belaid for the fix. ([3809][gh3809])
  • Avoid updates of Meta.extra_kwargs. Thanks to Kevin Massey for the report and fix. ([3805][gh3805], [3804][gh3804])
  • Fix nested validation error being rendered incorrectly. Thanks to Craig de Stigter for the fix. ([3801][gh3801])
  • Document how to avoid CSRF and missing button issues with django-crispy-forms. Thanks to Emmanuelle Delescolle, José Padilla and Luis San Pablo for the report, analysis and fix. ([3787][gh3787], [3636][gh3636], [3637][gh3637])
  • Improve Rest Framework Settings file setup time. Thanks to Miles Hutson for the report and Mads Jensen for the fix. ([3786][gh3786], [3815][gh3815])
  • Improve authtoken compatibility with Django 1.9. Thanks to S. Andrew Sheppard for the fix. ([3785][gh3785])
  • Fix Min/MaxValueValidator transfer from a model's DecimalField. Thanks to Kevin Brown for the fix. ([3774][gh3774])
  • Improve HTML title in the Browsable API. Thanks to Mike Lissner for the report and fix. ([3769][gh3769])
  • Fix AutoFilterSet to inherit from default_filter_set. Thanks to Tom Linford for the fix. ([3753][gh3753])
  • Fix transifex config to handle the new Chinese language codes. Thanks to nypisces for the report and fix. ([3739][gh3739])
  • DateTimeField does not handle empty values correctly. Thanks to Mick Parker for the report and fix. ([3731][gh3731], [3726][gh3728])
  • Raise error when setting a removed rest_framework setting. Thanks to Luis San Pablo for the fix. ([3715][gh3715])
  • Add missing csrf_token in AdminRenderer post form. Thanks to Piotr Śniegowski for the fix. ([3703][gh3703])
  • Refactored _get_reverse_relationships() to use correct to_field. Thanks to Benjamin Phillips for the fix. ([3696][gh3696])
  • Document the use of get_queryset for RelatedField. Thanks to Ryan Hiebert for the fix. ([3605][gh3605])
  • Fix empty pk detection in HyperlinkRelatedField.get_url. Thanks to jslang for the fix ([3962][gh3962])

3.3.2

Date: [14th December 2015][3.3.2-milestone].

  • ListField enforces input is a list. ([3513][gh3513])
  • Fix regression hiding raw data form. ([3600][gh3600], [3578][gh3578])
  • Fix Python 3.5 compatibility. ([3534][gh3534], [3626][gh3626])
  • Allow setting a custom Django Paginator in pagination.PageNumberPagination. ([3631][gh3631], [3684][gh3684])
  • Fix relational fields without to_fields attribute. ([3635][gh3635], [3634][gh3634])
  • Fix template.render deprecation warnings for Django 1.9. ([3654][gh3654])
  • Sort response headers in browsable API renderer. ([3655][gh3655])
  • Use related_objects api for Django 1.9+. ([3656][gh3656], [3252][gh3252])
  • Add confirm modal when deleting. ([3228][gh3228], [3662][gh3662])
  • Reveal previously hidden AttributeErrors and TypeErrors while calling has_[object_]permissions. ([3668][gh3668])
  • Make DRF compatible with multi template engine in Django 1.8. ([3672][gh3672])
  • Update NestedBoundField to also handle empty string when rendering its form. ([3677][gh3677])
  • Fix UUID validation to properly catch invalid input types. ([3687][gh3687], [3679][gh3679])
  • Fix caching issues. ([3628][gh3628], [3701][gh3701])
  • Fix Admin and API browser for views without a filter_class. ([3705][gh3705], [3596][gh3596], [3597][gh3597])
  • Add app_name to rest_framework.urls. ([3714][gh3714])
  • Improve authtoken's views to support url versioning. ([3718][gh3718], [3723][gh3723])

3.3.1

Date: [4th November 2015][3.3.1-milestone].

  • Resolve parsing bug when accessing request.POST ([3592][gh3592])
  • Correctly deal with to_field referring to primary key. ([3593][gh3593])
  • Allow filter HTML to render when no filter_class is defined. ([3560][gh3560])
  • Fix admin rendering issues. ([3564][gh3564], [3556][gh3556])
  • Fix issue with DecimalValidator. ([3568][gh3568])

3.3.0

Date: [28th October 2015][3.3.0-milestone].

  • HTML controls for filters. ([3315][gh3315])
  • Forms API. ([3475][gh3475])
  • AJAX browsable API. ([3410][gh3410])
  • Added JSONField. ([3454][gh3454])
  • Correctly map to_field when creating ModelSerializer relational fields. ([3526][gh3526])
  • Include keyword arguments when mapping FilePathField to a serializer field. ([3536][gh3536])
  • Map appropriate model error_messages on ModelSerializer uniqueness constraints. ([3435][gh3435])
  • Include max_length constraint for ModelSerializer fields mapped from TextField. ([3509][gh3509])
  • Added support for Django 1.9. ([3450][gh3450], [3525][gh3525])
  • Removed support for Django 1.5 & 1.6. ([3421][gh3421], [3429][gh3429])
  • Removed 'south' migrations. ([3495][gh3495])

3.2.x series

3.2.5

Date: [27th October 2015][3.2.5-milestone].

  • Escape username in optional logout tag. ([3550][gh3550])

3.2.4

Date: [21th September 2015][3.2.4-milestone].

  • Don't error on missing ViewSet.search_fields attribute. ([3324][gh3324], [3323][gh3323])
  • Fix allow_empty not working on serializers with many=True. ([3361][gh3361], [3364][gh3364])
  • Let DurationField accepts integers. ([3359][gh3359])
  • Multi-level dictionaries not supported in multipart requests. ([3314][gh3314])
  • Fix ListField truncation on HTTP PATCH ([3415][gh3415], [2761][gh2761])

3.2.3

Date: [24th August 2015][3.2.3-milestone].

  • Added html_cutoff and html_cutoff_text for limiting select dropdowns. ([3313][gh3313])
  • Added regex style to SearchFilter. ([3316][gh3316])
  • Resolve issues with setting blank HTML fields. ([3318][gh3318]) ([3321][gh3321])
  • Correctly display existing 'select multiple' values in browsable API forms. ([3290][gh3290])
  • Resolve duplicated validation message for IPAddressField. ([3249[gh3249]) ([3250][gh3250])
  • Fix to ensure admin renderer continues to work when pagination is disabled. ([3275][gh3275])
  • Resolve error with LimitOffsetPagination when count=0, offset=0. ([3303][gh3303])

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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant