github 9.24.0 copy "github: ^9.24.0" to clipboard
github: ^9.24.0 copied to clipboard

A high-level GitHub API Client Library that uses Github's v3 API

9.24.0 #

  • Bug fixes to the Issue.isOpen and Issue.isClosed getters.

9.23.0 #

  • Require Dart 3.0.
  • Update to the latest package:lints.

9.22.0 #

  • Add support for the Ghost user when the Github user is deleted.

9.21.0 #

  • Update MiscService.getApiStatus() to use the v2 API
    • APIStatus has been refactored to match, now exposing page and status

9.20.0 #

Full Changelog: https://github.com/SpinlockLabs/github.dart/compare/9.19.0...9.20.0

9.19.0 #

Full Changelog: https://github.com/SpinlockLabs/github.dart/compare/9.18.0...9.19.0

9.18.0 #

9.17.0 #

Full Changelog: https://github.com/SpinlockLabs/github.dart/compare/9.16.0...9.17.0

9.16.0 #

Full Changelog: https://github.com/SpinlockLabs/github.dart/compare/9.15.1...9.16.0

9.15.1 #

9.15.0 #

Full Changelog: https://github.com/SpinlockLabs/github.dart/compare/9.14.0...9.15.0

9.14.0 #

Full Changelog: https://github.com/SpinlockLabs/github.dart/compare/9.13.0...9.14.0

9.13.0 #

9.12.0 #

  • Add support for issue and PR timeline events via Issue.listTimeline.

9.11.0 #

9.10.1 #

  • Pass required User-Agent HTTP header on all requests
    • If Authentication.basic is used, it will be your GitHub username/application
    • Otherwise, it will default to github.dart

9.10.0-dev #

  • Require Dart 2.18
  • Expose CheckSuitesService and ChuckRunsService classes.

9.9.0 #

Full Changelog: https://github.com/SpinlockLabs/github.dart/compare/9.8.0...9.9.0

9.8.0 #

New Contributors #

Full Changelog: https://github.com/SpinlockLabs/github.dart/compare/9.7.0...9.8.0

9.7.0 #

9.6.0 #

Full Changelog: https://github.com/SpinlockLabs/github.dart/compare/9.5.1...9.6.0

9.5.1 #

9.5.0 #

New Contributors #

Full Changelog: https://github.com/SpinlockLabs/github.dart/compare/9.4.1...9.5.0

9.4.1 #

9.4.0 #

Full Changelog: https://github.com/SpinlockLabs/github.dart/compare/9.3.0...9.4.0

9.3.0 #

New Contributors #

Full Changelog: https://github.com/SpinlockLabs/github.dart/compare/9.2.0...9.3.0

9.2.0 #

New Contributors #

Full Changelog: https://github.com/SpinlockLabs/github.dart/compare/9.1.1...9.2.0

9.1.1 #

9.1.0 #

New Contributors #

Full Changelog: https://github.com/SpinlockLabs/github.dart/compare/9.0.3...9.1.0

9.0.3 #

9.0.2 #

9.0.1 #

  • Add conclusion property in class CheckRun

9.0.0 #

Breaking change: In the Gist class, the old type of files was

List<GistFile>? files;

and the new type is

Map<String, GistFile>? files;

Breaking change: In the GistFile class, the name property is now filename

Full Changelog: https://github.com/SpinlockLabs/github.dart/compare/8.5.0...9.0.0

8.5.0 #

Full Changelog: https://github.com/SpinlockLabs/github.dart/compare/8.4.0...8.5.0

8.4.0 #

8.3.0 #

  • Support files field in class GitHubComparison

8.2.5 #

  • no library code changes
  • Add auto pub publish on new releases

8.2.4 #

  • Make CheckRunConclusion nullable

8.2.3 #

  • Added generateReleaseNotes boolean to CreateRelase class to have github auto-create release notes
  • Added generateReleaseNotes method to RepositoriesService to have github create release notes between to tags (without creating a release) and return the name and body. This is helpful when you want to add the release notes to a CHANGELOG.md before making the actual release

8.2.2 #

  • Up minimum json_serializable to ^6.0.0, json_annotation to ^4.3.0
  • Cleanup and regenerate generated files
  • Require Dart SDK 2.14

8.2.1 #

  • Add CheckSuiteEvent and CheckRunEvent

8.2.0 #

  • add more fields to the PullRequest class and fixed JSON naming bugs
    • Added:
      • requestedReviewers
      • reviewCommentCount
      • milestone
      • rebaseable
      • mergeableState
      • maintainerCanModify
      • authorAssociation
    • Fixed (these were previously always null)
      • commentsCount
      • commitsCount
      • additionsCount
      • deletionsCount
      • changedFilesCount

8.1.3 #

8.1.2 #

  • Fixes RateLimit.fromRateLimitResponse to not double cast int

8.1.1 #

8.1.0 #

  • RateLimit queries /rate_limit and no longer uses quota

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

8.0.0-nullsafe.1 #

  • Update to null safety

7.0.4 #

7.0.3 #

7.0.2 #

7.0.1 #

  • Add getLatestRelease() to RepositoriesService
  • Add listCurrentUserFollowing() function to UsersService

7.0.0 #

  • Removed deprecated CloneUrls property on Repository class

6.2.3 #

6.2.2 #

  • Fixed typo in documentation

6.2.1 #

  • Consolidated utils from src/util.dart into src/common/utils/utils.dart
  • Added a new top level entry point hooks.dart to improve dartdocs and IDE usability when writing hooks

6.2.0 #

6.1.3 #

