Skip to content

Releases: MrRefactoring/confluence.js

v2.1.0

16 Jul 21:24
092525f
Compare
Choose a tag to compare

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

v2.0.0

12 May 20:30
2cc1982
Compare
Choose a tag to compare

Breaking Changes ⚠️

  • Deprecated APIs removed: APIs marked as deprecated in v1.x have been removed.
  • Server API removed: Server-related code and support are no longer included.
  • Node.js version: Minimum supported version is now Node 20.
    • Upgrade your environment if using Node < 20.

Major Improvements

  • Dual CJS/ESM support: Added ESM (ECMAScript Modules) support alongside existing CommonJS.
    • Use import (ESM) or require (CJS) — both work.
    • ESM entry point: dist/esm/index.js (via "module" field in package.json).
  • Testing: Replaced ava with vitest for faster, modern testing.
  • Security: Fixed JWT expiry time handling.
    • Tokens now respect configured TTL consistently.

Other Changes

  • Telemetry: All telemetry/tracking code has been removed.
    • No data is collected by the package.

Release v1.7.4

05 Apr 21:52
Compare
Choose a tag to compare

Release v1.7.3

03 Mar 22:58
Compare
Choose a tag to compare

[1.7.3] - 2024-03-04

  • Dependencies updated
  • Expand properties added for few endpoints

Release v1.7.2

01 Dec 17:44
Compare
Choose a tag to compare

Changes in this version:

  • Implemented automatic GitHub release and tag creation in the CI pipeline. This enhancement, addressed in issue #133, automates the process of creating GitHub releases and tags corresponding to new versions, streamlining the release process.
  • Thanks to Joe Ennever, the searchContentByCQL method has been enhanced with an expand property. This addition, merged in pull request #134, allows for more flexible and detailed content queries in the Confluence API.

v1.7.0

01 Jun 22:01
dd62238
Compare
Choose a tag to compare

apiPrefix was added to the code for allowing to use of custom API prefix for all clients. Thanks to Petr Plenkov for the pull request.

v1.6.3

26 Mar 15:10
Compare
Choose a tag to compare

atlas_doc_format added to some models. Thanks to Andrew McClenaghan for the pull request.

v1.6.2

03 Jan 22:28
Compare
Choose a tag to compare
  • Badge fixed
  • Dependencies updated

v1.6.1

28 Oct 06:47
Compare
Choose a tag to compare

AuthenticationService added to export facade. Thanks to Andrew McClenaghan for this improvement.

v1.6.0

12 Sep 07:32
a0a29aa
Compare
Choose a tag to compare

Cloud API:

  • asyncConvertContentBodyRequest method added to ContentBody API.
  • asyncConvertContentBodyResponse method added to ContentBody API.
  • ContentContentState API are deprecated. Use ContentStates instead.
  • getAndConvertMacroBodyByMacroId method added to ContentMacroBody API.
  • getAndAsyncConvertMacroBodyByMacroId method added to ContentMacroBody API.
  • registerModules method was fixed by adding a body to the request. DynamicModules API.
  • Other fixes and improvements. (like expand property adding).