Skip to content

Default app version to DEBUG#128

Merged
simonhamp merged 2 commits into
mainfrom
default-version-debug
May 12, 2026
Merged

Default app version to DEBUG#128
simonhamp merged 2 commits into
mainfrom
default-version-debug

Conversation

@simonhamp
Copy link
Copy Markdown
Member

@simonhamp simonhamp commented May 12, 2026

Summary

  • Change the default value of version in config/nativephp.php from '1.0.0' to 'DEBUG'.

Why

Surfacing DEBUG as the default makes it obvious when an app has been built without setting an explicit NATIVEPHP_APP_VERSION, avoiding a silent 1.0.0 masquerading as a real release.

Test plan

  • Verify a fresh install picks up DEBUG as the displayed app version when NATIVEPHP_APP_VERSION is unset
  • Verify setting NATIVEPHP_APP_VERSION in .env still overrides the default

@simonhamp simonhamp marked this pull request as ready for review May 12, 2026 11:35
@simonhamp simonhamp merged commit b9f2474 into main May 12, 2026
5 checks passed
@simonhamp simonhamp deleted the default-version-debug branch May 12, 2026 13:47
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