Skip to content

v0.4.0

Compare
Choose a tag to compare
@victorpopkov victorpopkov released this 02 Nov 15:22
· 75 commits to master since this release
v0.4.0
b36c93b

Added

  • Field Download.dsaSignature with getter and setter to hold the DSA signature of the file
  • Field Release.minimumSystemVersion with getter and setter to hold the minimum required system version
  • Field Release.releaseNotesLink with getter and setter to hold the release notes link
  • Interface Downloader implemented by Download
  • Support for the "Sparkle RSS Feed" new <enclosure /> attributes: dsaSignature, md5sum, minimumSystemVersion and releaseNotesLink
  • Support passing dsaSignature and md5 as parameters in the NewDownload function

Changed

  • All Download fields to become unexported
  • Client-specific stuff to be in the separate client package
  • Field Download.Type in favour of Download.filetype
  • Field Download.URL in favour of Download.url
  • Field PublishedDateTime.time to become a *time.Time type
  • Function NewClient to become the New in the client package
  • Method GitHubAtomFeedAppcast.UnmarshalReleases to return an error when no source or unmarshalling failure
  • Method PublishedDateTime.String to return an empty string for the nil value
  • Method SourceForgeRSSFeedAppcast.UnmarshalReleases to return an error when no source or unmarshalling failure
  • Method SparkleRSSFeedAppcast.UnmarshalReleases to return an error when no source or unmarshalling failure
  • Unmarshalling structs for "SourceForge RSS Feed" and "GitHub Atom Feed" to become unexported

Fixed

  • Method GitHubAtomFeedAppcast.UnmarshalReleases to set the GitHubAtomFeedAppcast.source.appcast
  • Method SourceForgeRSSFeedAppcast.UnmarshalReleases to set the SourceForgeRSSFeedAppcast.source.appcast
  • Method SparkleRSSFeedAppcast.UnmarshalReleases to set the SparkleRSSFeedAppcast.source.appcast