catcher_2 1.0.3 copy "catcher_2: ^1.0.3" to clipboard
catcher_2: ^1.0.3 copied to clipboard

Plugin for error catching which provides multiple handlers for dealing with errors when they are not caught by the developer.

1.0.3 #

  • Add even more error resilience to calls to 3rd party libraries

1.0.2 #

  • Add error resilience to calls to 3rd party libraries
  • Improve documentation

1.0.1 #

  • Fix initialisation order (#10)
  • Allow additional, custom error handlers (#11)
  • Update flutter_lints and clean up implementation

1.0.0 #

  • Stable version arrived, yay!
  • Add senderUsername to set an explicit username for SMTP authentication

1.0.0-alpha.1 #

  • Added migration guide

1.0.0-alpha.0 #

  • [BREAKING_CHANGE] Rebrand to catcher_2
  • [BREAKING_CHANGE] Fix compatibility with newer versions of Flutter. Only SDK >=3.0.0 is supported now
  • [BREAKING_CHANGE] Update to dio 5.x. This has an effect on the HttpHandler
  • [BREAKING_CHANGE] Update to sentry 7.x
  • Fix compatibility with AGP 8.x
  • Fix wrong stack trace being sent to Sentry
  • Fix a few typos in the README
  • Fix many other errors as well
  • Update package dependencies
  • Update example dependencies

0.7.0 #

0.6.9 #

  • [BREAKING_CHANGE] Changed customMessageBuilder return type to FutureOr
  • Fixed screenshots example documents path.
  • Fixed logger issue.
  • Fixed lint.
  • Dependencies and Android 12 update by Nico Mexis (https://github.com/ThexXTURBOXx).
  • Removed deprecated splash screen from Android example.

0.6.8 #

0.6.7 #

  • Fixed typos by Morgan (https://github.com/rmtmckenzie) and Nico Mexis (https://github.com/ThexXTURBOXx)
  • Updated dependencies by Nico Mexis (https://github.com/ThexXTURBOXx)
  • Added reportOccurrenceTimeout in CatcherOptions to prevent reporting duplicated errors.
  • Added new handler: SnackbarHandler which can be used to show snackbar message.
  • Reworked logger in Catcher. Now Catcher uses only one class to handle log printing. Default logger can be overridden with custom logger.
  • Added logger parameter in CatcherOptions to provide custom logger to Catcher.
  • General logging/reporting fixes by naurmi (https://github.com/narumishi)
  • Added missing CMakeLists.txt for Linux.

0.6.6 #

  • Added copyWith method in LocalizationOptions.
  • Updated chinese translations in LocalizationOptions.
  • Updated example app codebase.
  • Added filterFunction to CatcherOptions.
  • Fixed displaying toast in desktops. Added missing support for desktops in toast handler.
  • Fixed dialog and page report modes not triggering rejection of report when clicking on back button.
  • Added shouldHandleWhenRejected() method in report handler. Should handle rejected
  • Added handleWhenRejected parameter to ConsoleHandler, ToastHandler, FileHandler.
  • Updated dependencies.

0.6.5 #

  • Changed package_info to package_info_plus to support all platforms.

0.6.4 #

  • Added excludedParameters in CatcherOptions.
  • Updated dependencies
  • [BREAKING_CHANGE] Added isContextRequired parameter for ReportHandler.
  • [BREAKING_CHANGE] ReportHandler handle method requires additional BuildContext parameter.
  • [BREAKING_CHANGE] Toast handler supports now all platforms.
  • Added first error line for page report mode.

0.6.3 #

  • Updated sentry version.
  • Fixed sentry compilation issues by cjacobs42 (https://github.com/cjacobs42)
  • Added additional error handling for device info parameters.

0.6.2 #

  • Fixed Platform.* code which couldn't be used in web.
  • Fixed issues where web couldn't use some of report mode or report handler.
  • Added getInstance method to Catcher.
  • Refactored email handlers.
  • Added html escape in email handlers.
  • Fixed windows building.
  • Added german translations by Nico Mexis (https://github.com/ThexXTURBOXx)
  • Added screenshot feature. Screenshot will work for all platforms except Web. Screenshot is compatible with Http Handler, Email Auto Handler, Email Manual Handler, Discord Handler.
  • Added new field in CatcherOptions: screenshotsPath.
  • Added CatcherScreenshot widget.
  • Added screenshot example.

0.6.1 #

  • Refactored platforms to fix pub dev platforms score.

0.6.0 #

  • Added device_info_plus library instead of device_info.
  • Added desktop support.

0.5.0 #

  • [BREAKING_CHANGE] Added null safety.
  • Removed deprecated android code.

0.4.2 #

  • Fixed BinaryRegistrar issue.

0.4.1 #

  • Added localization text in toast handler.
  • Fixed page report mode UI issues by Don Coleman (https://github.com/drcdev).
  • Added handleSilentError parameter in CatcherOptions.
  • [BREAKING_CHANGE] PlatformType values has been changed to lower camel case.
  • Lint fixes.

0.4.0 #

  • [BREAKING_CHANGE]: rootWidget parameter has been moved to optional parameter
  • Catcher requires now rootWidget or runAppFunction in setup
  • Introduced CI and Lint check
  • Updated sentry version by Nico Mexis (https://github.com/ThexXTURBOXx)

0.3.23 #

  • Updated device_info version

0.3.22 #

  • Added enableCustomParameters, enableStackTrace, enableApplicationParameters, enableDeviceParameters to HttpHandler

0.3.21 #

0.3.20 #

  • Added customEnvironment and customRelease settings for Sentry Handler
  • Updated documentation
  • Fixed dependencies declaration

0.3.19 #

  • Added detailed logs for sentry handler

0.3.18 #

  • Added ensureInitialized flag in Catcher constructor
  • Added updateConfig method to update configuration in runtime

0.3.17 #

  • Updated documentation

0.3.16 #

  • [BREAKING_CHANGE] Reverted crashlytics handler from core package
  • Updated dependencies

0.3.15 #

0.3.14 #

  • General refactor
  • [BREAKING_CHANGE] You should use import "import 'package:catcher/catcher.dart';" instead import 'package:catcher/catcher_plugin.dart';

0.3.13 #

  • Fixed pub dev score error

0.3.12 #

  • Fixed pub dev score error
  • Fixed min dart version

0.3.11 #

  • Fixed pub dev score error

0.3.10 #

  • Fixed pub dev score error

0.3.9 #

  • Fixed pub dev score error

0.3.8 #

  • Updated file handler example
  • Allowed to update headers of http handler in runtime
  • Updated flutter_html dependency

0.3.7 #

  • Added Web support
  • [BREAKING CHANGE] Added new abstract method (getSupportPlatform) for ReportHandler and ReportMode
  • General refactor

0.3.6 #

  • Removed Android lifecycle plugin
  • Fixed Android class (support for v2 FlutterPlugin)

0.3.5 #

0.3.4 #

  • Fixed typos by Rob Halff (https://github.com/rhalff)
  • [BREAKING CHANGE] Changed customTitle to title and customDescription to description in error widget.
  • Added support for using error widget in small widgets.
  • Refactored classes and added proper input handling.
  • Fixed HttpHandler headers.
  • Fixed AndroidX support.

0.3.3 #

  • Updated dependencies
  • Prepare for 1.0.0 version of sensors and package_info. (dart_lsc)

0.3.2 #

  • Removed invalid import from error widget

0.3.1 #

0.3.0 #

  • Fixed AndroidX issues
  • Changed sentry handler to accept sentry client instead of dsn

0.2.9 #

  • Fixed localization options not initializing correctly

0.2.8 #

  • [BREAKING CHANGE] Removed local notifications report mode due to incompatible with firebase_messaging. Check local_notifications_example to re-add local notifications to your app.
  • More sentry handler customization
  • Added support for custom navigator key provided from outside of Catcher
  • Updated gradle version and min sdk version (android)
  • Updated dependencies versions

0.2.7 #

  • Fix for theme problem in error widget

0.2.6 #

  • Added context required flag to report mode. Reason for that is to build custom report modes with context

0.2.5 #

0.2.4 #

  • Fixed Dio API breaking change

0.2.3 #

0.2.2 #

  • Added Slack handler
  • Added Discord handler

0.2.1 #

  • Added getCurrentConfig() method in Catcher class.
  • Updated dependencies

0.2.0 #

  • Updated Dio and Mailer version
  • Refactored auto email handler

0.1.9 #

  • Fixed custom parameters in email manual handler and email auto handler
  • Added sentry handler

0.1.8 #

  • Added explicit report mode map feature

0.1.7 #

  • Added error widget feature

0.1.6 #

  • Updated dependencies

0.1.5 #

  • Fixed debugLock error
  • Added flag to switch Catcher logger on/off

0.1.4 #

  • Added explicit exception report handler map feature

0.1.3 #

  • Added italian translations

0.1.2 #

  • Updated chinese translations (Catcher is now using simplified chinese)

0.1.1 #

  • Added test exception

0.1.0 #

  • Finished basic API
  • Added localization feature

0.0.12 #

  • Fixed notification report mode bug

0.0.11 #

  • [BREAKING CHANGE] Updated dependency libs to support AndroidX

0.0.10 #

  • Fixed texts in report modes
  • Fixed cached error report feature

0.0.9 #

  • Updated Dio to version 2.0.0

0.0.8 #

  • Added email manual handler
  • Changed email handler to email auto handler
  • Added application profile feature
  • Added page report mode feature
  • Added dialog report mode feature
  • Changed configuration step, it uses now CatcherOptions to setup config for specific profile

0.0.7 #

  • Fixed import error

0.0.6 #

  • Fixed EmailHandler error

0.0.5 #

  • Code refactor

0.0.4 #

  • Created initial release
39
likes
0
pub points
94%
popularity

Publisher

verified publisherfemtopedia.de

Plugin for error catching which provides multiple handlers for dealing with errors when they are not caught by the developer.

Repository (GitHub)
View/report issues

Topics

#analysis #errors #flutter #logging

Funding

Consider supporting this project:

github.com

License

unknown (license)

Dependencies

device_info_plus, device_info_plus_platform_interface, dio, flutter, flutter_mailer, fluttertoast, logging, mailer, package_info_plus, sentry, universal_io

More

Packages that depend on catcher_2