Skip to content

Commit 40acc80

Browse files
authored
Update CHANGELOG to reflect 4.0.0 release (#335)
1 parent dbabb27 commit 40acc80

File tree

3 files changed

+18
-14
lines changed

3 files changed

+18
-14
lines changed

.github/workflows/unittests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Python package
1+
name: Python Unittests
22

33
on: [push]
44

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Change Log
22

3+
## 4.0.0
4+
* Remove support for Python versions older than 3.8 by @WAKayser in https://github.com/corydolphin/flask-cors/pull/330
5+
* Add GHA tooling by @corydolphin in https://github.com/corydolphin/flask-cors/pull/331
6+
37
## 3.1.01
48
* Include examples to specify that schema and port must be included in … by @YPCrumble in https://github.com/corydolphin/flask-cors/pull/294
59
* two small changes to the documentation, based on issue #290 by @bbbart in https://github.com/corydolphin/flask-cors/pull/291

README.rst

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ Flask-CORS
66

77
A Flask extension for handling Cross Origin Resource Sharing (CORS), making cross-origin AJAX possible.
88

9-
This package has a simple philosophy: when you want to enable CORS, you wish to enable it for all use cases on a domain.
10-
This means no mucking around with different allowed headers, methods, etc.
9+
This package has a simple philosophy: when you want to enable CORS, you wish to enable it for all use cases on a domain.
10+
This means no mucking around with different allowed headers, methods, etc.
1111

12-
By default, submission of cookies across domains is disabled due to the security implications.
12+
By default, submission of cookies across domains is disabled due to the security implications.
1313
Please see the documentation for how to enable credential'ed requests, and please make sure you add some sort of `CSRF <http://en.wikipedia.org/wiki/Cross-site_request_forgery>`__ protection before doing so!
1414

1515
Installation
@@ -24,14 +24,14 @@ Install the extension with using pip, or easy\_install.
2424
Usage
2525
-----
2626

27-
This package exposes a Flask extension which by default enables CORS support on all routes, for all origins and methods.
28-
It allows parameterization of all CORS headers on a per-resource level.
27+
This package exposes a Flask extension which by default enables CORS support on all routes, for all origins and methods.
28+
It allows parameterization of all CORS headers on a per-resource level.
2929
The package also contains a decorator, for those who prefer this approach.
3030

3131
Simple Usage
3232
~~~~~~~~~~~~
3333

34-
In the simplest case, initialize the Flask-Cors extension with default arguments in order to allow CORS for all domains on all routes.
34+
In the simplest case, initialize the Flask-Cors extension with default arguments in order to allow CORS for all domains on all routes.
3535
See the full list of options in the `documentation <https://flask-cors.corydolphin.com/en/latest/api.html#extension>`__.
3636

3737
.. code:: python
@@ -50,7 +50,7 @@ See the full list of options in the `documentation <https://flask-cors.corydolph
5050
Resource specific CORS
5151
^^^^^^^^^^^^^^^^^^^^^^
5252

53-
Alternatively, you can specify CORS options on a resource and origin level of granularity by passing a dictionary as the `resources` option, mapping paths to a set of options.
53+
Alternatively, you can specify CORS options on a resource and origin level of granularity by passing a dictionary as the `resources` option, mapping paths to a set of options.
5454
See the full list of options in the `documentation <https://flask-cors.corydolphin.com/en/latest/api.html#extension>`__.
5555

5656
.. code:: python
@@ -65,8 +65,8 @@ See the full list of options in the `documentation <https://flask-cors.corydolph
6565
Route specific CORS via decorator
6666
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6767

68-
This extension also exposes a simple decorator to decorate flask routes with.
69-
Simply add ``@cross_origin()`` below a call to Flask's ``@app.route(..)`` to allow CORS on a given route.
68+
This extension also exposes a simple decorator to decorate flask routes with.
69+
Simply add ``@cross_origin()`` below a call to Flask's ``@app.route(..)`` to allow CORS on a given route.
7070
See the full list of options in the `decorator documentation <https://flask-cors.corydolphin.com/en/latest/api.html#decorator>`__.
7171

7272
.. code:: python
@@ -94,7 +94,7 @@ If things aren't working as you expect, enable logging to help understand what i
9494
Tests
9595
-----
9696

97-
A simple set of tests is included in ``test/``.
97+
A simple set of tests is included in ``test/``.
9898
To run, install nose, and simply invoke ``nosetests`` or ``python setup.py test`` to exercise the tests.
9999

100100
If nosetests does not work for you, due to it no longer working with newer python versions.
@@ -103,16 +103,16 @@ You can use pytest to run the tests instead.
103103
Contributing
104104
------------
105105

106-
Questions, comments or improvements?
107-
Please create an issue on `Github <https://github.com/corydolphin/flask-cors>`__, tweet at `@corydolphin <https://twitter.com/corydolphin>`__ or send me an email.
106+
Questions, comments or improvements?
107+
Please create an issue on `Github <https://github.com/corydolphin/flask-cors>`__, tweet at `@corydolphin <https://twitter.com/corydolphin>`__ or send me an email.
108108
I do my best to include every contribution proposed in any way that I can.
109109

110110
Credits
111111
-------
112112

113113
This Flask extension is based upon the `Decorator for the HTTP Access Control <https://web.archive.org/web/20190128010149/http://flask.pocoo.org/snippets/56/>`__ written by Armin Ronacher.
114114

115-
.. |Build Status| image:: https://api.travis-ci.org/corydolphin/flask-cors.svg?branch=master
115+
.. |Build Status| image:: https://github.com/corydolphin/flask-cors/actions/workflows/unittests.yaml/badge.svg
116116
:target: https://travis-ci.org/corydolphin/flask-cors
117117
.. |Latest Version| image:: https://img.shields.io/pypi/v/Flask-Cors.svg
118118
:target: https://pypi.python.org/pypi/Flask-Cors/

0 commit comments

Comments
 (0)