Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update all non-major dependencies #434

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 1, 2025

This PR contains the following updates:

Package Type Update Change
build_runner (source) dev_dependencies patch ^2.4.13 -> ^2.4.14
device_info_plus (source) dependencies minor ^11.1.1 -> ^11.2.0
flutter (source) minor 3.24.5 -> 3.27.1
graphql (source) dependencies patch ^5.2.0-beta.9 -> ^5.2.0-beta.10
json_serializable (source) dev_dependencies patch ^6.9.0 -> ^6.9.2
package_info_plus (source) dependencies patch ^8.1.1 -> ^8.1.2
quick_actions (source) dependencies minor ^1.0.8 -> ^1.1.0
sentry_flutter (source) dependencies minor ^8.10.1 -> ^8.12.0
share_plus (source) dependencies patch ^10.1.2 -> ^10.1.3
shared_preferences (source) dependencies patch ^2.3.3 -> ^2.3.5

Release Notes

dart-lang/build (build_runner)

v2.4.14

Compare Source

  • Write generated assets at the end of a build to avoid invalidating other
    tools with a file watcher multiple times.
  • Bump the min sdk to 3.6.0.
  • Allow analyzer version 7.x.
  • Hard code the generated build script to language version 3.6.
  • Allow dart_style version 4.0.0, require at least 2.3.7.
fluttercommunity/plus_plugins (device_info_plus)

v11.2.0

