6543 fb42ca1c8d
All checks were successful
continuous-integration/drone/push Build is passing
Introduce NotifySubjectState (#520)
close #515

Reviewed-on: #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

1.5 KiB

Migration Guide: v0.13 to v0.14

v0.14.0 introduces a number of breaking 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.

Removed Functions

  • for GetUserTrackedTimes and GetRepoTrackedTimes use ListRepoTrackedTimes with specific options set


Renamed Functions

  • ListTrackedTimes is now ListIssueTrackedTimes


New Optional Fields

The EditUserOption struct has gained several new Optional fields. For example Email type changed from string to *string.

The easiest migration path is, to wrap your options with: OptionalString(), OptionalBool() and OptionalInt64()


Escape Function Arguments

String arguments like user, repo, tag, ... are now url/path/query escapted as they need. If you had issues and did escape arguments by yourselve you have to remove this now.