Skip to content

v2.1.0

Latest
Compare
Choose a tag to compare
@MrRefactoring MrRefactoring released this 16 Jul 21:24
092525f

Deprecations ⚠️

  • Package dependencies:
    • Replaced deprecated atlassian-jwt with @atlassian/atlassian-jwt.
  • Content APIs:
    • Deprecated all content-related methods due to Confluence API changes:
      • content.getContent, content.createContent, content.getContentById, content.updateContent, content.deleteContent
      • content.getHistoryForContent, contentAttachments.getAttachments, contentBody.convertContentBody
      • contentChildrenAndDescendants.getContentChildren, contentChildrenAndDescendants.getContentChildrenByType
      • ContentComments, contentLabels.getLabelsForContent, ContentProperties
      • contentVersions.getContentVersions, contentVersions.getContentVersion
  • Group APIs:
    • Deprecated group-related methods:
      • group.removeGroup, group.getGroupByQueryParam, group.getGroupByName
      • group.getMembersByQueryParam, group.getGroupMembers
  • Other APIs:
    • Deprecated InlineTasks, SpaceProperties, users.getBulkUserMigration
    • Deprecated content restriction methods:
      • contentRestrictions.getContentRestrictionStatusForGroup
      • contentRestrictions.addGroupToContentRestriction
      • contentRestrictions.removeGroupByName
    • Deprecated settings.setLookAndFeelSettings
    • Deprecated space-related methods:
      • space.getSpaces, space.getSpace, space.getContentForSpace, space.getContentByTypeForSpace

New Features

  • New endpoints:
    • Added contentBody.bulkAsyncConvertContentBodyResponse and contentBody.bulkAsyncConvertContentBodyRequest
    • Added contentStates.getContentsWithState method
    • Introduced new UserProperties API
  • API improvements:
    • Added status property to contentAttachments.downloadAttachment
    • Added key property to longRunningTask.getTasks
    • Added sitePermissionTypeFilter property to search.searchUser
    • Added alias property to both space.createSpace and space.createPrivateSpace
    • #145 Added start and limit properties to contentChildrenAndDescendants.getContentChildren. Thanks to @javierbrea for requesting this feature.

API Changes 🔄

  • Experimental methods moved:
    • Moved experimental user property methods to userProperties namespace:
      • getUserProperties, getUserProperty, createUserProperty, updateUserProperty, deleteUserProperty
  • Parameter fixes:
    • Simplified group.removeGroupById parameters (no longer requires operationKey and groupId)

Other Changes

  • Package structure:
    • Reordered exports in package.json for better module resolution