Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: restsharp/RestSharp
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 106.10.1
Choose a base ref
...
head repository: restsharp/RestSharp
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 106.12
Choose a head ref

Commits on Jan 13, 2020

  1. Copy the full SHA
    c646c6f View commit details
  2. Typo

    alexeyzimarev committed Jan 13, 2020
    Copy the full SHA
    3d06dba View commit details
  3. Copy the full SHA
    cad950a View commit details
  4. Copy the full SHA
    e8a51d2 View commit details
  5. Align left

    alexeyzimarev committed Jan 13, 2020
    Copy the full SHA
    7904d9f View commit details
  6. Small cleanup

    alexeyzimarev committed Jan 13, 2020
    Copy the full SHA
    074a673 View commit details
  7. Copy the full SHA
    60ccb88 View commit details

Commits on Jan 18, 2020

  1. Copy the full SHA
    3c36807 View commit details

Commits on Jan 20, 2020

  1. Copy the full SHA
    5064930 View commit details
  2. Changed actions for Github

    partyzone committed Jan 20, 2020
    Copy the full SHA
    94b5dc2 View commit details

Commits on Jan 23, 2020

  1. Merge pull request #1410 from opencollective/opencollective

    Activating Open Collective
    alexeyzimarev authored Jan 23, 2020
    Copy the full SHA
    9d98e56 View commit details
  2. Merge pull request #1411 from partyz0ne/master

    Add ability to serialize list of items with type of interface.
    alexeyzimarev authored Jan 23, 2020
    Copy the full SHA
    77b3379 View commit details
  3. Update README.md

    alexeyzimarev authored Jan 23, 2020
    Copy the full SHA
    ac875b1 View commit details

Commits on Jan 24, 2020

  1. Copy the full SHA
    55599ad View commit details

Commits on Jan 27, 2020

  1. Modify docs

    jz5 committed Jan 27, 2020
    Copy the full SHA
    c26e28c View commit details

Commits on Jan 30, 2020

  1. Fixing comment in #1280

    PhyxionNL authored Jan 30, 2020
    Copy the full SHA
    6650f38 View commit details

Commits on Feb 15, 2020

  1. Merge pull request #1416 from jz5/doc

    Modify docs
    alexeyzimarev authored Feb 15, 2020
    Copy the full SHA
    8dbeb26 View commit details
  2. Merge pull request #1414 from Deantwo/patch-1

    Ignore Empty Uri Query Parameters
    alexeyzimarev authored Feb 15, 2020
    Copy the full SHA
    5ff81a6 View commit details

Commits on Mar 24, 2020

  1. Copy the full SHA
    92ad955 View commit details
  2. Merge remote-tracking branch 'origin/master'

    # Conflicts:
    #	.github/workflows/build-master.yml
    alexeyzimarev committed Mar 24, 2020
    Copy the full SHA
    8164c56 View commit details
  3. Copy the full SHA
    d0e51a2 View commit details

Commits on Apr 5, 2020

  1. Copy the full SHA
    a3d8b8a View commit details

Commits on May 6, 2020

  1. Merge pull request #1421 from Phyxion/patch-1

    Fixing comment in #1280
    alexeyzimarev authored May 6, 2020
    Copy the full SHA
    b8e3ad2 View commit details
  2. Merge pull request #1445 from adamralph/upgrade-minver

    upgrade Minver from 2.0.0 to 2.2.0
    alexeyzimarev authored May 6, 2020
    Copy the full SHA
    f46e0d8 View commit details
  3. Fixing docs

    alexeyzimarev committed May 6, 2020
    Copy the full SHA
    e763803 View commit details
  4. Copy the full SHA
    24ee97f View commit details
  5. Koala has returned

    alexeyzimarev committed May 6, 2020
    Copy the full SHA
    1f6791a View commit details
  6. Fixing the docs

    alexeyzimarev committed May 6, 2020
    Copy the full SHA
    2a9ebca View commit details
  7. Update JS packages

    alexeyzimarev committed May 6, 2020
    Copy the full SHA
    822380b View commit details
  8. Copy the full SHA
    9074a81 View commit details

Commits on May 7, 2020

  1. Copy the full SHA
    29bf7a8 View commit details
  2. Copy the full SHA
    8dc8942 View commit details
  3. Copy the full SHA
    862d511 View commit details
  4. Fixing Actions

    alexeyzimarev committed May 7, 2020
    Copy the full SHA
    ace4552 View commit details
  5. Copy the full SHA
    bb32946 View commit details
  6. Copy the full SHA
    6a04af7 View commit details
  7. New minor

    alexeyzimarev committed May 7, 2020
    Copy the full SHA
    2a25b1c View commit details

