code: def versions(self):
          
          versions = []
          for v, _ in self.restarts:
              if len(versions) == 0 or v != versions[-1]:
                  versions.append(v)
          return versions
docs: Return all version changes.