Skip to content

Commit

Permalink
v3.0 Release.
Browse files Browse the repository at this point in the history
  • Loading branch information
AdvancedREI committed Aug 15, 2014
1 parent 058f3d1 commit fef6c47
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 19 deletions.
12 changes: 7 additions & 5 deletions src/PortableRest.Signed.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,23 @@
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
<metadata minClientVersion="2.8.1">
<id>PortableRest.Signed</id>
<version>3.0.0-RC12</version>
<version>3.0.0</version>
<title>PortableRest</title>
<authors>Robert McLaws, Richard Beauchamp</authors>
<owners>AdvancedREI</owners>
<licenseUrl>http://choosealicense.com/licenses/mit/</licenseUrl>
<projectUrl>http://github.com/AdvancedREI/PortableRest</projectUrl>
<iconUrl>https://advancedrei.blob.core.windows.net/nuget/PortableRest.png</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>A *SIGNED* library for consuming REST APIs from Portable Class Libraries (.NET 4.5, Silverlight 5, Windows Phone 8, and Windows 8.x). Designed to be partially drop-in compatible with RestSharp.</description>
<releaseNotes>3.0.0-RC12
<description>A *SIGNED* library for consuming REST APIs from Portable Class Libraries (.NET 4.5, Silverlight 5, Windows Phone 8.x, and Windows 8.x). Designed to be partially drop-in compatible with RestSharp.</description>
<releaseNotes>3.0.0
• Tons of bug fixes.
• Improved the way PortableRest handles parameters being sent over the wire.
• Added constructor overload that accepts a custom HttpMessageHandler for all requests the HttpClient makes.
• Added support for using the AsyncOAuth NuGet package for leveraging OAuth in your requests.
• Added support for specifying the JsonSerializerSettings on a client-wide or per-request basis, with request-specific settings taking precedence.
• Enhanced the SendAsync method to pass exceptions thrown by the serializer into the RestResponse.
• The serializer now strips namespaces from XML payloads before attempting to de-serialize. You may need to update your objects to [DataContract(Namespace="")].
• The serializer now strips namespaces from XML payloads before attempting to de-serialize. You may need to update your objects to [DataContract(Namespace="")] if you use XML-based Rest services.

2.5
• New generic and non-generic SendAsync() methods that return a RestResponse with more detailed information.
Expand Down Expand Up @@ -61,7 +63,7 @@
<tags>HttpClient, REST, Portable Class Library, PCL, RestSharp, HTTP, API, JSON, XML</tags>
<dependencies>
<group>
<dependency id="Newtonsoft.Json" version="6.0.2" />
<dependency id="Newtonsoft.Json" version="6.0.4" />
</group>
<group targetFramework=".NETPortable0.0-net45+sl5+wp8+win8+wpa81">
<dependency id="Microsoft.Bcl" version="1.1.9" />
Expand Down
12 changes: 7 additions & 5 deletions src/PortableRest.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,23 @@
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
<metadata minClientVersion="2.8.1">
<id>PortableRest</id>
<version>3.0.0-RC12</version>
<version>3.0.0</version>
<title>PortableRest</title>
<authors>Robert McLaws, Richard Beauchamp</authors>
<owners>AdvancedREI</owners>
<licenseUrl>http://choosealicense.com/licenses/mit/</licenseUrl>
<projectUrl>http://github.com/AdvancedREI/PortableRest</projectUrl>
<iconUrl>https://advancedrei.blob.core.windows.net/nuget/PortableRest.png</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>A library for consuming REST APIs from Portable Class Libraries (.NET 4.5, Silverlight 5, Windows Phone 8, and Windows 8.x). Designed to be partially drop-in compatible with RestSharp.</description>
<releaseNotes>3.0.0-RC12
<description>A library for consuming REST APIs from Portable Class Libraries (.NET 4.5, Silverlight 5, Windows Phone 8.x, and Windows 8.x). Designed to be partially drop-in compatible with RestSharp.</description>
<releaseNotes>3.0.0
• Tons of bug fixes.
• Improved the way PortableRest handles parameters being sent over the wire.
• Added constructor overload that accepts a custom HttpMessageHandler for all requests the HttpClient makes.
• Added support for using the AsyncOAuth NuGet package for leveraging OAuth in your requests.
• Added support for specifying the JsonSerializerSettings on a client-wide or per-request basis, with request-specific settings taking precedence.
• Enhanced the SendAsync method to pass exceptions thrown by the serializer into the RestResponse.
• The serializer now strips namespaces from XML payloads before attempting to de-serialize. You may need to update your objects to [DataContract(Namespace="")].
• The serializer now strips namespaces from XML payloads before attempting to de-serialize. You may need to update your objects to [DataContract(Namespace="")] if you use XML-based Rest services.
• WARNING: Strong name signing is removed in this version. See the PortableRest.Signed package for those needing SNK support (but you will not be able to use AsyncOAuth, as it is not signed).

2.5
Expand Down Expand Up @@ -62,7 +64,7 @@
<tags>HttpClient, REST, Portable Class Library, PCL, RestSharp, HTTP, API, JSON, XML</tags>
<dependencies>
<group>
<dependency id="Newtonsoft.Json" version="6.0.2" />
<dependency id="Newtonsoft.Json" version="6.0.4" />
</group>
<group targetFramework=".NETPortable0.0-net45+sl5+wp8+win8+wpa81">
<dependency id="Microsoft.Bcl" version="1.1.9" />
Expand Down
16 changes: 8 additions & 8 deletions src/PortableRest/PortableRest.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<RootNamespace>PortableRest</RootNamespace>
<AssemblyName>PortableRest</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<TargetFrameworkProfile>Profile344</TargetFrameworkProfile>
<TargetFrameworkProfile>Profile336</TargetFrameworkProfile>
<FileAlignment>512</FileAlignment>
<ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>
Expand Down Expand Up @@ -100,19 +100,19 @@
<Private>True</Private>
</Reference>
<Reference Include="Newtonsoft.Json">
<HintPath>..\packages\Newtonsoft.Json.6.0.3\lib\portable-net40+sl4+wp7+win8\Newtonsoft.Json.dll</HintPath>
<HintPath>..\packages\Newtonsoft.Json.6.0.4\lib\portable-net40+sl5+wp80+win8+wpa81\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="System.IO">
<HintPath>..\packages\Microsoft.Bcl.1.1.9\lib\portable-net40+sl5+win8+wp8+wpa81\System.IO.dll</HintPath>
</Reference>
<Reference Include="System.Net.Http">
<HintPath>..\packages\Microsoft.Net.Http.2.2.22\lib\portable-net40+sl4+win8+wp71+wpa81\System.Net.Http.dll</HintPath>
<HintPath>..\packages\Microsoft.Net.Http.2.2.27-beta\lib\portable-net40+sl4+win8+wp71+wpa81\System.Net.Http.dll</HintPath>
</Reference>
<Reference Include="System.Net.Http.Extensions">
<HintPath>..\packages\Microsoft.Net.Http.2.2.22\lib\portable-net40+sl4+win8+wp71+wpa81\System.Net.Http.Extensions.dll</HintPath>
<HintPath>..\packages\Microsoft.Net.Http.2.2.27-beta\lib\portable-net40+sl4+win8+wp71+wpa81\System.Net.Http.Extensions.dll</HintPath>
</Reference>
<Reference Include="System.Net.Http.Primitives">
<HintPath>..\packages\Microsoft.Net.Http.2.2.22\lib\portable-net40+sl4+win8+wp71+wpa81\System.Net.Http.Primitives.dll</HintPath>
<HintPath>..\packages\Microsoft.Net.Http.2.2.27-beta\lib\portable-net40+sl4+win8+wp71+wpa81\System.Net.Http.Primitives.dll</HintPath>
</Reference>
<Reference Include="System.Runtime">
<HintPath>..\packages\Microsoft.Bcl.1.1.9\lib\portable-net40+sl5+win8+wp8+wpa81\System.Runtime.dll</HintPath>
Expand All @@ -122,10 +122,10 @@
</Reference>
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\Portable\$(TargetFrameworkVersion)\Microsoft.Portable.CSharp.targets" />
<Import Project="..\packages\Microsoft.Bcl.Build.1.0.14\tools\Microsoft.Bcl.Build.targets" Condition="Exists('..\packages\Microsoft.Bcl.Build.1.0.14\tools\Microsoft.Bcl.Build.targets')" />
<Import Project="..\packages\Microsoft.Bcl.Build.1.0.17-beta\tools\Microsoft.Bcl.Build.targets" Condition="Exists('..\packages\Microsoft.Bcl.Build.1.0.17-beta\tools\Microsoft.Bcl.Build.targets')" />
<Target Name="EnsureBclBuildImported" BeforeTargets="BeforeBuild" Condition="'$(BclBuildImported)' == ''">
<Error Condition="!Exists('..\packages\Microsoft.Bcl.Build.1.0.14\tools\Microsoft.Bcl.Build.targets')" Text="This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=317567." HelpKeyword="BCLBUILD2001" />
<Error Condition="Exists('..\packages\Microsoft.Bcl.Build.1.0.14\tools\Microsoft.Bcl.Build.targets')" Text="The build restored NuGet packages. Build the project again to include these packages in the build. For more information, see http://go.microsoft.com/fwlink/?LinkID=317568." HelpKeyword="BCLBUILD2002" />
<Error Condition="!Exists('..\packages\Microsoft.Bcl.Build.1.0.17-beta\tools\Microsoft.Bcl.Build.targets')" Text="This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=317567." HelpKeyword="BCLBUILD2001" />
<Error Condition="Exists('..\packages\Microsoft.Bcl.Build.1.0.17-beta\tools\Microsoft.Bcl.Build.targets')" Text="The build restored NuGet packages. Build the project again to include these packages in the build. For more information, see http://go.microsoft.com/fwlink/?LinkID=317568." HelpKeyword="BCLBUILD2002" />
</Target>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
Expand Down
2 changes: 1 addition & 1 deletion src/PortableRest/packages.config
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
<package id="Microsoft.Bcl.Async" version="1.0.168" targetFramework="portable-net45+sl50+win+wp80" />
<package id="Microsoft.Bcl.Build" version="1.0.14" targetFramework="portable-net45+sl50+win+wp80+MonoAndroid10+MonoTouch10" requireReinstallation="True" />
<package id="Microsoft.Net.Http" version="2.2.22" targetFramework="portable-net45+sl50+win+wpa81+wp80" />
<package id="Newtonsoft.Json" version="6.0.3" targetFramework="portable-net45+sl50+win+wp80" requireReinstallation="True" />
<package id="Newtonsoft.Json" version="6.0.4" targetFramework="portable-net45+sl50+win+wpa81+wp80" />
</packages>

0 comments on commit fef6c47

Please sign in to comment.