Skip to content

v2.1.0#147

Merged
MrRefactoring merged 3 commits intomasterfrom
develop
Jul 16, 2025
Merged

v2.1.0#147
MrRefactoring merged 3 commits intomasterfrom
develop

Conversation

@MrRefactoring
Copy link
Owner

@MrRefactoring MrRefactoring commented Jul 16, 2025

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
    • Support pagination in getContentChildren #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

MrRefactoring and others added 2 commits May 17, 2025 17:41
* incremental api changes

* changelog updated

* readme updated

* readme updated

* import fixes
@MrRefactoring MrRefactoring added this to the v2.1.0 milestone Jul 16, 2025
@MrRefactoring MrRefactoring marked this pull request as ready for review July 16, 2025 21:12
@MrRefactoring MrRefactoring merged commit 092525f into master Jul 16, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant