Skip to content

2.6.0-preview.2

Latest
Compare
Choose a tag to compare
@serialseb serialseb released this 26 Sep 13:06
· 353 commits to master since this release

Known issues

  • Previously a POST with void Return, returned a 200 now it returns a 204.
  • The internal container will failure under load.

Added

  • Better late than never, we've moved the code that our friends at Just-Eat Tech
    contributed ages ago, and it now ships in an updated version as part of our
    main package. Any host compatible with OWIN (as in the specification) can
    now use OpenRasta. Ain't life awesome?
  • if you use Microsoft's Katana, aka Microsoft.Owin, we built a convenience
    package, OpenRasta.Hosting.Katana. It should also work with any host
    implementing IAppBuilder. There's also a convenience package for asp.net
    core, OpenRasta.Hosting.AspNetCore. It doesn't do much but saves you a bit
    of typing compared to wiring up the OWIN signatures.
  • We've added a OpenRasta.Codecs.Newtonsoft.Json package, because frankly,
    DataContracts are long dead.
  • Registering custom dependencies was always meant to be done in the configuration
    phase, but it was a bit on the simple side. So we made it Funcky and added
    factory support. You can now do ResourceSpace.Uses.Dependency(ctx=>ctx.Singleton(()=>new MyService())
    and a few other funky things. Container integrations have to be updated to
    support this, and we'll throw an exception if you use factories and the container
    doesn't support them.
  • You can now strongly-type Uri definitions, to get rid of those nasty strings,
    so .AtUri(r=>$"/resource/{r.Id}") just works.
  • A new package, OpenRasta.Plugins.ReverseProxy, allows you to, well, reverse
    proxy other resoures, even those that weren't, god forbid, using OpenRasta.
  • Using the ASP.NET Core UseOpenRasta() extension will now check and add IHttpAuthenticationFeature to the pipeline.
    The user no longer has to do this themselves as part of their pipeline.

Changed

Deprecated

Removed