Skip to content

Support semantic version requirements for Git and path dependencies #51

Closed

Description

@LunaStev

Motivation

Dependency version currently means exact string equality. Even without a central registry, Git and path dependencies benefit from explicit semantic compatibility requirements and actionable mismatch diagnostics.

Design questions

  • Which SemVer requirement syntax is supported?
  • Are unquoted WSON versions exact while quoted strings are requirements?
  • How are prereleases handled?
  • What exact resolved version belongs in vex.lock?
  • How do conflicting transitive requirements report their dependency paths?

Acceptance criteria

  • Publish a version and requirement grammar.
  • Validate package versions rather than accepting arbitrary strings.
  • Resolve requirements deterministically against the single selected Git/path source.
  • Record the concrete package version and original source identity.
  • Diagnose compatible and incompatible duplicate requirements with graph context.
  • Preserve exact commit locking.
  • Add exhaustive unit tests for prerelease and boundary semantics.

Activity

  1. added
    discussion
    feature request
    dependencies
    on Sep 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    dependenciesdiscussionfeature request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions