Skip to content

Warn against publishing at version 0.0.x #4626

@natebosch

Description

@natebosch

The way pub handles 0.x.y is non-standard for semver and occasionally leads to confusion about how 0.0.x package versions behave.

There isn't any Dart-wide convention for what 0.0.x means, and it's safest to only publish 0.1.x and higher. We should consider adding a warning on publish for this. It would be safe to allow overriding it and publishing anyway.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-enhancementA request for a change that isn't a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions