diff --git a/.gitignore b/.gitignore index 2e3ea0c..6a08905 100644 --- a/.gitignore +++ b/.gitignore @@ -21,6 +21,7 @@ var/ *.egg-info/ .installed.cfg *.egg +MANIFEST # PyInstaller # Usually these files are written by a python script from a template diff --git a/CHANGES b/CHANGES index 11e11d0..f5a2259 100644 --- a/CHANGES +++ b/CHANGES @@ -1,6 +1,12 @@ 0.5.2 -==== -* Fix regex in 'unblock_username_view' to handle special symbols [@ruthus18] +===== +- Fix regex in 'unblock_username_view' to handle special symbols [@ruthus18] +- Fix django requires version for 1.11.x [@kencochrane] +- remove hiredis dependency [@ericbuckley] +- Correctly get raw client when using django_redis cache. [@cburger] +- replace django.core.urlresolvers with django.urls For Django 2.0 [@s-wirth] +- add username kwarg for providing username directly rather than via callback arg [@williamboman] +- Only use the username if it is actually provided [@cobusc] 0.5.1 ===== diff --git a/README.md b/README.md index 176ea4a..dbda196 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,7 @@ If you are using defender on your site, submit a PR to add to the list. Versions ======== +- - 0.5.1 - Middleware fix for django >= 1.10 #93 [@Temeez] - Force the username to lowercase #90 [@MattBlack85] @@ -445,3 +446,8 @@ With Code coverage: ``` PYTHONPATH=$PYTHONPATH:$PWD coverage run --source=defender $(which django-admin.py) test defender --settings=defender.test_settings ``` + +How to release +============== +1. python setup.py sdist +2. twine upload dist/* diff --git a/setup.py b/setup.py index 76a4bb5..bfb5652 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ except ImportError: from distutils.core import setup -version = '0.5.1' +version = '0.5.2' def get_packages(package):