Skip to content

Conversation

@labkey-tchad
Copy link
Member

@labkey-tchad labkey-tchad commented Feb 11, 2022

Rationale

A previous update changed the signature of one of the 'Connection' constructors. This broke compatibility with some usages that were catching the URISyntaxException it claimed to throw.
This makes the constructors inconsistent but fixing those up is a job for another day.

Related Pull Requests

Changes

  • Make 'Connection' constructor match signature from v1.4.0

Copy link
Contributor

@labkey-jeckels labkey-jeckels left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason to reintroduce this exception instead of updating the JDBC side? As long as a change needs to be made, why not make them consistent instead?

@labkey-tchad
Copy link
Member Author

Is there a reason to reintroduce this exception instead of updating the JDBC side? As long as a change needs to be made, why not make them consistent instead?

Just trying to follow semver rules. Keep it backward compatible for 1.5.0 then do a wider fixup round for 2.0 at some point.
Maybe this library isn't used widely enough to conform that closely to semantic versioning rules.

@labkey-jeckels
Copy link
Contributor

Makes sense. What about calling it 2.0.0? I know it's not a grand refactor or anything, but semver doesn't care.

}

public static void main(String[] args) throws IOException
public static void main(String[] args) throws IOException, URISyntaxException
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this edit needed now?

@labkey-tchad
Copy link
Member Author

Obviated by #26

@labkey-tchad labkey-tchad deleted the fb_javaApiVersion branch April 18, 2022 21:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants