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

18 lines
617 B
Markdown

# 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.
<!-- toc -->
- [Changed Struct Fields (#520)](#changed-struct-fields)
<!-- tocstop -->
## Changed Struct Fields
- the `State` field at **NotificationSubject** changed from **StateType** to **NotifySubjectState**, it also contains `"open"`, `"closed"` and add `"merged"`
Pulls:
- [#520 Introduce NotifySubjectState](https://gitea.com/gitea/go-sdk/pulls/520)