Commit graph

  • 7ef362c8f2
    Merge 5e32a91c37 into cf58fb87fe dependabot[bot] 2026-06-27 03:13:41 +08:00
  • 6b57efb02f
    Merge e1126c6f88 into cf58fb87fe dependabot[bot] 2026-06-26 18:10:24 +08:00
  • 38f393c1df
    Merge 63dfd18cf9 into cf58fb87fe dependabot[bot] 2026-06-26 13:13:37 +08:00
  • cf58fb87fe chore: release v1.29.13 [skip ci] master github-actions[bot] 2026-06-25 16:55:19 +00:00
  • c0a35ce47c
    Merge pull request #277 from appy-one/updates/transaction-logging-improvements v1.29.13 Ewout Stortenbeker 2026-06-25 18:48:18 +02:00
  • 24e722e418
    Merge pull request #276 from anonimusprogramus/patch-1 Ewout Stortenbeker 2026-06-25 10:47:39 +02:00
  • 8add307777 Revert change to add minimum leaf entry size Ewout Stortenbeker 2026-06-25 10:30:43 +02:00
  • 6f7d1548aa Add type Ewout Stortenbeker 2026-06-25 10:28:26 +02:00
  • 1e0cda74f3 Rename variable Ewout Stortenbeker 2026-06-25 10:28:13 +02:00
  • 51069ee9ab Also handle tree rebuild advise here Ewout Stortenbeker 2026-06-25 10:27:34 +02:00
  • 941d4289f7 Add batched operations back to the front of the operations array upon error Ewout Stortenbeker 2026-06-25 10:26:42 +02:00
  • a426e6518b Cleanup: remove unused empty-branch error Ewout Stortenbeker 2026-06-25 10:06:30 +02:00
  • 7fd0a59201 Cleanup: remove unused _removeLeafWithEmptyParent method Ewout Stortenbeker 2026-06-25 10:02:58 +02:00
  • 2400ff1913 Prevent possible tree repair issue if leaf is empty Ewout Stortenbeker 2026-06-25 09:48:09 +02:00
  • e0f23acc19 Add 24hr stress test for transaction logging if RUN_STRESS_TESTS env var has been set Ewout Stortenbeker 2026-06-25 09:00:43 +02:00
  • f9a63d910f Keep empty leafs with a single-entry parent node, advise tree rebuild Ewout Stortenbeker 2026-06-25 08:59:15 +02:00
  • f4dbdcc174 Fix tree rebuilding after single-entry node's leaf becomes empty Ewout Stortenbeker 2026-06-25 08:57:44 +02:00
  • 9bd7d11a60 Fix tree updating after single-entry node's leaf becomes empty Ewout Stortenbeker 2026-06-22 12:21:08 +02:00
  • d94d5f875e Fix tree rebuilding after single-entry node's leaf becomes empty Ewout Stortenbeker 2026-06-22 12:20:20 +02:00
  • 5d09d8967e Binary B+Tree: fix issue with trees rebuilding after a leaf below a single-entry node has become empty Ewout Stortenbeker 2026-06-17 08:17:54 +02:00
  • d7b0f2c953 Node reader: improve error being logged if reason is a locking issue, also adds path being read from to log message Ewout Stortenbeker 2026-06-16 17:15:14 +02:00
  • dad4d2951d Transaction logging improvements: * Let getMutations process each mutation while iterating instead of piling them up to run at the same time - saving memory and cpu. * Created removeMutations method to clean up old transaction logs found by getMutations, prevents scheduling the same transactions for removal multiple times, runs in the background and use batches of 100 not to block other reads/writes for too long. * logMutation now saves serialized values of context, mutations and value for quicker reading and writing, getMutations checks if transaction used legacy or serialized storage version Ewout Stortenbeker 2026-06-16 17:12:46 +02:00
  • a0f21f027e
    Merge feed2a8778 into a5bd690861 dependabot[bot] 2026-06-16 10:45:04 +00:00
  • 48679fe7b3
    Update README.md Anonimus Programus 2026-06-15 19:24:47 +07:00
  • a5bd690861 chore: release v1.29.12 [skip ci] github-actions[bot] 2026-06-08 14:13:09 +00:00
  • c7830c6ebf
    Merge pull request #275 from appy-one/fix/linux-mac-socket-ipc v1.29.12 Ewout Stortenbeker 2026-06-08 16:10:07 +02:00
  • db8639914c new browser build Ewout Stortenbeker 2026-06-08 13:50:04 +02:00
  • 0ee522e5cc Win32: change named pipe to use a similar name as a unix socket Ewout Stortenbeker 2026-05-19 12:08:24 +02:00
  • cc4de5e8bc New browser build Ewout Stortenbeker 2026-05-19 11:42:24 +02:00
  • 747b91d6ec Enable socket IPC mode for tests Ewout Stortenbeker 2026-05-19 11:42:12 +02:00
  • 26e6b7fdea Fix IPC socket on Mac/Linux, improve startup/exit flow Ewout Stortenbeker 2026-05-19 11:41:56 +02:00
  • 28030e8f21 use temp db path from settings Ewout Stortenbeker 2026-05-19 11:40:11 +02:00
  • f5b0c1fbb1
    Merge ec8684b8da into 12639cd0f8 dependabot[bot] 2026-05-23 08:33:05 -06:00
  • 1ef60e25cf Win32: change named pipe to use a similar name as a unix socket improvements/20260519 Ewout Stortenbeker 2026-05-19 12:08:24 +02:00
  • 44f73dc1d6 New browser build Ewout Stortenbeker 2026-05-19 11:42:24 +02:00
  • 4e8ff6d5d0 Enable socket IPC mode for tests Ewout Stortenbeker 2026-05-19 11:42:12 +02:00
  • 27740a985d Fix IPC socket on Mac/Linux, improve startup/exit flow Ewout Stortenbeker 2026-05-19 11:41:56 +02:00
  • 6b0a06066d use temp db path from settings Ewout Stortenbeker 2026-05-19 11:40:11 +02:00
  • 61253e278e Add file import/export extentions, remove tsc-esm-fix dependency, add __dirname fix script at build step Ewout Stortenbeker 2026-05-19 11:38:13 +02:00
  • 12639cd0f8
    Merge pull request #265 from appy-one:quality/organize-code Ewout Stortenbeker 2026-05-18 10:33:01 +02:00
  • 8e2a24ee11
    Merge branch 'master' into quality/organize-code Ewout Stortenbeker 2026-05-18 10:17:02 +02:00
  • cf77386aed chore: release v1.29.11 [skip ci] github-actions[bot] 2026-05-12 13:30:52 +00:00
  • cac2877526 Revert acebase-core dependency to local file v1.29.11 Ewout Stortenbeker 2026-05-12 15:27:44 +02:00
  • cace49eff4 chore: release v1.29.11-rc.2 [skip ci] github-actions[bot] 2026-05-12 13:17:45 +00:00
  • 5aa91a7a8f Use latest acebase-core v1.29.11-rc.2 Ewout Stortenbeker 2026-05-12 15:15:24 +02:00
  • 8c1254897d chore: release v1.29.11-rc.1 [skip ci] github-actions[bot] 2026-05-12 13:06:21 +00:00
  • 5a37f76581 Add npm publish workflow from master branch v1.29.11-rc.1 Ewout Stortenbeker 2026-05-12 14:58:14 +02:00
  • a7c16c45e1 new browser build Ewout Stortenbeker 2026-05-12 14:48:55 +02:00
  • 6a4463d9bf Tests: ignore rmdir ENOENT error Ewout Stortenbeker 2026-05-12 13:30:21 +02:00
  • a56dcf8a5e B+Tree tree locking: let timeout throw an exception, so callers can catch and handle instead of waiting indefinitely Ewout Stortenbeker 2026-05-12 13:13:57 +02:00
  • 0c3ee4e401 Fix reflection with from === 0 or from === '' argument Ewout Stortenbeker 2026-05-12 13:09:43 +02:00
  • c6b7b1b7fa Merge node: more robust way to check if record moved Ewout Stortenbeker 2026-05-12 12:46:36 +02:00
  • 6476e0570d Binary node reader: fix child streams when fromKey === 0 Ewout Stortenbeker 2026-05-12 10:16:03 +02:00
  • 4efc28b40d Binary storage merge node: fix B+Tree reads that start at index equal to originalLength Ewout Stortenbeker 2026-05-12 10:12:36 +02:00
  • d5e7ebc59c B+Tree: fix rollback of last leaf rebuilds (they have no next leaf) Ewout Stortenbeker 2026-05-12 10:08:24 +02:00
  • aeb2015946 Fix using from option in getChildStream on smaller nodes that don't store props alphabetically Ewout Stortenbeker 2026-05-08 17:25:34 +02:00
  • 1d0b9aa0ac Speed up getChildCount for nodes with a B+ Tree by manually traversing the leafs, counting all entries Ewout Stortenbeker 2026-05-08 17:24:08 +02:00
  • 6750246b9a Mark asyncoption in getChildren storage stub method as deprecated Ewout Stortenbeker 2026-05-08 17:18:41 +02:00
  • 4745107051 add fromKey option to getChildStream to drastically improve performance of reflection on large nodes with B+ Tree Ewout Stortenbeker 2026-05-08 17:16:47 +02:00
  • 6f9fa02355 remove deprecated async option Ewout Stortenbeker 2026-05-08 17:03:53 +02:00
  • 6381f69e8f Fix issue that causes a wrong record allocation calculation with existing allocation that has more ranges than maxChunks Ewout Stortenbeker 2026-05-08 16:42:49 +02:00
  • fc6322e7b0 chore: release v1.29.10 [skip ci] github-actions[bot] 2026-04-16 07:16:04 +00:00
  • 8bb874a7bb
    Merge pull request #272 from appy-one:improve-read-write-stability v1.29.10 Ewout Stortenbeker 2026-04-16 09:09:12 +02:00
  • f6e7a21321 New browser build Ewout Stortenbeker 2026-04-16 09:05:24 +02:00
  • 3d64340c7a Add corrupted node testing capability. Writing to path simulate/corrupt/record/here will now simulate a corrupted record Ewout Stortenbeker 2026-04-15 21:40:19 +02:00
  • 3397a04cc2 Fix transaction log tests that did not always get the most recent cursor because of a race condition Ewout Stortenbeker 2026-04-15 21:21:12 +02:00
  • 3611f5c76c Improve node-lock test to handle lock timeouts correctly Ewout Stortenbeker 2026-04-15 21:20:27 +02:00
  • dc173709b4 (commented out) add a way to test with very short lock timeouts Ewout Stortenbeker 2026-04-15 21:19:10 +02:00
  • c41bb02cad Enhance node read/write error handling, automatically await child stream callback promises, fix locks potentially not being released upon error, reduce mem/cpu usage when reading/writing large nodes (maybe also slowing down a bit but not noticeably when running the tests), improve logging Ewout Stortenbeker 2026-04-15 21:38:58 +02:00
  • 0456a23580 Add corrupted node testing capability. Writing to path simulate/corrupt/record/here will now simulate a corrupted record Ewout Stortenbeker 2026-04-15 21:22:48 +02:00
  • 4efe992708 Fix transaction log tests that did not always get the most recent cursor because of a race condition Ewout Stortenbeker 2026-04-15 21:21:12 +02:00
  • 52220b9773 Improve node-lock test to handle lock timeouts correctly Ewout Stortenbeker 2026-04-15 21:20:27 +02:00
  • 1c97222c97 (commented out) add a way to test with very short lock timeouts Ewout Stortenbeker 2026-04-15 21:19:10 +02:00
  • c1ea0873db Enhance node read/write error handling, automatically await child stream callback promises, fix locks potentially not being released upon error, reduce mem/cpu usage when reading/writing large nodes (maybe also slowing down a bit but not noticeably when running the tests), improve logging Ewout Stortenbeker 2026-04-15 21:18:14 +02:00
  • 41b469484e
    Fix: suppress unhandled promise rejections and PromiseRejectionHandledWarning (#271) Ewout Stortenbeker 2026-04-15 08:58:02 +02:00
  • 00e647f705 Fix: suppress unhandled promise rejections and PromiseRejectionHandledWarning Ewout Stortenbeker 2026-04-14 16:27:38 +02:00
  • a5cc57ce6a Fix: suppress unhandled promise rejections and PromiseRejectionHandledWarning Ewout Stortenbeker 2026-04-14 16:22:46 +02:00
  • 7e439ce877 chore: release v1.29.9 [skip ci] github-actions[bot] 2026-04-14 13:33:13 +00:00
  • 4f6a132f2d
    Fix: handle failing announced cache lookups (#270) v1.29.9 Ewout Stortenbeker 2026-04-14 15:31:11 +02:00
  • deb4c02d5b Add node info to readHeader error message Ewout Stortenbeker 2026-04-14 15:02:55 +02:00
  • 6f8753a288 Fix failing node address lookups never resolving a parent read/write operation Ewout Stortenbeker 2026-04-14 15:02:14 +02:00
  • fbe619c235 Add node info to readHeader error message Ewout Stortenbeker 2026-04-14 14:54:30 +02:00
  • cd10f2cea6 Fix failing node address lookups never resolving a parent read/write operation Ewout Stortenbeker 2026-04-14 14:53:40 +02:00
  • 430ac71518 chore: release v1.29.8 [skip ci] github-actions[bot] 2026-04-13 10:39:24 +00:00
  • 58d4c8941e Fix npm trusted publishing (use node 24) v1.29.8 Ewout Stortenbeker 2026-04-13 12:37:35 +02:00
  • b49b6f1554 Fix npm trusted publishing Ewout Stortenbeker 2026-04-13 12:32:57 +02:00
  • d682ee8e11 chore: release v1.29.7 [skip ci] github-actions[bot] 2026-04-13 10:12:47 +00:00
  • 9bca2f38bf Fix npm publish v1.29.7 Ewout Stortenbeker 2026-04-13 12:11:23 +02:00
  • 636167ea51 chore: release v1.29.6 [skip ci] github-actions[bot] 2026-04-13 10:06:44 +00:00
  • ffc226c761
    Merge pull request #269 from appy-one:fix/prevent-corrupt-record-error-in-single-process v1.29.6 Ewout Stortenbeker 2026-04-13 12:04:08 +02:00
  • 3501900d9c chore: release v1.29.6-rc.7 [skip ci] github-actions[bot] 2026-04-13 10:01:38 +00:00
  • 5a0f52a1d1
    Merge branch 'master' into fix/prevent-corrupt-record-error-in-single-process v1.29.6-rc.7 Ewout Stortenbeker 2026-04-13 11:59:44 +02:00
  • 25fc75971f chore: release v1.29.6-rc.6 [skip ci] github-actions[bot] 2026-04-13 09:52:22 +00:00
  • 3ab18ffc8f Fix workflow: commit version bumps to current branch and prevent tagging old commits v1.29.6-rc.6 Ewout Stortenbeker 2026-04-13 11:50:54 +02:00
  • d369c25180 Fix workflow: also commit package-lock.json version updates v1.29.6-rc.5 Ewout Stortenbeker 2026-04-13 11:32:20 +02:00
  • ed8608e262 chore: release v1.29.6-rc.4 [skip ci] github-actions[bot] 2026-04-13 09:29:43 +00:00
  • 9ab7347b79 Fix workflow: commit package.json version update v1.29.6-rc.4 Ewout Stortenbeker 2026-04-13 11:28:47 +02:00
  • ecb2f795b6 Fix publish workflow: acebase-core dependency install v1.29.6-rc.3 Ewout Stortenbeker 2026-04-13 11:14:19 +02:00
  • c94bf097d0 fix workflow builds v1.29.6-rc.2 Ewout Stortenbeker 2026-04-13 11:07:01 +02:00
  • 744bcc3322 Fix: make sure unallocated records are not referenced in cache anymore. Might prevent CorruptRecordErrors from occuring whilst running in a single process. v1.29.6-rc.1 Ewout Stortenbeker 2026-04-13 10:51:03 +02:00