Andrew Jeffery
0f2bd3fb27
Make edit-trace vals be a string and use splice_text
2022-04-07 12:22:28 +01:00
Andrew Jeffery
d331ceb6d4
Rename set to put and set_object to put_object
2022-04-01 13:40:58 +01:00
Orion Henry
95f27f362c
Merge pull request #283 from jeffa5/experiment-make
...
Separate scalars and objects in transaction API
2022-03-04 16:53:17 -05:00
Andrew Jeffery
d71e87882e
Make save infallible
2022-03-04 12:28:05 +00:00
Andrew Jeffery
f8cffa3deb
Fix edit trace
2022-03-04 09:51:49 +00:00
Andrew Jeffery
682b8007b9
Borrow exid to avoid &ROOT everywhere
2022-03-03 09:05:08 +00:00
Andrew Jeffery
3493dbd74a
Rename autotxn to autocommit
2022-02-21 10:49:14 +00:00
Andrew Jeffery
50a1b4f99c
Add transactable trait
2022-02-21 10:32:57 +00:00
Andrew Jeffery
59e36cebe4
Improve transactions with drop, transact and better commit
...
Also remove modification operations directly on Automerge and switch
tests to using AutoTxn.
2022-02-17 11:29:36 +00:00
Andrew Jeffery
e970854042
Fix benchmark ids
2022-02-16 14:56:17 +00:00
Andrew Jeffery
7cbd6effb7
Add autotxn document for wasm and cross-language use
...
These don't have the ability to preserve the semantics of the reference
based transaction model and so can make use of the nicer auto
transaction model.
2022-02-16 14:06:22 +00:00
Orion Henry
3046cbab35
Replace the OpID API with an object ID
...
Rather than returning an OpID for every mutation, we now return an
`Option<ObjId>`. This is `Some` only when a `make*` operation was
applied. This `ObjID` is an opaque type which can be used with any
document.
2022-01-01 20:15:02 +00:00
Andrew Jeffery
7f115964f1
Unwrap text set in benchmark
2021-12-22 10:35:42 +00:00
Andrew Jeffery
e6b806b458
Add criterion benchmarks for Rust ( #248 )
2021-12-19 14:59:40 +00:00