diff --git a/CHANGELOG.md b/CHANGELOG.md index 041bc74c..6eabdc93 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## 8.0.1 + - Minor tweaks to improve pub score + ## 8.0.0 - Allow start page, per_page, number of pages options to pagination helper - Allow page options for listTags diff --git a/README.md b/README.md index 3d926c39..ccdb9ab2 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ We are looking for contributors. If you're interested or have questions, head ov ## Links -- [Library Demos](http://spinlocklabs.github.io/github.dart/) (based on the [sample code](https://github.com/SpinlockLabs/github.dart/tree/master/example)) +- [Library Demos](https://spinlocklabs.github.io/github.dart/) (based on the [sample code](https://github.com/SpinlockLabs/github.dart/tree/master/example)) - [Pub Package](https://pub.dartlang.org/packages/github) - [Wiki](https://github.com/SpinlockLabs/github.dart/wiki) - [Latest API reference](https://pub.dev/documentation/github/latest/) diff --git a/example/common.dart b/example/common.dart index d8983093..69663591 100644 --- a/example/common.dart +++ b/example/common.dart @@ -13,6 +13,7 @@ export 'package:github/browser_helper.dart'; Future initViewSourceButton(String script) async { // query the DOM for the view source button, handle clicks document.querySelector('#view-source')?.onClick.listen((_) { + // ignore: unsafe_html final popup = window.open('view_source.html?script=$script', 'View Source'); String? code; diff --git a/lib/src/common/model/repos.dart b/lib/src/common/model/repos.dart index a4bd5d3f..80f16ec2 100644 --- a/lib/src/common/model/repos.dart +++ b/lib/src/common/model/repos.dart @@ -223,6 +223,8 @@ class RepositoryPermissions { factory RepositoryPermissions.fromJson(Map json) => _$RepositoryPermissionsFromJson(json); + + Map toJson() => _$RepositoryPermissionsToJson(this); } @JsonSerializable(createToJson: false) diff --git a/pubspec.yaml b/pubspec.yaml index 52f04c89..77f35d9e 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,5 +1,5 @@ name: github -version: 8.0.0 +version: 8.0.1 description: A high-level GitHub API Client Library that uses Github's v3 API homepage: https://github.com/SpinlockLabs/github.dart