Skip to content

Consider removing legacy Airbrake/Hoptoad XML v2 ingestion #3082

Description

@mikelolasagasti

Errbit has supported the Airbrake v3 JSON API since 2015 via:

  • POST /api/v3/projects/:project_id/create-notice
  • POST /api/v3/projects/:project_id/notices

The legacy XML v2 endpoint still exists:

  • GET /notifier_api/v2/notices
  • POST /notifier_api/v2/notices

It is parsed through the Hoptoad-named XML code in app/lib/hoptoad.rb and app/lib/hoptoad/v2.rb.

Since v3 JSON support has been available for many years, and hoptoad_notifier is obsolete, should Errbit drop the old XML v2 ingestion path and related tests/fixtures?

Proposed removal scope:

  • Remove /notifier_api/v2/notices
  • Remove the Hoptoad XML parser
  • Remove XML v2 fixtures/specs
  • Keep the v3 JSON API as the supported notice ingestion path

This would be a breaking change for any deployments still using old Airbrake/Hoptoad XML clients, so I wanted to check preference before opening a PR.

Activity

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

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions