forgejo-sdk/docs/migrate-v0.14-to-v0.15.md
6543 fb42ca1c8d Introduce NotifySubjectState (#520)
close #515

Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/520
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: 6543 <6543@obermui.de>
Co-committed-by: 6543 <6543@obermui.de>
2021-07-01 05:06:50 +08:00

617 B

Migration Guide: v0.14 to v0.15

v0.15.0 introduces a number of api changes, through which it should not be difficult to migrate. Just follow this guid 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"

Pulls: