Skip to content

Commit 393fd17

Browse files
authored
DEV-1176: Bump version to 5.3.0 (#46)
* DEV-1176: Bump version to 5.3.0 * Update release
1 parent efda4f1 commit 393fd17

File tree

3 files changed

+13
-10
lines changed

3 files changed

+13
-10
lines changed

Dwolla.Client.Tests/DwollaClientShould.cs

+6-6
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ public class DwollaClientShould
1919
{
2020
private const string JsonV1 = "application/vnd.dwolla.v1.hal+json";
2121
private const string RequestId = "some-id";
22-
private const string UserAgent = "dwolla-v2-csharp/5.2.2";
22+
private const string UserAgent = "dwolla-v2-csharp/5.3.0";
2323
private static readonly Uri RequestUri = new Uri("https://api-sandbox.dwolla.com/foo");
2424
private static readonly Uri AuthRequestUri = new Uri("https://accounts-sandbox.dwolla.com/foo");
25-
private static readonly Headers Headers = new Headers {{"key1", "value1"}, {"key2", "value2"}};
26-
private static readonly TestRequest Request = new TestRequest {Message = "requestTest"};
27-
private static readonly TestResponse Response = new TestResponse {Message = "responseTest"};
25+
private static readonly Headers Headers = new Headers { { "key1", "value1" }, { "key2", "value2" } };
26+
private static readonly TestRequest Request = new TestRequest { Message = "requestTest" };
27+
private static readonly TestResponse Response = new TestResponse { Message = "responseTest" };
2828

2929
private readonly Mock<IRestClient> _restClient;
3030
private readonly DwollaClient _client;
@@ -46,7 +46,7 @@ public void ConfigureHttpClient()
4646
public async void CreatePostAuthRequestAndPassToClient()
4747
{
4848
var response = CreateRestResponse(HttpMethod.Post, Response);
49-
var req = new AppTokenRequest {Key = "key", Secret = "secret"};
49+
var req = new AppTokenRequest { Key = "key", Secret = "secret" };
5050
var request = CreateAuthHttpRequest(req);
5151
_restClient.Setup(x => x.SendAsync<TestResponse>(It.IsAny<HttpRequestMessage>()))
5252
.Callback<HttpRequestMessage>(y => AppTokenCallback(request, y)).ReturnsAsync(response);
@@ -150,7 +150,7 @@ private static RestResponse<T> CreateRestResponse<T>(
150150
{
151151
var r = new HttpResponseMessage
152152
{
153-
RequestMessage = new HttpRequestMessage {RequestUri = RequestUri, Method = method}
153+
RequestMessage = new HttpRequestMessage { RequestUri = RequestUri, Method = method }
154154
};
155155
r.Headers.Add("x-request-id", RequestId);
156156
return new RestResponse<T>(r, content, rawContent);

Dwolla.Client/Dwolla.Client.csproj

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
<TargetFramework>netstandard1.3</TargetFramework>
44
<Company>Dwolla, Inc.</Company>
55
<!-- Also update UserAgent version in DwollaClient.cs -->
6-
<AssemblyVersion>5.2.2</AssemblyVersion>
7-
<FileVersion>5.2.2</FileVersion>
8-
<Version>5.2.2</Version>
6+
<AssemblyVersion>5.3.0</AssemblyVersion>
7+
<FileVersion>5.3.0</FileVersion>
8+
<Version>5.3.0</Version>
99
<Authors>Dwolla, Inc</Authors>
1010
<Description>Official C# Wrapper for Dwolla's API v2</Description>
1111
<Copyright>Copyright © 2018 Dwolla, Inc</Copyright>
@@ -16,4 +16,4 @@
1616
<ItemGroup>
1717
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
1818
</ItemGroup>
19-
</Project>
19+
</Project>

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,9 @@ $ docker run --init -it dwolla/csharp-example-app:latest
173173

174174
## Changelog
175175

176+
- [**5.3.0**](https://github.com/Dwolla/dwolla-v2-csharp/releases/tag/5.3.0)
177+
- Add API models and examples for Exchanges
178+
- Add Trace ID under AchDetails object
176179
- **5.2.2** Update `Newtonsoft.Json` to version 13.0.1
177180
- **5.2.1** Add Masspayment models and examples, support RTP transfers
178181
- **5.2.0** Change Token URLs and Add Labels models and examples

0 commit comments

Comments
 (0)