Compare Source

  • REFACTOR(all): Use range of flutter_lints for broader compatibility (#​3371). (8a303add)
  • FIX(device_info_plus): fix the error in the e2e test. (#​3382). (3d06bf0e)
  • FIX(device_info_plus): Set correct Flutter and Dart versions requirements (#​3362). (77861523)
  • FEAT(device_info_plus): Return model name for iOS and MacOS devices (#​3358). (63ca4cd8)
  • FEAT(device_info_plus): Add the isiOSAppOnMac property for the iOS platform. (#​3383). (e9077845)
flutter/flutter (flutter)

v3.27.1

Compare Source

  • flutter/160041 - [Impeller][Android] Disables Impeller on older Android devices.
  • flutter/160206 - [Impeller][Android] Disables Android HardwareBuffer based swapchains on all devices.
  • flutter/160208 - [iOS] Fixes an issue on iOS preventing the ability to tap web view links in some plugins.

v3.27.0

Compare Source

Initial stable release.

zino-app/graphql-flutter (graphql)

v5.2.0-beta.10

Compare Source

Fixed

  • update normalize dependency to version 0.9.1 (#​1448) (commit). @​nrbnlulu 11-09-2024
  • upgrade web_socket_channel, dart sdk dependencies. Update tests to ignore missing closeCode (commit)
google/json_serializable.dart (json_serializable)

v6.9.2

Compare Source

  • Support the latest package:analyzer.

v6.9.1

Compare Source

  • Support the latest package:source_gen.
  • Require Dart 3.6
fluttercommunity/plus_plugins (package_info_plus)

v8.1.2

Compare Source

  • REFACTOR(all): Use range of flutter_lints for broader compatibility (#​3371). (8a303add)
  • FIX(package_info_plus): add support for file scheme on web (#​3345). (2d69758d)
flutter/packages (quick_actions)

v1.1.0

Compare Source

  • Adds localizedSubtitle field for iOS quick actions.
getsentry/sentry-dart (sentry_flutter)

v8.12.0

Compare Source

Deprecations
Fixes
  • Missing replay gestures on Android (#​2515)
  • Replay mask sizing on scaling transform widget children (#​2520)
  • Masking semi-transparent widgets (#​2472)
  • Check SentryTracer type in TTFD tracker (#​2508)
Features
  • Replay: device orientation change support & improve video size fit on Android (#​2462)

  • Support custom Sentry.runZoneGuarded zone creation (#​2088)

    • Sentry will not create a custom zone anymore if it is started within a custom one.
    • This fixes Zone miss-match errors when trying to initialize WidgetsBinding before Sentry on Flutter Web
    • Sentry.runZonedGuarded creates a zone and also captures exceptions & breadcrumbs automatically.
    Sentry.runZonedGuarded(() {
      WidgetsBinding.ensureInitialized();
    
      // Errors before init will not be handled by Sentry
    
      SentryFlutter.init(
        (options) {
        ...
        },
        appRunner: () => runApp(MyApp()),
      );
    } (error, stackTrace) {
      // Automatically sends errors to Sentry, no need to do any
      // captureException calls on your part.
      // On top of that, you can do your own custom stuff in this callback.
    });
  • Warning (in a debug build) if a potentially sensitive widget is not masked or unmasked explicitly (#​2375)

  • Replay: ensure visual update before capturing screenshots (#​2527)

Dependencies

v8.11.2

Compare Source

Changes
  • Windows & Linux native crash handlers: add SENTRY_NATIVE_BACKEND env var with default setting of none. (#​2522)
    Native crash reporting support with sentry-native's crashpad was added in v8.11.0 and has caused build-time issues
    for some users, because it required newer build tools (newer versions of MSVC/Clang/GCC) than base Flutter SDK.
    This broke the ability to build the app for some users compiling Windows and Linux apps with older toolchains.

    To avoid this issue, we're disabling the native crash handling by default for Linux and Windows for now.
    You can enable it manually by setting the SENTRY_NATIVE_BACKEND=crashpad environment variable before running flutter build.
    You can read more about available backends that fit your use-case in sentry-native docs.

    We plan to change the default back to crashpad in the next major SDK release.

v8.11.1

Compare Source

Improvements
  • Check for type before casting in TTID (#​2497)
Fixes
  • SentryWidgetsFlutterBinding initializing even if a binding already exists (#​2494)

v8.11.0

Compare Source

Features
  • Support for screenshot PII content masking (#​2361)
    By default, masking is enabled for SessionReplay. To also enable it for screenshots captured with events, you can specify options.experimental.privacy:

    await SentryFlutter.init(
      (options) {
        ...
        // the defaults are:
        options.experimental.privacy.maskAllText = true;
        options.experimental.privacy.maskAllImages = true;
        options.experimental.privacy.maskAssetImages = false;
        // you cal also set up custom masking, for example:
        options.experimental.privacy.mask<WebView>();
      },
      appRunner: () => runApp(MyApp()),
    );

    Actually, just accessing this field will cause it to be initialized with the default settings to mask all text and images:

    await SentryFlutter.init(
      (options) {
        ...
        // this has a side-effect of creating the default privacy configuration, thus enabling Screenshot masking:
        options.experimental.privacy;
      },
      appRunner: () => runApp(MyApp()),
    );
  • Linux native error & obfuscation support (#​2431)

  • Improve Device context on plain Dart and Flutter desktop apps (#​2441)

  • Add debounce to capturing screenshots (#​2368)

    • Per default, screenshots are debounced for 2 seconds.

    • If you need more granular screenshots, you can opt out of debouncing:

      await SentryFlutter.init((options) {
        options.beforeCaptureScreenshot = (event, hint, debounce) {
          if (debounce) {
            return true; // Capture screenshot even if the SDK wants to debounce it.
          } else {
            // check event and hint
            ...
          }
        };
      });
    • Replace deprecated BeforeScreenshotCallback with new BeforeCaptureCallback.

  • Windows native error & obfuscation support (#​2286, #​2426)

  • Improve app start measurements by using addTimingsCallback instead of addPostFrameCallback to determine app start end (#​2405)

    • ⚠️ This change may result in reporting of shorter app start durations
  • Improve frame tracking accuracy (#​2372)

    • Introduces SentryWidgetsFlutterBinding that tracks a frame starting from handleBeginFrame and ending in handleDrawFrame, this is approximately the buildDuration time

    • By default, SentryFlutter.init() automatically initializes SentryWidgetsFlutterBinding through the WidgetsFlutterBindingIntegration

    • If you need to initialize the binding before SentryFlutter.init, use SentryWidgetsFlutterBinding.ensureInitialized instead of WidgetsFlutterBinding.ensureInitialized:

      void main() async {
        // Replace WidgetsFlutterBinding.ensureInitialized()
        SentryWidgetsFlutterBinding.ensureInitialized();
      
        await SentryFlutter.init(...);
        runApp(MyApp());
      }
    • ⚠️ Frame tracking will be disabled if a different binding is used

Enhancements
  • Only send debug images referenced in the stacktrace for events (#​2329)
  • Remove sentry frames if SDK falls back to current stack trace (#​2351)
    • Flutter doesn't always provide stack traces for unhandled errors - this is normal Flutter behavior
    • When no stack trace is provided (in Flutter errors, captureException, or captureMessage):
      • SDK creates a synthetic trace using StackTrace.current
      • Internal SDK frames are removed to reduce noise
    • Original stack traces (when provided) are left unchanged
Fixes
  • Catch errors thrown during handleBeginFrame and handleDrawFrame (#​2446)
  • OS & device contexts missing on Windows (#​2439)
  • Native iOS/macOS SDK session didn't start after Flutter hot-restart (#​2452)
  • Kotlin 2.1.0 compatibility on Android, bump Kotlin language version from 1.4 to 1.6 (#​2456)
  • Apply default IP address ({{auto}}) to transactions (#​2395)
    • Previously, transactions weren't getting the default IP address when user context was loaded
    • Now consistently applies default IP address to both events and transactions when:
      • No user context exists
      • User context exists but IP address is null
Dependencies
fluttercommunity/plus_plugins (share_plus)

v10.1.3

Compare Source

  • REFACTOR(all): Use range of flutter_lints for broader compatibility (#​3371). (8a303add)
  • FIX(share_plus): A function declaration without a prototype is deprecated in all versions of C (#​3375). (40f9c421)
  • FIX(share_plus): Set correct Flutter and Dart versions requirements (#​3363). (65616668)
flutter/packages (shared_preferences)

v2.3.5

Compare Source

  • Adds information about Android SharedPreferences support.

v2.3.4

Compare Source

  • Security update, requires shared_preferences_android to be 2.3.4.

Configuration

📅 Schedule: Branch creation - "* 0-3 1 * *" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Jan 1, 2025
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from e16d6eb to 06158ae Compare January 2, 2025 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants