Releases: johnpduane/confluence-api
Releases · johnpduane/confluence-api
Superagent upgrade
Upgrade superagent dependency to the latest 3.x version to address reported security vulnerability.
Add support for representation
Support for field representation on postContent and putContent methods.
Thank you to @rnhurt for adding this feature.
Add support for labels and search
- Support for label
- getLabels()
- postLabels()
- deleteLabel()
- thank you to @mlersch for adding this feature
- Support for search
- search()
- thank you to @evgeniusorg for adding this feature
- Support for field
minorEdit
on putContent method- thank you to @arthmoeros for adding this feature
- Added jsdoc-to-markdown and support script
npm run create-docs
Add support for attachments
This release adds support for attachments:
.getAttachments(space, id, callback)
.createAttachment(space, id, filepath, callback)
.updateAttachmentData(space, id, attachmentId, filepath, callback)
Thank you to @corn3lius for adding this feature.
Add support for Confluence v4
Confluence API now supports access to older versions of Confluence. If you are using Confluence version 4, specify the version in your config file; for example:
var config = {
username: "testuser",
password: "test-user-pw",
baseUrl: "https://confluence-api-test.atlassian.net/wiki",
version: 4 // Confluence major version, optional
};
Thank you to @qvaqvaboo for adding this feature.
Add getCustomContentById
Thank you to @lukouko for adding this function.