| Date | 2020-02-05 (2,098 days ago) |
|---|---|
| Downloads | 908 downloads |
| NuGet | View on NuGet |
| GitHub | View on GitHub |
| Target Frameworks | .NET 4.7.2 |
| Umbraco Versions | Umbraco 8 |
Fixed issues in AccessControlAllowOriginAttribute (see 65293cd)
The AccessControlAllowOriginAttribute class contained two bugs preventing it from working properly.
Added teapot support to SPA redirects (see ff26f1c)
Older browsers and operating systems may have problems handling redirects during XHR requests. As a way to work around this, the SPA will now return a 418 I'm a teapot status code instead, but with the intended status code as part of the response body. This let's the frontend handle the redirect.
Introduced SpaGridControlValueBase class (see 6a093c0)
The value of a grid control typically wouldn't be returned "as is" in the SPA API, so we would normally have a switch case statement handling each individual value type. The SpaGridControlValueBase class can help make this a bit simpler, as value types inheriting from this class can specify the exact value that should be returned in the JSON.
Minor improvements to the meta data implementation (see f691f36)
The changes add support for controlling the <base/> element as specifying the JSON content of a <script> element - eg. for JSON-LD.
Introduced SkyConstants class (see 472cc2b)
The class introduces various constants typically used across our clients projects.