Skip to content

Releases: getsentry/sentry-go

v0.5.0

03 Feb 20:29
Compare
Choose a tag to compare
  • fix: Synchronize access to HTTPTransport.disabledUntil (#158)
  • docs: Update Flush documentation (#153)
  • fix: HTTPTransport.Flush panic and data race (#140)

NOTE:
This version changes the implementation of the default transport, modifying the
behavior of sentry.Flush. The previous behavior was to wait until there were
no buffered events; new concurrent events kept Flush from returning. The new
behavior is to wait until the last event prior to the call to Flush has been
sent or the timeout; new concurrent events have no effect. The new behavior is
inline with the Unified API
Guidelines
.

We have updated the documentation and examples to clarify that Flush is meant
to be called typically only once before program termination, to wait for
in-flight events to be sent to Sentry. Calling Flush after every event is not
recommended, as it introduces unnecessary latency to the surrounding function.
Please verify the usage of sentry.Flush in your code base.

v0.4.0

28 Dec 15:30
Compare
Choose a tag to compare
  • fix(stacktrace): Correctly report package names (#127)
  • fix(stacktrace): Do not rely on AbsPath of files (#123)
  • build: Require github.com/ugorji/go@v1.1.7 (#110)
  • fix: Correctly store last event id (#99)
  • fix: Include request body in event payload (#94)
  • build: Reset go.mod version to 1.11 (#109)
  • fix: Eliminate data race in modules integration (#105)
  • feat: Add support for path prefixes in the DSN (#102)
  • feat: Add HTTPClient option (#86)
  • feat: Extract correct type and value from top-most error (#85)
  • feat: Check for broken pipe errors in Gin integration (#82)
  • fix: Client.CaptureMessage accept nil EventModifier (#72)

v0.3.1

12 Nov 13:33
Compare
Choose a tag to compare
  • feat: Send extra information exposed by the Go runtime (#76)
  • fix: Handle new lines in module integration (#65)
  • fix: Make sure that cache is locked when updating for contextifyFramesIntegration
  • ref: Update Iris integration and example to version 12
  • misc: Remove indirect dependencies in order to move them to separate go.mod files

v0.3.0

05 Sep 20:08
Compare
Choose a tag to compare
  • feat: Retry event marshalling without contextual data if the first pass fails
  • fix: Include url.Parse error in DsnParseError
  • fix: Make more Scope methods safe for concurrency
  • fix: Synchronize concurrent access to Hub.client
  • ref: Remove mutex from Scope exported API
  • ref: Remove mutex from Hub exported API
  • ref: Compile regexps for filterFrames only once
  • ref: Change SampleRate type to float64
  • doc: Scope.Clear not safe for concurrent use
  • ci: Test sentry-go with go1.13, drop go1.10

NOTE:
This version removes some of the internal APIs that landed publicly (namely Hub/Scope mutex structs) and may require (but shouldn't) some changes to your code.
It's not done through major version update, as we are still in 0.x stage.

v0.2.1

29 Jul 11:14
Compare
Choose a tag to compare
  • fix: Run Contextify integration on Threads as well

v0.2.0

26 Jul 08:51
Compare
Choose a tag to compare
  • feat: Add SetTransaction() method on the Scope
  • feat: fasthttp framework support with sentryfasthttp package
  • fix: Add RWMutex locks to internal Hub and Scope changes

v0.1.3

11 Jul 15:35
Compare
Choose a tag to compare
  • feat: Move frames context reading into contextifyFramesIntegration (#28)

NOTE:
In case of any performance isues due to source contexts IO, you can let us know and turn off the integration in the meantime with:

sentry.Init(sentry.ClientOptions{
	Integrations: func(integrations []sentry.Integration) []sentry.Integration {
		var filteredIntegrations []sentry.Integration
		for _, integration := range integrations {
			if integration.Name() == "ContextifyFrames" {
				continue
			}
			filteredIntegrations = append(filteredIntegrations, integration)
		}
		return filteredIntegrations
	},
})

v0.1.2

10 Jul 09:56
Compare
Choose a tag to compare
  • feat: Better source code location resolution and more useful inapp frames (#26)
  • feat: Use noopTransport when no Dsn provided (#27)
  • ref: Allow empty Dsn instead of returning an error (#22)
  • fix: Use NewScope instead of literal struct inside a scope.Clear call (#24)
  • fix: Add to WaitGroup before the request is put inside a buffer (#25)

v0.1.1

01 Jul 13:22
Compare
Choose a tag to compare
  • fix: Check for initialized Client in AddBreadcrumbs (#20)
  • build: Bump version when releasing with Craft (#19)

v0.1.0

19 Jun 11:44
Compare
Choose a tag to compare

First stable release v0.1 is live! 🎉