Compatibility of BaseX Java library between versions
Hello, I run a BaseX server and connect to it in code using the org.basex:basex Java library hosted on https://files.basex.org/maven, specifically using the ClientSession <https://github.com/BaseXdb/basex/blob/11.9/basex-core/src/main/java/org/basex/api/client/ClientSession.java> and ClientQuery <https://github.com/BaseXdb/basex/blob/11.9/basex-core/src/main/java/org/basex/api/client/ClientQuery.java> classes. I'm wondering about the compatibility between the BaseX server and client versions. For example, if the BaseX server is running v11.8, but my code uses v11.9 of the Java library, am I likely to run into any issues? Thanks in advance, and congratulations on the 11.9 release! Matt
Hi Matt, The client/server communication protocol has not changed for a long time, and won’t be changed either with the next major update (BaseX 12). Thanks, Christian On Thu, May 1, 2025 at 5:54 PM Matt Dziuban <mrdziuban@gmail.com> wrote:
Hello,
I run a BaseX server and connect to it in code using the org.basex:basex Java library hosted on https://files.basex.org/maven, specifically using the ClientSession <https://github.com/BaseXdb/basex/blob/11.9/basex-core/src/main/java/org/basex/api/client/ClientSession.java> and ClientQuery <https://github.com/BaseXdb/basex/blob/11.9/basex-core/src/main/java/org/basex/api/client/ClientQuery.java> classes.
I'm wondering about the compatibility between the BaseX server and client versions. For example, if the BaseX server is running v11.8, but my code uses v11.9 of the Java library, am I likely to run into any issues?
Thanks in advance, and congratulations on the 11.9 release!
Matt
Good to know, thank you Christian! On Sun, May 4, 2025 at 7:56 AM Christian Grün <christian.gruen@gmail.com> wrote:
Hi Matt,
The client/server communication protocol has not changed for a long time, and won’t be changed either with the next major update (BaseX 12).
Thanks, Christian
On Thu, May 1, 2025 at 5:54 PM Matt Dziuban <mrdziuban@gmail.com> wrote:
Hello,
I run a BaseX server and connect to it in code using the org.basex:basex Java library hosted on https://files.basex.org/maven, specifically using the ClientSession <https://github.com/BaseXdb/basex/blob/11.9/basex-core/src/main/java/org/basex/api/client/ClientSession.java> and ClientQuery <https://github.com/BaseXdb/basex/blob/11.9/basex-core/src/main/java/org/basex/api/client/ClientQuery.java> classes.
I'm wondering about the compatibility between the BaseX server and client versions. For example, if the BaseX server is running v11.8, but my code uses v11.9 of the Java library, am I likely to run into any issues?
Thanks in advance, and congratulations on the 11.9 release!
Matt
participants (2)
-
Christian Grün -
Matt Dziuban