Skip to content

v3.0.7 - Fix Update Loop & Remove BETA Labels

Choose a tag to compare

@SpatialCollectiveLtd SpatialCollectiveLtd released this 05 Jan 07:51
· 15 commits to main since this release

πŸ”§ Bug Fix Release

This release fixes the update loop issue and removes BETA labels from the production plugin.

πŸ› Bug Fixes

Update Loop Fixed

  • Updated CURRENT_VERSION from 3.0.5 to 3.0.7
  • Users stuck on 3.0.5 will now properly detect and install this update
  • The existing update mechanism already handles JOSM file locking correctly by:
    • Downloading to .jar.new file
    • Installing on next JOSM restart via applyPendingUpdate()
    • Creating backup as .jar.bak

BETA Labels Removed

  • Changed settings dialog title from v3.1.0-BETA to v3.0.7
  • Changed "Feature Toggles (BETA)" to "Feature Toggles"
  • Updated all @Version JavaDoc tags to 3.0.7
  • All features are now production-ready

πŸ“ Files Changed

  • build.xml: Updated plugin version to 3.0.7
  • UpdateChecker.java: CURRENT_VERSION = "3.0.7"
  • SettingsPanel.java: Removed BETA from title and sections
  • TaskManagerAPIClient.java: Updated @Version tag
  • PluginSettings.java: Updated @Version tag

πŸ“₯ Installation

For Users on 3.0.5 or 3.0.6:

  1. Download DPWValidationTool.jar from assets below
  2. Copy to JOSM plugins folder:
    • Windows: %APPDATA%\JOSM\plugins\
    • Linux: ~/.config/JOSM/plugins/
    • macOS: ~/Library/JOSM/plugins/
  3. Restart JOSM
  4. The plugin will now show correct version (3.0.7)

For New Installations:
Same as above - just copy to plugins folder and restart.

πŸ”„ Update Mechanism

The plugin's update system works as follows:

  1. Click "Install Update" in the update dialog
  2. Plugin downloads new JAR to DPWValidationTool.jar.new
  3. On next JOSM restart, the plugin:
    • Backs up current JAR to .jar.bak
    • Moves .jar.new to .jar
    • Shows success notification

This avoids file locking issues since JOSM locks the JAR while running.

πŸ“Š Compatibility

  • JOSM Version: 18823+
  • Java Version: 21
  • Backward Compatible: 100% with v3.0.6
  • No Configuration Changes Required

βœ… CI/CD Status

  • Build: βœ… Passing
  • Tests: βœ… All passing (48 unit tests)
  • Quality: B+ (production-ready)

Previous Release: v3.0.6 - Critical Security & Stability Release
License: Proprietary - Spatial Collective Ltd