From 3dc40f9572b651da8b59f55dc6a948540eae16f5 Mon Sep 17 00:00:00 2001 From: Carlton Gibson Date: Mon, 6 Nov 2017 12:05:08 +0100 Subject: [PATCH] Version 3.7.2 Release (#5563) * Begin release notes for 3.7.2 * Add release notes fro merged issues. * Finalise release notes * Increment version number to 3.7.2 * Update translations --- docs/topics/release-notes.md | 63 ++++++++++++++++++ rest_framework/__init__.py | 2 +- .../locale/ar/LC_MESSAGES/django.mo | Bin 5766 -> 6566 bytes .../locale/ar/LC_MESSAGES/django.po | 25 +++---- .../locale/nb/LC_MESSAGES/django.mo | Bin 9803 -> 9803 bytes .../locale/nb/LC_MESSAGES/django.po | 7 +- 6 files changed, 81 insertions(+), 16 deletions(-) diff --git a/docs/topics/release-notes.md b/docs/topics/release-notes.md index 7549d6964..fe8cb5331 100644 --- a/docs/topics/release-notes.md +++ b/docs/topics/release-notes.md @@ -41,6 +41,39 @@ You can determine your currently installed version using `pip freeze`: ## 3.7.x series +### 3.7.2 + +**Date**: [6th Novemember 2017][3.7.2-milestone] + +* Fixed Django 2.1 compatibility due to removal of django.contrib.auth.login()/logout() views. [#5510][gh5510] +* Add missing import for TextLexer. [#5512][gh5512] +* Adding examples and documentation for caching [#5514][gh5514] +* Include date and date-time format for schema generation [#5511][gh5511] +* Use triple backticks for markdown code blocks [#5513][gh5513] +* Interactive docs - make bottom sidebar items sticky [#5516][gh5516] +* Clarify pagination system check [#5524][gh5524] +* Stop JSONBoundField mangling invalid JSON [#5527][gh5527] +* Have JSONField render as textarea in Browsable API [#5530][gh5530] +* Schema: Exclude OPTIONS/HEAD for ViewSet actions [#5532][gh5532] +* Fix ordering for dotted sources [#5533][gh5533] +* Fix: Fields with `allow_null=True` should imply a default serialization value [#5518][gh5518] +* Ensure Location header is strictly a 'str', not subclass. [#5544][gh5544] +* Add import to example in api-guide/parsers [#5547][gh5547] +* Catch OverflowError for "out of range" datetimes [#5546][gh5546] +* Add djangorestframework-rapidjson to third party packages [#5549][gh5549] +* Increase test coverage for `drf_create_token` command [#5550][gh5550] +* Add trove classifier for Python 3.6 support. [#5555][gh5555] +* Add pip cache support to the Travis CI configuration [#5556][gh5556] +* Rename [`wheel`] section to [`bdist_wheel`] as the former is legacy [#5557][gh5557] +* Fix invalid escape sequence deprecation warnings [#5560][gh5560] +* Add interactive docs error template [#5548][gh5548] +* 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] @@ -821,6 +854,7 @@ For older release notes, [please see the version 2.x documentation][old-release- [3.6.4-milestone]: https://github.com/encode/django-rest-framework/issues?q=milestone%3A%223.6.4+Release%22 [3.7.0-milestone]: https://github.com/encode/django-rest-framework/issues?q=milestone%3A%223.7.0+Release%22 [3.7.1-milestone]: https://github.com/encode/django-rest-framework/milestone/58?closed=1 +[3.7.2-milestone]: https://github.com/encode/django-rest-framework/milestone/59?closed=1 @@ -1547,3 +1581,32 @@ For older release notes, [please see the version 2.x documentation][old-release- [gh5503]: https://github.com/encode/django-rest-framework/issues/5503 [gh5500]: https://github.com/encode/django-rest-framework/issues/5500 [gh5492]: https://github.com/encode/django-rest-framework/issues/5492 + + +[gh5552]: https://github.com/encode/django-rest-framework/issues/5552 +[gh5539]: https://github.com/encode/django-rest-framework/issues/5539 +[gh5559]: https://github.com/encode/django-rest-framework/issues/5559 +[gh5561]: https://github.com/encode/django-rest-framework/issues/5561 +[gh5562]: https://github.com/encode/django-rest-framework/issues/5562 +[gh5548]: https://github.com/encode/django-rest-framework/issues/5548 +[gh5560]: https://github.com/encode/django-rest-framework/issues/5560 +[gh5557]: https://github.com/encode/django-rest-framework/issues/5557 +[gh5556]: https://github.com/encode/django-rest-framework/issues/5556 +[gh5555]: https://github.com/encode/django-rest-framework/issues/5555 +[gh5550]: https://github.com/encode/django-rest-framework/issues/5550 +[gh5549]: https://github.com/encode/django-rest-framework/issues/5549 +[gh5546]: https://github.com/encode/django-rest-framework/issues/5546 +[gh5547]: https://github.com/encode/django-rest-framework/issues/5547 +[gh5544]: https://github.com/encode/django-rest-framework/issues/5544 +[gh5518]: https://github.com/encode/django-rest-framework/issues/5518 +[gh5533]: https://github.com/encode/django-rest-framework/issues/5533 +[gh5532]: https://github.com/encode/django-rest-framework/issues/5532 +[gh5530]: https://github.com/encode/django-rest-framework/issues/5530 +[gh5527]: https://github.com/encode/django-rest-framework/issues/5527 +[gh5524]: https://github.com/encode/django-rest-framework/issues/5524 +[gh5516]: https://github.com/encode/django-rest-framework/issues/5516 +[gh5513]: https://github.com/encode/django-rest-framework/issues/5513 +[gh5511]: https://github.com/encode/django-rest-framework/issues/5511 +[gh5514]: https://github.com/encode/django-rest-framework/issues/5514 +[gh5512]: https://github.com/encode/django-rest-framework/issues/5512 +[gh5510]: https://github.com/encode/django-rest-framework/issues/5510 diff --git a/rest_framework/__init__.py b/rest_framework/__init__.py index 45845e2e9..2507bb14e 100644 --- a/rest_framework/__init__.py +++ b/rest_framework/__init__.py @@ -8,7 +8,7 @@ ______ _____ _____ _____ __ """ __title__ = 'Django REST framework' -__version__ = '3.7.1' +__version__ = '3.7.2' __author__ = 'Tom Christie' __license__ = 'BSD 2-Clause' __copyright__ = 'Copyright 2011-2017 Tom Christie' diff --git a/rest_framework/locale/ar/LC_MESSAGES/django.mo b/rest_framework/locale/ar/LC_MESSAGES/django.mo index bda2ce995f0a4ecdd7f4f3dfe1260c3af1a10a34..73d87ba67aedd232548dbf054d50995471c0ff0a 100644 GIT binary patch delta 2050 zcmZ|PUu+ab9Ki9pw$MM&77A2_D$|0k*!Jj^e{Dh9S_KK17^E0dHQ90pG`6?oZjXPZ z*0%OffW(Be8WNQdkT!)<&l3pvpl`ew#3yG>ROE>eO-y_>#_w-$O9;_P_CB*SJ3I6H z?aYnTUR=}vOG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Oi}#R^c^u~9^Yr)#hB^O<6Vc6La#(>n z--OC-FD~Huwx3QR16@cmb`zD!ZRBH*(hi{}@&cKoy-Vw(CiV%Z;-B<+!T3~VBB%*$ z#R@!vs>pTBZA_dH1I!;eph1}b=VkPcIF13ru$Ko7H0%o^x0q4UL z%+}#Ibg_)GMQ{@?#IqQiLg!xki|42Z{J;zN8!zK2>ZYa1n#8)|PE-chum=;^fYHfj ztMCqLNk>piSsY9yvIm)qwc!$s1*yL_&m#tQ;cHY0OQ^GMRE_%n1ZwTB;1=x1x%dNf zFqofOnqt&-VN_zPQ5D>Us&FeR!FH^`SU&YHrt_GAdVGt@ETG zB}9l|-pNvG!_FqO94hH(BXQ$ZHwu<)+Nf%JQ?xm?to)BCx72$qwRS4cXq!(bOsJ&s zeVIkx_RI~A_jzom6YtKN6aSU$1Fn#EyS_Lk_e, 2017 # aymen chaieb , 2017 # Bashar Al-Abdulhadi, 2016-2017 -# Eyad Toma , 2015 +# Eyad Toma , 2015,2017 msgid "" msgstr "" "Project-Id-Version: Django REST framework\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2016-07-12 16:13+0100\n" -"PO-Revision-Date: 2017-08-15 17:08+0000\n" -"Last-Translator: aymen chaieb \n" +"PO-Revision-Date: 2017-10-18 09:51+0000\n" +"Last-Translator: Andrew Ayoub \n" "Language-Team: Arabic (http://www.transifex.com/django-rest-framework-1/django-rest-framework/language/ar/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -127,7 +128,7 @@ msgstr "غير موجود." #: exceptions.py:109 msgid "Method \"{method}\" not allowed." -msgstr "" +msgstr "طلب غير مسموح به" #: exceptions.py:120 msgid "Could not satisfy the request Accept header." @@ -190,7 +191,7 @@ msgstr "" #: fields.py:796 msgid "Enter a valid IPv4 or IPv6 address." -msgstr "" +msgstr "برجاء إدخال عنوان IPV4 أو IPV6 صحيح" #: fields.py:821 msgid "A valid integer is required." @@ -206,7 +207,7 @@ msgstr "تأكد ان القيمة أكبر أو تساوي {min_value}." #: fields.py:824 fields.py:859 fields.py:896 msgid "String value too large." -msgstr "" +msgstr "القيمه اكبر من المسموح" #: fields.py:856 fields.py:890 msgid "A valid number is required." @@ -233,7 +234,7 @@ msgstr "صيغة التاريخ و الوقت غير صحيحة. عليك أن #: fields.py:1026 msgid "Expected a datetime but got a date." -msgstr "" +msgstr "متوقع تاريخ و وقت و وجد تاريخ فقط" #: fields.py:1103 msgid "Date has wrong format. Use one of these formats instead: {format}." @@ -241,7 +242,7 @@ msgstr "صيغة التاريخ غير صحيحة. عليك أن تستخدم و #: fields.py:1104 msgid "Expected a date but got a datetime." -msgstr "" +msgstr "متوقع تاريخ فقط و وجد تاريخ ووقت" #: fields.py:1170 msgid "Time has wrong format. Use one of these formats instead: {format}." @@ -249,7 +250,7 @@ msgstr "صيغة الوقت غير صحيحة. عليك أن تستخدم واح #: fields.py:1232 msgid "Duration has wrong format. Use one of these formats instead: {format}." -msgstr "" +msgstr "صيغة المده غير صحيحه, برجاء إستخدام أحد هذه الصيغ {format}" #: fields.py:1251 fields.py:1300 msgid "\"{input}\" is not a valid choice." @@ -257,7 +258,7 @@ msgstr "\"{input}\" ليست واحدة من الخيارات الصالحة." #: fields.py:1254 relations.py:71 relations.py:441 msgid "More than {count} items..." -msgstr "" +msgstr "أكثر من {count} عنصر..." #: fields.py:1301 fields.py:1448 relations.py:437 serializers.py:524 msgid "Expected a list of items but got type \"{input_type}\"." @@ -399,7 +400,7 @@ msgstr "" #: validators.py:43 msgid "This field must be unique." -msgstr "هذا الحقل يجب أن يكون وحيد" +msgstr "هذا الحقل يجب أن يكون فريد" #: validators.py:97 msgid "The fields {field_names} must make a unique set." @@ -439,4 +440,4 @@ msgstr "" #: views.py:88 msgid "Permission denied." -msgstr "حق غير مصرح به" +msgstr "ليس لديك صلاحية." diff --git a/rest_framework/locale/nb/LC_MESSAGES/django.mo b/rest_framework/locale/nb/LC_MESSAGES/django.mo index d942abc2cfb380462f026a8dbfa09219dbc7b2dd..18cc4bc8d98712a02b5ee5832dafdd3b7001880f 100644 GIT binary patch delta 60 zcmX@@bJ}M^tQd!(p{{|Uf`R4aR53+Kr=rr*JO!JQjQrfhV!b2~&mlcGF*9fLd@&b} O$?s&?H@}igWCs9jI~6Vf delta 59 zcmX@@bJ}M^tQd!Zg|30If}zReR53+K=ZvDv;*!i%1)GxmTn8Xdh6-$+FXqC*lv%R* IsazU609dyarvLx| diff --git a/rest_framework/locale/nb/LC_MESSAGES/django.po b/rest_framework/locale/nb/LC_MESSAGES/django.po index f9ecada63..27bbdbe18 100644 --- a/rest_framework/locale/nb/LC_MESSAGES/django.po +++ b/rest_framework/locale/nb/LC_MESSAGES/django.po @@ -4,13 +4,14 @@ # # Translators: # Petter Kjelkenes , 2015 +# Thomas Bruun , 2017 msgid "" msgstr "" "Project-Id-Version: Django REST framework\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2016-07-12 16:13+0100\n" -"PO-Revision-Date: 2017-08-03 14:58+0000\n" -"Last-Translator: Thomas Christie \n" +"PO-Revision-Date: 2017-11-01 09:58+0000\n" +"Last-Translator: Thomas Bruun \n" "Language-Team: Norwegian Bokmål (http://www.transifex.com/django-rest-framework-1/django-rest-framework/language/nb/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -363,7 +364,7 @@ msgstr "Ugyldig verdi." #: serializers.py:326 msgid "Invalid data. Expected a dictionary, but got {datatype}." -msgstr "Ugyldige data. Forventet en dicitonary, men fikk {datatype}." +msgstr "Ugyldige data. Forventet en dictionary, men fikk {datatype}." #: templates/rest_framework/admin.html:116 #: templates/rest_framework/base.html:128