Skip to content

Commit d4a948f

Browse files
committed
Update changelog for next release
1 parent b583761 commit d4a948f

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

labkey-client-api/CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
# The LabKey Remote API Library for Java - Change Log
22

3+
## version TBD
4+
*Released*: TBD
5+
* [Issue 43380](https://www.labkey.org/home/Developer/issues/issues-details.view?issueId=43380): ImportDataCommand missing options supported by query-import.api
6+
* Remove `CheckForStudyReloadCommand.java`
7+
* Remove `URISyntaxException` from one `Connection` constructor
8+
39
## version 1.4.0
410
*Released*: 16 June 2021
5-
* Issue 43246: Lineage query NPE while processing an UploadedFile
11+
* [Issue 43246](https://www.labkey.org/home/Developer/issues/issues-details.view?issueId=43246): Lineage query NPE while processing an UploadedFile
612
* Additional lineage options and support additional properties in response
713
* Update dependency version numbers
814
* Update to Gradle 7.1

labkey-client-api/src/org/labkey/remoteapi/Connection.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ public Connection(URI baseURI, CredentialsProvider credentialsProvider)
142142
{
143143
if (baseURI.getHost() == null || baseURI.getScheme() == null)
144144
{
145-
throw new IllegalArgumentException("Invalid server URL: " + baseURI.toString());
145+
throw new IllegalArgumentException("Invalid server URL: " + baseURI);
146146
}
147147
_baseURI = baseURI;
148148
_credentialsProvider = credentialsProvider;
@@ -173,14 +173,13 @@ public Connection(String baseUrl, CredentialsProvider credentialsProvider)
173173
* Constructs a new Connection object with a base URL that attempts authentication via .netrc/_netrc entry, if present.
174174
* If not present, connects as guest.
175175
* @param baseUrl The base URL
176-
* @throws URISyntaxException if the given url is not a valid URI
177176
* @throws IOException if there are problems reading the credentials
178177
* @see NetrcCredentialsProvider
179178
* @see #Connection(URI, CredentialsProvider)
180179
*/
181-
public Connection(String baseUrl) throws URISyntaxException, IOException
180+
public Connection(String baseUrl) throws IOException
182181
{
183-
this(new URI(baseUrl), new NetrcCredentialsProvider(new URI(baseUrl)));
182+
this(toURI(baseUrl), new NetrcCredentialsProvider(toURI(baseUrl)));
184183
}
185184

186185
/**

0 commit comments

Comments
 (0)