github 7.0.3

Dart native js
Flutter Android iOS web

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

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 localstorage
  • 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.

5.5.0 #

5.4.0 #

5.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

5.2.0 #

5.1.0 #

5.0.2 #

5.0.1 #

5.0.0 #

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

4.1.1 #

  • Require at least Dart 2.1.0.

4.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

4.0.1 #

  • Fix cast errors in event and issue queries.

4.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.

3.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.

2.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.

2.3.1 #

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

2.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.

2.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

2.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.

1.3.1 #

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

1.3.0 #

1.0.1 #

1.0.0 #

0.6.7 #

0.6.6 #

0.6.5 #

0.6.4 #

0.6.3 #

0.6.2 #

0.6.1 #

0.6.0 #

0.5.9 #

All the things!

0.3.0 #

0.2.0 #

0.1.0 #

Initial Version

28
likes
110
pub points
87%
popularity

Publisher

spinlock.sh

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

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

http, http_parser, json_annotation, meta

More

Packages that depend on github