From e4060f5d857ad8d5d807ec688684ed9b6e4088cd Mon Sep 17 00:00:00 2001 From: Jon Clausen Date: Thu, 14 Nov 2024 16:42:57 -0500 Subject: [PATCH 1/7] changelog fixes --- changelog.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/changelog.md b/changelog.md index 5a27321..05e72ca 100644 --- a/changelog.md +++ b/changelog.md @@ -13,6 +13,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 * Fixes for Coldbox being detected incorrectly. +## [2.1.0] - 2024-11-12 + ### Added - Added support for passing through [`traceparent` headers](https://www.w3.org/TR/trace-context/#traceparent-header) and, optionally, traceparent data provided by [the `cbotel` module](https://forgebox.io/view/cbotel) From 6f8e51f1d6100b2b3ccbd2a0301c7a9c51539434 Mon Sep 17 00:00:00 2001 From: Jon Clausen Date: Thu, 14 Nov 2024 16:45:08 -0500 Subject: [PATCH 2/7] changelog fixes --- changelog.md | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/changelog.md b/changelog.md index 05e72ca..315bf78 100644 --- a/changelog.md +++ b/changelog.md @@ -17,30 +17,26 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added -- Added support for passing through [`traceparent` headers](https://www.w3.org/TR/trace-context/#traceparent-header) and, optionally, traceparent data provided by [the `cbotel` module](https://forgebox.io/view/cbotel) -- Added `onSentryEventCapture` interception in Coldbox context to allow contributions to tags and user info +* Added support for passing through [`traceparent` headers](https://www.w3.org/TR/trace-context/#traceparent-header) and, optionally, traceparent data provided by [the `cbotel` module](https://forgebox.io/view/cbotel) +* Added `onSentryEventCapture` interception in Coldbox context to allow contributions to tags and user info ## [2.0.0] - 2024-06-10 ### Changed -- Update the event structure to the new format Sentry has adopted for their official SDKs -- Don't send cookie and form scope data by default +* Update the event structure to the new format Sentry has adopted for their official SDKs +* Don't send cookie and form scope data by default ### Added -- Add support for the new `/api/{project_id}/envelope` endpoint Sentry has adopted for sending events +* Add support for the new `/api/{project_id}/envelope` endpoint Sentry has adopted for sending events ## [1.0.0] - 2019-05-10 ### Added -- Create first module version +* Create first module version [Unreleased]: https://github.com/coldbox-modules/sentry/compare/v2.1.2...HEAD -[2.1.2]: https://github.com/coldbox-modules/sentry/compare/v2.1.1...v2.1.2 - -[2.1.1]: https://github.com/coldbox-modules/sentry/compare/v2.1.0...v2.1.1 - [2.1.0]: https://github.com/coldbox-modules/sentry/compare/57864cae5969ad38eee194db5a6b2798e91967b3...v2.1.0 From 8154d60984b33c627c61ca873b3d0869245ec6d4 Mon Sep 17 00:00:00 2001 From: Github Actions Date: Thu, 14 Nov 2024 21:48:12 +0000 Subject: [PATCH 3/7] Version bump --- box.json | 2 +- changelog.md | 20 ++++++++++++-------- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/box.json b/box.json index 5168c5d..7959f2e 100644 --- a/box.json +++ b/box.json @@ -1,7 +1,7 @@ { "name":"Sentry", "author":"Ortus Solutions ", - "version":"2.1.3", + "version":"2.1.4", "slug":"sentry", "type":"modules", "homepage":"https://github.com/coldbox-modules/sentry", diff --git a/changelog.md b/changelog.md index 315bf78..1177033 100644 --- a/changelog.md +++ b/changelog.md @@ -9,34 +9,38 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [2.1.3] - 2024-11-14 + ### Fixed -* Fixes for Coldbox being detected incorrectly. +- Fixes for Coldbox being detected incorrectly. ## [2.1.0] - 2024-11-12 ### Added -* Added support for passing through [`traceparent` headers](https://www.w3.org/TR/trace-context/#traceparent-header) and, optionally, traceparent data provided by [the `cbotel` module](https://forgebox.io/view/cbotel) -* Added `onSentryEventCapture` interception in Coldbox context to allow contributions to tags and user info +- Added support for passing through [`traceparent` headers](https://www.w3.org/TR/trace-context/#traceparent-header) and, optionally, traceparent data provided by [the `cbotel` module](https://forgebox.io/view/cbotel) +- Added `onSentryEventCapture` interception in Coldbox context to allow contributions to tags and user info ## [2.0.0] - 2024-06-10 ### Changed -* Update the event structure to the new format Sentry has adopted for their official SDKs -* Don't send cookie and form scope data by default +- Update the event structure to the new format Sentry has adopted for their official SDKs +- Don't send cookie and form scope data by default ### Added -* Add support for the new `/api/{project_id}/envelope` endpoint Sentry has adopted for sending events +- Add support for the new `/api/{project_id}/envelope` endpoint Sentry has adopted for sending events ## [1.0.0] - 2019-05-10 ### Added -* Create first module version +- Create first module version + +[Unreleased]: https://github.com/coldbox-modules/sentry/compare/v2.1.3...HEAD -[Unreleased]: https://github.com/coldbox-modules/sentry/compare/v2.1.2...HEAD +[2.1.3]: https://github.com/coldbox-modules/sentry/compare/v2.1.0...v2.1.3 [2.1.0]: https://github.com/coldbox-modules/sentry/compare/57864cae5969ad38eee194db5a6b2798e91967b3...v2.1.0 From fc18a7095002074bae738501fc8a9732486ed04c Mon Sep 17 00:00:00 2001 From: Jon Clausen Date: Tue, 24 Dec 2024 13:51:31 -0500 Subject: [PATCH 4/7] add traceparent as thread arg. Resolves issue #37 --- models/SentryService.cfc | 1 + 1 file changed, 1 insertion(+) diff --git a/models/SentryService.cfc b/models/SentryService.cfc index c1bea8a..d518c0d 100644 --- a/models/SentryService.cfc +++ b/models/SentryService.cfc @@ -796,6 +796,7 @@ component accessors=true singleton { event_id = captureStruct.event_id, sent_at = timeVars.iso, jsonCapture = jsonCapture + traceParent = traceParent ) { post( header, From 465b7078067782e7da2e815818cca1a67cefb14d Mon Sep 17 00:00:00 2001 From: jclausen Date: Tue, 24 Dec 2024 18:53:05 +0000 Subject: [PATCH 5/7] Apply cfformat changes --- models/SentryService.cfc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/SentryService.cfc b/models/SentryService.cfc index d518c0d..8858fb5 100644 --- a/models/SentryService.cfc +++ b/models/SentryService.cfc @@ -795,7 +795,7 @@ component accessors=true singleton { header = header, event_id = captureStruct.event_id, sent_at = timeVars.iso, - jsonCapture = jsonCapture + jsonCapture = jsonCapture, traceParent = traceParent ) { post( From 2f9d6b8e523941d87f4f80796c39747df468b165 Mon Sep 17 00:00:00 2001 From: Jon Clausen Date: Tue, 24 Dec 2024 13:55:22 -0500 Subject: [PATCH 6/7] changelog update [ci skip] --- changelog.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/changelog.md b/changelog.md index 1177033..d29bdaa 100644 --- a/changelog.md +++ b/changelog.md @@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Fixed - [Issue #37](https://github.com/coldbox-modules/sentry/issues/37) - Resolves an ACF incompat issue where traceparent variable was not available in thread + ## [2.1.3] - 2024-11-14 ### Fixed From 14452c05ce5282cd23a905f0c4eaa3a4aa13003d Mon Sep 17 00:00:00 2001 From: Jon Clausen Date: Tue, 24 Dec 2024 14:07:13 -0500 Subject: [PATCH 7/7] changelog update --- changelog.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/changelog.md b/changelog.md index d29bdaa..e2b250c 100644 --- a/changelog.md +++ b/changelog.md @@ -9,7 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -### Fixed - [Issue #37](https://github.com/coldbox-modules/sentry/issues/37) - Resolves an ACF incompat issue where traceparent variable was not available in thread +### Fixed - [Issue #37](https://github.com/coldbox-modules/sentry/issues/37) - Resolves an ACF incompat issue where traceparent variable was not available in threaded logging ## [2.1.3] - 2024-11-14