Commit graph

170 commits

Author SHA1 Message Date
Salvador Girones Gil
307d7d68fc
[ci/builds] Reuse binary builds for Docker. Static link ONNX runtime (#3382) 2024-01-22 17:51:49 +00:00
Rushmore Mushambi
7a4cb145b9
Assign Cargo dependency files to surrealdb/security (#3340) 2024-01-16 14:56:17 +00:00
Rushmore Mushambi
ff6e2aec61
Bump MSRV to 1.75 (#3308) 2024-01-11 21:29:58 +00:00
Mees Delzenne
2755f572fc
Introduce new experimental parser (#2885)
Co-authored-by: Raphael Darley <raphael@raphaeldarley.com>
2024-01-10 16:43:56 +00:00
Rushmore Mushambi
32dae92a29
Fix stable version patch (#3295) 2024-01-09 20:47:27 +00:00
Rushmore Mushambi
1e56db7eb4
Use Rust 1.74.1 to build binaries (#3279) 2024-01-05 19:07:17 +00:00
Rushmore Mushambi
6827044246
Fix build metadata in beta and stable binaries (#3209) 2024-01-01 14:48:20 +00:00
Maxwell Flitton
a01c1347cb
Update the surrealml-core version (#3184) 2023-12-20 18:50:28 +00:00
Rushmore Mushambi
7bd958300a
Support patch releases for v1.0 (#3157) 2023-12-15 21:53:25 +00:00
Gerard Guillemas Martos
c683ee42fb
Run cargo audit in CI (#3123) 2023-12-13 08:59:54 +00:00
Rushmore Mushambi
fad759c813
Fix permission issues when pushing a Github release (#3138) 2023-12-13 08:05:18 +00:00
Rushmore Mushambi
10c13a2af5
Avoid building the ml feature by default (#3135) 2023-12-12 16:55:23 +00:00
Maxwell Flitton
2ae8416791
Add support for ML model storage and execution (#3015) 2023-12-12 13:51:43 +00:00
Rushmore Mushambi
fc66e2f4ea
Make release and beta workflows idempotent (#3132) 2023-12-12 12:45:17 +00:00
Rushmore Mushambi
28e3547fca
Improve release workflows (#3085) 2023-12-11 13:58:43 +00:00
Obinna Ekwuno
3a907813fd
Docs: Update docs issue link (#3089) 2023-12-07 14:45:52 +00:00
Rushmore Mushambi
af3132f7cd
Remove environment key from crates (#3081) 2023-12-06 15:54:12 +00:00
Rushmore Mushambi
5547ce3056
Add beta release workflow (#3070)
Co-authored-by: Salvador Girones Gil <salvadorgirones@gmail.com>
2023-12-06 14:46:23 +00:00
Salvador Girones Gil
6f48c6fdfa
[gh actions] Use self-hosted runners (#3072) 2023-12-05 19:26:04 +00:00
Salvador Girones Gil
db21caa697
[nix] Disable nix static job (#3073) 2023-12-05 19:20:29 +00:00
Salvador Girones Gil
7cd921b8eb
[build/release] Refactor GH workflows. Add new Docker images (#3014) 2023-12-05 11:52:09 +00:00
Salvador Girones Gil
8e401a90c4
[mem] Use mimalloc instead of snmalloc (#3068) 2023-12-05 10:10:52 +00:00
Rushmore Mushambi
3b5a7411cf
Disable building static binaries in Nix (#3065) 2023-12-05 01:46:27 +00:00
Tobie Morgan Hitchcock
9d037089fa
Add additional entries to CODEOWNERS file (#3040) 2023-11-28 14:20:10 +00:00
Tobie Morgan Hitchcock
f9701a1f6b
Update CODEOWNERS file (#3039) 2023-11-28 10:14:12 +00:00
Rushmore Mushambi
468d72ff81
Fix the nightly channel (#3012) 2023-11-21 13:24:59 +00:00
Rushmore Mushambi
7c1ce926ae
Make cargo install use pinned dependencies (#3004) 2023-11-20 11:49:35 +00:00
Rushmore Mushambi
fc540a830d
Publish a nightly crate along with the nightly binary (#2993) 2023-11-19 23:53:52 +00:00
Salvador Girones Gil
b0be22360e
[bench] New benchmarks against different datastores (#2956) 2023-11-18 13:55:01 +00:00
Rushmore Mushambi
690ebd32aa
Retry installing and running tiup when it fails (#2987) 2023-11-16 16:00:00 +01:00
Rushmore Mushambi
2d19ac9f7a
Add live query API (#2919)
Co-authored-by: Emmanuel Keller <keller.emmanuel@gmail.com>
2023-11-13 17:19:47 +00:00
Obinna Ekwuno
7fe90d9dd1
Fix-link-for-documentation (#2953) 2023-11-09 11:04:34 +00:00
Obinna Ekwuno
63cb006893
Move docs issues to the right repo (#2948) 2023-11-08 10:05:41 +00:00
Emmanuel Keller
f8b559ace1
Introduce http-compression feature flag (#2916) 2023-11-01 13:58:20 +00:00
Emmanuel Keller
f4a798bd43
ci clippy + test workspace down to 4 cores (#2884) 2023-10-25 16:09:52 +00:00
Emmanuel Keller
bc2f7fdafa
Feat: enable compression on the HTTP connector (#2867) 2023-10-23 13:37:42 +00:00
Rushmore Mushambi
cb379ab69b
Fix CI warnings (#2620) 2023-09-06 13:51:33 +00:00
Tobie Morgan Hitchcock
ed48fddd2a Ensure release build deploys correctly (#2567) 2023-09-01 15:36:54 +01:00
Salvador Girones Gil
70da8d26a4
[ci] Pin the Rust version (#2511) 2023-08-24 17:33:57 +01:00
Yusuke Kuoka
2bb078b7dc
ci: Shorten coverage report upload timeout (#2480) 2023-08-21 13:51:14 +01:00
Salvador Girones Gil
22f4c44989
[ci] Fixes for cli_integration. Debugging for websocket tests (#2453) 2023-08-18 08:16:13 +01:00
Salvador Girones Gil
4288d9f188
[integration-tests] Improvements. Increase timeout for WS (#2435) 2023-08-14 15:36:27 +00:00
Tobie Morgan Hitchcock
620d01f06a
Ensure TiKV cluster is clean before running tests (#2427) 2023-08-11 11:50:48 +00:00
Salvador Girones Gil
c48cc4affc
[release] Harden the release process. Fix the Docker image (#2389) 2023-08-04 15:39:50 +00:00
Salvador Girones Gil
e91011cc78
[rpc] Better tracing for WebSockets (#2325) 2023-08-03 14:59:05 +00:00
Salvador Girones Gil
5f9b79162b
[ci] Intruduce cargo-make to dry the workflows. Get rid of unused deps (#2372) 2023-08-03 10:55:06 +01:00
Salvador Girones Gil
998b263517
[iam] RBAC and multiple root users (#2176)
Co-authored-by: Przemyslaw Hugh Kaznowski <hughkaznowski@protonmail.com>
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2023-07-29 18:47:25 +00:00
Rushmore Mushambi
d39c02a8e3
Don't skip running Nix on main (#2336) 2023-07-25 21:36:31 +00:00
Rushmore Mushambi
ed21a28086
Run Github Actions on ubuntu-latest (#2310) 2023-07-25 11:37:43 +00:00
Tobie Morgan Hitchcock
4969e7c969
Attempt to fix Windows release builds (#2311) 2023-07-21 23:21:10 +01:00
Salvador Girones Gil
53702c247a
[metrics] HTTP Layer + move to Axum (#2237) 2023-07-19 14:35:56 +00:00
Tobie Morgan Hitchcock
b338472cab
Update CODEOWNERS file with teams (#2222) 2023-07-04 21:28:10 +01:00
Emmanuel Keller
484571361d
Add code coverage to CI (#2177) 2023-06-23 19:21:02 +00:00
Emmanuel Keller
be3e2637b9
Install cache on ci.yml (#2173) 2023-06-23 11:58:15 +00:00
Nrishinghananda Roy
5485883d3c
Fix multiple Clippy Lints (#2159) 2023-06-20 12:48:20 +01:00
Tobie Morgan Hitchcock
a1b1fead7b
Ensure formatting and linting are properly checked (#2154) 2023-06-19 22:35:19 +00:00
Rushmore Mushambi
6f79f1556a
Test FoundationDB (#1889) 2023-06-13 20:55:38 +00:00
Tobie Morgan Hitchcock
a6e1bacee0
Add more tests for all key-value storage engines (#2124) 2023-06-10 20:30:37 +00:00
Tobie Morgan Hitchcock
c490005007
Fix nightly and release builds (#2121) 2023-06-09 15:19:26 +00:00
Tobie Morgan Hitchcock
3900bfa737
Add SpeeDB storage engine implementation (#2076) 2023-05-31 12:35:41 +00:00
Tobie Morgan Hitchcock
d56a574467
Improve continuous integration checks (#2070) 2023-05-30 19:44:47 +01:00
Finn Bear
0a0031e9e2
Testing - don't test server outside CI. (#2047) 2023-05-26 11:34:57 +01:00
Finn Bear
94a376adc5
Testing - Add CPU profiling to microbenchmarks (#2000) 2023-05-16 23:31:30 +01:00
Rushmore Mushambi
3dd0b6d5e8
Fix building the HTTP feature on Wasm (#1928) 2023-05-05 19:14:36 +01:00
Finn Bear
d0e76e64a9
Testing & Bugfix - Ensure consistency of functions. (#1919) 2023-05-05 00:05:51 +01:00
Finn Bear
a31784495f
Testing - Preserve microbenchmark baseline around actions/checkout@v3. (#1897) 2023-05-02 09:28:36 +01:00
Finn Bear
46c5b4d7f1
Testing - Add microbenchmarks for query parsing and execution. (#1878) 2023-05-01 18:15:42 +01:00
Rushmore Mushambi
ed20048358
Improve GitHub Actions CI run time (#1569) 2023-04-17 14:27:32 +01:00
Rushmore Mushambi
6d2f325b46
Update lock file (#1791) 2023-04-11 20:23:45 +01:00
Tobie Morgan Hitchcock
8089d1f2ed Ensure Docker tag works correctly with metadata 2023-04-02 18:56:45 +01:00
Tobie Morgan Hitchcock
34a1ae588f Don’t use macos-12-xl runners in CI 2023-04-01 00:55:33 +01:00
Tobie Morgan Hitchcock
d106d36dbb Fix tests in release build 2023-04-01 00:27:48 +01:00
Tobie Morgan Hitchcock
1cb05c7b0a Use larger macos instances for releases in CI 2023-03-31 23:49:52 +01:00
Tobie Morgan Hitchcock
e1c2ade163 Ensure protocol buffers compiler is installed in CI 2023-03-31 20:12:10 +01:00
Tobie Morgan Hitchcock
dfa55f3a5b Use larger instances for releases in CI 2023-03-31 20:07:32 +01:00
Tobie Morgan Hitchcock
ccdf03c745 Enable nightly GitHub action to be triggered manually 2023-03-31 20:00:21 +01:00
Tobie Morgan Hitchcock
407ff2c96d Revert GitHub Actions environment changes
Reverting GitHub Actions changes made in 56571765 and b2545c08

Closes #1752
2023-03-31 20:00:21 +01:00
Salvador Girones Gil
b2545c087a
Fix the GitHub Actions nightly build and release (#1745) 2023-03-30 21:14:06 +01:00
Rushmore Mushambi
3e80aa9914
Implement to_value for sql::Value (#1659)
`sql::Value` is an integral part of `surrealdb`. It's the internal type used by our storage layer. Because of this, we do a lot of converting between this type and native Rust types. Currently this conversion is done through `JSON` using the `serde_json` crate because we do not have our own custom data format implementation. This works because `SQL` is a superset of `JSON`.  This, however, means that this conversion is lossy and can cause surprises in some cases. For example expecting record IDs to be deserialized into a `String` instead of its corresponding Rust native type.

This change implements a custom data format around `sql::Value` and introduces a `to_value` function that facilitates that conversion.
2023-03-30 11:41:44 +01:00
Salvador Girones Gil
565717659a
Add functionality for open telemetry tracing (#1727) 2023-03-29 19:16:18 +01:00
Rushmore Mushambi
6ff82d5b5f
Upgrade install-nix-action (#1692) 2023-03-08 10:41:34 +00:00
Rushmore Mushambi
312e89a5a9
Fix release builds (#1616) 2023-01-29 12:35:47 +00:00
Rushmore Mushambi
538a4a8100
Disable caching cargo assets (#1582) 2023-01-07 08:03:25 +00:00
Tobie Morgan Hitchcock
5d4cb3bbbf Fix continuous integration tests and build 2023-01-02 09:10:04 +00:00
Tobie Morgan Hitchcock
4ffeefb537 Simplify continuous integration workflows 2023-01-01 12:24:00 +00:00
Rushmore Mushambi
c2dce39f91
Integrate client library into surrealdb crate (#1514) 2022-12-30 08:23:19 +00:00
Rushmore Mushambi
90bfbfd654
Fix more CI warnings (#1554)
* Switch `aws-actions/configure-aws-credentials` to `v1-node16`

* Pin `macOS` to v11

`macos-latest` will soon point to `macos-12` and that will bring
GCC 11 which would break the nightly and release builds again.
2022-12-27 12:55:00 +00:00
Rushmore Mushambi
b64b6b1c8c
Upgrade Github Actions versions (#1551) 2022-12-26 14:14:05 +00:00
Rushmore Mushambi
34bfb67ab4
Pin Ubuntu to 20.04 to fix nightly builds (#1539) 2022-12-21 11:42:43 +00:00
Yt
407df0ebc3
Fix Darwin build on NixOS (#1521) 2022-12-17 15:08:07 +00:00
Rushmore Mushambi
9d359b9596
Test the library with --no-default-features (#1511) 2022-12-08 16:31:47 +00:00
GabyCT
2b92d24476
Update contributing guidelines url in pull request template (#1333) 2022-10-08 21:55:41 +01:00
Rushmore Mushambi
0467b7f04a
Add NixOS build and simplify building from source (#100) 2022-10-04 17:32:44 +01:00
Tobie Morgan Hitchcock
5313d0cfab Update workflow name 2022-09-22 15:07:37 +01:00
Tobie Morgan Hitchcock
252e7d2b29 Add general and nightly release builds 2022-09-22 14:56:36 +01:00
Tobie Morgan Hitchcock
4d22b052a7 Fix require validations for GitHub issue template 2022-09-21 10:15:20 +01:00
Tobie Morgan Hitchcock
2ba1b08f2e Fix issue template file for documentation issues 2022-09-21 10:09:47 +01:00
Tobie Morgan Hitchcock
9dabae1887 Ensure Windows build requires no dynamic dependencies 2022-09-01 15:05:55 +01:00
Finn Bear
5381afc893
Fix checkbox markdown in pull request template. (#84) 2022-08-31 18:44:38 +01:00
Tobie Morgan Hitchcock
32cacb5595 Don’t add FoundationDB feature to x86_64-linux build 2022-08-29 19:38:20 +01:00