Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Beta and nightly version support #63

Open
liamwh opened this issue Dec 14, 2023 · 3 comments
Open

Beta and nightly version support #63

liamwh opened this issue Dec 14, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@liamwh
Copy link
Contributor

liamwh commented Dec 14, 2023

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.

@liamwh liamwh changed the title Create beta and nightly versions Beta and nightly version support Dec 14, 2023
@Odonno
Copy link
Owner

Odonno commented Dec 14, 2023

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

@Odonno Odonno added the question Further information is requested label Dec 14, 2023
@liamwh
Copy link
Contributor Author

liamwh commented Dec 18, 2023

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.

@Odonno Odonno added enhancement New feature or request and removed question Further information is requested labels Dec 18, 2023
@liamwh
Copy link
Contributor Author

liamwh commented Jan 14, 2024

Relevant for setting up CI for beta/nightly versions: https://surrealdb.com/blog/introducing-our-new-monthly-release-schedule

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants