using System; using System.Collections.Generic; namespace Unity.VisualScripting { public abstract class PluginChangelog : IPluginLinked, IComparable { protected PluginChangelog(Plugin plugin) { this.plugin = plugin; } public Plugin plugin { get; } public abstract SemanticVersion version { get; } public abstract DateTime date { get; } public abstract IEnumerable changes { get; } public virtual string description => null; public int CompareTo(PluginChangelog other) { return version.CompareTo(other.version); } } }