Skip to content

fix: cascade-delete, query streaming, API version negotiation, data access audit (#559-#563) - #598

Merged
ritaifeoluwa merged 1 commit into
SmartDropLabs:mainfrom
pooramara:fix/issues-559-563
Oct 19, 2026
Merged

ritaifeoluwa merged 1 commit into
SmartDropLabs:mainfrom
pooramara:fix/issues-559-563

Conversation

@pooramara

Copy link
Copy Markdown
Contributor

Fixes #559
Fixes #560
Fixes #562
Fixes #563

What changed

Why

How to test

  • Delete a webhook and verify its deliveries and retry-queue entries are removed.
  • Use streamBatches() on a large table — memory stays flat.
  • Send Accept: application/vnd.smartdrop.v1+json — response includes X-API-Version: v1.
  • Send Accept: application/vnd.smartdrop.v99+json — returns 406.
  • Check logs for [DATA_ACCESS] entries after API reads.

…tiation, data access audit

- SmartDropLabs#559: webhookRepository.remove() now cascade-deletes associated delivery
  records, retry-queue entries, and per-status indexes
- SmartDropLabs#560: add streamQuery() and streamBatches() to database module for
  large result sets without loading everything into memory
- SmartDropLabs#562: add Accept-header version negotiation middleware
  (application/vnd.smartdrop.vN+json) with X-API-Version response header
- SmartDropLabs#563: add DataAccessAuditor middleware logging data reads/writes with
  actor, resource, endpoint, and result
@drips-wave

drips-wave Bot commented Oct 19, 2026

Copy link
Copy Markdown

@pooramara Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@ritaifeoluwa
ritaifeoluwa merged commit 33fa4c9 into SmartDropLabs:main Oct 19, 2026
1 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants