Drop deprecations #503
Merged
6543
merged 2 commits from 6543/go-sdk:start-0.15.0-dev
into master
1 year ago
Loading…
Reference in new issue
There is no content yet.
Delete Branch '6543/go-sdk:start-0.15.0-dev'
Deleting a branch is permanent. It CANNOT be undone. Continue?
start v0.15.0 development
For a better changelog, maybe rename the PR to
drop deprecations & gitea <1.12.3 support
?Start v0.15.0 Developmentto Drop deprecations & gitea <1.12.3 support 1 year agoI think it's too early to drop support for gitea 1.11 we want to make it possible for people to use this library to migrate from earlier, potentially abandoned giteas.
gitea >= 1.12.0 add paggination support ... - if you at the moment use the sdk in pagination mode it's very easy to get infinety loops with old versions
a nice edge case example:
A: say newer gitea paginate with 50 items
but you have a old non-paginating gitea with 50 issues ...
you can not detect by
if (len(item) < maxitem { break } else { next page }
if you have more than max items ... you can at least detect pagination is not working
ref #473
Asignee could be the first Asignees
Is there a different between all asignees and the first one for an issue/pull?
I have an idear how to avoid droping v1.11 support ... but get #473 let le have a look
3df7fcec02
to14379d1d2a
1 year agoDrop deprecations & gitea <1.12.3 supportto Drop deprecations 1 year ago@zeripath I did left v1.11 support ...
@lunny the one field we drop finaly do not have any real value ... it's just because github had this in the past so it will stay in the api but the sdk do not have to support it since there is a clear migration path
0599915e88
into master 1 year ago0599915e88
.