diff --git a/rollbar_common/CHANGELOG.md b/rollbar_common/CHANGELOG.md index 0d3b635..543bdc2 100644 --- a/rollbar_common/CHANGELOG.md +++ b/rollbar_common/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 1.1.0 +- Added Result, a class that represents either a `Success` value _or_ a `Failure` with an `Error`. +- Timestamps are now defined by the `Persistable` class. +- Added more extensions. + ## 1.0.0 - Added `mapFirst` and `mapSecond` to `Tuple2` to map over a pair's values. - `Persistable` now defines the `Comparable` instead of using `dynamic`. diff --git a/rollbar_common/pubspec.yaml b/rollbar_common/pubspec.yaml index 62dff3d..7590727 100644 --- a/rollbar_common/pubspec.yaml +++ b/rollbar_common/pubspec.yaml @@ -1,6 +1,6 @@ name: rollbar_common description: Commons package used by the Rollbar Dart and Flutter SDKs for error reporting. -version: 1.0.0 +version: 1.1.0 homepage: https://www.rollbar.com documentation: https://docs.rollbar.com/docs/flutter#dart repository: https://github.com/rollbar/rollbar-flutter diff --git a/rollbar_dart/CHANGELOG.md b/rollbar_dart/CHANGELOG.md index eef2ba1..d95510d 100644 --- a/rollbar_dart/CHANGELOG.md +++ b/rollbar_dart/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 1.1.0 +- A more robust Persistent HTTP Sender error handling strategy allows for better outcomes and recovery in case of server and client errors. +- The Rollbar SDK will now produce more informative logs when dealing with network, HTTP client and/or server errors. +- HTTP client has been modularized in order to support mocking and noop clients. +- Fixed a bug where persisted payloads that couldn't be sent due to an incorrect endpoint or access token in the Config, would never be sent again when corrected. + ## 1.0.0 - New feature: Person tracking diff --git a/rollbar_dart/example/pubspec.yaml b/rollbar_dart/example/pubspec.yaml index f775016..d4a2bd6 100644 --- a/rollbar_dart/example/pubspec.yaml +++ b/rollbar_dart/example/pubspec.yaml @@ -1,6 +1,6 @@ name: rollbar_dart_example description: Demonstrates how to use rollbar-dart -version: 1.0.0 +version: 1.1.0 publish_to: 'none' @@ -9,7 +9,7 @@ environment: dependencies: logging: ^1.0.2 - rollbar_dart: ^1.0.0 + rollbar_dart: ^1.1.0 dependency_overrides: rollbar_common: diff --git a/rollbar_dart/lib/src/notifier/notifier.dart b/rollbar_dart/lib/src/notifier/notifier.dart index 1ba445e..49ce86e 100644 --- a/rollbar_dart/lib/src/notifier/notifier.dart +++ b/rollbar_dart/lib/src/notifier/notifier.dart @@ -8,7 +8,7 @@ import '../event.dart'; abstract class Notifier { // notifier version to be updated with each new release: [todo] automate - static const version = '1.0.0'; + static const version = '1.1.0'; static const name = 'rollbar-dart'; Sender get sender; diff --git a/rollbar_dart/pubspec.yaml b/rollbar_dart/pubspec.yaml index 9c7037e..6420b89 100644 --- a/rollbar_dart/pubspec.yaml +++ b/rollbar_dart/pubspec.yaml @@ -1,6 +1,6 @@ name: rollbar_dart description: Connect your Dart applications to Rollbar for error reporting. -version: 1.0.0 +version: 1.1.0 homepage: https://www.rollbar.com documentation: https://docs.rollbar.com/docs/flutter#dart repository: https://github.com/rollbar/rollbar-flutter @@ -14,7 +14,7 @@ dependencies: sqlite3: ^1.7.0 collection: ^1.16.0 stack_trace: ^1.10.0 - rollbar_common: ^1.0.0 + rollbar_common: ^1.1.0 dependency_overrides: rollbar_common: diff --git a/rollbar_dart/test/rollbar_live_test.dart b/rollbar_dart/test/rollbar_live_test.dart deleted file mode 100644 index b764f1e..0000000 --- a/rollbar_dart/test/rollbar_live_test.dart +++ /dev/null @@ -1,25 +0,0 @@ -import 'package:rollbar_dart/src/notifier/async_notifier.dart'; -import 'package:test/test.dart'; - -import 'package:rollbar_common/rollbar_common.dart'; -import 'package:rollbar_dart/rollbar.dart'; - -void main() { - group('Live Rollbar tests:', () { - setUp(() async { - final config = Config( - accessToken: '17965fa5041749b6bf7095a190001ded', - package: 'rollbar_dart_example', - notifier: AsyncNotifier.new); - - await Rollbar.run(config); - }); - - tearDown(() {}); - - test('basic test', () async { - Rollbar.log('Rollbar Flutter live test', level: Level.critical); - await Future.delayed(Duration(milliseconds: 500)); - }); - }); -} diff --git a/rollbar_flutter/CHANGELOG.md b/rollbar_flutter/CHANGELOG.md index 772bdaa..f66eaa2 100644 --- a/rollbar_flutter/CHANGELOG.md +++ b/rollbar_flutter/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 1.1.0 +- A more robust Persistent HTTP Sender error handling strategy allows for better outcomes and recovery in case of server and client errors. +- The Rollbar SDK will now produce more informative logs when dealing with network, HTTP client and/or server errors. +- HTTP client has been modularized in order to support mocking and noop clients. +- Fixed a bug where persisted payloads that couldn't be sent due to an incorrect endpoint or access token in the Config, would never be sent again when corrected. + ## 1.0.0 - New feature: Person tracking - Associate reports to your currently logged in User. diff --git a/rollbar_flutter/README.md b/rollbar_flutter/README.md index 9e14e6a..4e51ca2 100644 --- a/rollbar_flutter/README.md +++ b/rollbar_flutter/README.md @@ -2,8 +2,6 @@ [Flutter](https://flutter.dev/) notifier for reporting exceptions, errors and log messages to [Rollbar](https://rollbar.com). -## `rollbar-flutter` is currently in Beta. We are looking for beta-testers and feedback - ## Usage A simple usage example: diff --git a/rollbar_flutter/example/ios/Flutter/AppFrameworkInfo.plist b/rollbar_flutter/example/ios/Flutter/AppFrameworkInfo.plist index 8d4492f..9625e10 100644 --- a/rollbar_flutter/example/ios/Flutter/AppFrameworkInfo.plist +++ b/rollbar_flutter/example/ios/Flutter/AppFrameworkInfo.plist @@ -21,6 +21,6 @@ CFBundleVersion 1.0 MinimumOSVersion - 9.0 + 11.0 diff --git a/rollbar_flutter/example/ios/Podfile b/rollbar_flutter/example/ios/Podfile index 636d05a..4adb921 100644 --- a/rollbar_flutter/example/ios/Podfile +++ b/rollbar_flutter/example/ios/Podfile @@ -1,4 +1,4 @@ -platform :ios, '9.0' +platform :ios, '11.0' # CocoaPods analytics sends network stats synchronously affecting flutter build latency. ENV['COCOAPODS_DISABLE_STATS'] = 'true' diff --git a/rollbar_flutter/example/ios/Podfile.lock b/rollbar_flutter/example/ios/Podfile.lock index 5a85ffb..85fdd91 100644 --- a/rollbar_flutter/example/ios/Podfile.lock +++ b/rollbar_flutter/example/ios/Podfile.lock @@ -48,13 +48,13 @@ EXTERNAL SOURCES: SPEC CHECKSUMS: connectivity_plus: 413a8857dd5d9f1c399a39130850d02fe0feaf7e - Flutter: 50d75fe2f02b26cc09d224853bb45737f8b3214a + Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854 ReachabilitySwift: 985039c6f7b23a1da463388634119492ff86c825 Rollbar: 58f315609433558a82af5a54d7888bb020bec561 rollbar_flutter: b7542ba065cdece3cef1b316c748d24d129ead51 sqlite3: 50117e9e063a9ef2b865f7bdf2f2601e5d368e9a sqlite3_flutter_libs: c6ab7f23670a98fef45a137159452004bc552168 -PODFILE CHECKSUM: 7082f7373328dcaf922fcf9299ad4a23eff9cc37 +PODFILE CHECKSUM: f70cbe32e71f16c77469a29c52f47705f5041b7c COCOAPODS: 1.11.3 diff --git a/rollbar_flutter/example/ios/Runner.xcodeproj/project.pbxproj b/rollbar_flutter/example/ios/Runner.xcodeproj/project.pbxproj index 3e35607..16079bc 100644 --- a/rollbar_flutter/example/ios/Runner.xcodeproj/project.pbxproj +++ b/rollbar_flutter/example/ios/Runner.xcodeproj/project.pbxproj @@ -332,7 +332,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 9.0; + IPHONEOS_DEPLOYMENT_TARGET = 11.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; SUPPORTED_PLATFORMS = iphoneos; @@ -408,7 +408,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 9.0; + IPHONEOS_DEPLOYMENT_TARGET = 11.0; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; @@ -457,7 +457,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 9.0; + IPHONEOS_DEPLOYMENT_TARGET = 11.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; SUPPORTED_PLATFORMS = iphoneos; diff --git a/rollbar_flutter/example/pubspec.yaml b/rollbar_flutter/example/pubspec.yaml index d60fc30..f8665d5 100644 --- a/rollbar_flutter/example/pubspec.yaml +++ b/rollbar_flutter/example/pubspec.yaml @@ -1,6 +1,6 @@ name: rollbar_flutter_example description: Demonstrates how to use the rollbar_flutter plugin. -version: 1.0.0 +version: 1.1.0 publish_to: 'none' # Remove this line if you wish to publish to pub.dev @@ -11,7 +11,7 @@ environment: dependencies: flutter: sdk: flutter - rollbar_flutter: ^1.0.0-beta + rollbar_flutter: ^1.1.0 cupertino_icons: ^1.0.0 dependency_overrides: diff --git a/rollbar_flutter/pubspec.yaml b/rollbar_flutter/pubspec.yaml index 83f6a91..519d1da 100644 --- a/rollbar_flutter/pubspec.yaml +++ b/rollbar_flutter/pubspec.yaml @@ -1,6 +1,6 @@ name: rollbar_flutter description: Connect your Flutter applications to Rollbar for error reporting. -version: 1.0.0 +version: 1.1.0 homepage: https://www.rollbar.com documentation: https://docs.rollbar.com/docs/flutter#flutter repository: https://github.com/rollbar/rollbar-flutter @@ -15,8 +15,8 @@ dependencies: meta: ^1.7.0 connectivity_plus: ^2.3.6 sqlite3_flutter_libs: ^0.5.9 - rollbar_common: ^1.0.0 - rollbar_dart: ^1.0.0 + rollbar_common: ^1.1.0 + rollbar_dart: ^1.1.0 dependency_overrides: rollbar_common: