Skip to content

Releases: jdesrosiers/silex-cors-provider

v1.0.0

05 Jun 22:11
Compare
Choose a tag to compare

At long last, Sliex 2.0 has been released. This release updates the dependencies to point to the new Silex release.

v0.1.5

12 Sep 23:07
Compare
Choose a tag to compare

This release is to address a bug that occurs in Internet Explorer Edge.

Originally, when there where more than one allowed methods, the provider would generate a separate Access-Control-Allow-Methods header for each method. Although technically valid, IE Edge doesn't support this way of expressing that header. The comma separated notation is nicer anyway, so I have no problem changing it.

Thanks to @cyberwolf for contributing this fix.

v0.1.4

11 Jun 04:52
Compare
Choose a tag to compare

This release contains some refactoring and a bug fix.

The bug fix, contributed by @cyberwolf, works around a deprecation warning when using version 2.7+ of the Symfony Routing Component.

v0.1.3

08 Aug 04:19
Compare
Choose a tag to compare

This release includes two changes.

Although the current implementation handles the allow-all-domains case by simply not setting cors.allowOrigin, it makes sense that people would expect to be able to set cors.allowOrigin to * for this case. Therefore, @jrschumacher has contributed a patch to allow this behavior.

A bug was fixed that set the Access-Control-Allow-Credentials header if cors.allowCredentials was set to anything other than null. Since the default value of this header is false, it was being set by default. It will now only be set if cors.allowCredentials is set to true.

v0.1.2

13 Nov 23:57
Compare
Choose a tag to compare

This release fixes a bug where OPTIONS routes were matching on any method instead of just OPTIONS requests. This caused requests that should respond with 405 Method Not Allowed to respond as if it were an OPTIONS request. Thanks to @mcuadros for finding and fixing this bug.

v0.1.1

26 Oct 04:46
Compare
Choose a tag to compare

There are no real changes in this release. It includes updates for PSR2 compliance and adds tests.

v0.1.0

23 Oct 05:48
Compare
Choose a tag to compare
v0.1.0 Pre-release
Pre-release

Initial release.