Make GitHub.getReleases accept filter function or object.