Commits on May 8, 2020

  1. Copy the full SHA
    561ebc1 View commit details
  2. Added #1433 to the docs

    alexeyzimarev committed May 8, 2020
    Copy the full SHA
    c650cc0 View commit details
  3. Copy the full SHA
    370659d View commit details

Commits on May 11, 2020

  1. Copy the full SHA
    ee97e33 View commit details
  2. Add namespace rules

    alexeyzimarev committed May 11, 2020
    Copy the full SHA
    be5a431 View commit details
  3. Copy the full SHA
    071bf9c View commit details
  4. Copy the full SHA
    28d40a3 View commit details

Commits on May 12, 2020

  1. Add property name to the FormatException #1452

    Fixed format exception error
    GLOBAL\H245254 committed May 12, 2020
    Copy the full SHA
    7a016bb View commit details
  2. Add property name to the FormatException #1452

    Added inner exception and string encoding.
    GLOBAL\H245254 committed May 12, 2020
    Copy the full SHA
    0fda3d4 View commit details

Commits on May 13, 2020

  1. Merge pull request #1462 from adityamagadi/master

    Add property name to the FormatException #1452
    alexeyzimarev authored May 13, 2020
    Copy the full SHA
    b471dd5 View commit details
  2. Copy the full SHA
    1636701 View commit details

Commits on May 18, 2020

  1. Use random value for multipart/form-data boundary.

    The request body might contain the previous, fixed value for FormBoundary.
    This will cause a server to split the body on the wrong boundaries.
    Trellmor committed May 18, 2020
    Copy the full SHA
    d16475b View commit details
  2. Merge pull request #1464 from Trellmor/RandomMultipartFormDataBoundary

    Use random value for multipart/form-data boundary.
    alexeyzimarev authored May 18, 2020
    Copy the full SHA
    b0816cc View commit details
