Skip to content

0.7.0

Compare
Choose a tag to compare
@glennblock glennblock released this 10 Sep 09:15
· 34 commits to master since this release

Refactoring

The biggest thing about this release is everything has been completely refactored naming wise. This was not an easy decision as it breaks the world, however after getting feedback from folks using the library and doing my own reflection I decided this was needed. Having WebApiContrib.Formatting.CollectionJson for namespaces, packages, repo etc was just too much. As we are pre 1.0, this was the time to do it! I hope you understand.

Projects:

  • CollectionJson.csproj
  • CollectionJson.Client.csproj
  • CollectionJson.Server.csproj

Namespaces:

  • CollectionJson
  • CollectionJson.Client
  • CollectionJson.Server

NuGet Packages

  • CollectionJson
  • CollectionJson.Client
  • CollectionJson.Server

There is no longer a manifest package to bring down all 3 packages. All existing WebApiContrib.CollectionJson.* packages have been makred as DEPRECATED in the title and description.

Fixes

#76 - Collection property is now settable on Document
#80 - Empty collections will now NOT be serialized

Features

#81 - Thanks to @darrelmiller CollectionJson.Client now includes a CollectionJsonContent class. You can use this to force a response to use CJ without having to register. This is also useful if you just despise Web APIs conneg support like Darrel does :-)