forked from gitea/go-sdk
this is for the upstream change in https://github.com/go-gitea/gitea/pull/17158 Co-authored-by: Norwin <git@nroo.de> Reviewed-on: gitea/go-sdk#542 Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com> Reviewed-by: 6543 <6543@obermui.de> Co-authored-by: Norwin <noerw@noreply.gitea.io> Co-committed-by: Norwin <noerw@noreply.gitea.io>
876 B
876 B
Migration Guide: v0.14 to v0.15
v0.15.0 introduces a number of API changes, which should be simple to migrate. Just follow this guide and if you still encounter problems, ask for help on Discord or feel free to create an issue.
Changed Struct Fields
- The
State
field at NotificationSubject changed from StateType to NotifySubjectState, it also contains"open"
,"closed"
and add"merged"
. - In Issue, CreateIssueOption and EditIssueOption structs,
Assignee
got removed. UseAssignees
. Type
field at CreateHookOption now use HookType instead of pure string.
Pulls: