Compatibility of BaseX Java library between versions

Thursday, 1 May 2025 · 3 messages · last reply 5 May 2025
MD
Matt Dziuban1 May 2025 17:54 #
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
CG
Christian Grün4 May 2025 13:56 #
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
Quoted text · Matt Dziuban · 19 lines
On Thu, May 1, 2025 at 5:54 PM Matt Dziuban <mrdziuban at 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 >
MD
Matt Dziuban5 May 2025 14:10 #
Good to know, thank you Christian!
Quoted text · Christian Grün · 32 lines
On Sun, May 4, 2025 at 7:56 AM Christian Grün <christian.gruen at 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 at 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 >> >

⚡Generated with XQuery