Skip to content

Commit 42a7ebf

Browse files
committed
Version bump
1 parent 88260bf commit 42a7ebf

230 files changed

Lines changed: 733 additions & 703 deletions

File tree

Some content is hidden

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

‎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.7.0</version>
7+
<version>7.8.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
@@ -2253,7 +2253,7 @@ private static String getValidatedFileExtension(File file, String fileName)
22532253
* @return version number
22542254
*/
22552255
protected String getVersion() {
2256-
return "ciojava-7.7.0";
2256+
return "ciojava-7.8.0";
22572257
}
22582258

22592259
/**

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public void AutocompleteWithPlusShouldBeEncodedInUrl() throws Exception {
4646
constructor.autocomplete(request, null);
4747

4848
RecordedRequest recordedRequest = mockServer.takeRequest();
49-
String expectedPath = String.format("/autocomplete/r%%2Bco?key=%s&c=ciojava-7.7.0", apiKey);
49+
String expectedPath = String.format("/autocomplete/r%%2Bco?key=%s&c=ciojava-7.8.0", apiKey);
5050
String actualPath = recordedRequest.getPath();
5151
assertEquals("recorded request is encoded correctly", actualPath, expectedPath);
5252
}
@@ -63,7 +63,7 @@ public void AutocompleteWithSpaceShouldBeEncodedInUrl() throws Exception {
6363
constructor.autocomplete(request, null);
6464

6565
RecordedRequest recordedRequest = mockServer.takeRequest();
66-
String expectedPath = String.format("/autocomplete/r%%20co?key=%s&c=ciojava-7.7.0", apiKey);
66+
String expectedPath = String.format("/autocomplete/r%%20co?key=%s&c=ciojava-7.8.0", apiKey);
6767
String actualPath = recordedRequest.getPath();
6868
assertEquals("recorded request is encoded correctly", actualPath, expectedPath);
6969
}
@@ -80,7 +80,7 @@ public void AutocompleteWithSlashShouldBeEncodedInUrl() throws Exception {
8080
constructor.autocomplete(request, null);
8181

8282
RecordedRequest recordedRequest = mockServer.takeRequest();
83-
String expectedPath = String.format("/autocomplete/r%%2Fco?key=%s&c=ciojava-7.7.0", apiKey);
83+
String expectedPath = String.format("/autocomplete/r%%2Fco?key=%s&c=ciojava-7.8.0", apiKey);
8484
String actualPath = recordedRequest.getPath();
8585
assertEquals("recorded request is encoded correctly", actualPath, expectedPath);
8686
}
@@ -97,7 +97,7 @@ public void AutocompleteWithSingleQuoteShouldBeAllowedInUrl() throws Exception {
9797
constructor.autocomplete(request, null);
9898

9999
RecordedRequest recordedRequest = mockServer.takeRequest();
100-
String expectedPath = String.format("/autocomplete/r'co?key=%s&c=ciojava-7.7.0", apiKey);
100+
String expectedPath = String.format("/autocomplete/r'co?key=%s&c=ciojava-7.8.0", apiKey);
101101
String actualPath = recordedRequest.getPath();
102102
assertEquals("recorded request is encoded correctly", actualPath, expectedPath);
103103
}
@@ -117,7 +117,7 @@ public void AutocompleteWithQsParamShouldBeEncodedInUrl() throws Exception {
117117
RecordedRequest recordedRequest = mockServer.takeRequest();
118118
String expectedPath =
119119
String.format(
120-
"/autocomplete/peanut?key=%s&c=ciojava-7.7.0"
120+
"/autocomplete/peanut?key=%s&c=ciojava-7.8.0"
121121
+ "&qs=%%7B%%22filters%%22%%3A%%7B%%22Color%%22%%3A%%5B%%22green%%22%%5D%%7D%%7D",
122122
apiKey);
123123
String actualPath = recordedRequest.getPath();

‎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.7.0");
146+
assertEquals("version is set", url.queryParameter("c"), "ciojava-7.8.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.7.0");
163+
assertEquals("version is set", url.queryParameter("c"), "ciojava-7.8.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.7.0");
182+
assertEquals("version is set", url.queryParameter("c"), "ciojava-7.8.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.7.0");
193+
assertEquals("version is set", url.queryParameter("c"), "ciojava-7.8.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.7.0");
208+
assertEquals("version is set", url.queryParameter("c"), "ciojava-7.8.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.7.0");
223+
assertEquals("version is set", url.queryParameter("c"), "ciojava-7.8.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.7.0");
241+
assertEquals("grabs version from pom.xml", constructor.getVersion(), "ciojava-7.8.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
@@ -48,7 +48,7 @@ public void SearchWithPlusShouldBeEncodedInUrl() throws Exception {
4848
RecordedRequest recordedRequest = mockServer.takeRequest();
4949
String expectedPath =
5050
String.format(
51-
"/search/r%%2Bco?key=%s&c=ciojava-7.7.0&section=Products&num_results_per_page=30",
51+
"/search/r%%2Bco?key=%s&c=ciojava-7.8.0&section=Products&num_results_per_page=30",
5252
apiKey);
5353
String actualPath = recordedRequest.getPath();
5454
assertEquals("recorded request is encoded correctly", actualPath, expectedPath);
@@ -68,7 +68,7 @@ public void SearchWithSpaceShouldBeEncodedInUrl() throws Exception {
6868
RecordedRequest recordedRequest = mockServer.takeRequest();
6969
String expectedPath =
7070
String.format(
71-
"/search/r%%20co?key=%s&c=ciojava-7.7.0&section=Products&num_results_per_page=30",
71+
"/search/r%%20co?key=%s&c=ciojava-7.8.0&section=Products&num_results_per_page=30",
7272
apiKey);
7373
String actualPath = recordedRequest.getPath();
7474
assertEquals("recorded request is encoded correctly", actualPath, expectedPath);
@@ -88,7 +88,7 @@ public void SearchWithSlashShouldBeEncodedInUrl() throws Exception {
8888
RecordedRequest recordedRequest = mockServer.takeRequest();
8989
String expectedPath =
9090
String.format(
91-
"/search/r%%2Fco?key=%s&c=ciojava-7.7.0&section=Products&num_results_per_page=30",
91+
"/search/r%%2Fco?key=%s&c=ciojava-7.8.0&section=Products&num_results_per_page=30",
9292
apiKey);
9393
String actualPath = recordedRequest.getPath();
9494
assertEquals("recorded request is encoded correctly", actualPath, expectedPath);
@@ -108,7 +108,7 @@ public void SearchWithSingleQuoteShouldBeAllowedInUrl() throws Exception {
108108
RecordedRequest recordedRequest = mockServer.takeRequest();
109109
String expectedPath =
110110
String.format(
111-
"/search/r'co?key=%s&c=ciojava-7.7.0&section=Products&num_results_per_page=30",
111+
"/search/r'co?key=%s&c=ciojava-7.8.0&section=Products&num_results_per_page=30",
112112
apiKey);
113113
String actualPath = recordedRequest.getPath();
114114
assertEquals("recorded request is encoded correctly", actualPath, expectedPath);

‎docs/allclasses-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 Thu Sep 17 20:31:06 SGT 2026 -->
5-
<title>All Classes and Interfaces (constructorio-client 7.7.0 API)</title>
4+
<!-- Generated by javadoc (17) on Mon Sep 21 23:54:03 SGT 2026 -->
5+
<title>All Classes and Interfaces (constructorio-client 7.8.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="2026-09-17">
8+
<meta name="dc.created" content="2026-09-21">
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">

‎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 Thu Sep 17 20:31:06 SGT 2026 -->
5-
<title>All Packages (constructorio-client 7.7.0 API)</title>
4+
<!-- Generated by javadoc (17) on Mon Sep 21 23:54:03 SGT 2026 -->
5+
<title>All Packages (constructorio-client 7.8.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="2026-09-17">
8+
<meta name="dc.created" content="2026-09-21">
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 Thu Sep 17 20:31:06 SGT 2026 -->
5-
<title>Constant Field Values (constructorio-client 7.7.0 API)</title>
4+
<!-- Generated by javadoc (17) on Mon Sep 21 23:54:03 SGT 2026 -->
5+
<title>Constant Field Values (constructorio-client 7.8.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="2026-09-17">
8+
<meta name="dc.created" content="2026-09-21">
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">

‎docs/deprecated-list.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 Thu Sep 17 20:31:06 SGT 2026 -->
5-
<title>Deprecated List (constructorio-client 7.7.0 API)</title>
4+
<!-- Generated by javadoc (17) on Mon Sep 21 23:54:03 SGT 2026 -->
5+
<title>Deprecated List (constructorio-client 7.8.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="2026-09-17">
8+
<meta name="dc.created" content="2026-09-21">
99
<meta name="description" content="deprecated elements">
1010
<meta name="generator" content="javadoc/DeprecatedListWriter">
1111
<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
@@ -1,11 +1,11 @@
11
<!DOCTYPE HTML>
22
<html lang="en">
33
<head>
4-
<!-- Generated by javadoc (17) on Thu Sep 17 20:31:06 SGT 2026 -->
5-
<title>API Help (constructorio-client 7.7.0 API)</title>
4+
<!-- Generated by javadoc (17) on Mon Sep 21 23:54:03 SGT 2026 -->
5+
<title>API Help (constructorio-client 7.8.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="2026-09-17">
8+
<meta name="dc.created" content="2026-09-21">
99
<meta name="description" content="help">
1010
<meta name="generator" content="javadoc/HelpWriter">
1111
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">

0 commit comments

Comments
 (0)