Showing with 23,643 additions and 7,170 deletions.
  1. +18 −0 .devcontainer/Dockerfile
  2. +27 −0 .devcontainer/devcontainer.json
  3. +1 −1 .github/FUNDING.yml
  4. +7 −0 .github/ISSUE_TEMPLATE.md
  5. +15 −0 .github/dependabot.yml
  6. +39 −0 .github/workflows/build-dev.yml
  7. +0 −59 .github/workflows/build-master.yml
  8. +44 −0 .github/workflows/codeql-analysis.yml
  9. +0 −30 .github/workflows/publish-docs.yml
  10. +8 −8 .github/workflows/pull-request.yml
  11. +2 −0 .gitignore
  12. +5 −4 CONTRIBUTING.md
  13. +31 −1 README.md
  14. +68 −0 RestSharp.sln
  15. +17 −1 RestSharp.sln.DotSettings
  16. +19 −0 SECURITY.md
  17. +7 −0 benchmarks/RestSharp.Benchmarks/Directory.Build.props
  18. +9 −0 benchmarks/RestSharp.Benchmarks/Program.cs
  19. +32 −0 benchmarks/RestSharp.Benchmarks/RestSharp.Benchmarks.csproj
  20. +47 −0 benchmarks/RestSharp.Benchmarks/Serializers/JsonNetDeserializeBenchmarks.cs
  21. +40 −0 benchmarks/RestSharp.Benchmarks/Serializers/JsonNetSerializeBenchmarks.cs
  22. +33 −0 benchmarks/RestSharp.Benchmarks/Serializers/TestClass.cs
  23. +47 −0 benchmarks/RestSharp.Benchmarks/Serializers/Utf8JsonDeserializeBenchmarks.cs
  24. +5 −0 docs/.idea/.gitignore
  25. +5 −0 docs/.idea/codeStyles/codeStyleConfig.xml
  26. +7 −0 docs/.idea/dictionaries/alexey.xml
  27. +12 −0 docs/.idea/docs.iml
  28. +6 −0 docs/.idea/misc.xml
  29. +8 −0 docs/.idea/modules.xml
  30. +6 −0 docs/.idea/vcs.xml
  31. +20 −7 docs/.vuepress/config.js
  32. +67 −0 docs/CI-CD_DOCUMENTATION/CI-CD_DOCUMENTATION.md
  33. BIN docs/CI-CD_DOCUMENTATION/CodeQL_alert_page.png
  34. BIN docs/CI-CD_DOCUMENTATION/CodeQL_results.png
  35. BIN docs/CI-CD_DOCUMENTATION/Dependabot_PRs.png
  36. BIN docs/CI-CD_DOCUMENTATION/Dependabot_alert_page.png
  37. BIN docs/CI-CD_DOCUMENTATION/Dependabot_alerts_page.png
  38. BIN docs/CI-CD_DOCUMENTATION/Dependabot_dependency_graph.png
  39. BIN docs/CI-CD_DOCUMENTATION/Dependabot_log_page.png
  40. BIN docs/CI-CD_DOCUMENTATION/Dependabot_tab.png
  41. +18 −0 docs/api/README.md
  42. +226 −0 docs/api/RestSharp.Serializers.NewtonsoftJson.md
  43. +962 −0 docs/api/RestSharp.Serializers.SimpleJson.md
  44. +218 −0 docs/api/RestSharp.Serializers.SystemTextJson.md
  45. +206 −0 docs/api/RestSharp.Serializers.Utf8Json.md
  46. +12,553 −0 docs/api/RestSharp.md
  47. +1 −1 docs/get-help/faq.md
  48. +4 −39 docs/getting-started/README.md
  49. +81 −0 docs/getting-started/getting-started.md
  50. +27 −0 docs/usage/exceptions.md
  51. +24 −5 docs/usage/parameters.md
  52. +22 −1 docs/usage/serialization.md
  53. +7 −1 netfx.props
  54. +3 −1 package.json
  55. BIN restsharp.png
  56. +44 −0 src/Directory.Build.props
  57. +27 −27 src/RestSharp.Serializers.NewtonsoftJson/JsonNetSerializer.cs
  58. +7 −7 src/RestSharp.Serializers.NewtonsoftJson/RestClientExtensions.cs
  59. +18 −9 src/RestSharp.Serializers.NewtonsoftJson/RestRequestExtensions.cs
  60. +9 −38 src/RestSharp.Serializers.NewtonsoftJson/RestSharp.Serializers.NewtonsoftJson.csproj
  61. +56 −0 src/RestSharp.Serializers.NewtonsoftJson/WriterBuffer.cs
  62. +4 −4 src/RestSharp.Serializers.SystemTextJson/RestClientExtensions.cs
  63. +18 −9 src/RestSharp.Serializers.SystemTextJson/RestRequestExtensions.cs
  64. +9 −34 src/RestSharp.Serializers.SystemTextJson/RestSharp.Serializers.SystemTextJson.csproj
  65. +5 −4 src/RestSharp.Serializers.SystemTextJson/SystemTextJsonSerializer.cs
  66. +4 −5 src/RestSharp.Serializers.Utf8Json/RestClientExtensions.cs
  67. +18 −9 src/RestSharp.Serializers.Utf8Json/RestRequestExtensions.cs
  68. +9 −34 src/RestSharp.Serializers.Utf8Json/RestSharp.Serializers.Utf8Json.csproj
  69. +38 −12 src/RestSharp.Serializers.Utf8Json/Utf8JsonSerializer.cs
  70. +0 −1 src/RestSharp/Authenticators/HttpBasicAuthenticator.cs
  71. +1 −5 src/RestSharp/Authenticators/IAuthenticator.cs
  72. +3 −8 src/RestSharp/Authenticators/JwtAuthenticator.cs
  73. +5 −9 src/RestSharp/Authenticators/NtlmAuthenticator.cs
  74. +14 −0 src/RestSharp/Authenticators/OAuth/Enums.cs
  75. +0 −13 src/RestSharp/Authenticators/OAuth/Extensions/CollectionExtensions.cs
  76. +15 −1 src/RestSharp/Authenticators/OAuth/Extensions/OAuthExtensions.cs
  77. +15 −3 src/RestSharp/Authenticators/OAuth/Extensions/StringExtensions.cs
  78. +15 −3 src/RestSharp/Authenticators/OAuth/Extensions/TimeExtensions.cs
  79. +69 −37 src/RestSharp/Authenticators/OAuth/OAuth1Authenticator.cs
  80. +57 −46 src/RestSharp/Authenticators/OAuth/OAuthTools.cs
  81. +97 −100 src/RestSharp/Authenticators/OAuth/OAuthWorkflow.cs
  82. +28 −11 src/RestSharp/Authenticators/OAuth/WebPair.cs
  83. +17 −34 src/RestSharp/Authenticators/OAuth/WebPairCollection.cs
  84. +10 −9 src/RestSharp/Authenticators/OAuth2/OAuth2Authenticator.cs
  85. +9 −8 src/RestSharp/Authenticators/OAuth2/OAuth2AuthorizationRequestHeaderAuthenticator.cs
  86. +6 −5 src/RestSharp/Authenticators/OAuth2/OAuth2UriQueryParameterAuthenticator.cs
  87. +1 −5 src/RestSharp/Authenticators/SimpleAuthenticator.cs
  88. +14 −0 src/RestSharp/DeseralizationException.cs
  89. +16 −22 src/RestSharp/Enum.cs
  90. +27 −0 src/RestSharp/Extensions/CollectionExtensions.cs
  91. +7 −44 src/RestSharp/Extensions/MiscExtensions.cs
  92. +19 −5 src/RestSharp/Extensions/RSACryptoServiceProviderExtensions.cs
  93. +13 −18 src/RestSharp/Extensions/ReflectionExtensions.cs
  94. +15 −1 src/RestSharp/Extensions/ResponseExtensions.cs
  95. +16 −2 src/RestSharp/Extensions/ResponseStatusExtensions.cs
  96. +14 −0 src/RestSharp/Extensions/StreamExtensions.cs
  97. +62 −0 src/RestSharp/Extensions/StringEncodingExtensions.cs
  98. +46 −59 src/RestSharp/Extensions/StringExtensions.cs
  99. +14 −0 src/RestSharp/Extensions/WebRequestExtensions.cs
  100. +14 −0 src/RestSharp/Extensions/WithExtensions.cs
  101. +3 −7 src/RestSharp/Extensions/XmlExtensions.cs
  102. +36 −24 src/RestSharp/FileParameter.cs
  103. +30 −85 src/RestSharp/Http.Async.cs
  104. +17 −16 src/RestSharp/Http.Sync.cs
  105. +80 −150 src/RestSharp/Http.cs
  106. +31 −16 src/RestSharp/HttpCookie.cs
  107. +22 −7 src/RestSharp/HttpFile.cs
  108. +47 −5 src/RestSharp/HttpHeader.cs
  109. +49 −7 src/RestSharp/HttpParameter.cs
  110. +21 −60 src/RestSharp/HttpResponse.cs
  111. +116 −18 src/RestSharp/IHttp.cs
  112. +31 −17 src/RestSharp/IHttpResponse.cs
  113. +118 −31 src/RestSharp/IRestClient.cs
  114. +137 −98 src/RestSharp/IRestRequest.cs
  115. +41 −25 src/RestSharp/IRestResponse.cs
  116. +0 −45 src/RestSharp/JsonRequest.cs
  117. +16 −1 src/RestSharp/Legacy/Http.cs
  118. +35 −19 src/RestSharp/Legacy/IRestClient.cs
  119. +38 −24 src/RestSharp/Legacy/RestClient.cs
  120. +193 −0 src/RestSharp/Legacy/RestClientExtensions.cs
  121. +23 −9 src/RestSharp/NameValuePair.cs
  122. +47 −45 src/RestSharp/Parameter.cs
  123. +21 −7 src/RestSharp/RequestBody.cs
  124. +9 −17 src/RestSharp/RestClient.Async.cs
  125. +25 −31 src/RestSharp/RestClient.Sync.cs
  126. +117 −252 src/RestSharp/RestClient.cs
  127. +182 −202 src/RestSharp/RestClientExtensions.cs
  128. +0 −47 src/RestSharp/RestClientJsonRequest.cs
  129. +120 −324 src/RestSharp/RestRequest.cs
  130. +14 −4 src/RestSharp/RestRequestAsyncHandle.cs
  131. +20 −12 src/RestSharp/RestRequestExtensions.cs
  132. +31 −35 src/RestSharp/RestResponse.cs
  133. +28 −14 src/RestSharp/RestResponseCookie.cs
  134. +8 −29 src/RestSharp/RestSharp.csproj
  135. +4 −0 src/RestSharp/RestSharp.csproj.DotSettings
  136. +14 −0 src/RestSharp/Serializers/ContentType.cs
  137. +5 −9 src/RestSharp/Serializers/DeserializeAsAttribute.cs
  138. +5 −9 src/RestSharp/Serializers/IDeserializer.cs
  139. +19 −5 src/RestSharp/Serializers/IRestSerializer.cs
  140. +2 −6 src/RestSharp/Serializers/ISerializer.cs
  141. +15 −1 src/RestSharp/Serializers/IWithRootElement.cs
  142. +86 −102 src/RestSharp/Serializers/Json/JsonSerializer.cs
  143. +1,904 −1,951 src/RestSharp/Serializers/Json/SimpleJson.cs
  144. +13 −17 src/RestSharp/Serializers/SerializeAsAttribute.cs
  145. +19 −5 src/RestSharp/Serializers/Xml/DotNetXmlDeserializer.cs
  146. +25 −11 src/RestSharp/Serializers/Xml/DotNetXmlSerializer.cs
  147. +14 −0 src/RestSharp/Serializers/Xml/DotNetXmlSerializerClientExtensions.cs
  148. +14 −0 src/RestSharp/Serializers/Xml/IXmlDeserializer.cs
  149. +15 −1 src/RestSharp/Serializers/Xml/IXmlSerializer.cs
  150. +1 −5 src/RestSharp/Serializers/Xml/XmlAttributeDeserializer.cs
  151. +31 −26 src/RestSharp/Serializers/Xml/XmlDeserializer.cs
  152. +25 −10 src/RestSharp/Serializers/Xml/XmlRestSerializer.cs
  153. +17 −26 src/RestSharp/Serializers/Xml/XmlSerializer.cs
  154. +23 −1 src/RestSharp/Validation/Ensure.cs
  155. +3 −7 src/RestSharp/Validation/Require.cs
  156. +4 −8 src/RestSharp/Validation/Validate.cs
  157. +19 −0 test/Directory.Build.props
  158. +9 −9 test/RestSharp.IntegrationTests/AsyncTests.cs
  159. +41 −0 test/RestSharp.IntegrationTests/Authentication/AuthenticationTests.cs
  160. +0 −103 test/RestSharp.IntegrationTests/AuthenticationTests.cs
  161. +5 −5 test/RestSharp.IntegrationTests/CustomRequestSerializerTests.cs
  162. +19 −6 test/RestSharp.IntegrationTests/DefaultParameterTests.cs
  163. +44 −0 test/RestSharp.IntegrationTests/Fixtures/CaptureFixture.cs
  164. +50 −0 test/RestSharp.IntegrationTests/HttpHeadersTests.cs
  165. +2 −2 test/RestSharp.IntegrationTests/Models/LinkedINMemberProfile.cs
  166. +52 −18 test/RestSharp.IntegrationTests/MultipartFormDataTests.cs
  167. +11 −11 test/RestSharp.IntegrationTests/NonProtocolExceptionHandlingTests.cs
  168. +2 −3 test/RestSharp.IntegrationTests/OAuth1Tests.cs
  169. +2 −0 test/RestSharp.IntegrationTests/ProxyTests.cs
  170. +4 −3 test/RestSharp.IntegrationTests/RequestBodyTests.cs
  171. +2 −20 test/RestSharp.IntegrationTests/RequestHeadTests.cs
  172. +2 −2 test/RestSharp.IntegrationTests/ResourceStringParametersTests.cs
  173. +24 −42 test/RestSharp.IntegrationTests/RestSharp.IntegrationTests.csproj
  174. +163 −0 test/RestSharp.InteractiveTests/AuthenticationTests.cs
  175. +26 −0 test/RestSharp.InteractiveTests/Program.cs
  176. +12 −0 test/RestSharp.InteractiveTests/RestSharp.InteractiveTests.csproj
  177. +64 −0 test/RestSharp.Serializers.Tests/IssueCases/Issue_1444.cs
  178. +52 −4 test/RestSharp.Serializers.Tests/NewtonsoftJsonTests.cs
  179. +11 −25 test/RestSharp.Serializers.Tests/RestSharp.Serializers.Tests.csproj
  180. +7 −7 test/RestSharp.Serializers.Tests/Utf8JsonTests.cs
  181. +3 −1 test/RestSharp.Tests.Shared/Extensions/StreamExtensions.cs
  182. +19 −19 test/RestSharp.Tests.Shared/Fixtures/Handlers.cs
  183. +10 −17 test/RestSharp.Tests.Shared/RestSharp.Tests.Shared.csproj
  184. +2 −4 test/RestSharp.Tests/HttpBasicAuthenticatorTests.cs
  185. +60 −27 test/RestSharp.Tests/JsonTests.cs
  186. +58 −1 test/RestSharp.Tests/OAuth1AuthenticatorTests.cs
  187. +2 −2 test/RestSharp.Tests/ParametersTests.cs
  188. +120 −3 test/RestSharp.Tests/RequestHeaderTests.cs
  189. +6 −6 test/RestSharp.Tests/RestClientTests.cs
  190. +14 −3 test/RestSharp.Tests/RestRequestTests.cs
  191. +25 −32 test/RestSharp.Tests/RestSharp.Tests.csproj
  192. +6 −6 test/RestSharp.Tests/SampleClasses/EmployeeTracker.cs
  193. +1 −13 test/RestSharp.Tests/SampleClasses/SOUser.cs
  194. +9 −0 test/RestSharp.Tests/SampleClasses/misc.cs
  195. 0 test/RestSharp.Tests/SampleData/{4sq.txt → 4sq.json}
  196. 0 test/RestSharp.Tests/SampleData/{GenericWithList.txt → GenericWithList.json}
  197. +17 −0 test/RestSharp.Tests/SampleData/GoodreadsFormatError.xml
  198. 0 test/RestSharp.Tests/SampleData/{bearertoken.txt → bearertoken.json}
  199. 0 test/RestSharp.Tests/SampleData/{datetimes.txt → datetimes.json}
  200. 0 test/RestSharp.Tests/SampleData/{iso8601datetimes.txt → iso8601datetimes.json}
  201. 0 test/RestSharp.Tests/SampleData/{jsonarray.txt → jsonarray.json}
  202. 0 test/RestSharp.Tests/SampleData/{jsondictionary.txt → jsondictionary.json}
  203. 0 test/RestSharp.Tests/SampleData/{jsondictionary_KeysType.txt → jsondictionary_KeysType.json}
  204. 0 test/RestSharp.Tests/SampleData/{jsondictionary_null.txt → jsondictionary_null.json}
  205. 0 test/RestSharp.Tests/SampleData/{jsonenums.txt → jsonenums.json}
  206. 0 test/RestSharp.Tests/SampleData/{jsonenumtypes.txt → jsonenumtypes.json}
  207. 0 test/RestSharp.Tests/SampleData/{jsonlists.txt → jsonlists.json}
  208. +4 −0 test/RestSharp.Tests/SampleData/newdatetimes.json
  209. 0 test/RestSharp.Tests/SampleData/{objectproperty.txt → objectproperty.json}
  210. 0 test/RestSharp.Tests/SampleData/{person.json.txt → person.json}
  211. 0 test/RestSharp.Tests/SampleData/{sojson.txt → sojson.json}
  212. 0 test/RestSharp.Tests/SampleData/{timespans.txt → timespans.json}
  213. +18 −0 test/RestSharp.Tests/SampleData/underscore_prefix.json
  214. +0 −18 test/RestSharp.Tests/SampleData/underscore_prefix.txt
  215. +30 −3 test/RestSharp.Tests/StringExtensionsTests.cs
  216. +9 −0 test/RestSharp.Tests/TestData/JsonData.cs
  217. +4 −4 test/RestSharp.Tests/UrlBuilderTests.cs
  218. +16 −0 test/RestSharp.Tests/XmlDeserializerTests.cs
  219. +69 −2 test/RestSharp.Tests/XmlSerializerTests.cs
  220. +2,645 −2,066 yarn.lock
