corsica v0.5.0 Release Notes

Release Date: 2016-07-04 // almost 6 years ago
  • 💥 Breaking changes

    • Drop support for anonymous functions in the list of :origins (it was a mistake to support that in the first place!).
    • Change the :log option from being a log level or false to being a keyword list with log levels or false for each log "type" (for example, :rejected or :invalid).

    👌 Improvements

    • Add support for {module, function} tuples in the list of :origins (module.function will be called with the origin as its argument and will decide if such origin is allowed).