RollbarSDK

3.0.0

Objective-C & Swift library for remote crash, exception, error reporting, and logging with Rollbar. It works on all Apple *OS platforms (macOS, iOS, tvOS, watchOS, etc).
rollbar/rollbar-apple

What's New

3.0.0

2023-03-30T14:46:25Z

Changelog

New features

  • The crash collection and reporting mechanism has been redone from scratch, this now allows us to:
    • Collect and report all types of crashes together with full stack trace information.
    • Provide useful error descriptions on all use cases that trigger crash reporting.
    • Produce Swift diagnostics for all types of crashes.
    • Format full crash reports with extra diagnostic information.
  • Initialization has been simplified:
    • Crash collection is now fully automatic.
    • There's no need to investigate and select crash reporting libraries in order to make an informed decision, this is all now automatic and works much better than before.
  • The Swift Demo has been greatly expanded and enhanced:
    • Demo: Expanded Swift Demo with more types of crashes.
    • Demo: Prevent optimizer from erasing crashing funcs that result in noops.
    • Demo: Allow users to change access token from the Demo UI.
  • A new logging option in the configuration allows users to choose whether they want to drop (default) rate limited API requests, or defer sending them until the next window of time.
  • Cleaned up extremely noisy internal logging.

Bugs fixed

  • Fixed multiple issues while handling rate limited API requests.
  • Fixed an important bug where the library would drop non-200 API responses thus treating all failing requests as retry-immediately.
  • Fixed logging not being suppressed, and enabled suppression by default.
  • Removed faulty Out of Memory detection that was triggering substantial false positives.

Other

  • Remove RollbarPLCrashReporter library.
  • Never symbolicate main executable frames.
  • Don't send mach diagnostics as title, let the server figure it out.
  • Add Rollbar branding to the Readme.
  • Minimum Swift version is now 5.0 and minimum deployment is 14.0.
  • Cleaned up podspecs, added publishing script.
  • Remove old, non-working examples and low quality demos.

What's Changed

  • Remove RollbarPLCrashReporter library. by @matux in #246
  • Simplify reporting by @matux in #247
  • Remove faulty Out of Memory detection by @matux in #248
  • Cleanup by @matux in #249
  • Collect and report all types of crashes together with full stack trace information by @matux in #250
  • Provide useful error descriptions on all use cases that trigger crash reporting. by @matux in #251
  • If there's no diagnostic, fallback to exception type. by @matux in #253
  • Expanded Swift Demo with more types of crashes. by @matux in #254
  • Produce Swift diagnostics for all types of crashes. by @matux in #257
  • Formats full crash reports with extra diagnostic information by @matux in #258
  • Collect crashes with stacktraces by @matux in #259
  • Fixed unsuppressed logging, and suppress it by default. by @matux in #260
  • Remove non-existing libs from CI. by @matux in #261
  • Never symbolicate main executable frames. by @matux in #262
  • Fixed cpu subtype not being correctly identified by @matux in #263
  • Prevent optimizer from erasing crashing funcs that result in noops by @matux in #264
  • Don't send mach diagnostics as title, let the server figure it out. by @matux in #265
  • Add Rollbar branding to the Readme by @paulserraino in #245
  • Allow users to change access token from the Demo UI. by @matux in #266
  • Cleaned up podspecs, added publishing script. by @matux in #242
  • Updated all versions to 3.0.0, minimum Swift version to v5 and iOS to 14 by @matux in #267
  • Remove old, non-working examples and low quality demos. by @matux in #268
  • Removed non-existing demo projects from the workspace. by @matux in #269
  • Updated changelog for 3.0.0-beta. by @matux in #270
  • Prepare Demo for TestFlight distribution. by @matux in #271
  • Demo: Restart Rollbar with new access token without requiring submission by @matux in #272
  • Removed unnecessary RollbarSwift library. by @matux in #273
  • Fixed failing crash report test after removing mach diagnosis collection by @matux in #274
  • Fix rate limiting with queuing behavior by @matux in #276
  • Make rate limit behavior configurable for dropping or queuing by @matux in #277
  • Updated changelog for 3.0.0 by @matux in #278

New Contributors

Full Changelog: 2.4.0...3.0.0

rollbar-logo

Rollbar Apple MonoRepo

Proactively discover, predict, and resolve errors in real-time with Rollbar’s error monitoring platform. Start tracking errors today!


Objective-C & Swift SDK for remote crash, exception, error reporting, and logging with Rollbar.

It works on all Apple *OS platforms (macOS, iOS, tvOS, watchOS, etc).

NOTE: This SDK is essentially a reincarnation of our Rollbar-iOS SDK that will be available for awhile in its current v1 version and will only maintained with fixes to bug or security issues if any. All the active development will be done within this SDK repository.

Key benefits of using Rollbar for Apple software platforms are:

The Apple SDK is GA. Learn more: https://docs.rollbar.com/docs/apple

Codebase status (code quality and CI build)

CI Build Status

CI Build with Unit Tests

Security Rating Reliability Rating Maintainability Rating Vulnerabilities Coverage Lines of Code Bugs

Package Distribution Systems Status

GitHub all releases downloads total

SwiftPM compatible Carthage compatible CocoaPods compatible

Platform Platform Platform Platform Platform

CocoaPods CocoaPods CocoaPods CocoaPods CocoaPods

Setup Instructions

  1. Sign up for a Rollbar account
  2. Follow the Installation instructions in our Rollbar-Apple SDK docs to install the SDK modules.

Usage and Reference

For complete usage instructions and configuration reference, see our Rollbar-Apple SDK docs.

Release History & Changelog

See our Releases page for a list of all releases, including changes.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Help / Support

Description

  • Swift Tools 5.7.1
View More Packages from this Author

Dependencies

Last updated: Tue Dec 03 2024 19:30:03 GMT-1000 (Hawaii-Aleutian Standard Time)