Changelog for
python-djangorestframework-3.8.2-11.1.suse.noarch.rpm :
Tue Apr 24 14:00:00 2018 shiyf2AATTlenovo.com
- Upgrade to 3.8.2
Tue Jan 16 13:00:00 2018 shiyf2AATTlenovo.com
- Upgrade to 3.7.7
Sun Dec 24 13:00:00 2017 matwey.kornilovAATTgmail.com
- djangorestframework 3.7 requires Django 1.10+ (see Release Notes)
In particluar, it uses
from django.urls import reverse
that not existed prior 1.10
Fri Dec 15 13:00:00 2017 sbrabecAATTsuse.com
- Update to version 3.7.3:
* improvements to schema generation and the interactive API
documentation.
* Django 2.0 suport.
* Python 3.7 support.
* For more see
http://www.django-rest-framework.org/topics/release-notes/
Mon May 15 14:00:00 2017 matwey.kornilovAATTgmail.com
- update to version 3.6.3:
* Raise 404 if a URL lookup results in ValidationError. (#5126)
* Honor http_method_names on class based view, when generating
API schemas. (#5085)
* Allow overridden get_limit in LimitOffsetPagination to return
all records. (#4437)
* Fix partial update for the ListSerializer. (#4222)
* Render JSONField control correctly in browsable API. (#4999,
[#5042])
* Raise validation errors for invalid datetime in given timezone.
(#4987)
* Support restricting doc & schema shortcuts to a subset of urls.
(#4979)
* Resolve SchemaGenerator error with paginators that have no
page_size attribute. (#5086, #3692)
* Resolve HyperlinkedRelatedField exception on string with %20
instead of space. (#4748, #5078)
* Customizable schema generator classes. (#5082)
* Update existing vary headers in response instead of overwriting
them. (#5047)
* Support passing .as_view() to view instance. (#5053)
* Use correct exception handler when settings overridden on a
view. (#5055, #5054)
* Update Boolean field to support \'yes\' and \'no\' values. (#5038)
* Fix unique validator for ChoiceField. (#5004, #5026, #5028)
* JavaScript cleanups in API Docs. (#5001)
* Include URL path regexs in API schemas where valid. (#5014)
* Correctly set scheme in coreapi TokenAuthentication. (#5000,
[#4994])
* HEAD requests on ViewSets should not return 405. (#4705, #4973,
[#4864])
* Support usage of \'source\' in extra_kwargs. (#4688)
* Fix invalid content type for schema.js (#4968)
* Fix DjangoFilterBackend inheritance issues. (#5089, #5117)
- changes from 3.6.2
* Support for Safari & IE in API docs. (#4959, #4961)
* Add missing mark_safe in API docs template tags. (#4952, #4953)
* Add missing glyicon fonts. (#4950, #4951)
* Fix One-to-one fields in API docs. (#4955, #4956)
* Test clean ups. (#4949)
- changes from 3.6.1
* Ensure markdown dependancy is optional. (#4947)
- changes from 3.5.x:
* Built-in interactive API documentation support.
* A new JavaScript client library.
Mon Feb 6 13:00:00 2017 sbrabecAATTsuse.com
- Update to version 3.5.3:
* Use fields or exclude on serializer classes.
* Microsecond precision when returning time or datetime.
* Relational choices no longer displayed in OPTIONS requests.
* Improved schema generation.
* Requests test client.
* Core API client.
* Live tests.
* RAML support.
* Validation codes.
* Client upload & download support.
* Deprecations.
* Other improvements.
* For details see:
http://www.django-rest-framework.org/topics/3.4-announcement/
http://www.django-rest-framework.org/topics/3.5-announcement/
Fri Apr 1 14:00:00 2016 matwey.kornilovAATTgmail.com
- Update to version 3.3.3:
* Remove version string from templates. Thanks to AATTblag for the report and
fixes. (#3878, #3913, #3912)
* Fixes vertical html layout for BooleanField. Thanks to Mikalai Radchuk for
the fix. (#3910)
* Silenced deprecation warnings on Django 1.8. Thanks to Simon Charette for
the fix. (#3903)
* Internationalization for authtoken. Thanks to Michael Nacharov for the fix.
(#3887, #3968)
* Fix Token model as abstract when the authtoken application isn\'t declared.
* Thanks to Adam Thomas for the report. (#3860, #3858)
* Improve Markdown version compatibility. Thanks to Michael J. Schultz for the
fix. (#3604, #3842)
* QueryParameterVersioning does not use DEFAULT_VERSION setting. Thanks to
* Brad Montgomery for the fix. (#3833)
* Add an explicit on_delete on the models. Thanks to Mads Jensen for the fix.
(#3832)
* Fix DateField.to_representation to work with Python 2 unicode. Thanks to
* Mikalai Radchuk for the fix. (#3819)
* Fixed TimeField not handling string times. Thanks to Areski Belaid for the
fix. (#3809)
* Avoid updates of Meta.extra_kwargs. Thanks to Kevin Massey for the report
and fix. (#3805, #3804)
* Fix nested validation error being rendered incorrectly. Thanks to Craig de
Stigter for the fix. (#3801)
* 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, #3636, #3637)
* Improve Rest Framework Settings file setup time. Thanks to Miles Hutson for
the report and Mads Jensen for the fix. (#3786, #3815)
* Improve authtoken compatibility with Django 1.9. Thanks to S. Andrew
Sheppard for the fix. (#3785)
* Fix Min/MaxValueValidator transfer from a model\'s DecimalField. Thanks to
Kevin Brown for the fix. (#3774)
* Improve HTML title in the Browsable API. Thanks to Mike Lissner for the
report and fix. (#3769)
* Fix AutoFilterSet to inherit from default_filter_set. Thanks to Tom Linford
for the fix. (#3753)
* Fix transifex config to handle the new Chinese language codes. Thanks to
AATTnypisces for the report and fix. (#3739)
* DateTimeField does not handle empty values correctly. Thanks to Mick Parker for the report and fix. (#3731, #3726)
* Raise error when setting a removed rest_framework setting. Thanks to Luis
San Pablo for the fix. (#3715)
* Add missing csrf_token in AdminRenderer post form. Thanks to Piotr
Śniegowski for the fix. (#3703)
* Refactored _get_reverse_relationships() to use correct to_field. Thanks to
Benjamin Phillips for the fix. (#3696)
* Document the use of get_queryset for RelatedField. Thanks to Ryan Hiebert
for the fix. (#3605)
* Fix empty pk detection in HyperlinkRelatedField.get_url. Thanks to AATTjslang
for the fix (#3962)
Fri Jul 24 14:00:00 2015 matwey.kornilovAATTgmail.com
- Update to version 3.1.3:
* A super-smart cursor pagination scheme.
* An improved pagination API, supporting header or in-body pagination styles.
* Pagination controls rendering in the browsable API.
* Better support for API versioning.
* Built-in internationalization support.
* Support for Django 1.8\'s HStoreField and ArrayField.
Mon Jul 13 14:00:00 2015 toddrme2178AATTgmail.com
- Fix building on SLES 11
Sun Jan 11 13:00:00 2015 p.drouandAATTgmail.com
- Update to version 3.0.3
* Fix MinValueValidator on models.DateField. (#2369)
* Fix serializer missing context when pagination is used. (#2355)
* Namespaced router URLs are now supported by the DefaultRouter. (#2351)
* required=False allows omission of value for output. (#2342)
* Use textarea input for models.TextField. (#2340)
* Use custom ListSerializer for pagination if required. (#2331, #2327)
* Better behavior with null and \'\' for blank HTML fields. (#2330)
* Ensure fields in exclude are model fields. (#2319)
* Fix IntegerField and max_length argument incompatibility. (#2317)
* Fix the YAML encoder for 3.0 serializers. (#2315, #2283)
* Fix the behavior of empty HTML fields. (#2311, #1101)
* Fix Metaclass attribute depth ignoring fields attribute. (#2287)
* Fix format_suffix_patterns to work with Django\'s i18n_patterns. (#2278)
* Ability to customize router URLs for custom actions, using url_path. (#2010)
* Don\'t install Django REST Framework as egg. (#2386)
- Provide and obsolete redundant python-django-rest-framework
Fri Nov 29 13:00:00 2013 david.bahidAATTemc.com
- update to 2.3.12
* removed patch to removed unicode support to enable SLES11
not needed for SLES11 SP3 with python 2.6.8 and SP2 fails
even if updated patch is applied (and SP3 fails with patch).
* Move to 2.3 base release for the restframework
introduces the ViewSet and Router classes
simplified generic view classes
easier serializers
more flexible filtering
simpler URL lookups
file upload parser
decimal field
add reverse relationships to the fields option on a ModelSerializer class
get_related_field and get_nested_field method signatures have now changed
mechanics of names and descriptions used in the browseable API are
generated has been modified and cleaned up
* see http://django-rest-framework.org/topics/2.3-announcement for more details
- Remove django-rest-framework-no-unicode-literals.diff; older python
versions are unsupported anyway
Thu Oct 24 14:00:00 2013 speilickeAATTsuse.com
- Require python-setuptools instead of distribute (upstreams merged)
Sat Feb 16 13:00:00 2013 jfunkAATTfunktronics.ca
- Update to 2.2.0
* Python 3 support.
* Added a post_save() hook to the generic views.
* Allow serializers to handle dicts as well as objects.
* Deprecate ManyRelatedField() syntax in favor of RelatedField(many=True)
* Deprecate null=True on relations in favor of required=False.
* Deprecate blank=True on CharFields, just use required=False.
* Deprecate optional obj argument in permissions checks in favor of
has_object_permission.
* Deprecate implicit hyperlinked relations behavior.
* Bugfix: Fix broken DjangoModelPermissions.
* Bugfix: Allow serializer output to be cached.
* Bugfix: Fix styling on browsable API login.
* Bugfix: Fix issue with deserializing empty to-many relations.
* Bugfix: Ensure model field validation is still applied for ModelSerializer
subclasses with an custom .restore_object() method.
- Disable unicode_literals feature on older Python
Mon Jan 21 13:00:00 2013 jfunkAATTfunktronics.ca
- Update to 2.1.16:
* Deprecate django.utils.simplejson in favor of Python 2.6\'s built-in json
module.
* Bugfix: auto_now, auto_now_add and other editable=False fields now default
to read-only.
* Bugfix: PK fields now only default to read-only if they are an AutoField
or if editable=False.
* Bugfix: Validation errors instead of exceptions when serializers receive
incorrect types.
* Bugfix: Validation errors instead of exceptions when related fields
receive incorrect types.
* Bugfix: Handle ObjectDoesNotExist exception when serializing null reverse
one-to-one
* Note: Prior to 2.1.16, The Decimals would render in JSON using floating
point if simplejson was installed, but otherwise render using string
notation. Now that use of simplejson has been deprecated, Decimals will
consistently render using string notation. See #582 for more details.
- 2.1.15
* Added PATCH support.
* Added RetrieveUpdateAPIView.
* Remove unused internal save_m2m flag on ModelSerializer.save().
* Tweak behavior of hyperlinked fields with an explicit format suffix.
* Relation changes are now persisted in .save() instead of in
.restore_object().
* Bugfix: Fix issue with FileField raising exception instead of validation
error when files=None.
* Bugfix: Partial updates should not set default values if field is not
included.
Tue Jan 1 13:00:00 2013 jfunkAATTfunktronics.ca
- Update to 2.1.14:
* Bugfix: ModelSerializers now include reverse FK fields on creation.
* Bugfix: Model fields with blank=True are now required=False by default.
* Bugfix: Nested serializers now support nullable relationships.
* Note: From 2.1.14 onwards, relational fields move out of the fields.py
module and into the new relations.py module, in order to seperate them
from regular data type fields, such as CharField and IntegerField. This
change will not affect user code, so long as it\'s following the
recommended import style of from rest_framework import serializers and
refering to fields using the style serializers.PrimaryKeyRelatedField.
- 2.1.13
* Support configurable STATICFILES_STORAGE storage.
* Bugfix: Related fields now respect the required flag, and may be
required=False.
- 2.1.12
* Bugfix: Fix bug that could occur using ChoiceField.
* Bugfix: Fix exception in browseable API on DELETE.
* Bugfix: Fix issue where pk was was being set to a string if set by URL
kwarg.
- 2.1.11
* Bugfix: Fix issue with M2M fields in browseable API.
- 2.1.10
* Bugfix: Ensure read-only fields don\'t have model validation applied.
* Bugfix: Fix hyperlinked fields in paginated results.
- 2.1.9
* Bugfix: Fix broken nested serialization.
* Bugfix: Fix Meta.fields only working as tuple not as list.
* Bugfix: Edge case if unnecessarily specifying required=False on read only
field.
- 2.1.8
* Fix for creating nullable Foreign Keys with \'\' as well as None.
* Added null=
related field option.
- 2.1.7
* Serializers now properly support nullable Foreign Keys.
* Serializer validation now includes model field validation, such as
uniqueness constraints.
* Support \'true\' and \'false\' string values for BooleanField.
* Added pickle support for serialized data.
* Support source=\'dotted.notation\' style for nested serializers.
* Make Request.user settable.
* Bugfix: Fix RegexField to work with BrowsableAPIRenderer
- 2.1.6
* Bugfix: Unfix DjangoModelPermissions. (I am a doofus.)
- 2.1.5
* Bugfix: Fix DjangoModelPermissions.
- 2.1.4
* Support for partial updates with serializers.
* Added RegexField.
* Added SerializerMethodField.
* Serializer performance improvements.
* Added obtain_token_view to get tokens when using TokenAuthentication.
* Bugfix: Django 1.5 configurable user support for TokenAuthentication.
Wed Nov 21 13:00:00 2012 jfunkAATTfunktronics.ca
- Update to 2.1.3:
* Added FileField and ImageField. For use with MultiPartParser.
* Added URLField and SlugField.
* Support for read_only_fields on ModelSerializer classes.
* Support for clients overriding the pagination page sizes. Use the
PAGINATE_BY_PARAM setting or set the paginate_by_param attribute on a
generic view.
* 201 Responses now return a \'Location\' header.
* Bugfix: Serializer fields now respect max_length.
Tue Nov 13 13:00:00 2012 jfunkAATTfunktronics.ca
- Update to 2.1.2:
* Filtering support.
* Bugfix: Support creation of objects with reverse M2M relations.
- 2.1.1
* Support use of HTML exception templates. Eg. 403.html
* Hyperlinked fields take optional slug_field, slug_url_kwarg and
pk_url_kwarg arguments.
* Bugfix: Deal with optional trailing slashs properly when generating
breadcrumbs.
* Bugfix: Make textareas same width as other fields in browsable API.
* Private API change: .get_serializer now uses same instance and data
ordering as serializer initialization.
- 2.1.0
* Serializer instance and data keyword args have their position swapped.
* queryset argument is now optional on writable model fields.
* Hyperlinked related fields optionally take slug_field and slug_url_kwarg
arguments.
* Support Django\'s cache framework.
* Minor field improvements. (Don\'t stringify dicts, more robust many-pk
fields.)
* Bugfix: Support choice field in Browseable API.
* Bugfix: Related fields with read_only=True do not require a queryset
argument.
- 2.0.2
* Fix issues with pk related fields in the browsable API.
- 2.0.1
* Add support for relational fields in the browsable API.
* Added SlugRelatedField and ManySlugRelatedField.
* If PUT creates an instance return \'201 Created\', instead of \'200 OK\'.
- 2.0.0
* Fix all of the things. (Well, almost.)
* For more information please see the 2.0 announcement.
- 0.4.0
* Supports Django 1.5.
* Fixes issues with \'HEAD\' method.
* Allow views to specify template used by TemplateRenderer
* More consistent error responses
* Some serializer fixes
* Fix internet explorer ajax behaviour
* Minor xml and yaml fixes
* Improve setup (eg use staticfiles, not the defunct ADMIN_MEDIA_PREFIX)
* Sensible absolute URL generation, not using hacky set_script_prefix
- 0.3.3
* Added DjangoModelPermissions class to support django.contrib.auth style
permissions.
* Use staticfiles for css files.
* Easier to override. Won\'t conflict with customised admin styles (eg
grappelli)
* Templates are now nicely namespaced.
* Allows easier overriding.
* Drop implied \'pk\' filter if last arg in urlconf is unnamed.
* Too magical. Explict is better than implicit.
* Saner template variable autoescaping.
* Tider setup.py
* Updated for URLObject 2.0
* Bug with PerUserThrottling when user contains unicode chars.
- 0.3.2
* Fix 403 for POST and PUT from the UI with UserLoggedInAuthentication
(#115)
* serialize_model method in serializer.py may cause wrong value (#73)
* Fix Error when clicking OPTIONS button (#146)
* And many other fixes
* Remove short status codes
* Zen of Python: \"There should be one-- and preferably only one --obvious
way to do it.\"
* get_name, get_description become methods on the view - makes them
overridable.
* Improved model mixin API - Hooks for build_query, get_instance_data,
get_model, get_queryset, get_ordering
- Run tests
- Ran spec-cleaner on spec
Thu Jan 12 13:00:00 2012 jfunkAATTfunktronics.ca
- Initial release