- Fix publish release workflow by @CaseyHillers in SpinlockLabs#316
- Add support for toString to the Checkrun object. by @ricardoamador in SpinlockLabs#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 SpinlockLabs#315
- @ricardoamador made their first contribution in SpinlockLabs#315
Full Changelog: https://github.com/SpinlockLabs/github.dart/compare/9.2.0...9.3.0
- test auto-release by @robrbecker in SpinlockLabs#307
- test PR for auto-release by @robrbecker in SpinlockLabs#308
- Added assignees to Issue model for #289 by @sjhorn in SpinlockLabs#290
- @sjhorn made their first contribution in SpinlockLabs#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 SpinlockLabs#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 SpinlockLabs#304
- @XilaiZhang made their first contribution in SpinlockLabs#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 SpinlockLabs#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 SpinlockLabs#301
- Add
conclusion
property 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 SpinlockLabs#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 SpinlockLabs#287
Full Changelog: https://github.com/SpinlockLabs/github.dart/compare/8.4.0...8.5.0
- added
updateComment
to update issue comments SpinlockLabs#286
- Support
files
field in classGitHubComparison
- no library code changes
- Add auto pub publish on new releases
- Make CheckRunConclusion nullable
- 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
- 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
CheckSuiteEvent
andCheckRunEvent
- 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 SpinlockLabs#265
- Fixes
RateLimit.fromRateLimitResponse
to not double cast int
- Fix up examples and license file SpinlockLabs#255 SpinlockLabs#254 SpinlockLabs#253
RateLimit
queries/rate_limit
and 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 SpinlockLabs#238
- Export
languageColors
as part of the library. This is the map of github languages to their colors SpinlockLabs#232
- Add
getLatestRelease()
to RepositoriesService - Add
listCurrentUserFollowing()
function toUsersService
- Removed deprecated CloneUrls property on Repository class
- Add twitter username to User class SpinlockLabs#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.dart
to improve dartdocs and IDE usability when writing hooks
- Added Checks API SpinlockLabs#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. SpinlockLabs#182
- Add missing fields for Notification SpinlockLabs#210
- Can now create draft PRs SpinlockLabs#212
- Update default language color to match github SpinlockLabs#208
- Use pedantic and address some lint SpinlockLabs#205
- Add missing download url for repos contents SpinlockLabs#206
- Add (experimental)
listReactions
method toIssueService
.
- Clean up lints SpinlockLabs#202
- Fix null errors issue SpinlockLabs#199
- This fixes #196 (SpinlockLabs#196)
- Add archived and disabled fields to the Repository class
- Fixed
GitHubFile.text
to properly decodecontent
.
- Fix SpinlockLabs#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.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.
- Implement markThreadRead SpinlockLabs#185
- Fix for activity service SpinlockLabs#187
- Implement rate-limiting SpinlockLabs#172
- Back off when server fails (HTTP 50x) SpinlockLabs#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 SpinlockLabs#180
- 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
- Add access to labels on Pull Requests SpinlockLabs#163
- Adding draft property to PR model SpinlockLabs#162
- updateFile request must be a PUT SpinlockLabs#160
Repository
: addedupdatedAt
andlicense
fields.- Require at least Dart
2.3.0
. - Bump version constraint on
json_annotation
- Add contents_url to PullRequestFile SpinlockLabs#159
- Fixed pollPublicEventsReceivedByUser to use the correct API URL SpinlockLabs#150
- Fixed a runtime exception (SpinlockLabs#139)
- Added an optional
base
argument when editing a PR (SpinlockLabs#145)
- BREAKING
RepositoriesService.listCollaborators
now returnsStream<Collaborator>
instead ofStream<User>
.Collaborator
is 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
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
- 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.dart
library – use themarkdown
package instead. - BREAKING Removed the
dates.dart
library.
- 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.
- Cache base64 decoded
text
property inGitHubFile
- Fix Bug in EventPoller
- Added
id
toMilestone
- Moved
CHANGELOG
content back to repo. - Added
rateLimitLimit
,rateLimitRemaining
andrateLimitReset
toGitHub
. - Added
id
toIssue
- Added
direction
,sort
andsince
optional 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
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.
- 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