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
Mees Delzenne
c9078a116e
Add the value
function for easy access to SurrealQL parameters and values. ( #2355 )
...
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2023-07-29 21:16:48 +00: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
Mees Delzenne
278e27db87
Implement support for running queries in script functions. ( #2331 )
2023-07-26 07:54:07 +00:00
Yusuke Kuoka
5b8fec93d7
Bump surrealdb-tikv-client to 0.2.0-surreal.1 ( #2334 )
2023-07-25 12:24:36 +00:00
Yusuke Kuoka
840b1ae24f
Bump surrealdb-tikv-client to 0.1.0-surreal.2 ( #2322 )
2023-07-23 08:19:20 +00:00
Mees Delzenne
cacd9a1de9
Add tests for http functions ( #2286 )
2023-07-20 12:46:11 +00:00
Tobie Morgan Hitchcock
09dde86e73
Allow for DIFFs in notifications for simple live queries ( #2290 )
2023-07-19 16:19:19 +00:00
Salvador Girones Gil
53702c247a
[metrics] HTTP Layer + move to Axum ( #2237 )
2023-07-19 14:35:56 +00:00
Mees Delzenne
c9414a1165
Update rquickjs, attempt two. ( #2275 )
2023-07-17 13:40:58 +00:00
Tobie Morgan Hitchcock
1d6c12e777
Update dependencies and reduce log traces ( #2265 )
2023-07-15 13:18:44 +01:00
Rushmore Mushambi
cab0540432
Drop build metadata from the library version ( #2263 )
2023-07-14 23:01:10 +00:00
Tobie Morgan Hitchcock
5c08be973d
Revert "Update js functions to new rquickjs version" ( #2262 )
2023-07-14 16:01:12 +00:00
Mees Delzenne
4f4339848e
Update js functions to new rquickjs version ( #2252 )
2023-07-14 13:35:32 +00:00
Emmanuel Keller
1d68fd5622
Improve index BTree insertion & search performance ( #2240 )
2023-07-11 18:22:31 +00:00
David Bottiau
676327f781
feat(cli): add validate command ( #2241 )
2023-07-10 08:36:35 +00:00
Emmanuel Keller
cf4cfc1908
processor micro-benchmark ( #2216 )
2023-07-07 18:43:16 +00:00
Emmanuel Keller
e9eeb9aca7
QueryPlanner / indexing / Context / Cursor doc ( #2229 )
2023-07-06 14:57:42 +00:00
Yusuke Kuoka
0a3fe516ff
chore: Use forked tikv-client for change feeds ( #2219 )
2023-07-04 10:56:24 +00:00
Rushmore Mushambi
9d680e780e
Remove unused dependencies ( #2209 )
2023-07-03 20:23:52 +00:00
Tobie Morgan Hitchcock
8474329451
Update 3rd party dependencies ( #2207 )
2023-07-03 14:30:42 +00:00
Tobie Morgan Hitchcock
55918b7c0e
Switch to bincode serialization ( #2134 )
...
Co-authored-by: Rushmore Mushambi <rushmore@surrealdb.com>
2023-07-01 20:09:15 +01:00
Rushmore Mushambi
699880f155
Print tracing
logs for cargo test
when RUST_LOG
is set ( #2198 )
2023-06-30 11:43:19 +00:00
Emmanuel Keller
f688eb4ef5
Fixes highlighting bug (out or range for slice length...) ( #2169 )
2023-06-23 11:58:51 +00:00
Mees Delzenne
b4adbe9962
Feature - Implement fetch ( #2117 )
2023-06-22 12:14:54 +00:00
Emmanuel Keller
668d3fd8fb
Introduce query planner and indexing ( #1899 )
2023-06-19 19:41:13 +01: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
Finn Bear
c45fd12509
Feature - Use rust_decimal (128b) instead of bigdecimal ("arbitrary" precision) ( #1991 )
2023-06-09 15:23:30 +00:00
Rushmore Mushambi
409ad61477
Add authentication support for local engines ( #1908 )
2023-06-09 13:45:07 +00:00
Finn Bear
2237afb21a
Feature #1357 - add upgrade CLI. ( #2102 )
2023-06-08 20:57:02 +00:00
Mees Delzenne
1bcf57ecc9
Update rquickjs dependency to new version ( #2089 )
2023-06-06 06:11:32 +00:00
Przemyslaw Hugh Kaznowski
8c6c5a5e37
Change notification type from sql::Uuid to uuid::Uuid ( #2079 )
2023-05-31 22:40:24 +00:00
Tobie Morgan Hitchcock
3900bfa737
Add SpeeDB storage engine implementation ( #2076 )
2023-05-31 12:35:41 +00:00
Finn Bear
e835d27ecc
Feature - Add message to query not executed error. ( #2049 )
2023-05-31 07:36:15 +00:00
RoadtogreatWorld
fdec86ce3c
Upgrade to geo@0.25.0 ( #2058 )
2023-05-29 14:25:44 +01:00
Emmanuel Keller
8e48604e20
Add initial full-text search indexer implementation ( #1779 )
2023-05-29 12:46:41 +01:00
Finn Bear
0c033318fc
deps - upgrade to regex
@1.8.2 ( #2036 )
2023-05-23 06:46:22 +01:00
Finn Bear
cdf97fcb96
Upgrade to clap v4 ( #2015 )
...
Co-authored-by: Steve Fan <29133953+stevefan1999-personal@users.noreply.github.com>
2023-05-22 20:19:35 +01:00
Tobie Morgan Hitchcock
6b02c2f026
Bump versions ( #2033 )
2023-05-22 15:35:30 +01:00
Tobie Morgan Hitchcock
b137535d8a
Update 3rd party dependencies ( #2028 )
2023-05-22 14:38:10 +01:00
Finn Bear
eeb23cc706
Testing - add tests for the CLI. ( #2022 )
2023-05-22 14:37:54 +01:00
Finn Bear
0d658842df
Bugfix #2001 - Error instead of panic when applying malformed patches. ( #2007 )
2023-05-19 22:02:43 +01:00
Mees Delzenne
405b4cbd9a
Raise rocksdb version ( #2018 )
2023-05-19 21:28:31 +01:00
Finn Bear
94a376adc5
Testing - Add CPU profiling to microbenchmarks ( #2000 )
2023-05-16 23:31:30 +01:00
Finn Bear
875f92415b
Feature 1827 - query CLI line continuation ( #1968 )
2023-05-12 15:47:41 -04:00
Finn Bear
1140c36942
Bugfix #1949 - use correct feature flag for wss over rustls. ( #1960 )
2023-05-09 22:28:08 -04:00
Finn Bear
ccc16fa9a7
Feature - Expand support for Bytes
( #1898 )
2023-05-09 16:43:16 -04:00
Finn Bear
46c5b4d7f1
Testing - Add microbenchmarks for query parsing and execution. ( #1878 )
2023-05-01 18:15:42 +01:00
Finn Bear
c295cb0509
Optimization - Zero copy key deserialization. ( #1880 )
2023-04-29 17:44:09 +01:00
Rushmore Mushambi
91e949248d
Unify serialisation ( #1881 )
2023-04-29 16:58:22 +01:00
Rushmore Mushambi
cd16d4af5c
Replace tokio::time
with wasmtimer
for Wasm targets ( #1846 )
2023-04-23 08:32:27 +01:00
Finn Bear
28bd007f72
Limit the number of concurrent futures run when fetching remote records ( #1824 )
2023-04-18 22:32:29 +01:00
Tobie Morgan Hitchcock
c5de4d8ef0
Update 3rd party dependencies
2023-04-14 17:01:31 +01:00
Finn Bear
8eb683d259
Update warp dependency from 0.3.3 to 0.3.4. ( #1806 )
2023-04-14 12:42:03 +01:00
Rushmore Mushambi
6d2f325b46
Update lock file ( #1791 )
2023-04-11 20:23:45 +01:00
Tobie Morgan Hitchcock
5eafebd64b
Release v1.0.0-beta.9+20230402
2023-04-02 19:57:02 +01:00
Tobie Morgan Hitchcock
2895026593
Use custom serialization compaction for DEFINE and REMOVE statements
2023-04-01 18:49:10 +01:00
Tobie Morgan Hitchcock
c3773b2e57
Release 1.0.0-beta.9
2023-04-01 02:07:04 +01:00
Tobie Morgan Hitchcock
45094c76ce
Use custom serialization format
2023-03-31 23:49:52 +01:00
Tobie Morgan Hitchcock
33cbe6528f
Upgrade 3rd party dependencies
2023-03-30 11:08:36 +01:00
Salvador Girones Gil
565717659a
Add functionality for open telemetry tracing ( #1727 )
2023-03-29 19:16:18 +01:00
Tobie Morgan Hitchcock
13fe68a871
Use custom crate for lexicographical sorting
2023-03-26 22:13:43 +01:00
Tobie Morgan Hitchcock
26a040df85
Update 3rd party dependencies
2023-03-26 22:13:27 +01:00
Tobie Morgan Hitchcock
97bb5a1775
Use any_ascii
crate to convert unicode
2023-03-26 19:02:48 +01:00
Tobie Morgan Hitchcock
2769033451
Update 3rd party dependencies
2023-03-25 20:49:00 +00:00
Rushmore Mushambi
735856e5b3
Add Axum example ( #1715 )
2023-03-20 15:20:57 +00:00
Emmanuel Keller
19c287a011
Implement transaction debug tracing ( #1668 )
2023-03-16 09:11:30 -04:00
Emmanuel Keller
f3e605afde
Implements transaction isolation testing ( #1674 )
2023-03-10 15:24:27 +00:00
Tobie Morgan Hitchcock
cfdbb904a4
Fix build
2023-03-08 10:35:45 +00:00
Tobie Morgan Hitchcock
ea84f839da
Update 3rd party dependencies
2023-02-11 23:00:03 +00:00
Tobie Morgan Hitchcock
48756a0a96
Update 3rd party dependencies
...
Closes #1642
2023-02-07 08:44:25 +00:00
Tobie Morgan Hitchcock
7682a97a33
Decode urlencoded path parameters automatically
...
Closes #1396
2023-01-17 14:10:21 +00:00
Tobie Morgan Hitchcock
8f89f8729c
Update 3rd party dependencies
...
Closes #1593
2023-01-17 09:00:30 +00:00
Tobie Morgan Hitchcock
db4ac267c2
Ensure std::time::Instant
is replaced with trice::Instant
everywhere
2023-01-10 19:50:51 +00:00
Rushmore Mushambi
c2dce39f91
Integrate client library into surrealdb
crate ( #1514 )
2022-12-30 08:23:19 +00:00
Rushmore Mushambi
59dcc44883
Replace surf
with reqwest
( #1512 )
2022-12-08 18:39:46 +00:00
Tobie Morgan Hitchcock
406e277c3b
Ensure crate builds with no-default-features
2022-12-07 19:30:29 +00:00
Tobie Morgan Hitchcock
a074dc9af5
Add suport for WebSocket RPC binary protocol
2022-10-25 06:40:23 -07:00
Tobie Morgan Hitchcock
c9243dec3c
Add new functions for gnerating v4
and v7
UUIDs
...
Related to #1353
2022-10-16 23:38:50 +01:00
Tobie Morgan Hitchcock
c2465338b2
Release 1.0.0-beta.8
2022-09-30 22:33:00 +01:00
Tobie Morgan Hitchcock
c089956c44
Release 1.0.0-beta.8
2022-09-30 22:33:00 +01:00
Tobie Morgan Hitchcock
335216ae84
Update 3rd party dependencies
2022-09-30 22:24:22 +01:00
Tobie Morgan Hitchcock
7676a16f16
Update 3rd party dependencies
...
Closes #90
Closes #137
Closes #245
Closes #1202
Closes #1212
2022-09-26 01:29:38 +01:00
Tobie Morgan Hitchcock
b4209180b6
Ensure server listents to SIGINT/SIGTERM signals
...
Closes #120
2022-09-22 03:01:11 +01:00
Tobie Morgan Hitchcock
b06da47da6
Update 3rd party dependencies
2022-09-20 18:13:07 +01:00
James
782a5d4be6
Add crypto::bcrypt::generate and crypto::bcrypt::compare functions ( #224 )
2022-09-20 08:14:58 +01:00
Tobie Morgan Hitchcock
f640a174f3
Update 3rd party dependencies
2022-09-18 13:58:32 +01:00
Tobie Morgan Hitchcock
fcdc9ebb8e
Add bindgen feature for building quickjs on additional platforms
...
Closes #126
2022-09-11 23:37:25 +01:00
Rushmore Mushambi
04831b1831
Make validation and parser functions more robust ( #89 )
...
Closes #87
2022-09-01 18:46:36 +01:00
Tobie Morgan Hitchcock
738ba5d0e5
Release 1.0.0-beta.7
2022-08-29 19:40:00 +01:00
Tobie Morgan Hitchcock
561ef56c29
Release 1.0.0-beta.7
2022-08-29 19:40:00 +01:00
Tobie Morgan Hitchcock
f8802e4881
Update 3rd party dependencies
2022-08-29 17:34:18 +01:00
Tobie Morgan Hitchcock
e6d3c1e977
Add initial RocksDB storage implementation
2022-08-28 14:35:30 +01:00
Tobie Morgan Hitchcock
aca9cb6c34
Update 3rd party dependencies
2022-08-23 23:52:43 +01:00
Tobie Morgan Hitchcock
d6de09bd0a
Update 3rd party dependencies
2022-08-17 22:45:31 +01:00
Yusuke Kuoka
1d3880d652
Initial implementation of SurrealDB KVS for FoundationDB ( #37 )
...
Referenced in discussion #25
Closes #38
2022-08-15 19:35:41 +01:00
Tobie Morgan Hitchcock
31c44e75a3
Release 1.0.0-beta.6
2022-08-13 01:43:24 +01:00
Tobie Morgan Hitchcock
68f1b014a9
Release 1.0.0-beta.6
2022-08-13 01:43:23 +01:00
Tobie Morgan Hitchcock
70a6c5a1ee
Enable server configuration to be setup with environment variables
2022-08-12 21:21:32 +01:00
Tobie Morgan Hitchcock
33ab50b541
Update 3rd party dependencies
2022-08-11 17:41:20 +01:00
Tobie Morgan Hitchcock
9ed50a9514
Add command-line SurrealQL REPL
2022-08-06 13:13:14 +01:00
Tobie Morgan Hitchcock
c1b71a21ea
Release 1.0.0-beta.5
2022-08-01 10:28:43 +01:00
Tobie Morgan Hitchcock
3ab94a5abf
Release 1.0.0-beta.5
2022-08-01 10:28:43 +01:00
Tobie Morgan Hitchcock
f97e16a036
Release 1.0.0-beta.4
2022-07-28 10:00:54 +01:00
Tobie Morgan Hitchcock
57caaff01d
Release 1.0.0-beta.4
2022-07-28 10:00:54 +01:00
Tobie Morgan Hitchcock
d6269bbe3d
Ensure http module only builds when feature is enabled
2022-07-27 09:15:35 +01:00
Tobie Morgan Hitchcock
8159c10693
Release 1.0.0-beta.3
2022-07-24 01:36:49 +01:00
Tobie Morgan Hitchcock
233a56287b
Release 1.0.0-beta.3
2022-07-24 01:36:49 +01:00
Tobie Morgan Hitchcock
3dc29e1228
Add initial ES6 JavaScript modules implementation with ‘os’ module
2022-07-24 01:15:26 +01:00
Tobie Morgan Hitchcock
0b38fab723
Release 1.0.0-beta.2
2022-07-19 23:29:21 +01:00
Tobie Morgan Hitchcock
667b43655d
Release 1.0.0-beta.2
2022-07-19 23:29:21 +01:00
Tobie Morgan Hitchcock
bbd557e0c0
Update 3rd party dependencies
2022-07-19 00:14:46 +01:00
Tobie Morgan Hitchcock
c9ad4e60ce
Implement http SQL functions
2022-07-17 19:58:27 +01:00
Tobie Morgan Hitchcock
41d7d2842d
Update 3rd party dependencies
2022-07-07 11:37:02 +01:00
Tobie Morgan Hitchcock
f73ecebba1
Remove unused dependency ‘utf-8’
2022-07-06 14:40:33 +01:00
Tobie Morgan Hitchcock
338bf3e142
Switch from Boa to QuickJS for JavaScript runtime
2022-07-06 14:40:20 +01:00
Tobie Morgan Hitchcock
8ca211f96d
Simplify SQL string::slug function implementation
2022-07-04 10:41:18 +01:00
Tobie Morgan Hitchcock
7af9daf159
Update 3rd party dependencies
2022-07-04 01:59:02 +01:00
Tobie Morgan Hitchcock
519d10fbd3
Update 3rd party dependencies
2022-06-28 11:54:04 +01:00
Tobie Morgan Hitchcock
ccdce709f2
Add UUID data type to SQL for efficient storage of UUIDs
2022-06-28 11:54:04 +01:00
Tobie Morgan Hitchcock
eff4d2c5e9
Implement scope signup and signin functionality
2022-06-20 12:29:06 +01:00
Tobie Morgan Hitchcock
27f011d13c
Update 3rd party dependencies
2022-06-15 12:49:41 +01:00
Tobie Morgan Hitchcock
94a9110e06
Update 3rd party dependencies
2022-06-15 08:49:57 +01:00
Tobie Morgan Hitchcock
072b002593
Simplify datastore key serialization
2022-06-15 08:49:57 +01:00
Tobie Morgan Hitchcock
61b1e547b6
Always use simplified serialization unless specified explicitly
2022-05-21 10:07:32 +01:00
Tobie Morgan Hitchcock
a78df680d2
Implement embedded javascript script functions
2022-05-21 09:39:40 +01:00
Tobie Morgan Hitchcock
82cbfad38d
Update 3rd party dependencies
2022-05-16 10:31:04 +01:00
Tobie Morgan Hitchcock
52e8954ae4
Ensure library works in multi-threaded and single-threaded environments
2022-05-16 00:04:11 +01:00
Tobie Morgan Hitchcock
6ff2a78c88
Don’t use static futures for parallel query execution
...
Instead of using static futures when processing a query in parallel, we now use a new executor model, which allows us to process futures which make use of references. As a result, we can remove the need to store each statement in an Arc.
2022-05-13 21:57:40 +01:00
Tobie Morgan Hitchcock
17e8ea55b5
Implement SQL database exporting and importing
2022-05-11 15:23:15 +01:00
Tobie Morgan Hitchcock
3498e57e04
Implement web authentication session validation
2022-05-11 15:23:15 +01:00
Tobie Morgan Hitchcock
d761a6df47
Add TLS support to SurrealDB server
2022-05-11 15:23:08 +01:00
Tobie Morgan Hitchcock
ba7c31e2dc
Improve server configuration parsing and option storage
2022-05-11 15:23:08 +01:00
Tobie Morgan Hitchcock
f7b82bc7bd
When unset, ensure default root password in randomised
2022-05-07 16:11:19 +01:00
Tobie Morgan Hitchcock
82140410d6
Remove unused 3rd party crate
2022-05-07 14:58:53 +01:00
Tobie Morgan Hitchcock
1e49a00840
Update 3rd party dependencies
2022-05-05 12:40:05 +01:00
Tobie Morgan Hitchcock
4c8d9dbb63
implement COLLATE and NUMERIC ordering in ORDER BY clauses
2022-04-27 16:21:51 +01:00
Tobie Morgan Hitchcock
cbdba0a117
Implement INDEX clauses
2022-04-09 13:33:39 +01:00
Tobie Morgan Hitchcock
fd4752aff4
Add putc + delc functions for conditional put / del in kv store
2022-04-04 16:59:20 +01:00
Tobie Morgan Hitchcock
f3ade9b9d8
Update 3rd party dependencies
2022-04-01 22:06:03 +01:00
Tobie Morgan Hitchcock
73df91a438
Use BigDecimal for large number handling
2022-03-17 21:55:32 +00:00
Tobie Morgan Hitchcock
f855e721e8
Update 3rd party dependencies
2022-03-16 15:48:01 +00:00
Tobie Morgan Hitchcock
ba8dd7bd12
Use external storekey library for key encoding
2022-03-16 14:45:55 +00:00
Tobie Morgan Hitchcock
64c02896dd
Implement record storing and fetching
2022-03-07 18:11:44 +00:00
Tobie Morgan Hitchcock
9444c550db
Update 3rd party dependencies
2022-03-05 14:45:40 +00:00
Tobie Morgan Hitchcock
2c95a34651
Update dependencies
2022-03-04 12:15:24 +00:00
Tobie Morgan Hitchcock
63113f83c3
Ensure types can be serialized/deserialized to the datastore
2022-02-26 00:34:05 +00:00
Tobie Morgan Hitchcock
d5c53b7791
Extract core surrealdb code into separate library
2022-02-22 14:16:50 +00:00
Tobie Morgan Hitchcock
b98986fa12
Remove unnecessary 'anyhow' crate
2022-02-16 23:45:23 +00:00