Skip to content

incremental api changes#146

Merged
MrRefactoring merged 5 commits intodevelopfrom
feature/incremental-api-changes
Jul 16, 2025
Merged

incremental api changes#146
MrRefactoring merged 5 commits intodevelopfrom
feature/incremental-api-changes

Conversation

@MrRefactoring
Copy link
Copy Markdown
Owner

@MrRefactoring MrRefactoring commented Jul 14, 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

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 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 20:26
@MrRefactoring MrRefactoring merged commit fcdbb74 into develop Jul 16, 2025
8 checks passed
@MrRefactoring MrRefactoring deleted the feature/incremental-api-changes branch July 16, 2025 20:47
MrRefactoring added a commit that referenced this pull request Jul 16, 2025
* README.md redesigned

* incremental api changes (#146)

* incremental api changes

* changelog updated

* readme updated

* readme updated

* import fixes

* #145: add `start` and `limit` properties for `contentChildrenAndDescendants.getContentChildren` (#148)
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