Skip to content

Commit 015b9e1

Browse files
committed
Merge tag '1.14.1' into develop
Release 1.14.1
2 parents 8cc89ae + 7a6819c commit 015b9e1

12 files changed

+625
-59
lines changed

CHANGELOG.md

Lines changed: 64 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,50 @@
1-
# Change Log
1+
# Changelog
2+
3+
## [Unreleased](https://github.com/bunq/sdk_java/tree/HEAD)
4+
5+
[Full Changelog](https://github.com/bunq/sdk_java/compare/1.14.0...HEAD)
6+
7+
**Implemented enhancements:**
8+
9+
- Update Java SDK dependencies [\#131](https://github.com/bunq/sdk_java/issues/131)
10+
11+
**Fixed bugs:**
12+
13+
- OauthAuthorizationUri creates incorrect URL [\#126](https://github.com/bunq/sdk_java/issues/126)
14+
- Fixed OauthAuthorizationUri not being correctly created [\#133](https://github.com/bunq/sdk_java/pull/133) ([angelomelonas](https://github.com/angelomelonas))
15+
16+
**Closed issues:**
17+
18+
- ExceptionInInitializerError in ApiContext.create [\#127](https://github.com/bunq/sdk_java/issues/127)
19+
- Update Okio dependency [\#120](https://github.com/bunq/sdk_java/issues/120)
20+
21+
**Merged pull requests:**
22+
23+
- Updated Java SDK dependencies [\#132](https://github.com/bunq/sdk_java/pull/132) ([angelomelonas](https://github.com/angelomelonas))
24+
25+
## [1.14.0](https://github.com/bunq/sdk_java/tree/1.14.0) (2020-07-28)
26+
27+
[Full Changelog](https://github.com/bunq/sdk_java/compare/1.13.1...1.14.0)
28+
29+
**Closed issues:**
30+
31+
- Certificate pinning issue after bunq certificate renewal [\#123](https://github.com/bunq/sdk_java/issues/123)
32+
33+
## [1.13.1](https://github.com/bunq/sdk_java/tree/1.13.1) (2020-03-27)
34+
35+
[Full Changelog](https://github.com/bunq/sdk_java/compare/1.13.0...1.13.1)
36+
37+
**Merged pull requests:**
38+
39+
- Updated sandbox certificate pinning hash. [\#125](https://github.com/bunq/sdk_java/pull/125) ([NickvandeGroes](https://github.com/NickvandeGroes))
40+
- Use correct oauth url for sandbox and production [\#124](https://github.com/bunq/sdk_java/pull/124) ([thijsdejong](https://github.com/thijsdejong))
41+
42+
## [1.13.0](https://github.com/bunq/sdk_java/tree/1.13.0) (2020-02-19)
43+
44+
[Full Changelog](https://github.com/bunq/sdk_java/compare/1.12.1...1.13.0)
245

346
## [1.12.1](https://github.com/bunq/sdk_java/tree/1.12.1) (2019-09-16)
47+
448
[Full Changelog](https://github.com/bunq/sdk_java/compare/1.12.0...1.12.1)
549

650
**Closed issues:**
@@ -12,6 +56,7 @@
1256
- Feature/object wrapping fix [\#119](https://github.com/bunq/sdk_java/pull/119) ([NickvandeGroes](https://github.com/NickvandeGroes))
1357

1458
## [1.12.0](https://github.com/bunq/sdk_java/tree/1.12.0) (2019-09-10)
59+
1560
[Full Changelog](https://github.com/bunq/sdk_java/compare/1.10.16...1.12.0)
1661

1762
**Closed issues:**
@@ -23,16 +68,19 @@
2368
- Fix NotificationFilter and implement PSD2 [\#118](https://github.com/bunq/sdk_java/pull/118) ([NickvandeGroes](https://github.com/NickvandeGroes))
2469

2570
## [1.10.16](https://github.com/bunq/sdk_java/tree/1.10.16) (2019-06-16)
71+
2672
[Full Changelog](https://github.com/bunq/sdk_java/compare/1.10.1...1.10.16)
2773

2874
## [1.10.1](https://github.com/bunq/sdk_java/tree/1.10.1) (2019-05-22)
75+
2976
[Full Changelog](https://github.com/bunq/sdk_java/compare/1.10.0...1.10.1)
3077

3178
**Closed issues:**
3279

3380
- Support for MonetaryAccountBankSavings is missing [\#113](https://github.com/bunq/sdk_java/issues/113)
3481

3582
## [1.10.0](https://github.com/bunq/sdk_java/tree/1.10.0) (2019-05-09)
83+
3684
[Full Changelog](https://github.com/bunq/sdk_java/compare/1.1.0...1.10.0)
3785

3886
**Closed issues:**
@@ -45,13 +93,15 @@
4593
- Changed pinned key to match new sandbox certificate [\#116](https://github.com/bunq/sdk_java/pull/116) ([erwindeg](https://github.com/erwindeg))
4694

4795
## [1.1.0](https://github.com/bunq/sdk_java/tree/1.1.0) (2018-10-09)
96+
4897
[Full Changelog](https://github.com/bunq/sdk_java/compare/1.0.1...1.1.0)
4998

5099
**Merged pull requests:**
51100

52101
- bunq header handling as enum \(bunq/sdk\_java\#93\) [\#105](https://github.com/bunq/sdk_java/pull/105) ([tubbynl](https://github.com/tubbynl))
53102

54103
## [1.0.1](https://github.com/bunq/sdk_java/tree/1.0.1) (2018-09-01)
104+
55105
[Full Changelog](https://github.com/bunq/sdk_java/compare/1.0.0...1.0.1)
56106

57107
**Closed issues:**
@@ -63,6 +113,7 @@
63113
- Exclude examples and test files from build. \(bunq/sdk\_java\#109\) [\#110](https://github.com/bunq/sdk_java/pull/110) ([OGKevin](https://github.com/OGKevin))
64114

65115
## [1.0.0](https://github.com/bunq/sdk_java/tree/1.0.0) (2018-07-24)
116+
66117
[Full Changelog](https://github.com/bunq/sdk_java/compare/0.13.1...1.0.0)
67118

68119
**Implemented enhancements:**
@@ -111,13 +162,15 @@
111162
- Replace examples with tinker bunq/sdk\_java\#66 [\#82](https://github.com/bunq/sdk_java/pull/82) ([OGKevin](https://github.com/OGKevin))
112163

113164
## [0.13.1](https://github.com/bunq/sdk_java/tree/0.13.1) (2018-05-30)
165+
114166
[Full Changelog](https://github.com/bunq/sdk_java/compare/0.13.0...0.13.1)
115167

116168
**Closed issues:**
117169

118170
- Android issue: HttpClient was deprecated in API Level 22 and removed in API Level 23 [\#69](https://github.com/bunq/sdk_java/issues/69)
119171

120172
## [0.13.0](https://github.com/bunq/sdk_java/tree/0.13.0) (2018-03-20)
173+
121174
[Full Changelog](https://github.com/bunq/sdk_java/compare/0.12.4...0.13.0)
122175

123176
**Implemented enhancements:**
@@ -156,6 +209,7 @@
156209
- Improve issue and pr template. \(bunq/sdk\_java\#56\) [\#57](https://github.com/bunq/sdk_java/pull/57) ([OGKevin](https://github.com/OGKevin))
157210

158211
## [0.12.4](https://github.com/bunq/sdk_java/tree/0.12.4) (2017-12-21)
212+
159213
[Full Changelog](https://github.com/bunq/sdk_java/compare/0.12.3...0.12.4)
160214

161215
**Implemented enhancements:**
@@ -169,17 +223,13 @@
169223
- Removed guava as dependency. \(bunq/sdk\_java\#41\) [\#44](https://github.com/bunq/sdk_java/pull/44) ([OGKevin](https://github.com/OGKevin))
170224
- Generated CHANGELOG.md :clap:. \(bunq/sdk\_java\#38\) [\#39](https://github.com/bunq/sdk_java/pull/39) ([OGKevin](https://github.com/OGKevin))
171225

172-
**Fixed bugs:**
173-
174-
- Remove guava  [\#41](https://github.com/bunq/sdk_java/issues/41)
175-
- Removed guava as dependency. \\(bunq/sdk\\_java\\#41\\) [\#44](https://github.com/bunq/sdk_java/pull/44) ([OGKevin](https://github.com/OGKevin))
176-
177226
**Merged pull requests:**
178227

179228
- Added method to ensure that reponse headers are correclty cased befor… [\#53](https://github.com/bunq/sdk_java/pull/53) ([OGKevin](https://github.com/OGKevin))
180229
- Feature/improve decoder bunq/sdk java\#35 [\#52](https://github.com/bunq/sdk_java/pull/52) ([OGKevin](https://github.com/OGKevin))
181230

182231
## [0.12.3](https://github.com/bunq/sdk_java/tree/0.12.3) (2017-11-15)
232+
183233
[Full Changelog](https://github.com/bunq/sdk_java/compare/0.12.2...0.12.3)
184234

185235
**Implemented enhancements:**
@@ -192,6 +242,7 @@
192242
- ScheduledPayment causes decode error due to Typo [\#37](https://github.com/bunq/sdk_java/issues/37)
193243

194244
## [0.12.2](https://github.com/bunq/sdk_java/tree/0.12.2) (2017-11-08)
245+
195246
[Full Changelog](https://github.com/bunq/sdk_java/compare/0.12.0...0.12.2)
196247

197248
**Implemented enhancements:**
@@ -212,6 +263,7 @@
212263
- Feature/add missing cvc fields \#30 [\#31](https://github.com/bunq/sdk_java/pull/31) ([OGKevin](https://github.com/OGKevin))
213264

214265
## [0.12.0](https://github.com/bunq/sdk_java/tree/0.12.0) (2017-10-11)
266+
215267
[Full Changelog](https://github.com/bunq/sdk_java/compare/0.11.0...0.12.0)
216268

217269
**Implemented enhancements:**
@@ -232,6 +284,7 @@
232284
- Fix namespaces; cleanup tests; kill formatting of generated files \[\#19\] [\#20](https://github.com/bunq/sdk_java/pull/20) ([dnl-blkv](https://github.com/dnl-blkv))
233285

234286
## [0.11.0](https://github.com/bunq/sdk_java/tree/0.11.0) (2017-09-06)
287+
235288
[Full Changelog](https://github.com/bunq/sdk_java/compare/0.10.0...0.11.0)
236289

237290
**Implemented enhancements:**
@@ -244,6 +297,7 @@
244297
- Add pagination; cleanup; add missing endpoints and fields \[\#4\] [\#13](https://github.com/bunq/sdk_java/pull/13) ([dnl-blkv](https://github.com/dnl-blkv))
245298

246299
## [0.10.0](https://github.com/bunq/sdk_java/tree/0.10.0) (2017-08-23)
300+
247301
[Full Changelog](https://github.com/bunq/sdk_java/compare/0.9.1...0.10.0)
248302

249303
**Implemented enhancements:**
@@ -259,11 +313,14 @@
259313
- Fix Jitpack build, add misssing fields, fix field types in generated \[\#6\] [\#8](https://github.com/bunq/sdk_java/pull/8) ([dnl-blkv](https://github.com/dnl-blkv))
260314

261315
## [0.9.1](https://github.com/bunq/sdk_java/tree/0.9.1) (2017-08-08)
316+
317+
[Full Changelog](https://github.com/bunq/sdk_java/compare/4af657908350df7604272a77d5d2eb9ad9187422...0.9.1)
318+
262319
**Implemented enhancements:**
263320

264321
- Added tests readme [\#3](https://github.com/bunq/sdk_java/pull/3) ([OGKevin](https://github.com/OGKevin))
265322
- Add first series of unit-tests [\#1](https://github.com/bunq/sdk_java/pull/1) ([OGKevin](https://github.com/OGKevin))
266323

267324

268325

269-
\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
326+
\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
group 'com.bunq.sdk'
2-
version '1.14.0'
2+
version '1.14.1'
33

44
apply plugin: 'java'
55
apply plugin: 'maven'

src/main/java/com/bunq/sdk/http/BunqHeader.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public enum BunqHeader {
1818
LANGUAGE("X-Bunq-Language", "en_US"),
1919
REGION("X-Bunq-Region", "nl_NL"),
2020
SERVER_SIGNATURE("X-Bunq-Server-Signature"),
21-
USER_AGENT("User-Agent", "bunq-sdk-java/1.14.0");
21+
USER_AGENT("User-Agent", "bunq-sdk-java/1.14.1");
2222

2323
private static final String PREFIX = "X-Bunq-";
2424

src/main/java/com/bunq/sdk/model/generated/endpoint/BunqMeFundraiserProfileUser.java

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,13 @@ public class BunqMeFundraiserProfileUser extends BunqModel {
4646
@SerializedName("monetary_account_id")
4747
private Integer monetaryAccountId;
4848

49+
/**
50+
* Id of the user owning the profile.
51+
*/
52+
@Expose
53+
@SerializedName("owner_user_id")
54+
private Integer ownerUserId;
55+
4956
/**
5057
* The color chosen for the bunq.me fundraiser profile in hexadecimal format.
5158
*/
@@ -242,6 +249,17 @@ public void setMonetaryAccountId(Integer monetaryAccountId) {
242249
this.monetaryAccountId = monetaryAccountId;
243250
}
244251

252+
/**
253+
* Id of the user owning the profile.
254+
*/
255+
public Integer getOwnerUserId() {
256+
return this.ownerUserId;
257+
}
258+
259+
public void setOwnerUserId(Integer ownerUserId) {
260+
this.ownerUserId = ownerUserId;
261+
}
262+
245263
/**
246264
* The color chosen for the bunq.me fundraiser profile in hexadecimal format.
247265
*/
@@ -328,6 +346,10 @@ public boolean isAllFieldNull() {
328346
return false;
329347
}
330348

349+
if (this.ownerUserId != null) {
350+
return false;
351+
}
352+
331353
if (this.color != null) {
332354
return false;
333355
}

src/main/java/com/bunq/sdk/model/generated/endpoint/Payment.java

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -218,13 +218,6 @@ public class Payment extends BunqModel {
218218
@SerializedName("balance_after_mutation")
219219
private Amount balanceAfterMutation;
220220

221-
/**
222-
* A reference to the PaymentAutoAllocateInstance if it exists.
223-
*/
224-
@Expose
225-
@SerializedName("payment_auto_allocate_instance")
226-
private PaymentAutoAllocateInstance paymentAutoAllocateInstance;
227-
228221
/**
229222
* The Amount to transfer with the Payment. Must be bigger than 0 and smaller than the
230223
* MonetaryAccount's balance.
@@ -701,17 +694,6 @@ public void setBalanceAfterMutation(Amount balanceAfterMutation) {
701694
this.balanceAfterMutation = balanceAfterMutation;
702695
}
703696

704-
/**
705-
* A reference to the PaymentAutoAllocateInstance if it exists.
706-
*/
707-
public PaymentAutoAllocateInstance getPaymentAutoAllocateInstance() {
708-
return this.paymentAutoAllocateInstance;
709-
}
710-
711-
public void setPaymentAutoAllocateInstance(PaymentAutoAllocateInstance paymentAutoAllocateInstance) {
712-
this.paymentAutoAllocateInstance = paymentAutoAllocateInstance;
713-
}
714-
715697
/**
716698
*
717699
*/
@@ -812,10 +794,6 @@ public boolean isAllFieldNull() {
812794
return false;
813795
}
814796

815-
if (this.paymentAutoAllocateInstance != null) {
816-
return false;
817-
}
818-
819797
return true;
820798
}
821799

src/main/java/com/bunq/sdk/model/generated/endpoint/RegistryEntry.java

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -138,13 +138,6 @@ public class RegistryEntry extends BunqModel {
138138
@SerializedName("allocations")
139139
private List<AllocationItem> allocations;
140140

141-
/**
142-
* The object that is connected to this RegistryEntry.
143-
*/
144-
@Expose
145-
@SerializedName("object")
146-
private BunqModel object;
147-
148141
/**
149142
* The attachments attached to the payment.
150143
*/
@@ -562,17 +555,6 @@ public void setAllocations(List<AllocationItem> allocations) {
562555
this.allocations = allocations;
563556
}
564557

565-
/**
566-
* The object that is connected to this RegistryEntry.
567-
*/
568-
public BunqModel getObject() {
569-
return this.object;
570-
}
571-
572-
public void setObject(BunqModel object) {
573-
this.object = object;
574-
}
575-
576558
/**
577559
* The attachments attached to the payment.
578560
*/
@@ -644,10 +626,6 @@ public boolean isAllFieldNull() {
644626
return false;
645627
}
646628

647-
if (this.object != null) {
648-
return false;
649-
}
650-
651629
if (this.attachment != null) {
652630
return false;
653631
}

src/main/java/com/bunq/sdk/model/generated/endpoint/TreeProgress.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
import com.bunq.sdk.http.BunqResponse;
55
import com.bunq.sdk.http.BunqResponseRaw;
66
import com.bunq.sdk.model.core.BunqModel;
7+
import com.bunq.sdk.model.generated.object.LabelUser;
78
import com.google.gson.annotations.Expose;
89
import com.google.gson.annotations.SerializedName;
910
import com.google.gson.stream.JsonReader;
@@ -46,7 +47,7 @@ public class TreeProgress extends BunqModel {
4647
*/
4748
@Expose
4849
@SerializedName("label_user")
49-
private BunqModel labelUser;
50+
private LabelUser labelUser;
5051

5152
/**
5253
*
@@ -98,11 +99,11 @@ public void setProgressTreeNext(BigDecimal progressTreeNext) {
9899
/**
99100
* The label of the user the progress belongs to.
100101
*/
101-
public BunqModel getLabelUser() {
102+
public LabelUser getLabelUser() {
102103
return this.labelUser;
103104
}
104105

105-
public void setLabelUser(BunqModel labelUser) {
106+
public void setLabelUser(LabelUser labelUser) {
106107
this.labelUser = labelUser;
107108
}
108109

src/main/java/com/bunq/sdk/model/generated/object/TransferwiseRequirementField.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public class TransferwiseRequirementField extends BunqModel {
2222
*/
2323
@Expose
2424
@SerializedName("group")
25-
private BunqModel group;
25+
private TransferwiseRequirementFieldGroup group;
2626

2727
/**
2828
* The name of the required field.
@@ -72,11 +72,11 @@ public void setName(String name) {
7272
/**
7373
* The field group.
7474
*/
75-
public BunqModel getGroup() {
75+
public TransferwiseRequirementFieldGroup getGroup() {
7676
return this.group;
7777
}
7878

79-
public void setGroup(BunqModel group) {
79+
public void setGroup(TransferwiseRequirementFieldGroup group) {
8080
this.group = group;
8181
}
8282

0 commit comments

Comments
 (0)