Commit Graph

15 Commits

Author SHA1 Message Date
Aiden McClelland
10413414dc fix: revert from ciborium to serde_cbor_2, make apply_patches iterative
- ciborium's deserialize_str bug (#32) caused DB deserialization to fail
  silently, nuking the database value to null on compress
- Switch to dr-bonez/cbor fork (serde_cbor_2) which has StreamDeserializer
  change_output_type support
- Propagate deserialization errors instead of falling back to null
- Convert apply_patches from recursion to iteration to prevent stack
  overflow on patches with many operations (e.g. 953 ops)
2026-03-09 23:42:14 -06:00
Matt Hill
86b0768bbb audit fixes, repo restructure, and documentation
Soundness and performance audit (17 fixes):
- See AUDIT.md for full details and @claude comments in code

Repo restructure:
- Inline json-ptr and json-patch submodules as regular directories
- Remove cbor submodule, replace serde_cbor with ciborium
- Rename patch-db/ -> core/, patch-db-macro/ -> macro/,
  patch-db-macro-internals/ -> macro-internals/, patch-db-util/ -> util/
- Purge upstream CI/CD, bench, and release cruft from json-patch
- Remove .gitmodules

Test fixes:
- Fix proptest doesnt_crash (unique file paths, proper close/cleanup)
- Add PatchDb::close() for clean teardown

Documentation:
- Add README.md, ARCHITECTURE.md, CONTRIBUTING.md, CLAUDE.md, AUDIT.md
- Add TSDocs to TypeScript client exports

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 19:06:42 -07:00
Aiden McClelland
d2f38ef5f7 bump imbl-value 2025-08-15 17:55:16 -06:00
Aiden McClelland
223b1af4f5 bump imbl-value 2025-08-15 16:07:03 -06:00
Aiden McClelland
de9a2a6787 update to imbl v6 2025-07-25 16:35:38 -06:00
Aiden McClelland
f43ee19587 fix diffing algorithm 2025-07-14 12:47:14 -06:00
Aiden McClelland
1b0116d6d8 fix diffing algorithm 2025-07-14 10:23:24 -06:00
Aiden McClelland
f2f7c3141b update cargo deps 2025-06-05 13:29:20 -06:00
Aiden McClelland
36eb59b79e update imbl-value 2025-01-17 15:53:59 -07:00
Aiden McClelland
faab5ff083 don't send empty patches 2024-06-24 10:43:34 -06:00
Aiden McClelland
7096f15e9b update json-patch 2024-01-04 14:04:26 -07:00
Aiden McClelland
3e5cc22bb6 Feature/lockless (#60)
* lockless

* new and improved api

* fix tests

Co-authored-by: J H <Blu-J@users.noreply.github.com>

* fix models again

* fix imports

* improved api

* fix internally tagged enums

---------

Co-authored-by: J H <Blu-J@users.noreply.github.com>
2023-09-28 19:26:17 +00:00
Aiden McClelland
b205639575 add revision cache and clean up todos 2022-09-02 15:12:26 -06:00
Aiden McClelland
43e3c77c14 fix deadlock 2021-07-09 15:12:58 -06:00
Aiden McClelland
4e96c64c1b submodules 2021-03-23 14:45:57 -06:00