Octokit.NET v0.25.0 Release Notes

Release Date: 2017-08-23 // over 6 years ago
  • ๐Ÿ“ฆ Packages

    ๐Ÿ“ฆ Octokit 0.25.0 on nuget
    ๐Ÿ“ฆ Octokit.Reactive 0.25.0 on nuget

    Advisories and Breaking Changes

    ๐Ÿฑ Octokit.net has been ported to dotnetcore ๐ŸŽ‰ providing libraries targetting netstandard1.1 and net45 frameworks

    ๐Ÿ“„ Enum fields in Octokit response classes are now wrapped in an StringEnum<TEnum> helper class, to provide more robustness in dealing with unknown API values for these fields. Whilst the changes are backwards compatible, please consult the guidance on working with Enums for more information

    โšก๏ธ IncludeAdmins field is no longer present in BranchProtectionRequiredStatusChecks and BranchProtectionRequiredStatusChecksUpdate classes, instead use the new EnforceAdmins field on BranchProtectionSettingsUpdate or the new explicit methods for configuring Admin Enforcement on protected branches. This was an upstream API breaking change so we couldn't follow our normal deprecation schedule

    ๐Ÿš€ Release Notes

    ๐Ÿ— Milestone: CAKE Builds

    ๐Ÿ”‹ Features/Enhancements

    ๐Ÿ‘ Milestone: dotnetcore Support

    ๐Ÿ”‹ Features/Enhancements

    ๐Ÿ›  Fixes

    • ๐Ÿ›  Fix broken JSON deserialization in .NET 4.5 after VS2017 project update - #1647 via @mderriey

    Milestone: None

    ๐Ÿ”‹ Features/Enhancements

    ๐Ÿ›  Fixes

    • ๐Ÿ›  Fix RepositoryTrafficClient to handle upstream API change in timestamps from Unix epoch time to ISO8601 - #1560 via @mderriey, @ryangribble
    • ๐Ÿ›  Fix more IssueTimelineClient deserialization exceptions by adding more new EventInfoState values - #1563 via @ryangribble
    • ๐Ÿ›  Fix NotificationsClient.MarkAsRead() exception by specifying a payload body in the PUT request - #1579 via @shiftkey, @ryangribble
    • ๐Ÿ›  Fix connection.GetLastApiInfo() was returning null in some situations - #1580 via @ryangribble
    • ๐Ÿ›  Fix even more IssueTimelineClient deserialization exceptions by adding even more new EventInfoState values (this is getting old!) - #1591 via @lynnfaraday, @ryangribble
    • NewRepositoryWebHook.ToRequest() no longer discards existing fields if they are set - #1623 via @ctolkien
    • ๐Ÿ›  Fix pagination on API calls that use Uri parameters (typically for requests that include some form of filtering) - #1649 via @ryangribble
    • ๐Ÿ›  Fixed RepositoryCommitsClient.GetSha1() to correctly obtain the sha1 of the specified commit, after the API went from preview to official - #1654 via @ryangribble

    Housekeeping

    • โœ‚ Remove obsolete constructor of RepositoryUpdate request class - #1569 via @eriawan
    • โœ‚ Remove unused Rx-Main dependency from LINQPad samples - #1593 via @NickCraver
    • ๐Ÿ”„ Change response models 'Url' properties from Uri to string - #1585 via @mderriey
    • โœ‚ Remove obsolete branch protection methods/classes - #1620 via @ryangribble
    • โœ‚ Remove methods and members that were marked [Obsolete] in 0.23 or earlier - #1622 via @ryangribble

    ๐Ÿ“š Documentation Updates

    • ๐Ÿ›  Fix Issue documentation samples (GetForRepository() should be GetForRepository()) - #1602 via @tnaoto
    • ๐Ÿ›  Fix Release documentation samples (ReleaseUpdate should be NewRelease) - #1611 via @watsonlu