v0.24 - A Sight For Sore Eyes
Features/Enhancements
- Add
GetAll
method toOrganizationsClient
- #1469 via malamour-work - Add missing fields to
Repository
class -HasPages
,SubscribersCount
,Size
- #1473 via ryangribble - Allow base64 content for create/update file - #1488 via laedit
- Add
HtmlUrl
field toMilestone
class - #1489 via StanleyGoldman - Add support for passing sort options to
IssueCommentsClient.GetAllForRepository()
- #1501 via pjc0247 - Rename
PullRequest.Comment
toPullRequest.ReviewComment
for better accuracy - #1520 via bmeverett - Introduce
AbuseException
- #1528 via SeanKilleen - Add
Id
field toPullRequest
class - #1537 via YunLi1988 - Unparseable
ApiErrors
should now fall back to better default error messages - #1540 via SeanKilleen
Fixes
- Fix errors in
ObservableEventsClient
caused by incorrect return types - #1490 via StanleyGoldman - Add missing
SecurityCritical
attribute onGetObjectData()
overrides - #1493 via M-Zuber - Fix exceptions in Events API by adding missing event types to
EventInfo
enumeration - #1536 via lynnfaraday - Add new AccountType "Bot" to prevent deserialization errors - #1541 via ryangribble
Documentation Updates
- Clarify
ApiInfo
rate limiting usage in docs - #1524 via SeanKilleen - Clarify label coloring usage in docs - #1530 via SeanKilleen
Breaking Changes
- Creating and Editing Issues (and PullRequests) using
NewIssue
andIssueUpdate
requests
should now use theAssignees
collection rather than the now deprecatedAssignee
field.
Both fields can't be specified on the same request, so any code still usingAssignee
will
need to explicitly setAssignees
tonull
to avoid Api validation errors. OrganizationsClient.GetAll(string user)
has been marked obsolete in favour of
OrganizationsClient.GetAllForUser(string user)
PullRequest.Comment
has been marked obsolete in favour ofPullRequest.ReviewComment
- Several
EventsClient
methods previously returned the incorrectActivity
response class.
This has been corrected toIssueEvent
which although is now correct could break calling
code that was written assuming this previous incorrect return type.