Skip to content

docs(readme): pin the install snippet to 0.0.2 - #10

Merged
anilcancakir merged 1 commit into
masterfrom
docs/readme-version-pin
Aug 3, 2026
Merged

docs(readme): pin the install snippet to 0.0.2#10
anilcancakir merged 1 commit into
masterfrom
docs/readme-version-pin

Conversation

@anilcancakir

Copy link
Copy Markdown
Contributor

What

README.md install snippet: magic_notifications: ^0.0.1 to ^0.0.2.

Why

^0.0.1 resolves to >=0.0.1 <0.0.2 under Dart's caret rules for pre-0.1 versions, so the snippet excluded the package's own current release. A reader following the README landed on 0.0.1.

Found while correcting references/plugin-notifications.md in the magic skill (fluttersdk/magic#114), which had the same class of staleness: it claimed to document v0.0.1-alpha.1, a pre-release that never shipped, and covered none of the seven notifications:* commands or the two read-only MCP tools this package contributes.

Testing

Documentation only. Version cross-checked against pubspec.yaml.

The snippet asked for magic_notifications ^0.0.1. Dart's caret rules for
0.0.x make that >=0.0.1 <0.0.2, so it excludes this package's own current
release.
Copilot AI review requested due to automatic review settings August 3, 2026 21:25

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Updates the README install snippet to reference the package’s current release (0.0.2), so readers following the Quick Start get the intended version under Dart’s caret semantics for pre-0.1 packages.

Changes:

  • Bumped the README dependency example from magic_notifications: ^0.0.1 to ^0.0.2.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@codecov

codecov Bot commented Aug 3, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@anilcancakir
anilcancakir merged commit 9bf2fa3 into master Aug 3, 2026
3 checks passed
@anilcancakir
anilcancakir deleted the docs/readme-version-pin branch August 3, 2026 22:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants