- Require Dart 3.5
- Require
package:http^1.0.0. - Fix pagination logic to use
nextlink.
- Bug fixes to the
Issue.isOpenandIssue.isClosedgetters.
- Require Dart 3.0.
- Update to the latest
package:lints.
- Add support for the
Ghostuser when the Github user is deleted.
- Update MiscService.getApiStatus() to use the v2 API
APIStatushas been refactored to match, now exposingpageandstatus
- Add a Changes object to the PullRequestEvent object so we can see what changed in edited PR events by @ricardoamador in #390
Full Changelog: https://github.com/SpinlockLabs/github.dart/compare/9.19.0...9.20.0
- Revert "Add the 'PushEvent' webhook and associated PushCommit object" by @robrbecker in #387
Full Changelog: https://github.com/SpinlockLabs/github.dart/compare/9.18.0...9.19.0
- Bad Release. Was: Add the 'PushEvent' webhook and associated PushCommit #386
- Add bearerToken constructor to Authentication class by @kevmoo in #381
Full Changelog: https://github.com/SpinlockLabs/github.dart/compare/9.16.0...9.17.0
- Fix links and spelling nits in markdown files by @kevmoo in #379
- Support latest pkg:http by @kevmoo in #380
Full Changelog: https://github.com/SpinlockLabs/github.dart/compare/9.15.1...9.16.0
- Revert immutable auth by @CaseyHillers in #378
Full Changelog: https://github.com/SpinlockLabs/github.dart/compare/9.15.0...9.15.1
- Implement IssuesService.lock/unlock by @Hixie in #376
- Bump JamesIves/github-pages-deploy-action from 4.4.1 to 4.4.2 by @dependabot in #371
- Make GitHub.auth non-nullable by @CaseyHillers in #377
Full Changelog: https://github.com/SpinlockLabs/github.dart/compare/9.14.0...9.15.0
- Add optional filter params on Repositories.listCommits by @CaseyHillers in #368
Full Changelog: https://github.com/SpinlockLabs/github.dart/compare/9.13.0...9.14.0
- Add node_id to the pull request model by @ricardoamador in #367
Full Changelog: https://github.com/SpinlockLabs/github.dart/compare/9.12.0...9.13.0
- Add support for issue and PR timeline events via
Issue.listTimeline.
- expose IssueLabel.description; update labels REST APIs by @devoncarew in #355
- Pass required User-Agent HTTP header on all requests
- If
Authentication.basicis used, it will be your GitHub username/application - Otherwise, it will default to
github.dart
- If
- Require Dart 2.18
- Expose
CheckSuitesServiceandChuckRunsServiceclasses.
- Add "author_association" field to the IssueComment object by @ricardoamador in #348
Full Changelog: https://github.com/SpinlockLabs/github.dart/compare/9.8.0...9.9.0
- Add "head_branch" field to CheckSuite object by @nehalvpatel in #347
- @nehalvpatel made their first contribution in #347
Full Changelog: https://github.com/SpinlockLabs/github.dart/compare/9.7.0...9.8.0
- Add calendar versioning by @CaseyHillers in #338
Full Changelog: https://github.com/SpinlockLabs/github.dart/compare/9.6.0...9.7.0
- Require Dart 2.17
- Update to allow different merge methods in pulls_service by @ricardoamador in #333
Full Changelog: https://github.com/SpinlockLabs/github.dart/compare/9.5.1...9.6.0
- Fix up unit tests & run them in CI by @robrbecker in #336
Full Changelog: https://github.com/SpinlockLabs/github.dart/compare/9.5.0...9.5.1
- Add 'commits' member to GitHubComparison object by @fuzzybinary in #330
- @fuzzybinary made their first contribution in #330
Full Changelog: https://github.com/SpinlockLabs/github.dart/compare/9.4.1...9.5.0
- Update to github-script 6 by @robbecker-wf in #331
Full Changelog: https://github.com/SpinlockLabs/github.dart/compare/9.4.0...9.4.1
- Fix publish release workflow by @CaseyHillers in #316
- Add support for toString to the Checkrun object. by @ricardoamador in #318
Full Changelog: https://github.com/SpinlockLabs/github.dart/compare/9.3.0...9.4.0
- Added a new conclusion state to support flutter autosubmit bot by @ricardoamador in #315
- @ricardoamador made their first contribution in #315
Full Changelog: https://github.com/SpinlockLabs/github.dart/compare/9.2.0...9.3.0
- test auto-release by @robrbecker in #307
- test PR for auto-release by @robrbecker in #308
- Added assignees to Issue model for #289 by @sjhorn in #290
- @sjhorn made their first contribution in #290
Full Changelog: https://github.com/SpinlockLabs/github.dart/compare/9.1.1...9.2.0
- Don't add state query param twice by @passsy in #264
Full Changelog: https://github.com/SpinlockLabs/github.dart/compare/9.1.0...9.1.1
- add 'create' github webhook event to hooks.dart by @XilaiZhang in #304
- @XilaiZhang made their first contribution in #304
Full Changelog: https://github.com/SpinlockLabs/github.dart/compare/9.0.3...9.1.0
- Update Language Colors March 13th 2022 by @robrbecker in #302
Full Changelog: https://github.com/SpinlockLabs/github.dart/compare/9.0.2...9.0.3
- Switched to use the lints package instead of pedantic #301
- Add
conclusionproperty in classCheckRun
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 #294
Full Changelog: https://github.com/SpinlockLabs/github.dart/compare/8.5.0...9.0.0
- Adds listing and creating PR Reviews, listing users in an org by @robrbecker in #287
Full Changelog: https://github.com/SpinlockLabs/github.dart/compare/8.4.0...8.5.0
- added
updateCommentto update issue comments #286
- Support
filesfield in classGitHubComparison
- no library code changes
- Add auto pub publish on new releases
- Make CheckRunConclusion nullable
- Added
generateReleaseNotesboolean to CreateRelase class to have github auto-create release notes - Added
generateReleaseNotesmethod 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
- Up minimum json_serializable to ^6.0.0, json_annotation to ^4.3.0
- Cleanup and regenerate generated files
- Require Dart SDK 2.14
- Add
CheckSuiteEventandCheckRunEvent
- 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:
- Add per page parameter to stars related activities #265
- Fixes
RateLimit.fromRateLimitResponseto not double cast int
RateLimitqueries/rate_limitand no longer uses quota
- Minor tweaks to improve pub score
- Allow start page, per_page, number of pages options to pagination helper
- Allow page options for listTags
- Update to null safety
- Add hasPages attribute to Repository #238
- Export
languageColorsas part of the library. This is the map of github languages to their colors #232
- Add
getLatestRelease()to RepositoriesService - Add
listCurrentUserFollowing()function toUsersService
- Removed deprecated CloneUrls property on Repository class
- Add twitter username to User class #228
- Improve pub.dev score
- Fixed typo in documentation
- Consolidated utils from src/util.dart into src/common/utils/utils.dart
- Added a new top level entry point
hooks.dartto improve dartdocs and IDE usability when writing hooks
- Added Checks API #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.cloneUrlsusecloneUrl,gitUrl,sshUrl, orsvnUrlinstead. - Bug fix: Use a shared json encoder util to remove nulls from maps and lists, encode all dates for github. #182
- Update default language color to match github #208
- Add (experimental)
listReactionsmethod toIssueService.
- Clean up lints #202
- Fix null errors issue #199
- This fixes #196 (#196)
- Add archived and disabled fields to the Repository class
- Fixed
GitHubFile.textto properly decodecontent.
- Fix #190
- 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.findAuthenticationFromEnvironmentnow 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.contentis now exactly the content returned from the JSON API without newlines removed.
- Implement rate-limiting #172
- Back off when server fails (HTTP 50x) #173
- All remaining methods in repos_service.dart (accessible via the getter
repositoriesfromGitHubclient class) have been implemented.isCollaborator,listSingleCommitComments,listCommitComments,createCommitComment,getComment,updateComment,deleteComment - Fixed issues.get to correctly return Future #180
- Add the ability to upload release assets.
- Add the ability to get an existing release by tag name.
Deprecations:
- The
draftandprereleaseproperties in the CreateRelease and Release - classes have been renamed to
isDraftandisPrereleasefor clarity. - Release.targetCommitsh has been renamed to Release.targetCommitish.
- The
releaseparameter in RepositoriesService.createRelease has been renamed tocreateRelease. RepositoriesService.getReleasehas been renamed toRepositoriesService.getReleaseById
- Add access to labels on Pull Requests #163
- Adding draft property to PR model #162
- updateFile request must be a PUT #160
Repository: addedupdatedAtandlicensefields.- Require at least Dart
2.3.0. - Bump version constraint on
json_annotation - Add contents_url to PullRequestFile #159
- Fixed pollPublicEventsReceivedByUser to use the correct API URL #150
- BREAKING
RepositoriesService.listCollaboratorsnow returnsStream<Collaborator>instead ofStream<User>.Collaboratoris a new type that includes collaborator-specific information.
- Require at least Dart
2.1.0.
- Fix return type of
RepositoriesService.listContributors. - Fix return type of
RepositoriesService.createRelease. - Fixed
RepositoriesService.listContributorStats.- Removed unsupported
limitparameter. - Removed flaky retry logic. Instead,
NotReadyis thrown, which can be used to decide to retry at the call site. - Made associated classes
ContributorStatisticsandContributorWeekStatisticsimmutable. 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
CodeSearchResultsclass to hold search results - Made
CodeSearchItemclass to hold each search result item - Added a code search example
- Made
- Fix cast errors in event and issue queries.
- 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.
- BREAKING Removed a number of top-level methods from the public API.
- BREAKING Removed
markdown.dartlibrary – use themarkdownpackage instead. - BREAKING Removed the
dates.dartlibrary.
- Automatically attempt to find GitHub user information in the process environment when running on the standalone VM.
- Add
refparameter togetReadmemethod for the repository service.
- Cache base64 decoded
textproperty inGitHubFile - Fix Bug in EventPoller
- Added
idtoMilestone
- Moved
CHANGELOGcontent back to repo. - Added
rateLimitLimit,rateLimitRemainingandrateLimitResettoGitHub. - Added
idtoIssue - Added
direction,sortandsinceoptional arguments toIssueService.listByRepo.
NOTICE: This is a major breaking release. This really should have been v2.0.0
- New Service based API
- Git Data API Fully Implemented
Fileclass 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.isOpenandIssue.isClosedgetters.
- A few bug fixes.
- New Tests
- Benchmarks
- Markdown Generation Library
- Button Tweaks
- Added Emoji Searches
- Combined all Less stylesheets into one
- Dates Library Cleanup
- String to represent Unix timestamps
- Fix date/time parsing
- Slack Notifications for TravisCI
- 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
- 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
- Bug Fixes in Organizations
- Pull Request Comment Model
- Moved to Stream-based API
- Support for Forking a Repository
- Gist Comments Support
- Merging Support
- Emoji Support
- Repository Search Support
- Notifications API Support
All the things!
- Updated Documentation
- Better Organization Support
- Added Organization Demos
Initial Version