Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
These changes reduces mailspam when updating pages and attachments in Confluence.
Without the
minorEdit
parameter every change creates a mail for all watchers. The default is now changed to useminorEdit=True
and thus not create notification mails. The previous behaviour can be restored by using the new cli option--no-minoredit
.Another implemented optimization is focused on attachments. The previous implementation was syncing all attachments everytime. When a page has a lot of attachments, this quickly creates many versions and wastes storage. The optimization uses the comment field to store a hash of the uploaded file and only re-uploads the contetns, if the hash of the current file does not match the one stored in comment. This behaviour can also be disabled by specifying
--no-optimizeattachments
.