github 9.24.0 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
andIssue.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 exposingpage
andstatus
9.20.0 #
- Add a Changes object to the PullRequestEvent object so we can see what changed in edited PR events by @ricardoamador in https://github.com/SpinlockLabs/github.dart/pull/390
Full Changelog: https://github.com/SpinlockLabs/github.dart/compare/9.19.0...9.20.0
9.19.0 #
- Revert "Add the 'PushEvent' webhook and associated PushCommit object" by @robrbecker in https://github.com/SpinlockLabs/github.dart/pull/387
Full Changelog: https://github.com/SpinlockLabs/github.dart/compare/9.18.0...9.19.0
9.18.0 #
- Bad Release. Was: Add the 'PushEvent' webhook and associated PushCommit https://github.com/SpinlockLabs/github.dart/pull/386
9.17.0 #
- Add bearerToken constructor to Authentication class by @kevmoo in https://github.com/SpinlockLabs/github.dart/pull/381
Full Changelog: https://github.com/SpinlockLabs/github.dart/compare/9.16.0...9.17.0
9.16.0 #
- Fix links and spelling nits in markdown files by @kevmoo in https://github.com/SpinlockLabs/github.dart/pull/379
- Support latest pkg:http by @kevmoo in https://github.com/SpinlockLabs/github.dart/pull/380
Full Changelog: https://github.com/SpinlockLabs/github.dart/compare/9.15.1...9.16.0
9.15.1 #
- Revert immutable auth by @CaseyHillers in https://github.com/SpinlockLabs/github.dart/pull/378
Full Changelog: https://github.com/SpinlockLabs/github.dart/compare/9.15.0...9.15.1
9.15.0 #
- Implement IssuesService.lock/unlock by @Hixie in https://github.com/SpinlockLabs/github.dart/pull/376
- Bump JamesIves/github-pages-deploy-action from 4.4.1 to 4.4.2 by @dependabot in https://github.com/SpinlockLabs/github.dart/pull/371
- Make GitHub.auth non-nullable by @CaseyHillers in https://github.com/SpinlockLabs/github.dart/pull/377
Full Changelog: https://github.com/SpinlockLabs/github.dart/compare/9.14.0...9.15.0
9.14.0 #
- Add optional filter params on Repositories.listCommits by @CaseyHillers in https://github.com/SpinlockLabs/github.dart/pull/368
Full Changelog: https://github.com/SpinlockLabs/github.dart/compare/9.13.0...9.14.0
9.13.0 #
- Add node_id to the pull request model by @ricardoamador in https://github.com/SpinlockLabs/github.dart/pull/367
Full Changelog: https://github.com/SpinlockLabs/github.dart/compare/9.12.0...9.13.0
9.12.0 #
- Add support for issue and PR timeline events via
Issue.listTimeline
.
9.11.0 #
- expose IssueLabel.description; update labels REST APIs by @devoncarew in https://github.com/SpinlockLabs/github.dart/pull/355
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
- If
9.10.0-dev #
- Require Dart 2.18
- Expose
CheckSuitesService
andChuckRunsService
classes.
9.9.0 #
- Add "author_association" field to the IssueComment object by @ricardoamador in https://github.com/SpinlockLabs/github.dart/pull/348
Full Changelog: https://github.com/SpinlockLabs/github.dart/compare/9.8.0...9.9.0
9.8.0 #
- Add "head_branch" field to CheckSuite object by @nehalvpatel in https://github.com/SpinlockLabs/github.dart/pull/347
New Contributors #
- @nehalvpatel made their first contribution in https://github.com/SpinlockLabs/github.dart/pull/347
Full Changelog: https://github.com/SpinlockLabs/github.dart/compare/9.7.0...9.8.0
9.7.0 #
- Add calendar versioning by @CaseyHillers in https://github.com/SpinlockLabs/github.dart/pull/338
Full Changelog: https://github.com/SpinlockLabs/github.dart/compare/9.6.0...9.7.0
9.6.0 #
- Require Dart 2.17
- Update to allow different merge methods in pulls_service by @ricardoamador in https://github.com/SpinlockLabs/github.dart/pull/333
Full Changelog: https://github.com/SpinlockLabs/github.dart/compare/9.5.1...9.6.0
9.5.1 #
- Fix up unit tests & run them in CI by @robrbecker in https://github.com/SpinlockLabs/github.dart/pull/336
Full Changelog: https://github.com/SpinlockLabs/github.dart/compare/9.5.0...9.5.1
9.5.0 #
- Add 'commits' member to GitHubComparison object by @fuzzybinary in https://github.com/SpinlockLabs/github.dart/pull/330
New Contributors #
- @fuzzybinary made their first contribution in https://github.com/SpinlockLabs/github.dart/pull/330
Full Changelog: https://github.com/SpinlockLabs/github.dart/compare/9.4.1...9.5.0
9.4.1 #
- Update to github-script 6 by @robbecker-wf in https://github.com/SpinlockLabs/github.dart/pull/331
Full Changelog: https://github.com/SpinlockLabs/github.dart/compare/9.4.0...9.4.1
9.4.0 #
- Fix publish release workflow by @CaseyHillers in https://github.com/SpinlockLabs/github.dart/pull/316
- Add support for toString to the Checkrun object. by @ricardoamador in https://github.com/SpinlockLabs/github.dart/pull/318
Full Changelog: https://github.com/SpinlockLabs/github.dart/compare/9.3.0...9.4.0
9.3.0 #
- Added a new conclusion state to support flutter autosubmit bot by @ricardoamador in https://github.com/SpinlockLabs/github.dart/pull/315
New Contributors #
- @ricardoamador made their first contribution in https://github.com/SpinlockLabs/github.dart/pull/315
Full Changelog: https://github.com/SpinlockLabs/github.dart/compare/9.2.0...9.3.0
9.2.0 #
- test auto-release by @robrbecker in https://github.com/SpinlockLabs/github.dart/pull/307
- test PR for auto-release by @robrbecker in https://github.com/SpinlockLabs/github.dart/pull/308
- Added assignees to Issue model for #289 by @sjhorn in https://github.com/SpinlockLabs/github.dart/pull/290
New Contributors #
- @sjhorn made their first contribution in https://github.com/SpinlockLabs/github.dart/pull/290
Full Changelog: https://github.com/SpinlockLabs/github.dart/compare/9.1.1...9.2.0
9.1.1 #
- Don't add state query param twice by @passsy in https://github.com/SpinlockLabs/github.dart/pull/264
Full Changelog: https://github.com/SpinlockLabs/github.dart/compare/9.1.0...9.1.1
9.1.0 #
- add 'create' github webhook event to hooks.dart by @XilaiZhang in https://github.com/SpinlockLabs/github.dart/pull/304
New Contributors #
- @XilaiZhang made their first contribution in https://github.com/SpinlockLabs/github.dart/pull/304
Full Changelog: https://github.com/SpinlockLabs/github.dart/compare/9.0.3...9.1.0
9.0.3 #
- Update Language Colors March 13th 2022 by @robrbecker in https://github.com/SpinlockLabs/github.dart/pull/302
Full Changelog: https://github.com/SpinlockLabs/github.dart/compare/9.0.2...9.0.3
9.0.2 #
- Switched to use the lints package instead of pedantic https://github.com/SpinlockLabs/github.dart/pull/301
9.0.1 #
- Add
conclusion
property in classCheckRun
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
- Fix getting gists by @robrbecker in https://github.com/SpinlockLabs/github.dart/pull/294
Full Changelog: https://github.com/SpinlockLabs/github.dart/compare/8.5.0...9.0.0
8.5.0 #
- Adds listing and creating PR Reviews, listing users in an org by @robrbecker in https://github.com/SpinlockLabs/github.dart/pull/287
Full Changelog: https://github.com/SpinlockLabs/github.dart/compare/8.4.0...8.5.0
8.4.0 #
- added
updateComment
to update issue comments https://github.com/SpinlockLabs/github.dart/pull/286
8.3.0 #
- Support
files
field in classGitHubComparison
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
andCheckRunEvent
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
- Added:
8.1.3 #
- Add per page parameter to stars related activities https://github.com/SpinlockLabs/github.dart/pull/265
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 #
- Add hasPages attribute to Repository https://github.com/SpinlockLabs/github.dart/pull/238
7.0.3 #
- Export
languageColors
as part of the library. This is the map of github languages to their colors https://github.com/SpinlockLabs/github.dart/pull/232
7.0.1 #
- Add
getLatestRelease()
to RepositoriesService - Add
listCurrentUserFollowing()
function toUsersService
7.0.0 #
- Removed deprecated CloneUrls property on Repository class
6.2.3 #
- Add twitter username to User class https://github.com/SpinlockLabs/github.dart/pull/228
- Improve pub.dev score
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 #
- 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 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 #
- 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