Akka Http Cors Versions Save

Akka Http directives implementing the CORS specifications defined by W3C

v0.4.0

5 years ago
  • Support subdomain wildcard matcher in allowed origins (#25).
  • Remove directive corsDecorate() (#38).

Migrate from 0.3 to 0.4

  • Use HttpOriginMatcher instead of HttpOriginRange in the settings.

v0.3.4

5 years ago
  • Cross compile with Scala 2.13.0-M5 (#40).
  • Update akka-http to 10.1.7.

v0.3.3

5 years ago
  • Fix: Java 1.8 support broken in 0.3.2 (#44).

v0.3.2

5 years ago
  • Support Origin: null in preflight requests (#43).
  • Update akka-http to 10.1.5.
  • Update Scala to 2.12.8

v0.3.1

5 years ago
  • Java 9: add Automatic-Module-Name: ch.megard.akka.http.cors in the MANIFEST.MF (#35).
  • Deprecate method corsDecorate() (#38).
  • Cache response headers (#39).
  • Update akka-http to 10.1.3.
  • Update Scala to 2.12.7.

v0.3.0

6 years ago

This release breaks source compatibility, planning for the 1.0 release.

  • Settings are read from a configuration file (#13).
  • Directives now clean existing CORS-related headers when responding to an actual request (#28).
  • Support Origin: null in simple/actual requests (#31).
  • The CorsRejection class has been refactored to be cleaner.
  • Update akka-http to 10.1.0, removal of Akka 2.4 support (#34).
  • Update Scala to 2.12.5 and 2.11.12.
  • Add cross-compilation with Scala 2.13.0-M3.

Migrate from 0.2 to 0.3

  • Now that it is possible, prefer overriding settings in a application.conf file.
  • To update programmatically the settings, use the new with...() methods instead of the copy() method.
  • Custom rejection handlers must be updated to reflect the new CorsRejection class.

v0.2.2

6 years ago
  • Update Scala to 2.12.3 and 2.11.11.
  • Update akka-http to 10.0.10.
  • Update sbt to 1.0.x major release.

v0.2.1

7 years ago
  • Add Java API (#8)
  • Update akka-http to 10.0.5.

Migrate from 0.1 to 0.2

The API remains the same, but classes have moved in new packages to accommodate the Java API.

  • Directives are now in ch.megard.akka.http.cors.scaladsl;
  • Models are now in ch.megard.akka.http.cors.scaladsl.model;
  • Settings are now in ch.megard.akka.http.cors.scaladsl.settings.

v0.1.11

7 years ago
  • Update Scala to 2.12.1.
  • Update akka-http to 10.0.3.

v0.1.10

7 years ago
  • Update akka-http to 10.0.0.