Drop deprecations #503

Merged
6543 merged 2 commits from 6543/go-sdk:start-0.15.0-dev into master 2021-03-30 16:36:33 +00:00
Owner

start v0.15.0 development

start v0.15.0 development
6543 added this to the v0.15.0 milestone 2021-03-22 19:44:32 +00:00
6543 added the
kind/breaking
label 2021-03-22 19:44:32 +00:00
noerw approved these changes 2021-03-23 10:05:27 +00:00
Dismissed
Member

For a better changelog, maybe rename the PR to drop deprecations & gitea <1.12.3 support?

For a better changelog, maybe rename the PR to `drop deprecations & gitea <1.12.3 support`?
6543 changed title from Start v0.15.0 Development to Drop deprecations & gitea <1.12.3 support 2021-03-23 10:12:29 +00:00
Owner

I 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.

I 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.
Author
Owner

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

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
Owner

Asignee could be the first Asignees

Asignee could be the first Asignees
Author
Owner

Asignee could be the first Asignees

Is there a different between all asignees and the first one for an issue/pull?

> Asignee could be the first Asignees Is there a different between all asignees and the first one for an issue/pull?
6543 added a new dependency 2021-03-23 19:33:21 +00:00
Author
Owner

I have an idear how to avoid droping v1.11 support ... but get #473 let le have a look

I have an idear how to avoid droping v1.11 support ... but get #473 let le have a look
6543 added the
status/wip
label 2021-03-29 17:54:56 +00:00
6543 force-pushed start-0.15.0-dev from 3df7fcec02 to 14379d1d2a 2021-03-29 23:03:36 +00:00 Compare
6543 changed title from Drop deprecations & gitea <1.12.3 support to Drop deprecations 2021-03-29 23:04:13 +00:00
6543 removed the
status/wip
label 2021-03-29 23:04:22 +00:00
Author
Owner

@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

@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
6543 removed a dependency 2021-03-29 23:20:03 +00:00
6543 added 1 commit 2021-03-29 23:22:36 +00:00
CI: test with go-v1.16
All checks were successful
continuous-integration/drone/pr Build is passing
f5e23847e8
6543 requested review from noerw 2021-03-29 23:23:40 +00:00
lunny approved these changes 2021-03-30 11:14:28 +00:00
Dismissed
noerw approved these changes 2021-03-30 12:02:34 +00:00
Dismissed
6543 merged commit 0599915e88 into master 2021-03-30 16:36:33 +00:00
6543 referenced this issue from a commit 2021-03-30 16:36:34 +00:00
6543 deleted branch start-0.15.0-dev 2021-03-30 16:36:41 +00:00
Sign in to join this conversation.
No description provided.