18 changes: 18 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
FROM mcr.microsoft.com/vscode/devcontainers/dotnet:0.201.7-5.0

# Install Mono for running tests
RUN sudo apt install gnupg ca-certificates && \
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF && \
echo "deb https://download.mono-project.com/repo/ubuntu stable-focal main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list && \
sudo apt update && \
sudo apt install -y mono-complete && \
# Install .NET Core 3.1 for running tests
sudo apt-get install wget && \
wget https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb && \
sudo dpkg -i packages-microsoft-prod.deb && \
sudo apt-get update && \
sudo apt-get install -y apt-transport-https && \
sudo apt-get update && \
sudo apt-get install -y dotnet-sdk-3.1

# Built with ❤ by [Pipeline Foundation](https://pipeline.foundation)
27 changes: 27 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"name": "RestSharp Codespace",
"settings": {
"workbench.colorTheme": "Default Dark+",
"terminal.integrated.defaultProfile.linux": "pwsh"
},
"extensions": [
"eamodio.gitlens",
"ms-dotnettools.csharp",
"VisualStudioExptTeam.vscodeintellicode",
"ms-vscode.powershell",
"cschleiden.vscode-github-actions",
"redhat.vscode-yaml",
"bierner.markdown-preview-github-styles",
"ban.spellright",
"jmrog.vscode-nuget-package-manager",
"coenraads.bracket-pair-colorizer",
"vscode-icons-team.vscode-icons",
"editorconfig.editorconfig"
],
"postCreateCommand": "dotnet restore RestSharp.sln && dotnet build RestSharp.sln --configuration Release --no-restore && dotnet test RestSharp.sln --configuration Release --no-build",
"build": {
"dockerfile": "Dockerfile"
}
}

