From 161d3087e40eb95a0bda0621605f966d2458dddf Mon Sep 17 00:00:00 2001 From: ChimanJain <36687396+ChimanJain@users.noreply.github.com> Date: Fri, 4 Feb 2022 18:28:03 +0530 Subject: [PATCH] UPdated changelog, notifier version and readme. --- CHANGELOG.md | 6 ++++++ README.md | 11 ++++++----- notifier.go | 2 +- 3 files changed, 13 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8c3458d..3b6ead9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,11 @@ ## master +## [v5.3.0][v5.3.0] (february 7, 2022) + +* Added the [Fiber](https://github.com/gofiber/fiber) integration ([#227](https://github.com/airbrake/gobrake/pull/227)), +([#232](https://github.com/airbrake/gobrake/pull/232)) + ## [v5.2.0][v5.2.0] (December 13, 2021) * Deprecated `NewMiddleware` func and replaced with `New` func in gin middleware ([#224](https://github.com/airbrake/gobrake/pull/224)) @@ -118,3 +123,4 @@ Features: [v5.1.0]: https://github.com/airbrake/gobrake/releases/tag/v5.1.0 [v5.1.1]: https://github.com/airbrake/gobrake/releases/tag/v5.1.1 [v5.2.0]: https://github.com/airbrake/gobrake/releases/tag/v5.2.0 +[v5.3.0]: https://github.com/airbrake/gobrake/releases/tag/v5.3.0 diff --git a/README.md b/README.md index e9dc730..46ff978 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ ## Introduction -_Gobrake_ is the official notifier library for [Airbrake][airbrake.io] for the +_Gobrake_ is the official notifier package for [Airbrake][airbrake.io] for the Go programming language. Gobrake provides a minimalist API that enables the ability to send _any_ Go error or panic to the Airbrake dashboard. The library is extremely lightweight, with minimal overhead. @@ -33,7 +33,7 @@ is extremely lightweight, with minimal overhead. * Automatic deploy tracking * Performance monitoring features such as HTTP route statistics, SQL queries, and Job execution statistics -* Integrations with [Beego][beego], [Gin][gin] and [Negroni][negroni] +* Integrations with [Beego][beego], [Gin][gin] and [Negroni][negroni], [Fiber][fiber] * Last but not least, we follow [semantic versioning 2.0.0][semver2] ## Installation @@ -266,8 +266,8 @@ In order to collect routes stats you can instrument your application using `notifier.Routes.Notify` API. Below is an example using the net/http middleware. We also have HTTP middleware -examples for [Gin](examples/gin), [Beego](examples/beego) and -[Negroni](examples/negroni). +examples for [Gin](examples/gin), [Beego](examples/beego), +[Negroni](examples/negroni) and [Fiber](examples/fiber). ```go package main @@ -425,9 +425,10 @@ The project uses the MIT License. See [LICENSE.md](https://github.com/airbrake/g [gobrake-github]: https://github.com/airbrake/gobrake [docs]: https://pkg.go.dev/github.com/airbrake/gobrake/v5 [docs/performance]: https://docs.airbrake.io/docs/overview/apm/#monitoring-go-apps -[beego]: https://beego.me +[beego]: https://github.com/beego/beego [gin]: https://github.com/gin-gonic/gin [negroni]: https://github.com/urfave/negroni +[fiber]: https://github.com/gofiber/fiber [semver2]: http://semver.org/spec/v2.0.0.html [go-mod]: https://github.com/golang/go/wiki/Modules [project-idkey]: https://s3.amazonaws.com/airbrake-github-assets/gobrake/project-id-key.png diff --git a/notifier.go b/notifier.go index cc1f959..a56bccc 100644 --- a/notifier.go +++ b/notifier.go @@ -17,7 +17,7 @@ import ( ) const notifierName = "gobrake" -const notifierVersion = "5.2.0" +const notifierVersion = "5.3.0" const userAgent = notifierName + "/" + notifierVersion const waitTimeout = 5 * time.Second