My IDE wants to know what a “Connection” is. This class doesn’t exists in 4.0.0 which I found by opening up the smack-core jar and searching for it. There must be something in 4.0.0 that describes how connections are not supposed to be created right?
The docs are not up to date, thanks for pointing this out (SMACK-574). It’s now
XMPPConnection connection = new XMPPTCPConnection(…)
Tip: Your IDE may provide a class hirarchy view, which would show which classes extends the abstract XMPPConnection. The javadoc of XMPPConnection also states this (“Direct known subclasses”).
h, do you plan to introduce more of these public API changes in 4.x releases?
I don’t expect more changes besides beecb8a6
I remember you saying, API changes would only be in major releases as per “sem ver” (or maybe it was only my expectation).
I don’t remeber me saying “would”, but it could be possible.
It is correct that sem ver would mean that I’ve to name it 5.0. But I felt like this being the only public API change after 4.0, and the fact that it’s a minor one, increasing the major version number was not justified.
Any reason for that? That makes the interface less useful again.
Why does it make the interface less useful? The fact that no class in smack-extensions requires those methods should make it clear that declaring them would mean overdefining the interface.