Commit graph

203 commits

Author SHA1 Message Date
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
a76910e826
Preparation for #1878 - microbenchmarks. (#1894) 2023-04-30 23:50:33 +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
141eb091a6
Bypass deserialisation for sql::Value responses on Surreal methods (#1875) 2023-04-28 12:20:57 +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
Rushmore Mushambi
ed20048358
Improve GitHub Actions CI run time (#1569) 2023-04-17 14:27:32 +01:00
Tobie Morgan Hitchcock
c5de4d8ef0 Update 3rd party dependencies 2023-04-14 17:01:31 +01:00
Tobie Morgan Hitchcock
5eafebd64b Release v1.0.0-beta.9+20230402 2023-04-02 19:57:02 +01:00
Tobie Morgan Hitchcock
459da80c89 Don’t build tikv feature for docs.rs 2023-04-02 15:19:06 +01:00
Tobie Morgan Hitchcock
da2fd133ec Don’t build kv-fdb feature on docs.rs 2023-04-01 19:21:16 +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
e629ddf9c5 Update LICENSE link on crates.io 2023-04-01 02:10:55 +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
Diptesh Choudhuri
494203d358
Allow exporting to stdout (#1701) 2023-03-30 19:13:26 +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
Tobie Morgan Hitchcock
f395162830 Simplify Cargo.toml file 2023-03-25 07:56:22 +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
30953bc2a3 Add SQL rand::ulid() function
Related to #1353
2023-01-17 09:02:01 +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
005b27eae8
Drop the parallel feature (#1574) 2023-01-07 09:42:45 +00:00
Tobie Morgan Hitchcock
98a5d75d63 Add SurrealQL functions to JavaScript runtime 2023-01-04 07:51:21 +00:00
Tobie Morgan Hitchcock
5d4cb3bbbf Fix continuous integration tests and build 2023-01-02 09:10:04 +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
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
Rushmore Mushambi
a5ee7f6b54
Make FoundationDB version and features configurable (#1249) 2022-09-27 22:52:39 +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
88ef1b6e27 Add support for escaped characters and unicode characters in strings
Closes #90
Closes #137
Closes #245
Closes #1202
Closes #1212
2022-09-26 01:29:26 +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
Finn Bear
8907f0aa14
Make RocksDB integration more, if not completely, sound (#77)
Closes #76
2022-08-31 14:18:23 +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
21fd5b8868 Enable separation and selection of features when building 2022-08-26 22:41:41 +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
68f1b014a9 Release 1.0.0-beta.6 2022-08-13 01:43:23 +01:00
Tobie Morgan Hitchcock
33ab50b541 Update 3rd party dependencies 2022-08-11 17:41:20 +01:00
Tobie Morgan Hitchcock
367fa6b33b Add documentation link to crates.io 2022-08-10 17:49:32 +01:00
Tobie Morgan Hitchcock
3ab94a5abf Release 1.0.0-beta.5 2022-08-01 10:28:43 +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
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
667b43655d Release 1.0.0-beta.2 2022-07-19 23:29:21 +01:00
Tobie Morgan Hitchcock
97159203e1 Update crates.io package metadata 2022-07-19 01:37:56 +01:00
Tobie Morgan Hitchcock
bbd557e0c0 Update 3rd party dependencies 2022-07-19 00:14:46 +01:00
Tobie Morgan Hitchcock
8a90139fe3 Ensure correct version is specified in Cargo.toml files 2022-07-19 00:09:06 +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
039d2fbd54 Use alphabetical ordering for Cargo.toml dependencies 2022-07-03 20:33:13 +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
27f011d13c Update 3rd party dependencies 2022-06-15 12:49:41 +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
0edd707784 Only include executor crate with parallel feature 2022-05-16 10:28:47 +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
7bd5802e99 Remove tokio as a dependency
Closes SUR-102
2022-05-13 21:57:40 +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
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
041f220727 Only import tokio sync feature 2022-05-05 12:20:45 +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
38c7ae206e Enable parallel iteration of records 2022-02-27 00:01:19 +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