- feat: Prefer snprintf over sprintf #342
- feat: Add support for custom context and event types
- feat: Helper property on event to send raw payload
- fix: #305
- fix: 64 int conversion #296
- fix: Extracting reason of NSException
- fix: [SentryThread serialize] will crash when threadId is nil #292
- ref: Make
event_id
all lowercase - feat: Emit log error in case no shared client is set and crash handler was started
- ref: Renamed
Container+DeepSearch
toContainer+SentryDeepSearch
- ref: Renamed
NSData+Compression
toNSData+SentryCompression
- ref: Renamed
NSDate+Extras
toNSDate+SentryExtras
- ref: Renamed
NSDictionary+Sanitize
toNSDictionary+SentrySanitize
- feat: Added
initWithOptions
function, it takes an Dictionary of key value. Possible values aredsn
,enabled
,environment
,release
,dist
- feat: Added
enabled
on theClient
- feat: Added
environment
on theClient
- feat: Added
release
on theClient
- feat: Added
dist
on theClient
- ref: Renamed
NSError+SimpleConstructor.h
toNSError+SentrySimpleConstructor.h
- fix: Add environment to Event in JavaScriptHelper
- feat: Add
Client.shared?.trackMemoryPressureAsEvent()
to emit an event if application receives memory pressure notification - feat:
Client.shared?.enableAutomaticBreadcrumbTracking()
now adds a breadcrumb in case of memory pressure notification
- Fix: WatchOS build
- fix(react-native): Correctly label fingerprints for JS bridge. (#279)
- Fix error for empty array creation (#278)
- Fix NSInvalidArgumentException in SentryBreadcrumbStore (#272)
- Add fingerprint support to JavaScript bridge
- Fix internal variable naming conflict with KSCrash
- Introduce
maxEvents
maxBreadcrumbs
to increase the max count of offline stored assets
- Fixes CocoaPods build to include C++ as a library #252
- Moved KSCrash into Codebase while renaming it to SentryCrash.
Removed KSCrash dep in Podspec.
Still if you do not call
startCrashHandlerWithError
crash handlers will not be installed.
This should be safe to upgrade from 3.x.x, there are no code changes what so ever. If you are using CocoaPods or Carthage an update should take care of everything, if you were using the source code directly, make sure to remove KSCrash if you were using it.
We recommend updating if you experience any KSCrash related crashes since we fixed bunch of stuff directly in our codebase now.
- Updated KSCrash project to SKIP_INSTALL
- Update docs to use public DSN
- Don't emit nslog if loglevel is none
- Send new mechanism
- Add transaction of current uiviewcontroller
- Fixed a bug for empty timestamp if created from JavaScript
- Fixed #239
- Synchronize storing of breadcrumbs and events
- Fixed and error in javascript helper for new exception structure
- Fixed #235
- Fixed #236
- Fixed #231
- Greatly improved handling for rate limiting see: #230
- Added
shouldQueueEvent
- There is a hardlimit for offline stored events of 10 and 200 for breadcrumbs
- This update will create a subfolder for each instance of SentryClient depending on the DSN. This also fixes a bug where under rare circumstances on MacOS for not sandboxed apps got sent with the wrong SentryClient. We recommend updating to this version if you are running a un-sandboxed macOS app
- Fixes #216
- Fixed #213
- Added JavaScriptBridgeHelper for react-native, cordova SDK
- Send breadcrumbs in the order in which they got created
- Tick allow-app-extension-API-only box for Carthage builds
- Fixed an issue where a crash and the actual event diverge in release version/ dist #218
- Fixed #217
- Fixed #214
- Fixed failing test
- Make KSCrash default CocoaPod subspec
- macOS: Call super exception handler when crash happens
- Added
sampleRate
parameter to configure the likelihood of sending an event [0.0-1.0]
- Fixes a bug where stack trace is nil when snapshotting stacktrace
- Bump KSCrash to
1.15.12
- Add
SentryCrashExceptionApplication
for macOS uncaught exception handling
- Add
storeEvent
function, mainly used forreact-native
- Fixed a bug in crash Thread detection which caused the Sentry web interface to sometimes show the wrong culprit
- Fixed getsentry#200 Make userId optional of
SentryUser
- Fixed getsentry#198
- Initialize extra and tags in private instead of setter in Client init
- Fixed #196
Fixed messed up Travis build.
Expose sdk
property for SentryEvent
to allow users to set specific SDK information. -> mainly used in react-native
Remove stripping of __sentry extra because it breaks if the event is serialized more than once.
Fix integrations
for sdk
context.
Pretty print json request when verbose logging is active.
Change the way extra
tags
and user
is stored.
- Fixed #190
- Fixed #191
- Add
appendStacktraceToEvent
function in addition tosnapshotStacktrace
to add stacktraces reliably.
- Bump KSCrash to
1.15.11
- Add support for SDK integrations
- Prefix internal category function
- Added new callback
shouldSendEvent
to make it possible to prevent the event from being sent. - Fixes #178
- Fix
snapshotStacktrace
to also includedebug_meta
to fix grouping
- Sanitize all extra's array before serialization (Convert NSDate -> NSString)
- Change internal locking mechanism for swizzling
- Use
KSCrash
1.15.9
Core
subspec which only uses bare minimum for Crash reporting - Fixes #174
- Fix system name
- Fix
NSNumber
properties in DebugMeta
- Rename
RSSwizzle
toSentrySwizzle
- Fix empty frames on specific crash
- Fix carthage builds
Bundled KSCrash into Sentry. Note that this is just for Carthage, CocoaPods knows how to link 2 dynamic frameworks together.
- Fix Sentry dynamic framework
- Fix carthage build
This release is a rewrite of the existing codebase, sentry-cocoa
now uses Objective-C instead of Swift.
Please make sure to check out the docs since this update introduced many breaking changes.
https://docs.sentry.io/clients/cocoa/
KSCrash
is now optional, you can use Sentry without it, we still recommend using KSCrash by default otherwise Sentry will not catch any crashes.
- Fix swift 3 async operation -> Operation never got removed from queue due using private vars instead of setter
- Fixed release naming to
bundleIdentifier
-shortVersion
- Add support for distributions in sentry
- Make
eventID
var
instead oflet
- Update KSCrash
-
Fix duplicate symbols in crash report
1884.42s user 368.70s system 171% cpu 21:55.70 total
- Add additional Info about device
("app_identifier", bundleID)
("app_name", bundleName)
("app_build", bundleVersion)
("app_version", bundleShortVersion)
- Only switflint in Xcode builds, do not while building with CARTHAGE
- No longer automatically clear breadcrumbs when an event is sent
- Set
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES
back toNO
since it prevents upload to iTunes Connect
- Prefix react-native frames with
app://
- Update swiftlint to whitelist rules
- Add app context
- Added
addTag
addExtra
function toSentryClient
andEvent
e.g.:
SentryClient.shared?.addExtra("key", value: "value")
event.addTag("key", value: "value")
- Fixed a bug where 64bit uInt got converted to 32bit
- Added compatiblity for incomplete Crashreports from KSCrash
- Added internal support for upcoming react-native support
- Exposed
maxCrumbs
so the maximum amount of breadcrumbs can be adjusted
- Fixed a bug with not sending
release
with event - Changed the way how swizzling works, there should not be a problem with e.g.: New Relic anymore
-
We decided to rename
SentrySwift
to justSentry
Version
2.0.0
has the same features as1.4.5
. The name of the Framework has been changed from:import SentrySwift
toimport Sentry
Also in thePodfile
you have to change topod Sentry
instead ofpod SentrySwift
. Everything else stayed the same.
- Now sending
registers
with stacktrace for better symbolication results - Added
verbose
logging option which outputs raw events and crash reports - Add
relevant_address
to stacktrace - Extended
mechanism
- Add
build
torelease
e.g.:1.0 (1337)
- Added
objcBeforeSendEventBlock
as equivalent to swiftsbeforeSendEventBlock
- Removed
SentryClient.shared?.enableThreadNames
because KSCrash changed the mechanism on how threadnames are fetched. They will show up in sentry if available. - Now sending build number with every event.
- Fixed an issue where properties of an event will be overwritten before sending
- Added
SentryClient.shared?.enableThreadNames
variable which can be set to true in order to retrieve the thread names when a crash happens. Enable this on you own risk this could deadlock you app therefore its not yet officially documented.
- Fixed Xcode 7 support
- enable
searchThreadNames
to display thread names in sentry
- Update KSCrash to 1.13.x
Warning
- Added namespace for Objc
e.g.:
User
->SentryUser
but Xcode should suggest the new class names ... Swift code does not change
- Store events now in
Library/Caches
instead ofDocuments
folder
- Add
RequestManager
for improved handling on many requests
- Reuse
URLSession
when sending events - Optimize
BreadcrumbStore
- Default log level
.Error
- Don't strip filepath from frames
- Add
reportReactNativeFatalCrash
- Moved
docs/
to this repo - You can now take a snapshot of the stacktrace and send it with your event ... see https://docs.sentry.io/clients/cocoa/advanced/#adding-stacktrace-to-message for more information
- Added
beforeSendEventBlock
to change a event before sending it https://docs.sentry.io/clients/cocoa/advanced/#change-event-before-sending-it
- Reverse frames in stacktrace
- Remove in_app from stacktrace
- Added
SentryClient.shared?.enableAutomaticBreadcrumbTracking()
for iOS which sends all actions and viewDidAppear as breadcrumbs to the server - Fixed podspec for all target
- Improved UserFeedback controller
- Updated KSCrash to 1.11.2
- Refactored a lot of internal classes
- Added
UserFeedback
feature to iOS - Added basic support for watchOS
- Remove appleCrashReport from request
- Add mechanism to request
- Switch version/build to make iOS version in sentry more understandable
- Use
diagnosis
from KSCrash for crash reasons
Fixed for breadcrumbs not always sending on fatal
- Support for Swift 2.3 and Swift 3.0
- Fixes issue in where capturing
NSError
was not sending up to API
- Release was not getting sent up on crashes
- Contexts was getting sent up on wrong key
- Defaulting release to main bundle version
- Added support for crashing reporting for Mac apps
- Requests are now gzip before going off to Sentry API
- Fixed breadcrumbs for updated spec
- Removed all references of "raven"
- Fixed #13
- Changed merging behaviour in EventProperties
- Event takes priority over client
- Added tvOS support
- Fixes with KSCrash that will build KSCrash for all platforms
First pre-release that is ready for testers