Skip to content

build(deps): bump sensors_plus from 6.1.2 to 7.0.0#22

Merged
satyakwok merged 1 commit into
mainfrom
dependabot/pub/sensors_plus-7.0.0
May 14, 2026
Merged

build(deps): bump sensors_plus from 6.1.2 to 7.0.0#22
satyakwok merged 1 commit into
mainfrom
dependabot/pub/sensors_plus-7.0.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 14, 2026

Bumps sensors_plus from 6.1.2 to 7.0.0.

Commits
  • 1d29902 chore(release): prepare for release (#3675)
  • ad32fae feat(sensors_plus)!: Change Android compile SDK, update Android build config ...
  • 72b6234 docs(all): replace MacOS by macOS in package READMEs (#3658)
  • See full diff in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Summary by CodeRabbit

  • Chores
    • Updated sensors_plus dependency to version 7.0.0

Review Change Stack

Bumps [sensors_plus](https://github.com/fluttercommunity/plus_plugins/tree/main/packages/sensors_plus) from 6.1.2 to 7.0.0.
- [Release notes](https://github.com/fluttercommunity/plus_plugins/releases)
- [Commits](https://github.com/fluttercommunity/plus_plugins/commits/sensors_plus-v7.0.0/packages/sensors_plus)

---
updated-dependencies:
- dependency-name: sensors_plus
  dependency-version: 7.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dart Pull requests that update dart code dependencies Pull requests that update a dependency file labels May 14, 2026
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 14, 2026

📝 Walkthrough

Walkthrough

This pull request updates the sensors_plus package dependency constraint in pubspec.yaml from ^6.1.1 to ^7.0.0. The change is isolated to a single line in the dependencies section and introduces no code modifications. This allows the Flutter project to use the latest major version of the sensors_plus package.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description lacks required template sections. It is missing the Summary and Test plan sections defined in the repository template, containing only auto-generated Dependabot content. Add Summary (1-3 sentences explaining what changed and why) and Test plan (bulleted checklist with happy-path and edge cases) sections following the template structure.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly describes the main change: bumping sensors_plus dependency from 6.1.2 to 7.0.0, which matches the changeset perfectly.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch dependabot/pub/sensors_plus-7.0.0

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@pubspec.yaml`:
- Line 20: The project adds sensors_plus: ^7.0.0 which requires Android Gradle
Plugin (AGP) >= 8.12.1; update the AGP version string currently set to 8.11.1 in
your Gradle settings (settings.gradle.kts) to 8.12.1 or later, ensuring the
kotlin and java toolchain remain at the supported versions (Kotlin 2.2.20, Java
17) and then re-run Gradle sync/assemble to verify the Android build succeeds.
- Line 20: Update the pubspec.yaml environment SDK constraints to satisfy
sensors_plus ^7.0.0 by changing the Dart SDK lower bound to at least 3.3.0 and
ensure the Flutter SDK lower bound is at least 3.19.0; specifically update the
"environment:" block (the sdk and flutter constraints) so Dart >=3.3.0 (e.g.,
">=3.3.0 <4.0.0") and Flutter >=3.19.0 are required, then run pub get to verify
dependency resolution for sensors_plus: ^7.0.0.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 176d9d9b-7033-4079-9849-c94934d43178

📥 Commits

Reviewing files that changed from the base of the PR and between 45aa4ed and bdb3878.

⛔ Files ignored due to path filters (1)
  • pubspec.lock is excluded by !**/*.lock
📒 Files selected for processing (1)
  • pubspec.yaml

Comment thread pubspec.yaml
intl: ^0.20.2
share_plus: ^10.0.0
sensors_plus: ^6.1.1
sensors_plus: ^7.0.0
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major | 🏗️ Heavy lift

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "== pubspec environment constraints =="
rg -n -A3 -B1 '^\s*environment:|^\s*sdk:|^\s*flutter:' pubspec.yaml

echo
echo "== Android build toolchain markers found in repo =="
fd -i 'gradle-wrapper.properties|build.gradle|build.gradle.kts|settings.gradle|settings.gradle.kts' | while read -r f; do
  echo "--- $f ---"
  rg -n 'distributionUrl|com\.android\.tools\.build:gradle|org\.jetbrains\.kotlin|kotlin_version|compileSdk|compileSdkVersion|JavaVersion\.VERSION_17|jvmTarget' "$f" || true
done

echo
echo "Expected minimums for sensors_plus 7.0.0:"
echo "- Java 17"
echo "- Kotlin 2.2.0"
echo "- Android Gradle Plugin >= 8.12.1"
echo "- Gradle wrapper >= 8.13"

Repository: Sentriscloud/solux

Length of output: 1122


🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "=== android/app/build.gradle.kts content (full) ==="
cat android/app/build.gradle.kts

echo
echo "=== android/build.gradle.kts content (full) ==="
cat android/build.gradle.kts

echo
echo "=== Searching for AGP version in android directory ==="
rg -n 'com\.android\.tools\.build:gradle|id.*com\.android' android/ || echo "AGP declaration not found with regex"

Repository: Sentriscloud/solux

Length of output: 4518


Upgrade Android Gradle Plugin to 8.12.1+ before merging.

sensors_plus 7.0.0 requires Android Gradle Plugin >= 8.12.1. The repo currently uses 8.11.1 in android/settings.gradle.kts:22, which will cause Android builds to fail. Java 17, Kotlin 2.2.20, and Gradle 8.14 are all sufficient.

Update the AGP version in android/settings.gradle.kts to 8.12.1 or later.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@pubspec.yaml` at line 20, The project adds sensors_plus: ^7.0.0 which
requires Android Gradle Plugin (AGP) >= 8.12.1; update the AGP version string
currently set to 8.11.1 in your Gradle settings (settings.gradle.kts) to 8.12.1
or later, ensuring the kotlin and java toolchain remain at the supported
versions (Kotlin 2.2.20, Java 17) and then re-run Gradle sync/assemble to verify
the Android build succeeds.

⚠️ Potential issue | 🟠 Major | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

cat -n pubspec.yaml | head -30

Repository: Sentriscloud/solux

Length of output: 746


🌐 Web query:

sensors_plus 7.0.0 requirements dart flutter minimum version pub.dev

💡 Result:

The sensors_plus package version 7.0.0 requires Flutter >=3.19.0 and Dart >=3.3.0 <4.0.0.[1][2][3][4] Additional platform requirements include iOS >=12.0, macOS >=10.14, Java 17, Kotlin 2.2.0, Android Gradle Plugin >=8.12.1, and Gradle wrapper >=8.13.[1][5][3] These are specified in the official pub.dev documentation and API docs for the latest version, which is 7.0.0 published around late 2025.[6][7][5]

Citations:


Update project SDK constraints to match sensors_plus: ^7.0.0 requirements.

Line 20 upgrades to sensors_plus: ^7.0.0, but Line 8 still permits Dart 3.0.0. This package requires Dart >=3.3.0 and Flutter >=3.19.0, so the current constraints allow incompatible versions that will fail dependency resolution or builds.

Suggested pubspec update
 environment:
   sdk: '>=3.0.0 <4.0.0'
+  flutter: '>=3.19.0'
 environment:
-  sdk: '>=3.0.0 <4.0.0'
+  sdk: '>=3.3.0 <4.0.0'
   flutter: '>=3.19.0'

Reference: https://pub.dev/packages/sensors_plus

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@pubspec.yaml` at line 20, Update the pubspec.yaml environment SDK constraints
to satisfy sensors_plus ^7.0.0 by changing the Dart SDK lower bound to at least
3.3.0 and ensure the Flutter SDK lower bound is at least 3.19.0; specifically
update the "environment:" block (the sdk and flutter constraints) so Dart
>=3.3.0 (e.g., ">=3.3.0 <4.0.0") and Flutter >=3.19.0 are required, then run pub
get to verify dependency resolution for sensors_plus: ^7.0.0.

@satyakwok satyakwok merged commit 2c5b5c6 into main May 14, 2026
5 checks passed
@satyakwok satyakwok deleted the dependabot/pub/sensors_plus-7.0.0 branch May 14, 2026 21:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dart Pull requests that update dart code dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant