You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please use the following template to submit your issue. Following this template will allow us to quickly investigate and help you with your issue. Please be aware that issues which do not conform to this template may be closed.
Copy file name to clipboardExpand all lines: CHANGES.md
+31-18Lines changed: 31 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,27 +1,40 @@
1
1
### Changes
2
2
3
+
#### 2.2.0
4
+
5
+
- Include company custom attributes when updating a user with an embedded company object
6
+
- Include support for Personal Access Token API access
7
+
8
+
#### 2.1.0
9
+
10
+
- Dynamically retrieve the parts for a conversation if not present
11
+
12
+
#### 2.0.0
13
+
14
+
- Fixes subscription metadata deserialization
15
+
3
16
#### 1.3.1
4
17
5
18
- Fixes company removal
6
19
7
20
#### 1.3.0
8
21
9
22
- Is a rollup of the 1.3.0 beta releases.
10
-
23
+
11
24
#### 1.3.0-b3
12
25
13
26
- Configure Jackson ObjectMapper once [76](https://github.com/intercom/intercom-java/issues/76)
14
27
15
28
#### 1.3.0-b2
16
29
17
-
- Allow users to be removed from companies.
30
+
- Allow users to be removed from companies.
18
31
19
32
#### 1.3.0-b1
20
33
21
-
- Support bulk user and event submission. Save your request rate limit for
34
+
- Support bulk user and event submission. Save your request rate limit for
22
35
a rainy day! You can post and delete users, and post events.
23
36
24
-
- Add a currentTimestamp() helper to Intercom. This divides currentTimeMillis
37
+
- Add a currentTimestamp() helper to Intercom. This divides currentTimeMillis
25
38
by 1000 to produce a second level value.
26
39
27
40
#### 1.2.1
@@ -30,13 +43,13 @@ by 1000 to produce a second level value.
30
43
31
44
#### 1.2.0
32
45
33
-
- Allow conversations to be assigned to others on your team. Conversations
34
-
are the most beautiful things, and now you can share them with others through
46
+
- Allow conversations to be assigned to others on your team. Conversations
47
+
are the most beautiful things, and now you can share them with others through
35
48
the API.
36
49
37
50
- Support closing and opening conversations, either directly or with a reply.
38
-
39
-
51
+
52
+
40
53
#### 1.1.2
41
54
42
55
- make setUserAgentData public. Previously this was a protected method.
@@ -47,17 +60,17 @@ the API.
47
60
48
61
#### 1.1.0
49
62
50
-
- add support for [Contacts](https://github.com/intercom/intercom-java#contacts)
63
+
- add support for [Contacts](https://github.com/intercom/intercom-java#contacts)
51
64
52
65
#### 1.0.9
53
66
54
-
- remove secondary getters on user that stop older jackson versions working [48](https://github.com/intercom/intercom-java/issues/45) (caused in [40](https://github.com/intercom/intercom-java/issues/48)). Doing a bang up job on regression bugs atm.
67
+
- remove secondary getters on user that stop older jackson versions working [48](https://github.com/intercom/intercom-java/issues/45) (caused in [40](https://github.com/intercom/intercom-java/issues/48)). Doing a bang up job on regression bugs atm.
55
68
56
69
#### 1.0.8
57
70
58
71
- fix user update regression [45](https://github.com/intercom/intercom-java/issues/45) (caused in [40](https://github.com/intercom/intercom-java/issues/40))
59
-
60
-
- don't send values for `unsubscribed_from_emails`, `update_last_request_at` or `new_session` unless set
72
+
73
+
- don't send values for `unsubscribed_from_emails`, `update_last_request_at` or `new_session` unless set
61
74
62
75
#### 1.0.7
63
76
@@ -73,7 +86,7 @@ allow the signed_up_at user field to be submitted
73
86
74
87
#### 1.0.4
75
88
76
-
allow the intercom user id field to be submitted
89
+
allow the intercom user id field to be submitted
77
90
78
91
#### 1.0.3
79
92
@@ -86,21 +99,21 @@ encode social profile urls for user objects
86
99
#### 1.0.1
87
100
88
101
- send custom company attributes on update
89
-
102
+
90
103
- fix NPE when company has no plan on update
91
-
92
-
- invalidate setSessionCount on Company [27](https://github.com/intercom/intercom-java/issues/27)
104
+
105
+
- invalidate setSessionCount on Company [27](https://github.com/intercom/intercom-java/issues/27)
93
106
94
107
#### 1.0.0
95
108
96
109
- removed tag methods requiring collections
97
-
110
+
98
111
- handle non-json error entities from server
99
112
100
113
#### 0.1.0
101
114
102
115
- support untag of users and companies
103
-
116
+
104
117
- renamed of current page and page methods on collections (breaking)
You can set the app's id and api key via the `Intercom` object -
98
+
99
+
If you're using a Personal Access Token (PAT) you can just use the following helper method, which will automatically set up the authentication scheme for you -
@@ -575,7 +589,7 @@ Some API classes have static `list()` methods that correspond to paginated API r
575
589
These return a Collection object (eg `UserCollection`) which can be iterated in two
576
590
ways
577
591
578
-
- The collection's `getPageItems()`, `hasNextPage()` and `nextPage()` methods - these are useful when you want to fetch one or just a few pages directly.
592
+
- The collection's `getPage()`, `hasNextPage()` and `nextPage()` methods - these are useful when you want to fetch one or just a few pages directly.
579
593
580
594
- Java's inbuilt iterator methods `next()` and `hasNext()` - these are useful when you want to fetch data without manually handling pagination.
0 commit comments