Releases
v0.2.0
Added
Convenience method Appcast.LoadSource
to call the Appcast.Source.Load
methods chain
Extendable Source
with Sourcer
interface for creating use-case specific sources
Field Appcast.source
to hold the source-specific data instead of the removed Appcast
fields
Function GuessProviderByContent
for the []byte
type similar to the deprecated GuessProviderFromContent
Getters and setters for all unexported Appcast
fields
Getters and setters for all unexported Release
fields
Getters for all unexported Checksum
fields
Interface Appcaster
implemented by Appcast
Interface GitHubAtomFeedAppcaster
implemented by GitHubAtomFeedAppcast
Interface Releaser
implemented by Release
Interface SourceForgeRSSFeedAppcaster
implemented by SourceForgeRSSFeedAppcast
Source LocalSource
with LocalSourcer
interface to load an appcast from the local file by path
Source RemoteSource
with RemoteSourcer
interface to load an appcast from the remote location by URL
Source support for the New
function
This CHANGELOG.md
Changed
All Appcast
fields to become unexported
All Checksum
fields to become unexported
All Release
fields to become unexported
Always extract releases when calling Appcast.LoadFrom...
methods
Always generate SHA256 checksum when calling Appcast.LoadFrom...
methods
Field types for Appcast.releases
and Appcast.originalReleases
in favour of Releaser
interface
Method Release.SetVersion
to Release.SetVersionString
Struct BaseAppcast
name to Appcast
Deprecated
Function GuessProviderFromContent
in favour of GuessProviderByContentString
Function GuessProviderFromURL
in favour of GuessProviderByUrl
Method Appcast.ExtractReleases
in favour of Appcast.UnmarshalReleases
Method Appcast.GenerateChecksum
in favour of Appcast.GenerateSourceChecksum
Method Appcast.GetChecksum
in favour of Appcast.Source.Checksum
methods chain
Method Appcast.GetFirstRelease
in favour of Appcast.FirstRelease
Method Appcast.GetProvider
in favour of Appcast.Source.Provider
methods chain
Method Appcast.GetReleasesLength
in favour of len(Appcast.Releases)
Method Appcast.LoadFromFile
in favour of Appcast.LoadFromLocalSource
Method Appcast.LoadFromURL
in favour of Appcast.LoadFromRemoteSource
Method Release.GetBuildString
in favour of Release.Build
Method Release.GetDownloads
in favour of Release.Downloads
Method Release.GetVersionOrBuildString
in favour of Release.VersionOrBuildString
Method Release.GetVersionString
in favour of Release.Version.String
methods chain
Removed
Source-specific Appcast
fields in favour of Appcast.source
field
Fixed
Method Appcast.Uncomment
to correctly handle the return of the Unknown
provider
Method SparkleRSSFeedAppcast.Uncomment
to match the Appcaster
interface
You can’t perform that action at this time.