Skip to content

EOL Policy Compliance

Latest

Choose a tag to compare

@CodeMeAPixel CodeMeAPixel released this 26 Jan 00:52

Added

  • Full version string for hosting panels - Added FullVersion field to artifact entries

    • Format: {version}-{hash} (e.g., 24769-315823736cfbc085104ca0d32779311cd2f1a5a8)
    • Compatible with Pterodactyl, Pelican, and similar hosting panel egg configurations
  • Artifact statistics in API response - Added stats object to metadata

    • Includes counts for: total, recommended, latest, active, deprecated, eol
    • Calculated from filtered results before pagination
    • Enables frontend to show accurate totals regardless of current page

Fixed

  • Pagination total count - Fixed incorrect total count in pagination metadata

    • Previously returned count of paginated results instead of total filtered results
    • Created ArtifactsResult struct to properly track total count after filtering but before pagination
    • hasMore now correctly indicates if more pages are available
  • Latest vs Recommended logic - Fixed support status assignment per CFX EOL policy

    • Latest = Single newest version (for testing/bleeding edge)
    • Recommended = Next 3 versions after Latest (stable for production)
    • Support status now dynamically assigned based on version position, not hardcoded thresholds
    • See https://aka.cfx.re/eol for CFX official policy
  • EOL filter default - Changed includeEol default from true to false

    • EOL artifacts are now excluded by default for safety
    • Users must explicitly opt-in to see end-of-life versions

Changed

  • Updated all artifact handlers to use new ArtifactsResult return type
  • Refactored generateFullVersion() helper to accept hash parameter
  • Added ArtifactStats struct and calculateStats() helper function
  • Refactored ProcessGitHubTags to dynamically assign Latest/Recommended based on sorted position
  • Simplified determineSupportStatus() to only handle Active/Deprecated/EOL thresholds