3ff2c60a86
this is for the upstream change in https://github.com/go-gitea/gitea/pull/17158 Co-authored-by: Norwin <git@nroo.de> Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/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>
20 lines
876 B
Markdown
20 lines
876 B
Markdown
# 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.
|
|
|
|
<!-- toc -->
|
|
|
|
- [Changed Struct Fields (#503) (#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"`.
|
|
- In **Issue**, **CreateIssueOption** and **EditIssueOption** structs, `Assignee` got removed. Use `Assignees`.
|
|
- `Type` field at **CreateHookOption** now use **HookType** instead of pure string.
|
|
|
|
Pulls:
|
|
- [#503 Drop deprecations](https://gitea.com/gitea/go-sdk/pulls/503)
|
|
- [#520 Introduce NotifySubjectState](https://gitea.com/gitea/go-sdk/pulls/520)
|