6.1.2 #

6.1.1 #

6.1.0 #

  • Add (experimental) listReactions method to IssueService.

6.0.6 #

6.0.5 #

6.0.4 #

6.0.3 #

  • Add archived and disabled fields to the Repository class

6.0.2 #

  • Fixed GitHubFile.text to properly decode content.

6.0.1 #

6.0.0 #

  • There's a single entrypoint now: package:github/github.dart
  • For web: browser specific helper methods have moved. use import package:github/browser_helper.dart (renderMarkdown, and createAvatorImage)
  • createGithubClient(...) has been removed. Just create a GitHub object directly now.
  • findAuthenticationFromEnvironment now works in both server/flutter and web environments
    • On the web, it will check the query string first, then session storage
  • all static methods are now factory constructors
  • fromJSON is now fromJson everywhere
  • toJSON is now toJson everywhere
  • Use JsonSerializable everywhere
  • removed deprecated items
  • renamed some fields with ID at the end to be Id
  • most model constructors now have named parameters for all properties
  • GitHubFile.content is now exactly the content returned from the JSON API without newlines removed.

v5.5.0 #

v5.4.0 #

v5.3.0 #

  • Add the ability to upload release assets.
  • Add the ability to get an existing release by tag name.

Deprecations:

  • The draft and prerelease properties in the CreateRelease and Release
  • classes have been renamed to isDraft and isPrerelease for clarity.
  • Release.targetCommitsh has been renamed to Release.targetCommitish.
  • The release parameter in RepositoriesService.createRelease has been renamed to createRelease.
  • RepositoriesService.getRelease has been renamed to RepositoriesService.getReleaseById

v5.2.0 #

v5.1.0 #

v5.0.2 #

v5.0.1 #

v5.0.0 #

  • BREAKING RepositoriesService.listCollaborators now returns Stream<Collaborator> instead of Stream<User>.
    • Collaborator is a new type that includes collaborator-specific information.

v4.1.1 #

  • Require at least Dart 2.1.0.

v4.1.0 #

  • Fix return type of RepositoriesService.listContributors.
  • Fix return type of RepositoriesService.createRelease.
  • Fixed RepositoriesService.listContributorStats.
    • Removed unsupported limit parameter.
    • Removed flaky retry logic. Instead, NotReady is thrown, which can be used to decide to retry at the call site.
    • Made associated classes ContributorStatistics and ContributorWeekStatistics immutable. Since these classes are only meant as return values, we're not treating this as a breaking change.
  • Added Stream<CodeSearchResults> github.search.code(...) search API
    • Made CodeSearchResults class to hold search results
    • Made CodeSearchItem class to hold each search result item
    • Added a code search example

v4.0.1 #

  • Fix cast errors in event and issue queries.

v4.0.0 #

  • Make fields in many objects read-only.
  • Initial support for comparing commits.
  • Require at least Dart 2.0.0-dev.36.
  • Fix a number of type issues dealing with JSON.
  • BREAKING Removed ExploreServiceGitHub.explore.
  • BREAKING Removed MiscService.listOctodex.
  • BREAKING Removed BlogService - GitHub.blog.

v3.0.0 #

  • BREAKING Removed a number of top-level methods from the public API.
  • BREAKING Removed markdown.dart library – use the markdown package instead.
  • BREAKING Removed the dates.dart library.

v2.3.2 #

  • Automatically attempt to find GitHub user information in the process environment when running on the standalone VM.
  • Add ref parameter to getReadme method for the repository service.

v2.3.1 #

  • Cache base64 decoded text property in GitHubFile
  • Fix Bug in EventPoller
  • Added id to Milestone

v2.3.0 #

  • Moved CHANGELOG content back to repo.
  • Added rateLimitLimit, rateLimitRemaining and rateLimitReset to GitHub.
  • Added id to Issue
  • Added direction, sort and since optional arguments to IssueService.listByRepo.

v2.1.0 #

NOTICE: This is a major breaking release. This really should have been v2.0.0

  • New Service based API
  • Git Data API Fully Implemented

v2.0.0 #

  • File class renamed to GitHubFile (Breaking Change)
  • New Integration Tests (Tests the actual GitHub API).
  • Unit Testing System fully setup.
  • Git Data API partially implemented (this is a breaking change because of the new service system).
  • Fixes issues in fetching multiple repositories and users (fetching was very unreliable).
  • Adds a Markdown Rendering Helper (for rendering markdown in an element).
  • Team Membership API Implemented.
  • OAuth2 Flow API now uses some methods in the HTTP Library.
  • Organization Membership Updated to new API Changes.
  • Hook Server performance improvements.
  • Commit JSON Parsing now handles errors correctly.
  • Add Issue.toggleState() method which toggles it from open to closed or vice-versa.
  • Add Issue.isOpen and Issue.isClosed getters.

v1.3.1 #

  • A few bug fixes.
  • New Tests
  • Benchmarks
  • Markdown Generation Library

v1.3.0 #

v1.0.1 #

v1.0.0 #

v0.6.7 #

v0.6.6 #

v0.6.5 #

v0.6.4 #

v0.6.3 #

v0.6.2 #

v0.6.1 #

v0.6.0 #

v0.5.9 #

All the things!

v0.3.0 #

v0.2.0 #

v0.1.0 #

Initial Version

136
likes
130
pub points
96%
popularity

Publisher

verified publisherspinlock.sh

A high-level GitHub API Client Library that uses Github's v3 API

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

MIT (LICENSE)

Dependencies

http, http_parser, json_annotation, meta

More

Packages that depend on github