Skip to content

Commit

Permalink
Fixed wrong setting documentation in the README. Version bump to fix …
Browse files Browse the repository at this point in the history
…PyPi docs (#29)

* Fixed wrong setting name in the README

`RETURN_HEADER` was listed twice instead of `RETURN_HEADER` and `EXPOSE_HEADER`

* Bump version to fix PyPi

* Changelogs added
  • Loading branch information
JonasKs committed Feb 12, 2020
1 parent 7621af2 commit b501d71
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
Changelog
=========

`1.1.1`_ - 2020-02-12
---------------------

**Improvements**

* Fixed ``EXPOSE_HEADER`` documentation issue. New release has to be pushed to fix PyPi docs.


`1.1.0`_ - 2020-02-10
---------------------

Expand Down Expand Up @@ -134,3 +142,4 @@ Changelog
.. _1.0.0: https://github.com/jonasks/django-guid/compare/0.3.0...1.0.0
.. _1.0.1: https://github.com/jonasks/django-guid/compare/1.0.0...1.0.1
.. _1.1.0: https://github.com/jonasks/django-guid/compare/1.0.1...1.1.0
.. _1.1.1: https://github.com/jonasks/django-guid/compare/1.1.0...1.1.1
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ Settings

Default: True

* :code:`RETURN_HEADER`
* :code:`EXPOSE_HEADER`
Whether to return :code:`Access-Control-Expose-Headers` for the GUID header if
:code:`RETURN_HEADER` is :code:`True`, has no effect if :code:`RETURN_HEADER` is :code:`False`.
This is allows the JavaScript Fetch API to access the header when CORS is enabled.
Expand Down
2 changes: 1 addition & 1 deletion django_guid/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
Adding imports here will break setup.py
"""

__version__ = '1.1.0'
__version__ = '1.1.1'

0 comments on commit b501d71

Please sign in to comment.