All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- automatic retries now apply to all errors instead of just 429 HTTP responses
- pinned pyyaml 6.0.1 to avoid issues with cython 3
- Local section links are no longer rendered as broken relative links (e.g.
[this section](#section-header)
)
- Relative links support section headers (@jimstein3d)
.pages
files are now supported at the top level as well as in subdirectories (@galund)
--only-changed
now works for attachments (@pmarchini)- relative links with URL-encoded paths now work (@mschmieder)
- folders in
.gitignore
are now actually ignored (@jmonsma)
- Updated
requests
to 2.31.0
- Moving page from top level to child page
- Ability to explicitly move a page or group of pages back to the top level of the space with
--top-level
- Relative links work correctly when there are more than 10 on a page
- Attachments work again
- Colourful, user-friendly output
- JSON and minimal output modes
- Automatic detection of document encoding
- Support for relative links (@mschmieder)
- Option to mark an edit as minor (@jannismain)
- Support for blogpost content type (@Bass-03)
- Change
--bearer-token
to--token
in README.md (@rtkjbillo) - Always update pages when requesting parent changes
- Change gitignore library to support Python 3.11
- Error messages are nicely formatted and printed to standard error
- Correctly propagate
strip-top-header
andremove-text-newlines
flags (@bjorns)
- Support for labels in the Markdown front matter
- Option to replace all labels with the set specified in the Markdown front matter
- Option to add a postface to every page
- Option to ignore
.gitignore
files (@bjorns) - Option to remove single newlines from paragraphs (@bjorns)
- Skip files and directories listed in
.gitignore
files (@bjorns)
- Add option to remove the top level header from the page
- Print page URL after upsert (@bhrutledge)
- Add environment variable for Confluence space (@bhrutledge)
- Support expansions when getting a page (@ssaraswati)
- Remove duplicate password prompt (@bhrutledge)
- Upgraded PyYAML to 6.0
- Add support for bearer token authentication (thanks @Guuz1)
- Add option to ignore SSL certificate validation
- Fix a bug that would not match the content hash when another message was present
- Fix a bug that prevented uploading directories specified with a relative path
- Add feature to only update things that have changed by storing the SHA1 in the update message
- Make attachment updates work on both Confluence Server and Confluence Cloud
- Remove mentions of non-existing force-unique parameter
- Bump dependencies
- Fix attachment update function (@timothybonci)
- Fix dependency versions
- Remove support for Python 3.5
- Update README.md to correctly show help output
- Add support for image attachments
- Add support for recursive upload of directories
- Skip empty directories
- Collapse empty directories
- Collapse single-document folders
- Support folder title customization
- Remove dependency on BeautifulSoup by finding the title during rendering
- Can now specify text top preface to each uploaded page
- Can now specify a page title in the YAML front matter
- Can now specify a prefix to add to the title of each page
- Existing pages can be moved to a different parent
- Add dry run option
- Bump dependencies
- Don't dump arguments to stdout
- Can now update by page ID
- Can now specify the page title on the command line
- Removed support for Python 3.4
- Correctly use filename as page title when there is no top level header
- Fixed parameter name in main (@yauhenishaikevich)
- Initial support for converting and uploading documents
- Unit tests