Skip to content

Commit d0708c6

Browse files
committed
Version Bump
1 parent 490f9af commit d0708c6

File tree

206 files changed

+3116
-801
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

206 files changed

+3116
-801
lines changed

constructorio-client/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<groupId>io.constructor.client</groupId>
55
<artifactId>constructorio-client</artifactId>
66
<packaging>jar</packaging>
7-
<version>7.1.2</version>
7+
<version>7.2.0</version>
88
<name>constructorio-client</name>
99
<url>https://github.com/Constructor-io/constructorio-java</url>
1010
<dependencies>

constructorio-client/src/main/java/io/constructor/client/ConstructorIO.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2047,7 +2047,7 @@ protected static String getResponseBody(Response response) throws ConstructorExc
20472047
* @return version number
20482048
*/
20492049
protected String getVersion() {
2050-
return "ciojava-7.1.2";
2050+
return "ciojava-7.2.0";
20512051
}
20522052

20532053
/**

constructorio-client/src/test/java/io/constructor/client/ConstructorIOAutocompleteUrlEncodingTest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public void AutocompleteWithPlusShouldBeEncodedInUrl() throws Exception {
4242

4343
RecordedRequest recordedRequest = mockServer.takeRequest();
4444
String expectedPath =
45-
String.format("/autocomplete/r%%2Bco?key=%s&c=ciojava-7.1.2", apiKey);
45+
String.format("/autocomplete/r%%2Bco?key=%s&c=ciojava-7.2.0", apiKey);
4646
String actualPath = recordedRequest.getPath();
4747
assertEquals("recorded request is encoded correctly", actualPath, expectedPath);
4848
}
@@ -60,7 +60,7 @@ public void AutocompleteWithSpaceShouldBeEncodedInUrl() throws Exception {
6060

6161
RecordedRequest recordedRequest = mockServer.takeRequest();
6262
String expectedPath =
63-
String.format("/autocomplete/r%%20co?key=%s&c=ciojava-7.1.2", apiKey);
63+
String.format("/autocomplete/r%%20co?key=%s&c=ciojava-7.2.0", apiKey);
6464
String actualPath = recordedRequest.getPath();
6565
assertEquals("recorded request is encoded correctly", actualPath, expectedPath);
6666
}
@@ -78,7 +78,7 @@ public void AutocompleteWithSlashShouldBeEncodedInUrl() throws Exception {
7878

7979
RecordedRequest recordedRequest = mockServer.takeRequest();
8080
String expectedPath =
81-
String.format("/autocomplete/r%%2Fco?key=%s&c=ciojava-7.1.2", apiKey);
81+
String.format("/autocomplete/r%%2Fco?key=%s&c=ciojava-7.2.0", apiKey);
8282
String actualPath = recordedRequest.getPath();
8383
assertEquals("recorded request is encoded correctly", actualPath, expectedPath);
8484
}
@@ -95,7 +95,7 @@ public void AutocompleteWithSingleQuoteShouldBeAllowedInUrl() throws Exception {
9595
constructor.autocomplete(request, null);
9696

9797
RecordedRequest recordedRequest = mockServer.takeRequest();
98-
String expectedPath = String.format("/autocomplete/r'co?key=%s&c=ciojava-7.1.2", apiKey);
98+
String expectedPath = String.format("/autocomplete/r'co?key=%s&c=ciojava-7.2.0", apiKey);
9999
String actualPath = recordedRequest.getPath();
100100
assertEquals("recorded request is encoded correctly", actualPath, expectedPath);
101101
}

constructorio-client/src/test/java/io/constructor/client/ConstructorIOBasicTest.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ public void makeUrlShouldReturnAUrl() throws Exception {
143143
HttpUrl url = constructor.makeUrl(Arrays.asList("getitUuuurl"));
144144
assertEquals("host is set", url.host(), "ac.cnstrc.com");
145145
assertEquals("protocol is set", url.scheme(), "https");
146-
assertEquals("version is set", url.queryParameter("c"), "ciojava-7.1.2");
146+
assertEquals("version is set", url.queryParameter("c"), "ciojava-7.2.0");
147147
assertEquals("apiKey is set", url.queryParameter("key"), "doinkaKey");
148148
}
149149

@@ -160,7 +160,7 @@ public void makeUrlWithBasePathShouldReturnAUrl() throws Exception {
160160
assertEquals("Path is correct", url.encodedPath(), "/123/2345/getitUuuurl");
161161
assertEquals("host is set", url.host(), "ac.cnstrc.com");
162162
assertEquals("protocol is set", url.scheme(), "https");
163-
assertEquals("version is set", url.queryParameter("c"), "ciojava-7.1.2");
163+
assertEquals("version is set", url.queryParameter("c"), "ciojava-7.2.0");
164164
assertEquals("apiKey is set", url.queryParameter("key"), "doinkaKey");
165165
}
166166

@@ -179,7 +179,7 @@ public void makeUrlWithBasePathAndUserInfoShouldReturnAUrl() throws Exception {
179179
assertEquals("Path is correct", url.encodedPath(), "/123/2345/getitUuuurl");
180180
assertEquals("host is set", url.host(), "ac.cnstrc.com");
181181
assertEquals("protocol is set", url.scheme(), "https");
182-
assertEquals("version is set", url.queryParameter("c"), "ciojava-7.1.2");
182+
assertEquals("version is set", url.queryParameter("c"), "ciojava-7.2.0");
183183
assertEquals("apiKey is set", url.queryParameter("key"), "doinkaKey");
184184
}
185185

@@ -190,7 +190,7 @@ public void makeUrlWithUserIdShouldReturnAUrl() throws Exception {
190190
HttpUrl url = constructor.makeUrl(Arrays.asList("getitUuuurl"), info);
191191
assertEquals("host is set", url.host(), "ac.cnstrc.com");
192192
assertEquals("protocol is set", url.scheme(), "https");
193-
assertEquals("version is set", url.queryParameter("c"), "ciojava-7.1.2");
193+
assertEquals("version is set", url.queryParameter("c"), "ciojava-7.2.0");
194194
assertEquals("apiKey is set", url.queryParameter("key"), "doinkaKey");
195195
assertEquals("session id is set", url.queryParameter("s"), "2");
196196
assertEquals("client id is set", url.queryParameter("i"), "sideshow bob");
@@ -205,7 +205,7 @@ public void makeUrlWithUserInfoShouldReturnAUrl() throws Exception {
205205
HttpUrl url = constructor.makeUrl(Arrays.asList("getitUuuurl"), info);
206206
assertEquals("host is set", url.host(), "ac.cnstrc.com");
207207
assertEquals("protocol is set", url.scheme(), "https");
208-
assertEquals("version is set", url.queryParameter("c"), "ciojava-7.1.2");
208+
assertEquals("version is set", url.queryParameter("c"), "ciojava-7.2.0");
209209
assertEquals("apiKey is set", url.queryParameter("key"), "doinkaKey");
210210
assertEquals("session id is set", url.queryParameter("s"), "2");
211211
assertEquals("client id is set", url.queryParameter("i"), "sideshow bob");
@@ -220,7 +220,7 @@ public void makeUrlWithUserSegmentsShouldReturnAUrl() throws Exception {
220220
HttpUrl url = constructor.makeUrl(Arrays.asList("getitUuuurl"), info);
221221
assertEquals("host is set", url.host(), "ac.cnstrc.com");
222222
assertEquals("protocol is set", url.scheme(), "https");
223-
assertEquals("version is set", url.queryParameter("c"), "ciojava-7.1.2");
223+
assertEquals("version is set", url.queryParameter("c"), "ciojava-7.2.0");
224224
assertEquals("apiKey is set", url.queryParameter("key"), "doinkaKey");
225225
assertEquals("session id is set", url.queryParameter("s"), "2");
226226
assertEquals("client id is set", url.queryParameter("i"), "sideshow bob");
@@ -238,7 +238,7 @@ public void verifyShouldReturnTrueWithValidKeyTokenPair() throws Exception {
238238
@Test
239239
public void getVersionShouldReturnClientVersion() throws Exception {
240240
ConstructorIO constructor = new ConstructorIO(token, apiKey, true, null);
241-
assertEquals("grabs version from pom.xml", constructor.getVersion(), "ciojava-7.1.2");
241+
assertEquals("grabs version from pom.xml", constructor.getVersion(), "ciojava-7.2.0");
242242
}
243243

244244
@Test

constructorio-client/src/test/java/io/constructor/client/ConstructorIOSearchUrlEncodingTest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public void SearchWithPlusShouldBeEncodedInUrl() throws Exception {
4343
RecordedRequest recordedRequest = mockServer.takeRequest();
4444
String expectedPath =
4545
String.format(
46-
"/search/r%%2Bco?key=%s&c=ciojava-7.1.2&section=Products&num_results_per_page=30",
46+
"/search/r%%2Bco?key=%s&c=ciojava-7.2.0&section=Products&num_results_per_page=30",
4747
apiKey);
4848
String actualPath = recordedRequest.getPath();
4949
assertEquals("recorded request is encoded correctly", actualPath, expectedPath);
@@ -63,7 +63,7 @@ public void SearchWithSpaceShouldBeEncodedInUrl() throws Exception {
6363
RecordedRequest recordedRequest = mockServer.takeRequest();
6464
String expectedPath =
6565
String.format(
66-
"/search/r%%20co?key=%s&c=ciojava-7.1.2&section=Products&num_results_per_page=30",
66+
"/search/r%%20co?key=%s&c=ciojava-7.2.0&section=Products&num_results_per_page=30",
6767
apiKey);
6868
String actualPath = recordedRequest.getPath();
6969
assertEquals("recorded request is encoded correctly", actualPath, expectedPath);
@@ -83,7 +83,7 @@ public void SearchWithSlashShouldBeEncodedInUrl() throws Exception {
8383
RecordedRequest recordedRequest = mockServer.takeRequest();
8484
String expectedPath =
8585
String.format(
86-
"/search/r%%2Fco?key=%s&c=ciojava-7.1.2&section=Products&num_results_per_page=30",
86+
"/search/r%%2Fco?key=%s&c=ciojava-7.2.0&section=Products&num_results_per_page=30",
8787
apiKey);
8888
String actualPath = recordedRequest.getPath();
8989
assertEquals("recorded request is encoded correctly", actualPath, expectedPath);
@@ -103,7 +103,7 @@ public void SearchWithSingleQuoteShouldBeAllowedInUrl() throws Exception {
103103
RecordedRequest recordedRequest = mockServer.takeRequest();
104104
String expectedPath =
105105
String.format(
106-
"/search/r'co?key=%s&c=ciojava-7.1.2&section=Products&num_results_per_page=30",
106+
"/search/r'co?key=%s&c=ciojava-7.2.0&section=Products&num_results_per_page=30",
107107
apiKey);
108108
String actualPath = recordedRequest.getPath();
109109
assertEquals("recorded request is encoded correctly", actualPath, expectedPath);

docs/allclasses-index.html

Lines changed: 41 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<!DOCTYPE HTML>
22
<html lang="en">
33
<head>
4-
<!-- Generated by javadoc (17) on Wed Nov 19 09:15:00 SGT 2025 -->
5-
<title>All Classes and Interfaces (constructorio-client 7.1.2 API)</title>
4+
<!-- Generated by javadoc (17) on Fri Dec 05 13:40:13 SGT 2025 -->
5+
<title>All Classes and Interfaces (constructorio-client 7.2.0 API)</title>
66
<meta name="viewport" content="width=device-width, initial-scale=1">
77
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
8-
<meta name="dc.created" content="2025-11-19">
8+
<meta name="dc.created" content="2025-12-05">
99
<meta name="description" content="class index">
1010
<meta name="generator" content="javadoc/AllClassesIndexWriter">
1111
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
@@ -335,42 +335,60 @@ <h1 title="All Classes and Interfaces" class="title">All Classes and Interfaces<
335335
<div class="col-last odd-row-color all-classes-table all-classes-table-tab2">
336336
<div class="block">Constructor.io Server Error ...</div>
337337
</div>
338-
<div class="col-first even-row-color all-classes-table all-classes-table-tab2"><a href="io/constructor/client/models/StatusCounts.html" title="class in io.constructor.client.models">StatusCounts</a></div>
338+
<div class="col-first even-row-color all-classes-table all-classes-table-tab2"><a href="io/constructor/client/models/SortOption.html" title="class in io.constructor.client.models">SortOption</a></div>
339339
<div class="col-last even-row-color all-classes-table all-classes-table-tab2">
340-
<div class="block">Constructor.io Status_Counts ...</div>
340+
<div class="block">Constructor.io Sort Option ...</div>
341341
</div>
342-
<div class="col-first odd-row-color all-classes-table all-classes-table-tab2"><a href="io/constructor/client/models/Task.html" title="class in io.constructor.client.models">Task</a></div>
342+
<div class="col-first odd-row-color all-classes-table all-classes-table-tab3"><a href="io/constructor/client/models/SortOption.SortOrder.html" title="enum class in io.constructor.client.models">SortOption.SortOrder</a></div>
343+
<div class="col-last odd-row-color all-classes-table all-classes-table-tab3">&nbsp;</div>
344+
<div class="col-first even-row-color all-classes-table all-classes-table-tab2"><a href="io/constructor/client/SortOptionGetRequest.html" title="class in io.constructor.client">SortOptionGetRequest</a></div>
345+
<div class="col-last even-row-color all-classes-table all-classes-table-tab2">
346+
<div class="block">Constructor.io Sort Option Get Request</div>
347+
</div>
348+
<div class="col-first odd-row-color all-classes-table all-classes-table-tab2"><a href="io/constructor/client/SortOptionRequest.html" title="class in io.constructor.client">SortOptionRequest</a></div>
343349
<div class="col-last odd-row-color all-classes-table all-classes-table-tab2">
344-
<div class="block">Constructor.io Task ...</div>
350+
<div class="block">Constructor.io Sort Option Request</div>
345351
</div>
346-
<div class="col-first even-row-color all-classes-table all-classes-table-tab2"><a href="io/constructor/client/models/TaskError.html" title="class in io.constructor.client.models">TaskError</a></div>
352+
<div class="col-first even-row-color all-classes-table all-classes-table-tab2"><a href="io/constructor/client/models/SortOptionsResponse.html" title="class in io.constructor.client.models">SortOptionsResponse</a></div>
347353
<div class="col-last even-row-color all-classes-table all-classes-table-tab2">
348-
<div class="block">Constructor.io Task Error...</div>
354+
<div class="block">Constructor.io Sort Options Response ...</div>
349355
</div>
350-
<div class="col-first odd-row-color all-classes-table all-classes-table-tab2"><a href="io/constructor/client/TaskRequest.html" title="class in io.constructor.client">TaskRequest</a></div>
356+
<div class="col-first odd-row-color all-classes-table all-classes-table-tab2"><a href="io/constructor/client/models/StatusCounts.html" title="class in io.constructor.client.models">StatusCounts</a></div>
351357
<div class="col-last odd-row-color all-classes-table all-classes-table-tab2">
352-
<div class="block">Constructor.io Get Task Request</div>
358+
<div class="block">Constructor.io Status_Counts ...</div>
353359
</div>
354-
<div class="col-first even-row-color all-classes-table all-classes-table-tab2"><a href="io/constructor/client/UserInfo.html" title="class in io.constructor.client">UserInfo</a></div>
360+
<div class="col-first even-row-color all-classes-table all-classes-table-tab2"><a href="io/constructor/client/models/Task.html" title="class in io.constructor.client.models">Task</a></div>
355361
<div class="col-last even-row-color all-classes-table all-classes-table-tab2">
356-
<div class="block">Constructor.io User Info</div>
362+
<div class="block">Constructor.io Task ...</div>
357363
</div>
358-
<div class="col-first odd-row-color all-classes-table all-classes-table-tab2"><a href="io/constructor/client/models/Variant.html" title="class in io.constructor.client.models">Variant</a></div>
359-
<div class="col-last odd-row-color all-classes-table all-classes-table-tab2">&nbsp;</div>
360-
<div class="col-first even-row-color all-classes-table all-classes-table-tab2"><a href="io/constructor/client/VariationsMap.html" title="class in io.constructor.client">VariationsMap</a></div>
364+
<div class="col-first odd-row-color all-classes-table all-classes-table-tab2"><a href="io/constructor/client/models/TaskError.html" title="class in io.constructor.client.models">TaskError</a></div>
365+
<div class="col-last odd-row-color all-classes-table all-classes-table-tab2">
366+
<div class="block">Constructor.io Task Error...</div>
367+
</div>
368+
<div class="col-first even-row-color all-classes-table all-classes-table-tab2"><a href="io/constructor/client/TaskRequest.html" title="class in io.constructor.client">TaskRequest</a></div>
361369
<div class="col-last even-row-color all-classes-table all-classes-table-tab2">
370+
<div class="block">Constructor.io Get Task Request</div>
371+
</div>
372+
<div class="col-first odd-row-color all-classes-table all-classes-table-tab2"><a href="io/constructor/client/UserInfo.html" title="class in io.constructor.client">UserInfo</a></div>
373+
<div class="col-last odd-row-color all-classes-table all-classes-table-tab2">
374+
<div class="block">Constructor.io User Info</div>
375+
</div>
376+
<div class="col-first even-row-color all-classes-table all-classes-table-tab2"><a href="io/constructor/client/models/Variant.html" title="class in io.constructor.client.models">Variant</a></div>
377+
<div class="col-last even-row-color all-classes-table all-classes-table-tab2">&nbsp;</div>
378+
<div class="col-first odd-row-color all-classes-table all-classes-table-tab2"><a href="io/constructor/client/VariationsMap.html" title="class in io.constructor.client">VariationsMap</a></div>
379+
<div class="col-last odd-row-color all-classes-table all-classes-table-tab2">
362380
<div class="block">Constructor.io Variations Map Object ...</div>
363381
</div>
364-
<div class="col-first odd-row-color all-classes-table all-classes-table-tab3"><a href="io/constructor/client/VariationsMap.AggregationTypes.html" title="enum class in io.constructor.client">VariationsMap.AggregationTypes</a></div>
365-
<div class="col-last odd-row-color all-classes-table all-classes-table-tab3">&nbsp;</div>
366-
<div class="col-first even-row-color all-classes-table all-classes-table-tab3"><a href="io/constructor/client/VariationsMap.Dtypes.html" title="enum class in io.constructor.client">VariationsMap.Dtypes</a></div>
382+
<div class="col-first even-row-color all-classes-table all-classes-table-tab3"><a href="io/constructor/client/VariationsMap.AggregationTypes.html" title="enum class in io.constructor.client">VariationsMap.AggregationTypes</a></div>
367383
<div class="col-last even-row-color all-classes-table all-classes-table-tab3">&nbsp;</div>
368-
<div class="col-first odd-row-color all-classes-table all-classes-table-tab2"><a href="io/constructor/client/VariationsRequest.html" title="class in io.constructor.client">VariationsRequest</a></div>
369-
<div class="col-last odd-row-color all-classes-table all-classes-table-tab2">
384+
<div class="col-first odd-row-color all-classes-table all-classes-table-tab3"><a href="io/constructor/client/VariationsMap.Dtypes.html" title="enum class in io.constructor.client">VariationsMap.Dtypes</a></div>
385+
<div class="col-last odd-row-color all-classes-table all-classes-table-tab3">&nbsp;</div>
386+
<div class="col-first even-row-color all-classes-table all-classes-table-tab2"><a href="io/constructor/client/VariationsRequest.html" title="class in io.constructor.client">VariationsRequest</a></div>
387+
<div class="col-last even-row-color all-classes-table all-classes-table-tab2">
370388
<div class="block">Constructor.io Variations Request</div>
371389
</div>
372-
<div class="col-first even-row-color all-classes-table all-classes-table-tab2"><a href="io/constructor/client/models/VariationsResponse.html" title="class in io.constructor.client.models">VariationsResponse</a></div>
373-
<div class="col-last even-row-color all-classes-table all-classes-table-tab2">
390+
<div class="col-first odd-row-color all-classes-table all-classes-table-tab2"><a href="io/constructor/client/models/VariationsResponse.html" title="class in io.constructor.client.models">VariationsResponse</a></div>
391+
<div class="col-last odd-row-color all-classes-table all-classes-table-tab2">
374392
<div class="block">Constructor.io Variations Response ...</div>
375393
</div>
376394
</div>

docs/allpackages-index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<!DOCTYPE HTML>
22
<html lang="en">
33
<head>
4-
<!-- Generated by javadoc (17) on Wed Nov 19 09:15:00 SGT 2025 -->
5-
<title>All Packages (constructorio-client 7.1.2 API)</title>
4+
<!-- Generated by javadoc (17) on Fri Dec 05 13:40:13 SGT 2025 -->
5+
<title>All Packages (constructorio-client 7.2.0 API)</title>
66
<meta name="viewport" content="width=device-width, initial-scale=1">
77
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
8-
<meta name="dc.created" content="2025-11-19">
8+
<meta name="dc.created" content="2025-12-05">
99
<meta name="description" content="package index">
1010
<meta name="generator" content="javadoc/AllPackagesIndexWriter">
1111
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">

docs/constant-values.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<!DOCTYPE HTML>
22
<html lang="en">
33
<head>
4-
<!-- Generated by javadoc (17) on Wed Nov 19 09:15:00 SGT 2025 -->
5-
<title>Constant Field Values (constructorio-client 7.1.2 API)</title>
4+
<!-- Generated by javadoc (17) on Fri Dec 05 13:40:13 SGT 2025 -->
5+
<title>Constant Field Values (constructorio-client 7.2.0 API)</title>
66
<meta name="viewport" content="width=device-width, initial-scale=1">
77
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
8-
<meta name="dc.created" content="2025-11-19">
8+
<meta name="dc.created" content="2025-12-05">
99
<meta name="description" content="summary of constants">
1010
<meta name="generator" content="javadoc/ConstantsSummaryWriterImpl">
1111
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">

0 commit comments

Comments
 (0)