Skip to content

Commit 984b72a

Browse files
committed
Version bump
1 parent bacc8e9 commit 984b72a

File tree

120 files changed

+2378
-321
lines changed

Some content is hidden

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

120 files changed

+2378
-321
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>5.15.7</version>
7+
<version>5.16.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
@@ -1332,7 +1332,7 @@ protected static String getResponseBody(Response response) throws ConstructorExc
13321332
* @return version number
13331333
*/
13341334
protected String getVersion() {
1335-
return "ciojava-5.15.7";
1335+
return "ciojava-5.16.0";
13361336
}
13371337

13381338
/**

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
constructor.autocomplete(request, null);
4343

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

6060
RecordedRequest recordedRequest = mockServer.takeRequest();
61-
String expectedPath = String.format("/autocomplete/r%%20co?key=%s&c=ciojava-5.15.7", apiKey);
61+
String expectedPath = String.format("/autocomplete/r%%20co?key=%s&c=ciojava-5.16.0", apiKey);
6262
String actualPath = recordedRequest.getPath();
6363
assertEquals("recorded request is encoded correctly", actualPath, expectedPath);
6464
}
@@ -74,7 +74,7 @@ public void AutocompleteWithSlashShouldBeEncodedInUrl() throws Exception {
7474
constructor.autocomplete(request, null);
7575

7676
RecordedRequest recordedRequest = mockServer.takeRequest();
77-
String expectedPath = String.format("/autocomplete/r%%2Fco?key=%s&c=ciojava-5.15.7", apiKey);
77+
String expectedPath = String.format("/autocomplete/r%%2Fco?key=%s&c=ciojava-5.16.0", apiKey);
7878
String actualPath = recordedRequest.getPath();
7979
assertEquals("recorded request is encoded correctly", actualPath, expectedPath);
8080
}
@@ -90,7 +90,7 @@ public void AutocompleteWithSingleQuoteShouldBeAllowedInUrl() throws Exception {
9090
constructor.autocomplete(request, null);
9191

9292
RecordedRequest recordedRequest = mockServer.takeRequest();
93-
String expectedPath = String.format("/autocomplete/r'co?key=%s&c=ciojava-5.15.7", apiKey);
93+
String expectedPath = String.format("/autocomplete/r'co?key=%s&c=ciojava-5.16.0", apiKey);
9494
String actualPath = recordedRequest.getPath();
9595
assertEquals("recorded request is encoded correctly", actualPath, expectedPath);
9696
}

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ public void makeUrlShouldReturnAUrl() throws Exception {
128128
HttpUrl url = constructor.makeUrl(Arrays.asList("getitUuuurl"));
129129
assertEquals("host is set", url.host(), "ac.cnstrc.com");
130130
assertEquals("protocol is set", url.scheme(), "https");
131-
assertEquals("version is set", url.queryParameter("c"), "ciojava-5.15.7");
131+
assertEquals("version is set", url.queryParameter("c"), "ciojava-5.16.0");
132132
assertEquals("apiKey is set", url.queryParameter("key"), "doinkaKey");
133133
}
134134

@@ -139,7 +139,7 @@ public void makeUrlWithUserIdShouldReturnAUrl() throws Exception {
139139
HttpUrl url = constructor.makeUrl(Arrays.asList("getitUuuurl"), info);
140140
assertEquals("host is set", url.host(), "ac.cnstrc.com");
141141
assertEquals("protocol is set", url.scheme(), "https");
142-
assertEquals("version is set", url.queryParameter("c"), "ciojava-5.15.7");
142+
assertEquals("version is set", url.queryParameter("c"), "ciojava-5.16.0");
143143
assertEquals("apiKey is set", url.queryParameter("key"), "doinkaKey");
144144
assertEquals("session id is set", url.queryParameter("s"), "2");
145145
assertEquals("client id is set", url.queryParameter("i"), "sideshow bob");
@@ -154,7 +154,7 @@ public void makeUrlWithUserInfoShouldReturnAUrl() throws Exception {
154154
HttpUrl url = constructor.makeUrl(Arrays.asList("getitUuuurl"), info);
155155
assertEquals("host is set", url.host(), "ac.cnstrc.com");
156156
assertEquals("protocol is set", url.scheme(), "https");
157-
assertEquals("version is set", url.queryParameter("c"), "ciojava-5.15.7");
157+
assertEquals("version is set", url.queryParameter("c"), "ciojava-5.16.0");
158158
assertEquals("apiKey is set", url.queryParameter("key"), "doinkaKey");
159159
assertEquals("session id is set", url.queryParameter("s"), "2");
160160
assertEquals("client id is set", url.queryParameter("i"), "sideshow bob");
@@ -170,7 +170,7 @@ public void makeUrlWithUserSegmentsShouldReturnAUrl() throws Exception {
170170
HttpUrl url = constructor.makeUrl(Arrays.asList("getitUuuurl"), info);
171171
assertEquals("host is set", url.host(), "ac.cnstrc.com");
172172
assertEquals("protocol is set", url.scheme(), "https");
173-
assertEquals("version is set", url.queryParameter("c"), "ciojava-5.15.7");
173+
assertEquals("version is set", url.queryParameter("c"), "ciojava-5.16.0");
174174
assertEquals("apiKey is set", url.queryParameter("key"), "doinkaKey");
175175
assertEquals("session id is set", url.queryParameter("s"), "2");
176176
assertEquals("client id is set", url.queryParameter("i"), "sideshow bob");
@@ -187,7 +187,7 @@ public void verifyShouldReturnTrueWithValidKeyTokenPair() throws Exception {
187187
@Test
188188
public void getVersionShouldReturnClientVersion() throws Exception {
189189
ConstructorIO constructor = new ConstructorIO(token, apiKey, true, null);
190-
assertEquals("grabs version from pom.xml", constructor.getVersion(), "ciojava-5.15.7");
190+
assertEquals("grabs version from pom.xml", constructor.getVersion(), "ciojava-5.16.0");
191191
}
192192

193193
@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
@@ -42,7 +42,7 @@ public void SearchWithPlusShouldBeEncodedInUrl() throws Exception {
4242
constructor.search(request, null);
4343

4444
RecordedRequest recordedRequest = mockServer.takeRequest();
45-
String expectedPath = String.format("/search/r%%2Bco?key=%s&c=ciojava-5.15.7&section=Products&page=1&num_results_per_page=30", apiKey);
45+
String expectedPath = String.format("/search/r%%2Bco?key=%s&c=ciojava-5.16.0&section=Products&page=1&num_results_per_page=30", apiKey);
4646
String actualPath = recordedRequest.getPath();
4747
assertEquals("recorded request is encoded correctly", actualPath, expectedPath);
4848
}
@@ -58,7 +58,7 @@ public void SearchWithSpaceShouldBeEncodedInUrl() throws Exception {
5858
constructor.search(request, null);
5959

6060
RecordedRequest recordedRequest = mockServer.takeRequest();
61-
String expectedPath = String.format("/search/r%%20co?key=%s&c=ciojava-5.15.7&section=Products&page=1&num_results_per_page=30", apiKey);
61+
String expectedPath = String.format("/search/r%%20co?key=%s&c=ciojava-5.16.0&section=Products&page=1&num_results_per_page=30", apiKey);
6262
String actualPath = recordedRequest.getPath();
6363
assertEquals("recorded request is encoded correctly", actualPath, expectedPath);
6464
}
@@ -74,7 +74,7 @@ public void SearchWithSlashShouldBeEncodedInUrl() throws Exception {
7474
constructor.search(request, null);
7575

7676
RecordedRequest recordedRequest = mockServer.takeRequest();
77-
String expectedPath = String.format("/search/r%%2Fco?key=%s&c=ciojava-5.15.7&section=Products&page=1&num_results_per_page=30", apiKey);
77+
String expectedPath = String.format("/search/r%%2Fco?key=%s&c=ciojava-5.16.0&section=Products&page=1&num_results_per_page=30", apiKey);
7878
String actualPath = recordedRequest.getPath();
7979
assertEquals("recorded request is encoded correctly", actualPath, expectedPath);
8080
}
@@ -90,7 +90,7 @@ public void SearchWithSingleQuoteShouldBeAllowedInUrl() throws Exception {
9090
constructor.search(request, null);
9191

9292
RecordedRequest recordedRequest = mockServer.takeRequest();
93-
String expectedPath = String.format("/search/r'co?key=%s&c=ciojava-5.15.7&section=Products&page=1&num_results_per_page=30", apiKey);
93+
String expectedPath = String.format("/search/r'co?key=%s&c=ciojava-5.16.0&section=Products&page=1&num_results_per_page=30", apiKey);
9494
String actualPath = recordedRequest.getPath();
9595
assertEquals("recorded request is encoded correctly", actualPath, expectedPath);
9696
}

docs/allclasses-index.html

Lines changed: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
<!-- NewPage -->
33
<html lang="en">
44
<head>
5-
<!-- Generated by javadoc (16) on Mon Apr 04 15:22:41 PDT 2022 -->
6-
<title>All Classes (constructorio-client 5.15.7 API)</title>
5+
<!-- Generated by javadoc (16) on Fri Apr 15 11:43:31 PDT 2022 -->
6+
<title>All Classes (constructorio-client 5.16.0 API)</title>
77
<meta name="viewport" content="width=device-width, initial-scale=1">
88
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
9-
<meta name="dc.created" content="2022-04-04">
9+
<meta name="dc.created" content="2022-04-15">
1010
<meta name="description" content="class index">
1111
<meta name="generator" content="javadoc/AllClassesIndexWriter">
1212
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
@@ -82,6 +82,30 @@ <h1 title="All&amp;nbsp;Classes" class="title">All&nbsp;Classes</h1>
8282
</div>
8383
<div class="col-first even-row-color all-classes-table-tab1 all-classes-table"><a href="io/constructor/client/BrowseCallback.html" title="interface in io.constructor.client">BrowseCallback</a></div>
8484
<div class="col-last even-row-color all-classes-table-tab1 all-classes-table">&nbsp;</div>
85+
<div class="col-first odd-row-color all-classes-table-tab2 all-classes-table"><a href="io/constructor/client/BrowseFacetOptionsRequest.html" title="class in io.constructor.client">BrowseFacetOptionsRequest</a></div>
86+
<div class="col-last odd-row-color all-classes-table-tab2 all-classes-table">
87+
<div class="block">Constructor.io Browse Facet options Request</div>
88+
</div>
89+
<div class="col-first even-row-color all-classes-table-tab2 all-classes-table"><a href="io/constructor/client/models/BrowseFacetOptionsResponse.html" title="class in io.constructor.client.models">BrowseFacetOptionsResponse</a></div>
90+
<div class="col-last even-row-color all-classes-table-tab2 all-classes-table">
91+
<div class="block">Constructor.io Browse Facet Options Response ...</div>
92+
</div>
93+
<div class="col-first odd-row-color all-classes-table-tab2 all-classes-table"><a href="io/constructor/client/models/BrowseFacetOptionsResponseInner.html" title="class in io.constructor.client.models">BrowseFacetOptionsResponseInner</a></div>
94+
<div class="col-last odd-row-color all-classes-table-tab2 all-classes-table">
95+
<div class="block">Constructor.io Browse Facet Options Response Inner ...</div>
96+
</div>
97+
<div class="col-first even-row-color all-classes-table-tab2 all-classes-table"><a href="io/constructor/client/BrowseFacetsRequest.html" title="class in io.constructor.client">BrowseFacetsRequest</a></div>
98+
<div class="col-last even-row-color all-classes-table-tab2 all-classes-table">
99+
<div class="block">Constructor.io Browse Facets Request</div>
100+
</div>
101+
<div class="col-first odd-row-color all-classes-table-tab2 all-classes-table"><a href="io/constructor/client/models/BrowseFacetsResponse.html" title="class in io.constructor.client.models">BrowseFacetsResponse</a></div>
102+
<div class="col-last odd-row-color all-classes-table-tab2 all-classes-table">
103+
<div class="block">Constructor.io Browse Facet Response ...</div>
104+
</div>
105+
<div class="col-first even-row-color all-classes-table-tab2 all-classes-table"><a href="io/constructor/client/models/BrowseFacetsResponseInner.html" title="class in io.constructor.client.models">BrowseFacetsResponseInner</a></div>
106+
<div class="col-last even-row-color all-classes-table-tab2 all-classes-table">
107+
<div class="block">Constructor.io Browse Facet Response Inner ...</div>
108+
</div>
85109
<div class="col-first odd-row-color all-classes-table-tab2 all-classes-table"><a href="io/constructor/client/BrowseItemsRequest.html" title="class in io.constructor.client">BrowseItemsRequest</a></div>
86110
<div class="col-last odd-row-color all-classes-table-tab2 all-classes-table">
87111
<div class="block">Constructor.io Browse Items Request</div>

docs/allpackages-index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
<!-- NewPage -->
33
<html lang="en">
44
<head>
5-
<!-- Generated by javadoc (16) on Mon Apr 04 15:22:41 PDT 2022 -->
6-
<title>All Packages (constructorio-client 5.15.7 API)</title>
5+
<!-- Generated by javadoc (16) on Fri Apr 15 11:43:31 PDT 2022 -->
6+
<title>All Packages (constructorio-client 5.16.0 API)</title>
77
<meta name="viewport" content="width=device-width, initial-scale=1">
88
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
9-
<meta name="dc.created" content="2022-04-04">
9+
<meta name="dc.created" content="2022-04-15">
1010
<meta name="description" content="package index">
1111
<meta name="generator" content="javadoc/AllPackagesIndexWriter">
1212
<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
@@ -2,11 +2,11 @@
22
<!-- NewPage -->
33
<html lang="en">
44
<head>
5-
<!-- Generated by javadoc (16) on Mon Apr 04 15:22:41 PDT 2022 -->
6-
<title>Constant Field Values (constructorio-client 5.15.7 API)</title>
5+
<!-- Generated by javadoc (16) on Fri Apr 15 11:43:31 PDT 2022 -->
6+
<title>Constant Field Values (constructorio-client 5.16.0 API)</title>
77
<meta name="viewport" content="width=device-width, initial-scale=1">
88
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
9-
<meta name="dc.created" content="2022-04-04">
9+
<meta name="dc.created" content="2022-04-15">
1010
<meta name="description" content="summary of constants">
1111
<meta name="generator" content="javadoc/ConstantsSummaryWriterImpl">
1212
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">

docs/help-doc.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
<!-- NewPage -->
33
<html lang="en">
44
<head>
5-
<!-- Generated by javadoc (16) on Mon Apr 04 15:22:41 PDT 2022 -->
6-
<title>API Help (constructorio-client 5.15.7 API)</title>
5+
<!-- Generated by javadoc (16) on Fri Apr 15 11:43:31 PDT 2022 -->
6+
<title>API Help (constructorio-client 5.16.0 API)</title>
77
<meta name="viewport" content="width=device-width, initial-scale=1">
88
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
9-
<meta name="dc.created" content="2022-04-04">
9+
<meta name="dc.created" content="2022-04-15">
1010
<meta name="description" content="help">
1111
<meta name="generator" content="javadoc/HelpWriter">
1212
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">

0 commit comments

Comments
 (0)