Skip to content

Report the installed package version from the CLI - #279

Merged
dereuromark merged 1 commit into
masterfrom
release/0.1.33-readiness
Aug 21, 2026
Merged

Report the installed package version from the CLI#279
dereuromark merged 1 commit into
masterfrom
release/0.1.33-readiness

Conversation

@dereuromark

Copy link
Copy Markdown
Contributor

Release blocker

bin/djot --version currently reports only dev because this library correctly omits a hardcoded Composer version. Read the version Composer derives from the installed tag instead, retaining the source-tree fallback.

This makes the 0.1.33 package report 0.1.33 without adding a hardcoded version that must be maintained manually.

Validation

  • php bin/djot --version reports dev-master in this source checkout.
  • Regression test rejects bare dev and unknown.
  • 2,819 tests / 18,472 assertions pass.
  • Coding standards, PHPStan, strict Composer validation, and advisory audit pass.

@dereuromark
dereuromark merged commit 2cfba43 into master Aug 21, 2026
4 checks passed
@dereuromark
dereuromark deleted the release/0.1.33-readiness branch August 21, 2026 11:03
@codecov

codecov Bot commented Aug 21, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.19%. Comparing base (fab953f) to head (42c1b02).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##             master     #279   +/-   ##
=========================================
  Coverage     92.19%   92.19%           
  Complexity     3967     3967           
=========================================
  Files           111      111           
  Lines         11066    11066           
=========================================
  Hits          10202    10202           
  Misses          864      864           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

1 participant