Giter Club home page Giter Club logo

Comments (5)

kearfy avatar kearfy commented on May 20, 2024 2

We will definitely keep it in mind, if a method get's created for this in the protocol we can always reconsider!

from surrealdb.js.

kearfy avatar kearfy commented on May 20, 2024 1

Seems like an API for checking the version is already implemented after all, I'll get this implemented soon for a check probably between 1.0.0-beta.8 and 2.0.0

AKA; it might still break during the development before 1.0.0, but should be solid afterwards!

from surrealdb.js.

kearfy avatar kearfy commented on May 20, 2024

Hi @netcodedev, while I like your suggestion, keep in mind that surrealdb is still in beta! There was a slight hickup because of a change in the websocket protocol. I patched it first thing this week after easter and we put out the v0.6.0 release of the library Tuesday evening.

Once a stable 1.0.0 release is out the protocol will stay backwards compatible until a new major release. Hope that helps!

Edit: would also like to add: I don't think there is actually an endpoint to check the version of surrealdb as of now

from surrealdb.js.

netcodedev avatar netcodedev commented on May 20, 2024

Hi @kearfy
Thank you for your quick reply. While I still mostly agree and of course know that surrealdb is still in beta I hope you may still keep this suggestion in mind. As you already mentioned the protocol will stay backwards compatible, but only until a new major release. But this is exactly the situation where things might break and imo it would slightly improve DX if there was some kind of notice that an outdated library version might cause trouble when connecting to an updated instance of surrealdb.

Anyways thank you for your work on this great project 💕

from surrealdb.js.

netcodedev avatar netcodedev commented on May 20, 2024

Great to hear!

from surrealdb.js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.