github 6.2.1 github: ^6.2.1 copied to clipboard
A high-level GitHub API Client Library that uses Github's v3 API
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 #
- Added Checks API https://github.com/SpinlockLabs/github.dart/pull/182
- Bug fix: Fix setRepositorySubscription to be a PUT instead of a POST https://github.com/SpinlockLabs/github.dart/commit/5b5d7656ce9ce1cb06e15651da06e7e192bc19e1
- Bug fix: Repository clone URLs were null. DEPRECATED
Repository.cloneUrls
usecloneUrl
,gitUrl
,sshUrl
, orsvnUrl
instead. - Bug fix: Use a shared json encoder util to remove nulls from maps and lists, encode all dates for github. https://github.com/SpinlockLabs/github.dart/pull/182
6.1.3 #
- Add missing fields for Notification https://github.com/SpinlockLabs/github.dart/pull/210
- Can now create draft PRs https://github.com/SpinlockLabs/github.dart/pull/212
6.1.2 #
- Update default language color to match github https://github.com/SpinlockLabs/github.dart/pull/208
6.1.1 #
- Use pedantic and address some lint https://github.com/SpinlockLabs/github.dart/pull/205
- Add missing download url for repos contents https://github.com/SpinlockLabs/github.dart/pull/206
6.1.0 #
- Add (experimental)
listReactions
method toIssueService
.
6.0.6 #
- Clean up lints https://github.com/SpinlockLabs/github.dart/pull/202
6.0.5 #
- Fix null errors issue https://github.com/SpinlockLabs/github.dart/issues/199
6.0.4 #
- This fixes #196 (https://github.com/SpinlockLabs/github.dart/issues/196)
6.0.3 #
- Add archived and disabled fields to the Repository class
6.0.2 #
- Fixed
GitHubFile.text
to properly decodecontent
.
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.
v5.5.0 #
- Implement markThreadRead https://github.com/SpinlockLabs/github.dart/pull/185
- Fix for activity service https://github.com/SpinlockLabs/github.dart/issues/187
v5.4.0 #
- Implement rate-limiting https://github.com/SpinlockLabs/github.dart/pull/172
- Back off when server fails (HTTP 50x) https://github.com/SpinlockLabs/github.dart/pull/173
- All remaining methods in repos_service.dart (accessible via the getter
repositories
fromGitHub
client class) have been implemented.isCollaborator
,listSingleCommitComments
,listCommitComments
,createCommitComment
,getComment
,updateComment
,deleteComment
- Fixed issues.get to correctly return Future
v5.3.0 #
- Add the ability to upload release assets.
- Add the ability to get an existing release by tag name.
Deprecations:
- The
draft
andprerelease
properties in the CreateRelease and Release - classes have been renamed to
isDraft
andisPrerelease
for clarity. - Release.targetCommitsh has been renamed to Release.targetCommitish.
- The
release
parameter in RepositoriesService.createRelease has been renamed tocreateRelease
. RepositoriesService.getRelease
has been renamed toRepositoriesService.getReleaseById
v5.2.0 #
- Add access to labels on Pull Requests https://github.com/SpinlockLabs/github.dart/pull/163
- Adding draft property to PR model https://github.com/SpinlockLabs/github.dart/pull/162
- updateFile request must be a PUT https://github.com/SpinlockLabs/github.dart/pull/160
v5.1.0 #
Repository
: addedupdatedAt
andlicense
fields.- Require at least Dart
2.3.0
. - Bump version constraint on
json_annotation
- Add contents_url to PullRequestFile https://github.com/SpinlockLabs/github.dart/pull/159
v5.0.2 #
- Fixed pollPublicEventsReceivedByUser to use the correct API URL https://github.com/SpinlockLabs/github.dart/pull/150
v5.0.1 #
- Fixed a runtime exception (https://github.com/SpinlockLabs/github.dart/issues/139)
- Added an optional
base
argument when editing a PR (https://github.com/SpinlockLabs/github.dart/pull/145)
v5.0.0 #
- BREAKING
RepositoriesService.listCollaborators
now returnsStream<Collaborator>
instead ofStream<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
andContributorWeekStatistics
immutable. Since these classes are only meant as return values, we're not treating this as a breaking change.
- Removed unsupported
- 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
- Made
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
ExploreService
–GitHub.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 themarkdown
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 togetReadme
method for the repository service.
v2.3.1 #
- Cache base64 decoded
text
property inGitHubFile
- Fix Bug in EventPoller
- Added
id
toMilestone
v2.3.0 #
- Moved
CHANGELOG
content back to repo. - Added
rateLimitLimit
,rateLimitRemaining
andrateLimitReset
toGitHub
. - Added
id
toIssue
- Added
direction
,sort
andsince
optional arguments toIssueService.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 toGitHubFile
(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
andIssue.isClosed
getters.
v1.3.1 #
- A few bug fixes.
- New Tests
- Benchmarks
- Markdown Generation Library
v1.3.0 #
v1.0.0 #
v0.6.7 #
- Hook Server now only handles request at
/hook
- Octodex Support
- Zen API Support
- Ability to delete issue comments
- Client Creation Helper
- New Hook Server Middleware
- Issue Label Management
- Ability to change title, body, and state of an issue
- Repository Status API Support
- Creating/Deleting/Listing Repository Labels
- Issue Assignees
v0.6.5 #
v0.6.3 #
- Pull Request Manipulation
- Access to Issue Comments
- CreateStatus Request
- Widen crypto constraint
- Team Management
- Fix Missing Dependency
- Pull Request Comment Creation
- Fix Bugs in Commit Model
- Pagination Bug Fix
- Event Polling
- Octocat Wisdom Support
- GitHub Blog Posts Support
- Deploy Key Management
- Public Key Management
v0.6.2 #
v0.6.1 #
v0.5.9 #
All the things!
v0.3.0 #
- Updated Documentation
- Better Organization Support
- Added Organization Demos
v0.2.0 #
v0.1.0 #
Initial Version