// Built with ❤ by [Pipeline Foundation](https://pipeline.foundation)
2 changes: 1 addition & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# These are supported funding model platforms

open_collective: restsharp
github: alexeyzimarev
7 changes: 7 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## Read this first!

**Important**
- Please do not use GitHub issues to ask question about using RestSharp.
- Ensure to read the Get help docs page at https://restsharp.dev/get-help/ before opening an issue/
- Issues not following our contribution guidelines will be marked as `invalid` and closed in three days.

## Expected Behavior


15 changes: 15 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
version: 2
updates:
- package-ecosystem: "github-actions"
# default location of `.github/workflows`
directory: "/"
schedule:
interval: "weekly"

- package-ecosystem: "nuget"
# location of package manifests
directory: "/"
schedule:
interval: "daily"

# Built with ❤ by [Pipeline Foundation](https://pipeline.foundation)
39 changes: 39 additions & 0 deletions .github/workflows/build-dev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Build and deploy

on:
push:
paths-ignore:
- 'docs/**'
- 'yarn.lock'
- 'package.json'
branches:
- dev
tags:
- '*'

jobs:
test-win:
runs-on: windows-latest

steps:
- name: Checkout
uses: actions/checkout@v2.3.4
- name: Run tests on Windows for all targets
run: dotnet test -c Release

