Skip to content

Taze does not detect newer prerelease versions (e.g. 2.0.0-rc.*) #185

@BachErik

Description

@BachErik

Describe the bug

When using packages that publish prerelease versions (for example any from the @vuepress scope), Taze fails to detect that a newer prerelease is available. All stable semver-versioned packages update correctly, but nothing is reported for versions tagged with -rc, -beta, etc.

Reproduction

  1. Create or use a pnpm-based project and add some older version from @vuepress/theme-default, 2.0.0-rc.103 for example

  2. add some older version from typescript for example

  3. Run

    npx taze
  4. Observe that Taze reports no updates for any @vuepress/* packages.

Expected Behavior:
Taze should detect and list the latest (pre)release (e.g. 2.0.0-rc.106) and allow bumping to it.

Actual Behavior:
Taze shows no available updates for prerelease-tagged packages.

System Info

System:
    OS: Linux 6.12 cpe:/o:nixos:nixos:25.11 25.11 (Xantusia)
    CPU: (8) x64 Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz
    Memory: 24.58 GB / 31.28 GB
    Container: Yes
    Shell: 5.9 - /run/current-system/sw/bin/zsh
  Binaries:
    Node: 22.14.0 - /run/current-system/sw/bin/node
    npm: 10.9.2 - /run/current-system/sw/bin/npm
    pnpm: 10.11.0 - /run/current-system/sw/bin/pnpm
  Browsers:
    Brave Browser: 136.1.78.10

Used Package Manager

pnpm

Validations

  • Follow our Code of Conduct
  • Read the Contributing Guide.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.

Contributions

  • I am willing to submit a PR to fix this issue
  • I am willing to submit a PR with failing tests (actually just go ahead and do it, thanks!)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions