Skip to content

Releases: corydolphin/flask-cors

Release 3.0.5

22 May 03:39
006e1f0
Compare
Choose a tag to compare

Fixes incorrect handling of regexes containg '[', and a few other special characters. https://github.com//issues/212

Release 3.0.4

26 Apr 17:26
12b0ccf
Compare
Choose a tag to compare

Handle response.headers being None. (Fixes issue #217) Thanks @dusktreader for the improvement!

Release 3.0.3

28 Jun 16:42
Compare
Choose a tag to compare

Ensure that an Origin of '*' is never sent if supports_credentials is True (fixes Issue #202)

  • If always_send=True, and '*' is in the allowed origins, and a request is made without an Origin header, no Access-Control-Allow-Origins header will now be returned. This is breaking if you depended on it, but was a bug as it goes against the spec.

Release 3.0.2

08 Sep 05:56
Compare
Choose a tag to compare

Fixes Issue #187: regression whereby header (and domain) matching was incorrectly case sensitive. Now it is not, making the behavior identical to 2.X and 1.X.

Release 3.0.1

31 Aug 21:17
Compare
Choose a tag to compare

Fixes Issue #183: regression whereby regular expressions for origins with an "?" are not properly matched.

Thanks @di for the report!

Release 3.0.0

20 Aug 05:27
Compare
Choose a tag to compare

This release is largely a number of small bug fixes and improvements, along with a default change in behavior, which is technically a breaking change.

Breaking Change
We added an always_send option, enabled by default, which makes Flask-CORS inject headers even if the request did not have an 'Origin' header. Because this makes debugging far easier, and has very little downside, it has also been set as the default, making it technically a breaking change. If this actually broke something for you, please let me know, and I'll help you work around it. (#156) c7a1ecd

Other improvements:

  • Adds building of universal wheels (#175) 4674c3d
  • Makes Flask-CORS compatible with OAuthLib's custom header class ... (#172) aaaf904
  • Fixes incorrect substring matches when strings are used as origins or headers (#165) 9cd3f29
  • Fixes logging when unknown options are supplied (#152) bddb13c

Release 2.1.3

18 Apr 16:56
Compare
Choose a tag to compare

Fixes Vary:Origin header sending behavior when regex origins are used.

Release 2.1.2

08 Nov 15:01
Compare
Choose a tag to compare

Fixes package installation. Requirements.txt was not included in Manifest.

Release 2.1.1

08 Nov 04:54
Compare
Choose a tag to compare

Stop dynamically referecing logger.
Disable internal logging by default and reduce logging verbosity

Release 2.1.0

05 Aug 00:58
Compare
Choose a tag to compare

Adds support for Flask Blueprints.

You may now pass a Flask Blueprint to the CORS extension, and it will work as expected.

Thanks @Bob131for the feature request! #128