Open liamwh opened 11 months ago
surrealdb-migrations tries to be up-to-date with the latest versions of surrealdb. The idea of beta versions is interesting. I do not think it will be difficult as it is, as long as a surrealdb crate is available.
The same would go for all crate versions, following their release versioning. But I not seem to find nightly version here: https://crates.io/crates/surrealdb/versions
the versioned surreal DB crates can be found here:
surrealdb-beta: https://docs.rs/surrealdb-beta/latest/surrealdb/ surrealdb-nightly: https://crates.io/crates/surrealdb-nightly/1.20231209.1212550
These crates work with their equivalent docker images such as this one: https://hub.docker.com/layers/surrealdb/surrealdb/nightly/images/sha256-e4eb144c92346837c3a28d8ba729d65cf5146f9f5196fbac2e1a1117c0d84529?context=explore
To clarify this issue: the idea is to create a beta and nightly versions of the surrealdb-migrations (so surrealdb-migrations-beta
and surrealdb-migrations-nightly
) or an equivalent way of providing beta/nightly support so that they can also be used with the beta and nightly versions of surrealdb. Theoretically, no code changes should be required, only changing which surrealdb crate is depended on and which surrealdb binary version is used during testing.
Relevant for setting up CI for beta/nightly versions: https://surrealdb.com/blog/introducing-our-new-monthly-release-schedule
I would like to be able to use surrealdb-migrations with the beta / nightly images.
It would be amazing if CI/CD could be setup to release a beta version and a nightly version of the surrealdb-migrations crate, like they do with surrealdb crate itself.