Skip to content

Commit 06b5f12

Browse files
committed
Version bump
1 parent 8c57ca0 commit 06b5f12

File tree

185 files changed

+4412
-2529
lines changed

Some content is hidden

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

185 files changed

+4412
-2529
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.24.13</version>
7+
<version>6.0.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
@@ -1963,7 +1963,7 @@ protected static String getResponseBody(Response response) throws ConstructorExc
19631963
* @return version number
19641964
*/
19651965
protected String getVersion() {
1966-
return "ciojava-5.24.13";
1966+
return "ciojava-6.0.0";
19671967
}
19681968

19691969
/**

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-5.24.13", apiKey);
45+
String.format("/autocomplete/r%%2Bco?key=%s&c=ciojava-6.0.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-5.24.13", apiKey);
63+
String.format("/autocomplete/r%%20co?key=%s&c=ciojava-6.0.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-5.24.13", apiKey);
81+
String.format("/autocomplete/r%%2Fco?key=%s&c=ciojava-6.0.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-5.24.13", apiKey);
98+
String expectedPath = String.format("/autocomplete/r'co?key=%s&c=ciojava-6.0.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-5.24.13");
146+
assertEquals("version is set", url.queryParameter("c"), "ciojava-6.0.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-5.24.13");
163+
assertEquals("version is set", url.queryParameter("c"), "ciojava-6.0.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-5.24.13");
182+
assertEquals("version is set", url.queryParameter("c"), "ciojava-6.0.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-5.24.13");
193+
assertEquals("version is set", url.queryParameter("c"), "ciojava-6.0.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-5.24.13");
208+
assertEquals("version is set", url.queryParameter("c"), "ciojava-6.0.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-5.24.13");
223+
assertEquals("version is set", url.queryParameter("c"), "ciojava-6.0.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-5.24.13");
241+
assertEquals("grabs version from pom.xml", constructor.getVersion(), "ciojava-6.0.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-5.24.13&section=Products&num_results_per_page=30",
46+
"/search/r%%2Bco?key=%s&c=ciojava-6.0.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-5.24.13&section=Products&num_results_per_page=30",
66+
"/search/r%%20co?key=%s&c=ciojava-6.0.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-5.24.13&section=Products&num_results_per_page=30",
86+
"/search/r%%2Fco?key=%s&c=ciojava-6.0.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-5.24.13&section=Products&num_results_per_page=30",
106+
"/search/r'co?key=%s&c=ciojava-6.0.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: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,22 @@
11
<!DOCTYPE HTML>
22
<html lang="en">
33
<head>
4-
<!-- Generated by javadoc (17) on Tue Sep 03 14:45:54 PDT 2024 -->
5-
<title>All Classes and Interfaces (constructorio-client 5.24.13 API)</title>
4+
<!-- Generated by javadoc (19) on Tue Sep 24 13:56:54 PDT 2024 -->
5+
<title>All Classes and Interfaces (constructorio-client 6.0.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="2024-09-03">
8+
<meta name="dc.created" content="2024-09-24">
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">
1212
<link rel="stylesheet" type="text/css" href="script-dir/jquery-ui.min.css" title="Style">
1313
<link rel="stylesheet" type="text/css" href="jquery-ui.overrides.css" title="Style">
1414
<script type="text/javascript" src="script.js"></script>
15-
<script type="text/javascript" src="script-dir/jquery-3.6.1.min.js"></script>
15+
<script type="text/javascript" src="script-dir/jquery-3.6.0.min.js"></script>
1616
<script type="text/javascript" src="script-dir/jquery-ui.min.js"></script>
1717
</head>
1818
<body class="all-classes-index-page">
19-
<script type="text/javascript">var evenRowColor = "even-row-color";
20-
var oddRowColor = "odd-row-color";
21-
var tableTab = "table-tab";
22-
var activeTableTab = "active-table-tab";
23-
var pathtoroot = "./";
19+
<script type="text/javascript">var pathtoroot = "./";
2420
loadScripts(document, 'script');</script>
2521
<noscript>
2622
<div>JavaScript is disabled on your browser.</div>
@@ -29,7 +25,7 @@
2925
<header role="banner" class="flex-header">
3026
<nav role="navigation">
3127
<!-- ========= START OF TOP NAVBAR ======= -->
32-
<div class="top-nav" id="navbar-top">
28+
<div class="top-nav" id="navbar-top"><button id="navbar-toggle-button" aria-controls="navbar-top" aria-expanded="false" aria-label="Toggle navigation links"><span class="nav-bar-toggle-icon">&nbsp;</span><span class="nav-bar-toggle-icon">&nbsp;</span><span class="nav-bar-toggle-icon">&nbsp;</span></button>
3329
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div>
3430
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation">
3531
<li><a href="index.html">Overview</a></li>
@@ -42,9 +38,10 @@
4238
</ul>
4339
</div>
4440
<div class="sub-nav">
45-
<div class="nav-list-search"><label for="search-input">SEARCH:</label>
46-
<input type="text" id="search-input" value="search" disabled="disabled">
47-
<input type="reset" id="reset-button" value="reset" disabled="disabled">
41+
<div id="navbar-sub-list"></div>
42+
<div class="nav-list-search"><a href="search.html">SEARCH</a>
43+
<input type="text" id="search-input" disabled placeholder="Search">
44+
<input type="reset" id="reset-button" disabled value="reset">
4845
</div>
4946
</div>
5047
<!-- ========= END OF TOP NAVBAR ========= -->
@@ -56,7 +53,7 @@
5653
<h1 title="All Classes and Interfaces" class="title">All Classes and Interfaces</h1>
5754
</div>
5855
<div id="all-classes-table">
59-
<div class="table-tabs" role="tablist" aria-orientation="horizontal"><button id="all-classes-table-tab0" role="tab" aria-selected="true" aria-controls="all-classes-table.tabpanel" tabindex="0" onkeydown="switchTab(event)" onclick="show('all-classes-table', 'all-classes-table', 2)" class="active-table-tab">All Classes and Interfaces</button><button id="all-classes-table-tab1" role="tab" aria-selected="false" aria-controls="all-classes-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('all-classes-table', 'all-classes-table-tab1', 2)" class="table-tab">Interfaces</button><button id="all-classes-table-tab2" role="tab" aria-selected="false" aria-controls="all-classes-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('all-classes-table', 'all-classes-table-tab2', 2)" class="table-tab">Classes</button><button id="all-classes-table-tab3" role="tab" aria-selected="false" aria-controls="all-classes-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('all-classes-table', 'all-classes-table-tab3', 2)" class="table-tab">Enum Classes</button><button id="all-classes-table-tab5" role="tab" aria-selected="false" aria-controls="all-classes-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('all-classes-table', 'all-classes-table-tab5', 2)" class="table-tab">Exceptions</button></div>
56+
<div class="table-tabs" role="tablist" aria-orientation="horizontal"><button id="all-classes-table-tab0" role="tab" aria-selected="true" aria-controls="all-classes-table.tabpanel" tabindex="0" onkeydown="switchTab(event)" onclick="show('all-classes-table', 'all-classes-table', 2)" class="active-table-tab">All Classes and Interfaces</button><button id="all-classes-table-tab1" role="tab" aria-selected="false" aria-controls="all-classes-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('all-classes-table', 'all-classes-table-tab1', 2)" class="table-tab">Interfaces</button><button id="all-classes-table-tab2" role="tab" aria-selected="false" aria-controls="all-classes-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('all-classes-table', 'all-classes-table-tab2', 2)" class="table-tab">Classes</button><button id="all-classes-table-tab3" role="tab" aria-selected="false" aria-controls="all-classes-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('all-classes-table', 'all-classes-table-tab3', 2)" class="table-tab">Enum Classes</button><button id="all-classes-table-tab5" role="tab" aria-selected="false" aria-controls="all-classes-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('all-classes-table', 'all-classes-table-tab5', 2)" class="table-tab">Exception Classes</button></div>
6057
<div id="all-classes-table.tabpanel" role="tabpanel">
6158
<div class="summary-table two-column-summary" aria-labelledby="all-classes-table-tab0">
6259
<div class="table-header col-first">Class</div>

docs/allpackages-index.html

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
<!DOCTYPE HTML>
22
<html lang="en">
33
<head>
4-
<!-- Generated by javadoc (17) on Tue Sep 03 14:45:54 PDT 2024 -->
5-
<title>All Packages (constructorio-client 5.24.13 API)</title>
4+
<!-- Generated by javadoc (19) on Tue Sep 24 13:56:54 PDT 2024 -->
5+
<title>All Packages (constructorio-client 6.0.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="2024-09-03">
8+
<meta name="dc.created" content="2024-09-24">
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">
1212
<link rel="stylesheet" type="text/css" href="script-dir/jquery-ui.min.css" title="Style">
1313
<link rel="stylesheet" type="text/css" href="jquery-ui.overrides.css" title="Style">
1414
<script type="text/javascript" src="script.js"></script>
15-
<script type="text/javascript" src="script-dir/jquery-3.6.1.min.js"></script>
15+
<script type="text/javascript" src="script-dir/jquery-3.6.0.min.js"></script>
1616
<script type="text/javascript" src="script-dir/jquery-ui.min.js"></script>
1717
</head>
1818
<body class="all-packages-index-page">
@@ -25,7 +25,7 @@
2525
<header role="banner" class="flex-header">
2626
<nav role="navigation">
2727
<!-- ========= START OF TOP NAVBAR ======= -->
28-
<div class="top-nav" id="navbar-top">
28+
<div class="top-nav" id="navbar-top"><button id="navbar-toggle-button" aria-controls="navbar-top" aria-expanded="false" aria-label="Toggle navigation links"><span class="nav-bar-toggle-icon">&nbsp;</span><span class="nav-bar-toggle-icon">&nbsp;</span><span class="nav-bar-toggle-icon">&nbsp;</span></button>
2929
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div>
3030
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation">
3131
<li><a href="index.html">Overview</a></li>
@@ -38,9 +38,10 @@
3838
</ul>
3939
</div>
4040
<div class="sub-nav">
41-
<div class="nav-list-search"><label for="search-input">SEARCH:</label>
42-
<input type="text" id="search-input" value="search" disabled="disabled">
43-
<input type="reset" id="reset-button" value="reset" disabled="disabled">
41+
<div id="navbar-sub-list"></div>
42+
<div class="nav-list-search"><a href="search.html">SEARCH</a>
43+
<input type="text" id="search-input" disabled placeholder="Search">
44+
<input type="reset" id="reset-button" disabled value="reset">
4445
</div>
4546
</div>
4647
<!-- ========= END OF TOP NAVBAR ========= -->

0 commit comments

Comments
 (0)