128 Commits

Author SHA1 Message Date
Ben
ebf608b340
sets leveldb to v0.2.0 2025-02-11 12:31:35 +01:00
Ben
a969b9799c
updates nim-leveldbstatic 2025-02-10 11:25:03 +01:00
Arnaud
d67860add6
Update to 2.0.14 2025-01-07 10:33:38 +01:00
Arnaud
b5635ef82f
Remove .lock and file and direct dependency to nim-results 2024-12-10 09:44:46 +01:00
Arnaud
e24c8036ee Introduce nimble.lock 2024-12-09 18:25:10 +01:00
Arnaud
155029f31d
Add versions and commit to dependencies 2024-12-09 17:37:25 +01:00
Arnaud
f9572662d1
Update the leveldb dependency 2024-12-09 16:54:45 +01:00
Arnaud
b933d01e56
Increment the version 2024-12-09 12:03:27 +01:00
Arnaud
27ca95a528
Add Nim 2.0.12 to matrix 2024-12-09 11:41:30 +01:00
Arnaud
9aa30847a5
Update nim-results to version 0.5.1
Signed-off-by: Arnaud <arnaud@status.im>
2024-12-09 11:29:08 +01:00
Arnaud
7e053e5e0d
Cast to nil value because nil cannot be applied directly to distinct pointer
Signed-off-by: Arnaud <arnaud@status.im>
2024-12-06 17:40:50 +01:00
Arnaud
c2314f21fd
Catch exceptions
Signed-off-by: Arnaud <arnaud@status.im>
2024-12-06 17:40:50 +01:00
Arnaud
d366a9fdef
Apply method name changes
Signed-off-by: Arnaud <arnaud@status.im>
2024-12-06 17:40:49 +01:00
Arnaud
6c425d7a35
Add gcsafe pragma
Signed-off-by: Arnaud <arnaud@status.im>
2024-12-06 17:40:49 +01:00
Arnaud
2461b514c5
Update dependencies to specific commit hashes
Signed-off-by: Arnaud <arnaud@status.im>
2024-12-06 17:40:48 +01:00
Arnaud
59be09b8a1
Add nimbledeps to be sure that dependencies are isolated 2024-12-06 17:24:10 +01:00
Ben Bierens
b3d4bd40fc
sets version for chronos. bumps nim-datastore to 0.1.1 (#73) 0.1.1 2024-08-28 08:55:23 +02:00
Ben Bierens
5feef6ff4b
updates nimble file (#72) 0.1.0 2024-08-19 15:02:50 +02:00
Ben Bierens
1d02bb492f
Simplifies tests.yml (#71)
* simplifies tests.yml

* fixes workflow name

* checkout v4
2024-08-19 14:42:57 +02:00
Tomasz Bekas
479353df00
Rename err to error to avoid naming conflict (#68) 2024-08-19 14:45:54 +03:00
Ben Bierens
90a9053437
Support GCC-14 (#69)
* bump chronos

* bumps asynctest

* fixes asynctest imports

* bumps leveldbstatic

* bumps leveldb again

* pins asynctest version
2024-08-19 11:02:18 +03:00
Ben Bierens
f4989fcce5
LevelDB review (#65)
* Replaces stew-results with results package

* Applies leveldb batch-put

* links in dispose call to leveldb wrapper

* Handles trailing wildcards in leveldb query.

* Fixes tests for leveldb typed-ds.

* Adjusts exception handling in leveldbds to match what can be raised by leveldb iterator callbacks.

* Pulls in leveldbstatic 0.1.4

* Replaces replace with substring in leveldbds query

* Adds cmake to windows CI install
2024-05-23 09:31:49 -07:00
Tomasz Bekas
d95074ab91
Add some exports to typedds.nim (#66) 2024-05-22 09:50:27 -07:00
Dmitriy Ryajov
962c08c101
cleanup results import and some warnings (#64)
* cleanup results import and some warnings

* add some more push raises
2024-05-15 10:37:01 -07:00
Ben Bierens
0ee88a2a9b
Adds LevelDB Datastore (#63)
* set up leveldb-datastore

* Adds test for leveldb

* pulls in nim-leveldb by url and hash

* Fixes basic tests for leveldbds

* Implements query iterator

* Fixes include path for defaultImpl

* Review comments by Tomasz
2024-05-14 11:05:58 +02:00
Tomasz Bekas
7b3fdb854c
Merge pull request #62 from codex-storage/typedds
TypedDatastore implementation
2024-05-14 10:33:00 +02:00
Tomasz Bekas
aead27eeba
Merge pull request #61 from codex-storage/fix-missing-rollbacks
Fix missing rollbacks
2024-05-10 11:17:38 +02:00
Tomasz Bekas
38e2fea1b3
Fix docs 2024-05-09 13:34:45 +02:00
Tomasz Bekas
6136eb608d
Addressing review comments by Dmitriy 2024-05-08 19:23:31 +02:00
Tomasz Bekas
50b480270f
TypedDatastore implementation 2024-05-08 14:14:47 +02:00
Tomasz Bekas
8e8d071ac7
Fix missing rollbacks 2024-02-27 18:43:24 +01:00
Dmitriy Ryajov
d02f2e7380
Proper dispose (#60)
* cleanup error handling

* properly dipose statements and connections

* db should be var now

* autodispose db
2024-01-15 20:00:42 -08:00
Tomasz Bekas
8f99eb06bd
Merge pull request #58 from codex-storage/concurrent-datastore
Concurrent datastore interface & sqlite implementation
2024-01-12 11:01:09 +01:00
Tomasz Bekas
3c4daf4198 Fix review comments 2024-01-10 16:54:14 +01:00
Tomasz Bekas
0d1ca4b2cd
Bump nim to 1.6.16 2023-12-20 15:21:26 +01:00
Tomasz Bekas
b692737eed Remove ConcurrentDatastore type 2023-12-20 10:55:59 +01:00
Tomasz Bekas
a6ab178092 Fix broken tests 2023-12-20 10:16:28 +01:00
Tomasz Bekas
e2e31e07b3
Remove fail() 2023-12-20 09:09:06 +01:00
Tomasz Bekas
673778697f Replace require with check 2023-12-20 08:50:15 +01:00
gmega
795e1a3e3a pin chronos to the lastest commit (as of today) 2023-12-20 08:50:15 +01:00
gmega
cc2c58a8bd explicitly change chronos to pick up from head 2023-12-20 08:50:15 +01:00
gmega
18d0833141 explicitly annotate iterator exception effects so it does not default to raises: [Exception] 2023-12-20 08:50:15 +01:00
Tomasz Bekas
3d901cb658
Move modify methods to the Datastore interface 2023-12-19 15:49:44 +01:00
gmega
cadf38db57 pin chronos to the lastest commit (as of today) 2023-12-15 19:22:57 -03:00
gmega
077ab3d077 explicitly change chronos to pick up from head 2023-12-15 19:22:57 -03:00
gmega
5d1755081c explicitly annotate iterator exception effects so it does not default to raises: [Exception] 2023-12-15 19:22:57 -03:00
Tomasz Bekas
a62c91bb6b Return err from modify fn 2023-12-11 12:29:38 +01:00
Tomasz Bekas
f41bd9528e
Remove methods taking non-async functions 2023-12-04 13:39:43 +01:00
Tomasz Bekas
3d38850afc
Update docs 2023-11-27 17:09:49 +01:00
Tomasz Bekas
4c5ced6633 ModifyGet operations 2023-11-21 19:51:23 +01:00