nuget:
runs-on: windows-latest
needs: [ test-win ] #,test-netcore-linux]

steps:
-
name: Checkout
uses: actions/checkout@v2.3.4
-
name: Unshallow
run: git fetch --prune --unshallow
-
name: Create and push NuGet package
run: |
dotnet pack -c Release -o nuget -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg
dotnet nuget push **/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate
59 changes: 0 additions & 59 deletions .github/workflows/build-master.yml

This file was deleted.

44 changes: 44 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: CodeQL Analysis

on:
push:
pull_request:
workflow_dispatch:
schedule:
- cron: '0 8 * * *'

jobs:
analyze:
name: codeql-analysis
runs-on: windows-latest
steps:
# Due to the insufficient memory allocated by default, CodeQL sometimes requires more to be manually allocated
- name: Configure Pagefile
id: config_pagefile
uses: al-cheb/configure-pagefile-action@v1.2
with:
minimum-size: 8GB
maximum-size: 32GB
disk-root: "D:"

- name: Checkout repository
id: checkout_repo
uses: actions/checkout@v2.3.4

- name: Initialize CodeQL
id: init_codeql
uses: github/codeql-action/init@v1
with:
queries: security-and-quality

- name: Build project
id: build_project
shell: pwsh
run: |
dotnet build ./src/RestSharp/RestSharp.csproj -c Release
- name: Perform CodeQL Analysis
id: analyze_codeql
uses: github/codeql-action/analyze@v1

