Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@emrysal
Copy link
Contributor

@emrysal emrysal commented Nov 13, 2025

Main goal of this PR is to remove the /api/collect-events middleware that is not appDir compatible.


Summary by cubic

Removed next-collect and all telemetry usage to simplify providers and middleware and drop client-side event collection. No functional changes to user flows; only analytics hooks and endpoints were removed.

  • Refactors

    • Deleted EventCollectionProvider and /api/collect-events.
    • Removed collectEvents wrapper from middleware; exported middleware directly.
    • Removed useTelemetry hook and all telemetry.event calls across web and features.
    • Cleaned tests by removing telemetry mocks.
    • Minor cleanup of unused imports and comments.
  • Dependencies

    • Removed next-collect from apps/web and packages/lib package.json.
    • Updated yarn.lock to drop next-collect.

Written for commit 63b2f0a. Summary will update automatically on new commits.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants