Skip to content

1.5.1

Choose a tag to compare

@fernandoenzo fernandoenzo released this 28 Mar 23:48
· 28 commits to master since this release

What's New

  • Dynamic version string: Version is now automatically extracted from git tags (git describe --tags --dirty). No manual version updates needed — just create a new tag and the UI will reflect it.

  • Version display: Version shown in both the tray tooltip and the context menu (e.g., "MonitorSwitcher 1.5.1")

  • Documentation: README and AGENTS guides updated to reflect the new versioning system

Technical Details

  • Makefile now defines VERSION using git describe --tags --dirty with fallback to dev for builds outside a git repository
  • Version passed to compiler via -DVERSION_STRING flag
  • The -dirty suffix indicates uncommitted changes in the working tree

Version Display Examples

Build State UI Display
At tag 1.5.1 MonitorSwitcher 1.5.1
2 commits after tag MonitorSwitcher 1.5.1-2-gabcdef1
With uncommitted changes MonitorSwitcher 1.5.1-dirty
No git directory MonitorSwitcher dev