# Built with ❤ by [Pipeline Foundation](https://pipeline.foundation)
30 changes: 0 additions & 30 deletions .github/workflows/publish-docs.yml

This file was deleted.

16 changes: 8 additions & 8 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
@@ -3,23 +3,23 @@ name: Build and test PRs
on: [pull_request]

jobs:
build:
test:
runs-on: windows-latest

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2.3.4
- uses: actions/setup-dotnet@v1.8.1
with:
dotnet-version: '5.0'

- name: Run tests netcoreapp3.1
run: dotnet test -c Release -f netcoreapp3.1

- name: Run tests net461
run: dotnet test -c Release -f net461
- name: Run tests
run: dotnet test -c Release

docs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2.3.4

- name: Vuepress
run: |
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -51,3 +51,5 @@ RestSharp.IntegrationTests/config.json
/.vs/
/node_modules/
/out/
/docs/.vuepress/dist/
.vscode/
9 changes: 5 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -2,16 +2,17 @@ Follow these guidelines, in no particular order, to improve your chances of havi

### Before you do anything else

* Before reporting an issue or creating a pull request, discuss it in the Google Group http://groups.google.com/group/restsharp
* If you have an inquiry - ask a question on StackOverflow, tagged with `restsharp` tag.
* DO: Read about [getting help](https://restsharp.dev/get-help/) in the docs.
* DO: Follow the guidelines below when contributing.
* DO: Discuss bigger change in the issue before implementing it.
* DO NOT: Use issues to ask questions about using the library.

### Once a contribution is ready to be submitted

* Make each pull request atomic and exclusive; don't send pull requests for a laundry list of changes.
* Even better, commit in small manageable chunks.
* Spaces, not tabs. Bracket style doesn't matter. Do not reformat code you didn't touch.
* Changes to XmlDeserializer or JsonDeserializer must be accompanied by a unit test covering the change.
* In general, changes should be accompanied by unit tests to show what was broken and how your patch fixes it.
* Changes should be accompanied by unit tests to show what was broken and how your patch fixes it.
* No regions except for license header
* Code must build for .NET 4.5.2 and .NET Standard 2.0
* If you didn't write the code you must provide a reference to where you obtained it and preferably the license.
32 changes: 31 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@

| | |
|-|-|
| master | [![](https://img.shields.io/github/workflow/status/restsharp/RestSharp/Build%20and%20deploy)](https://github.com/restsharp/RestSharp/actions?query=workflow%3A%22Build+and+deploy%22) |
| dev | [![](https://img.shields.io/github/workflow/status/restsharp/RestSharp/Build%20and%20deploy)](https://github.com/restsharp/RestSharp/actions?query=workflow%3A%22Build+and+deploy%22) |
| docs | [![Netlify Status](https://img.shields.io/netlify/ae5b8e6e-32d9-4cdc-8a39-ca12ff2948f3?label=docs)](https://app.netlify.com/sites/restsharp/deploys) |

### Nuget
@@ -21,6 +21,36 @@ Read the docs: [Official Site][1]

Find RestSharp on Twitter: [@RestSharp][2]

## Contributors

### Code Contributors

This project exists thanks to all the people who contribute. [[Contribute](CONTRIBUTING.md)].
<a href="https://github.com/restsharp/RestSharp/graphs/contributors"><img src="https://opencollective.com/RestSharp/contributors.svg?width=890&button=false" /></a>

### Financial Contributors

Become a financial contributor and help us sustain our community. [[Contribute](https://opencollective.com/RestSharp/contribute)]

#### Individuals

<a href="https://opencollective.com/RestSharp"><img src="https://opencollective.com/RestSharp/individuals.svg?width=890"></a>

#### Organizations

Support this project with your organization. Your logo will show up here with a link to your website. [[Contribute](https://opencollective.com/RestSharp/contribute)]

<a href="https://opencollective.com/RestSharp/organization/0/website"><img src="https://opencollective.com/RestSharp/organization/0/avatar.svg"></a>
<a href="https://opencollective.com/RestSharp/organization/1/website"><img src="https://opencollective.com/RestSharp/organization/1/avatar.svg"></a>
<a href="https://opencollective.com/RestSharp/organization/2/website"><img src="https://opencollective.com/RestSharp/organization/2/avatar.svg"></a>
<a href="https://opencollective.com/RestSharp/organization/3/website"><img src="https://opencollective.com/RestSharp/organization/3/avatar.svg"></a>
<a href="https://opencollective.com/RestSharp/organization/4/website"><img src="https://opencollective.com/RestSharp/organization/4/avatar.svg"></a>
<a href="https://opencollective.com/RestSharp/organization/5/website"><img src="https://opencollective.com/RestSharp/organization/5/avatar.svg"></a>
<a href="https://opencollective.com/RestSharp/organization/6/website"><img src="https://opencollective.com/RestSharp/organization/6/avatar.svg"></a>
<a href="https://opencollective.com/RestSharp/organization/7/website"><img src="https://opencollective.com/RestSharp/organization/7/avatar.svg"></a>
<a href="https://opencollective.com/RestSharp/organization/8/website"><img src="https://opencollective.com/RestSharp/organization/8/avatar.svg"></a>
<a href="https://opencollective.com/RestSharp/organization/9/website"><img src="https://opencollective.com/RestSharp/organization/9/avatar.svg"></a>

### License: Apache License 2.0

[1]: https://restsharp.dev
Loading