Skip to content

Allow for hyphens in package versions#254

Merged
devmil merged 1 commit into
bmw-tech:mainfrom
mosuem:fixDevVersions
Jan 30, 2026
Merged

Allow for hyphens in package versions#254
devmil merged 1 commit into
bmw-tech:mainfrom
mosuem:fixDevVersions

Conversation

@mosuem
Copy link
Copy Markdown
Contributor

@mosuem mosuem commented Jan 30, 2026

Before this fix, running

dart pub global run dart_apitool:main diff --no-check-sdk-version --old pub://genkit_firebase_ai --new .

would fail with

No version for genkit_firebase_ai specified, using latest version
Error: No version of genkit_firebase_ai found

While it actually exists in the pub cache.

The reason seems to be a hyphen in the version, leading to parsing errors. This fixes that.

Copy link
Copy Markdown
Member

@devmil devmil left a comment

Choose a reason for hiding this comment

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

Nice! Thanks for fixing this.

@devmil devmil merged commit 906fa0f into bmw-tech:main Jan 30, 2026
11 checks passed
@devmil
Copy link
Copy Markdown
Member

devmil commented Jan 30, 2026

@mosuem is this issue blocking you? (Asking to adapt our release schedule)

@mosuem
Copy link
Copy Markdown
Contributor Author

mosuem commented Jan 30, 2026

No, in our tooling we pull in by hash anyways. Thanks for the fast merge!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants