Skip to content

v5.0.0

Latest
Compare
Choose a tag to compare
@JulianVennen JulianVennen released this 15 Jan 11:22
e4c0aaf

Breaking Changes

HangarApiClient:

  • Rename getProjectVersion to getVersion
  • Rename getDailyProjectVersionStats to getDailyVersionStats
    • Replace version object parameter with project slug/ID and version name/ID

VersionSearchOptions

  • Replace getProjectSlug with getProjectSlugOrId
  • Replace setProjectSlug with setProjectSlugOrId
  • Make parameter for setProject non-nullable

Version

  • Replace getProjectSlug with getProjectSlugOrId

Additions

  • Add IDs to models
  • Accept IDs in API endpoints
  • Use IDs internally
  • Add getProjectByVersionHash
  • Add getLatestReleaseVersion
  • Add getLatestVersion
  • Add getVersionById
  • Add getDailyVersionStatsById

Full Changelog: v4.0.0...v5.0.0