sphinx-contrib / confluencebuilder

Confluence Markup Builder Plugin for Sphinx
BSD 2-Clause "Simplified" License
315 stars 99 forks source link

publisher: support confluence cloud's modernized search #1006

Closed jdknight closed 3 months ago

jdknight commented 3 months ago

Confluence Cloud has dropped the use of its older pagination support since 2020-07-15 [1] which has prevented this extension from properly processing cleanup operations if the target environment has over 249 descendants/attachments. This commit updates the search calls to use Confluence Cloud's link hints to acquire an appropriate cursor hint.

[1]: https://developer.atlassian.com/cloud/confluence/change-notice-moderize-search-rest-apis/

felixvd commented 2 months ago

Thank you for this. We stumbled over this and had a local fix we were planning to submit.

jdknight commented 2 months ago

Thank you for this. We stumbled over this and had a local fix we were planning to submit.

@felixvd, sorry about that. Only noticed it by chance with testing in the last weeks. v2.6 of this extension has now been released (with this fix), so please feel free to try it out and report any issues.