Skip to content

Prepare 0.2.3 for web support, outbox locking, and URL redaction - #5

Open
Matildevoldsen wants to merge 2 commits into
mainfrom
feat/web-support
Open

Matildevoldsen wants to merge 2 commits into
mainfrom
feat/web-support

Conversation

@Matildevoldsen

Copy link
Copy Markdown
Member

Summary

  • Bump EventFactory::SDK_VERSION to 0.2.2 (backwards-compatible with native-desktop / native-mobile ^0.2).
  • Harden browser error reporting for websites (BrowserErrorController, BrowserStack, scripts.blade.php): require positive same-origin evidence on web, support configurable nativewatch.browser.middleware + CSRF meta header forwarding, use browser / browser.unhandledrejection mechanisms on web, bound client deduplication (60s TTL / 50 entries), format plain-object rejections cleanly, and strip URL credentials (including protocol-relative and passwords containing )), queries, and fragments before transport and on the server.
  • Add request/job isolation hooks (Client::snapshotBeforeSend(), Client::resetRequestState()) and preserve request state for in-process queue jobs (SyncJob, sync, deferred, background) while resetting async worker jobs.
  • Add batch_id UUIDs to activity batches and flock(LOCK_EX | LOCK_NB) + atomic rename() outbox claiming so concurrent web workers never double-send batches.

Verification

  • COMPOSER_ROOT_VERSION=0.2.x-dev composer install && composer test (Pint, PHPStan, 100% type coverage, 114 Pest tests / 555 assertions passed).

@Matildevoldsen Matildevoldsen changed the title Prepare 0.2.2 for web support, outbox locking, and URL redaction Prepare 0.2.3 for web support, outbox locking, and URL redaction Dec 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant