FSharp.JsonApi 2.0.0-alpha-09

This is a prerelease version of FSharp.JsonApi.
There is a newer version of this package available.
See the version list below for details.
dotnet add package FSharp.JsonApi --version 2.0.0-alpha-09                
NuGet\Install-Package FSharp.JsonApi -Version 2.0.0-alpha-09                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="FSharp.JsonApi" Version="2.0.0-alpha-09" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add FSharp.JsonApi --version 2.0.0-alpha-09                
#r "nuget: FSharp.JsonApi, 2.0.0-alpha-09"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install FSharp.JsonApi as a Cake Addin
#addin nuget:?package=FSharp.JsonApi&version=2.0.0-alpha-09&prerelease

// Install FSharp.JsonApi as a Cake Tool
#tool nuget:?package=FSharp.JsonApi&version=2.0.0-alpha-09&prerelease                

Use F# to create and consume flexible, strongly typed web APIs following the JSON-API specification.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on FSharp.JsonApi:

Package Downloads
FSharp.JsonApi.AspNetCore

Use F# to create and consume flexible, strongly typed web APIs following the JSON:API specification.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.1.1 1,368 1/6/2020
2.1.0 610 11/8/2019
2.0.3 519 11/6/2019
2.0.2 502 11/6/2019
2.0.1 938 10/31/2019
2.0.0 880 10/30/2019
2.0.0-alpha-09 605 10/17/2019
2.0.0-alpha-08 395 10/14/2019
2.0.0-alpha-07 366 10/11/2019
2.0.0-alpha-06 525 10/9/2019
2.0.0-alpha-05 379 9/26/2019
2.0.0-alpha-04 366 9/26/2019
2.0.0-alpha-03 441 9/24/2019
2.0.0-alpha-02 598 9/23/2019
2.0.0-alpha-01 593 9/19/2019
1.4.1 504 9/26/2019
1.4.0 686 9/16/2019
1.3.0 536 9/12/2019
1.2.0 494 9/12/2019
1.1.0 507 9/11/2019
1.0.3 900 9/10/2019

- Breaking: Removed SimpleResource and related methods/extensions on JsonApiContext. Use Resource.attributesOrDefault and Resource.relationshipsOrDefault instead to get a (possibly default) attribute/relationship instance from a resource.
- Breaking: Added RequestDocumentError.UnknownMainResourceType
- Breaking: JsonApiContext.GetResource and the JsonApiContext.Parse overload returning a resource discriminator now return errors if the resource type is unknown. The signature of the former method is changed; the latter is a behaviour change only.
- Breaking: Renamed Query to QueryParser, added static methods to create an instance with a query parameter map or HttpContext, and changed most methods to instance members that do not depend on a query parameter map or HttpContext
- Breaking: JsonApiContext.create now throws on invalid attribute and relationship names. Use the new AllowIllegalNameAttribute to disable the check for specific attributes/relationships.
- Added Setter type with helper methods to chain and lift normal "immutable setter" functions to accept parsed, possibly optional arguments, combining any errors
- Added JsonApiContext methods RequireResource, WithAllReadOnly, ToDiscriminator, FromDiscriminator, and SerializeAndGetBytes
- Added JsonApiContext overloads for ParseRequired, WithReadOnly, WithWriteOnly, and WithNotNull
- Added async overloads for ResourceBuildContext methods GetAttribute and GetExplicitAttribute
- Fixed Uri.addQuery and Uri.setQuery not behaving correctly for multiple identical query keys and for query keys that only differ by case
- Fixed validation when links collection is null (JSON: "links": null)
- Serializes Uri's to canonical format using Uri.ToString() instead of Uri.OriginalString which is normally used by Newtonsoft.Json
- Made order of included resources deterministic (needed to get stable hashes of response for ETag)