Repository navigation
Tags
Tags
fix: EN-3238 reject manifests with export coverage gaps (formancehq#2447 ) * fix: EN-3238 reject manifests with export coverage gaps ApplyExports validates each export object on its own, so a manifest that drops a whole interior log segment leaves every remaining object valid. Offline bootstrap without --validate then activated a store missing that segment's postings while the audit chain still recorded them. ApplyExportsAndRebuild now checks the manifest's segment ranges before any download: log, audit and audit-item segments must continue each other from the checkpoint boundary, and applied-proposal segments, which are sparse, must be ordered and disjoint above the audit boundary. This covers both the offline bootstrap and the gRPC download path. * docs: EN-3238 scope export coverage guarantees
fix(storage): stop the log hash trigger from scanning other ledgers' … …logs (formancehq#2407) * fix(storage): stop the log hash trigger from scanning other ledgers' logs set_log_hash() looked up the previous hash with `ledger = x ORDER BY id DESC`. In buckets with several ledgers, PostgreSQL can pick the ID-only logs_ids index and filter hundreds of thousands of unrelated rows while the ledger lock is held. Migration 54 replaces the function, changing only that lookup to equal range bounds ordered by (ledger, id) so the composite index supplies the order. Hashes, SECURITY DEFINER and bucket search_path are preserved. * docs(storage): fix binary rollback and final version guidance for migration 54 * docs(storage): correct previous-binary rollback note in the logs_blocks runbook * docs(storage): note that the logs_blocks manual check predates migration 54
chore: pin Go 1.27.3 for development and release (formancehq#2343) * chore: pin Go 1.26.10 for development and release * chore: use Go 1.27.3 for compilation * test: avoid JSON stream pipe deadlock
chore: use patched Go 1.27.3 for development and release (formancehq#… …2344) * chore: use patched Go 1.26.10 for development and release * chore: pin the manual Earthly compiler to Go 1.26.10 * chore: use Go 1.27.3 for compilation * fix(ci): unblock streaming test and diagnose SDK analyzer * fix(ci): prefer Go-installed tools during SDK generation * fix: preserve transaction force behavior with supported payload * chore: apply Go formatter modernization
v3.0.0-beta.10 ## Changelog ### New Features - [91c72a8](formancehq@91c72a8) feat(metrics): namespace ledger metrics under formance.ledger via go-libs v5.10.0 ([formancehq#2174](formancehq#2174)) ### Bug fixes - [7f0643f](formancehq@7f0643f) fix(openapi): preserve generated SDK payloads (EN-2685) ([formancehq#2183](formancehq#2183)) - [b7c2ec6](formancehq@b7c2ec6) fix(ledger): persist initial metadata atomically ([formancehq#2184](formancehq#2184))
refactor(auth): rename god mode to superuser (formancehq#2182)
PreviousNext