github txlog/server v1.20.0

8 hours ago

Release v1.20.0

This release introduces the new Reports UI, consolidates analytics API endpoints, and includes several bug fixes and improvements.

Added

  • Reports UI: New pages for anomalies, package comparison, and progression available at /reports/anomalies, /reports/compare, and /reports/progression
  • API Consolidation: All analytics API endpoints are now under /v1/reports/* for consistent naming
  • Updated Contributor Covenant badge to version 3.0

Fixed

  • GitHub Actions build workflow not triggering for branches with slashes (e.g., feat/advanced-analysis) by changing branch pattern from * to **
  • Docker image tags containing invalid characters by sanitizing branch names (replacing / with -) before using them as tags
  • Package comparison (/analytics/compare) incorrectly showing packages as "Version Differences" when all assets have the same version
  • Package comparison displaying only version without release, making it appear that packages with different releases had the same version. Now displays full version-release format (e.g., 3.1.5-1.el9)
  • Anomaly badges text color for better readability by adding explicit white text color

Changed

  • Allow session-authenticated users to access /v1 API endpoints directly, enabling UI pages to call API endpoints without requiring an API key header
  • Optimize API key middleware to check for API key header before session cookie, avoiding unnecessary database queries for API requests that include an API key
  • Consolidate duplicate /web/* endpoints into /v1/* endpoints:
    • /web/machines/v1/machines
    • /web/packages/:name/:version/:release/assets/v1/packages/:name/:version/:release/assets
    • /web/items/v1/items

Removed

  • Duplicate /web/* routes and their corresponding *Web controller functions (GetMachinesWeb, GetAssetsUsingPackageVersionWeb)

Docker Image

docker pull ghcr.io/txlog/server:v1.20.0

Links

Don't miss a new server release

NewReleases is sending notifications on new releases.