Commit graph

3265 commits

Author SHA1 Message Date
Micha de Vries
7c41aef3ba
Enforced relations (#4579) 2024-08-22 15:25:20 +00:00
Aman Kumar
c5e8324653
feat-4416: Ensure table definition exists on live queries (#4426)
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2024-08-22 15:24:59 +01:00
Tobie Morgan Hitchcock
5bf3119558
Update LICENSE (#4582) 2024-08-22 12:22:27 +01:00
Rushmore Mushambi
898d75b744
Rename lib to sdk (#4561) 2024-08-22 10:26:03 +00:00
Micha de Vries
b23b25b7d1
Fix record id escaping to match parser (#4580) 2024-08-22 08:41:11 +00:00
David Bottiau
c7bcd4f3a6
feat: allow cbor uuid serialization for record id part (#4491)
Co-authored-by: Micha de Vries <micha@devrie.sh>
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
Co-authored-by: Mees Delzenne <DelSkayn@users.noreply.github.com>
2024-08-22 08:35:54 +00:00
Sergii Glushchenko
f795434345
Replace ok_or with ok_or_else (#4573) 2024-08-21 19:47:54 +01:00
Raphael Darley
bc6ad3a983
remove accidental debug log (#4574) 2024-08-21 16:52:08 +00:00
Micha de Vries
f2ccedb8c1
Literal types (#4557) 2024-08-21 14:50:37 +00:00
Rushmore Mushambi
d002fa3958
Improve consistency of the run method API with existing methods (#4563) 2024-08-21 15:35:26 +01:00
Sergii Glushchenko
13b6788540
Create with version (#4548) 2024-08-21 13:54:58 +00:00
Julian
95f9f8dacd
Allow transferring raw futures over cbor (#4504)
Co-authored-by: Micha de Vries <micha@devrie.sh>
2024-08-21 12:50:32 +00:00
Mees Delzenne
4c3f4d0fd5
Detach value newtype (#4498)
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2024-08-21 12:34:16 +00:00
Micha de Vries
e25eca71d7
SCHEMAFULL table should be TYPE NORMAL by default (#4558) 2024-08-21 08:23:56 +00:00
Rushmore Mushambi
1f6e6fcfc5
Fix release builds (#4559) 2024-08-20 13:50:10 +00:00
Sergii Glushchenko
c4d2ad2d64
Fix benches (#4560) 2024-08-20 14:46:05 +01:00
Micha de Vries
e77df62114
Range values (#4506) 2024-08-20 11:42:06 +00:00
Raphael Darley
b1e9af5d4e
Add run to sdk (#4305)
Co-authored-by: Micha de Vries <mt.dev@hotmail.com>
2024-08-20 10:50:19 +00:00
Raphael Darley
e18cd17ca6
deprecate file:// (#4505) 2024-08-20 11:44:22 +01:00
Emmanuel Keller
0a4801dcf8
[Feat] HNSW persistence (#4214)
Co-authored-by: David Bottiau <david.bottiau@outlook.com>
Co-authored-by: Micha de Vries <micha@devrie.sh>
Co-authored-by: Micha de Vries <mt.dev@hotmail.com>
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
Co-authored-by: ekgns33 <76658405+ekgns33@users.noreply.github.com>
Co-authored-by: Sergii Glushchenko <sergii.glushchenko@surrealdb.com>
Co-authored-by: Yusuke Kuoka <ykuoka@gmail.com>
2024-08-20 11:42:58 +01:00
Emmanuel Keller
d86a734d04
[Feat] Asynchronous indexing (#4480)
Co-authored-by: Micha de Vries <micha@devrie.sh>
2024-08-20 09:20:53 +00:00
Raphael Darley
c7457ffc56
use /rpc for the rust sdk http connection (#4482) 2024-08-20 09:14:32 +01:00
Remzi Yang
cb02db1477
upgrade rust_decimal to 1.36.0 (#4550) 2024-08-20 08:27:18 +01:00
Micha de Vries
c7c0249d34
Allow isolated context to read protected params (#4533) 2024-08-19 12:09:35 +01:00
Raphael Darley
9657dd80c7
Add graphql support (#3797)
Co-authored-by: Gerard Guillemas Martos <gguillemas@users.noreply.github.com>
Co-authored-by: Gerard Guillemas Martos <gerard.guillemas@surrealdb.com>
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
Co-authored-by: Micha de Vries <mt.dev@hotmail.com>
2024-08-18 18:49:27 +00:00
Maxwell Flitton
be105bd30c
Return an array / vector from ml functions (#4523)
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2024-08-16 22:53:43 +00:00
Micha de Vries
6d26797e56
Remove println (#4524)
Co-authored-by: Emmanuel Keller <emmanuel.keller@surrealdb.com>
2024-08-16 20:08:14 +01:00
Micha de Vries
78b5f8f1d0
Idiom Optional Part (#4514) 2024-08-16 15:53:28 +00:00
Chiru B
4749af1ba4
feat-4429: Blake3 Hash (#4434)
Co-authored-by: itsezc <itsezc>
Co-authored-by: Gerard Guillemas Martos <gguillemas@users.noreply.github.com>
Co-authored-by: Gerard Guillemas Martos <gerard.guillemas@surrealdb.com>
2024-08-16 15:58:38 +01:00
Mees Delzenne
63bc5fa1db
Fix certain identifier characters not being parsed correctly (#4522) 2024-08-16 13:59:59 +00:00
Emmanuel Keller
6e9d04d4d7
Remove Context lifetimes (#4484) 2024-08-15 16:01:02 +00:00
Tobie Morgan Hitchcock
d7b392cf8b
Yield remote fields without needing to clear the original field value (#4515) 2024-08-15 10:22:20 +01:00
Micha de Vries
ec0c28fa74
.chain() method (#4513) 2024-08-15 08:17:00 +00:00
Sergii Glushchenko
6502b5ed8a
Select from individual record with version (#4510) 2024-08-15 05:29:53 +00:00
ekgns33
212d5a9e5a
Add vector::scale() method (#4292)
Co-authored-by: Micha de Vries <micha@devrie.sh>
2024-08-14 17:01:10 +00:00
David Bottiau
0069cba8a3
Add more array functions (#4184)
Co-authored-by: Micha de Vries <micha@devrie.sh>
Co-authored-by: Micha de Vries <mt.dev@hotmail.com>
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2024-08-14 15:11:22 +00:00
Mees Delzenne
ee8e6f00d7
Fix params not supporting delimiters (#4411) 2024-08-13 21:50:40 +01:00
Rushmore Mushambi
4181367b98
Fix nightly builds (#4507) 2024-08-13 21:49:36 +01:00
Raphael Darley
bb1eba4aab
Add typed LET statement (#4476) 2024-08-13 20:47:17 +01:00
Raphael Darley
5d92c7c02c
implement typed function returns (#4475)
Co-authored-by: Micha de Vries <micha@devrie.sh>
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2024-08-13 17:10:13 +00:00
Gerard Guillemas Martos
c3d788ff4a
Add BEARER access type and its basic grant management (#4302)
Co-authored-by: Emmanuel Keller <emmanuel.keller@surrealdb.com>
Co-authored-by: Micha de Vries <micha@devrie.sh>
2024-08-13 16:38:17 +00:00
Sergii Glushchenko
a87433c4d3
Experimental: select all from table with version (#4494) 2024-08-13 15:35:30 +00:00
Gerard Guillemas Martos
a8b96936f4
Check for single and multiple token audiences (#4493) 2024-08-13 11:40:16 +00:00
Micha de Vries
89f1de825a
Fix record<T> casting from string (#4496)
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2024-08-13 09:50:40 +00:00
Rushmore Mushambi
57c7f5ec03
Serialisation improvements for sql::Value (#4255) 2024-08-13 08:29:43 +00:00
Gerard Guillemas Martos
828f1c50d8
Fix errors in supply chain security workflow (#4497) 2024-08-12 18:15:18 +00:00
Gerard Guillemas Martos
d038fb2c7a
Disable default audience validation also for JWKS (#4495) 2024-08-12 16:05:19 +00:00
Micha de Vries
f8ba01a688
Fix "specific" match statement exiting early (#4492) 2024-08-12 09:05:12 +00:00
Drew Ridley
d2c59f0b71
Fix JWT 'aud' array (#4488)
Co-authored-by: Drew Ridley <drewr@Drews-MacBook-Pro.local>
Co-authored-by: Gerard Guillemas Martos <gguillemas@users.noreply.github.com>
2024-08-12 08:50:27 +00:00
Micha de Vries
c0be139e59
Implement anonymous functions (#4474)
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2024-08-10 12:44:12 +00:00