The v2 release adds support for Go modules, removes web framework integrations from the main repository, and supports library configuration through environment variables.
The new module is available via:
import "github.com/bugsnag/bugsnag-go/v2"Breaking Changes
- The minimum supported Go version is now go1.11
- Removed
Configuration.Endpoint. UseConfiguration.Endpointsinstead. For more info and an example, see the Upgrading guide - Web framework integrations have been moved to separate repositories:
- bugsnag-go-gin
- bugsnag-go-negroni
- bugsnag-go-revel
- The
martiniframework integration has been retired
bugsnag.VERSIONhas been renamedbugsnag.Version
Enhancements
- Support configuring Bugsnag through environment variables
- Support reporting panics caused by overflowing the stack