Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,6 @@ jobs:
echo HOST=${{ secrets.HOST }} >> .env
echo EMAIL=${{ secrets.EMAIL }} >> .env
echo API_TOKEN=${{ secrets.API_TOKEN }} >> .env
- name: Building sources
run: npm run build
- name: Tests
run: npm run test
- name: Linting
run: npm run lint
env:
CI: true
- name: Publishing
run: npm publish
env:
Expand Down
30 changes: 30 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,35 @@
# Changelog

### 1.2.0

- Cloud API
- `archivePages` method added to `Content`.
- `publishLegacyDraft` request fixed in `Content` class.
- `publishSharedDraft` request fixed in `Content` class.
- `downloadAttachment` method added to `ContentAttachments`.
- `descendantsOfType` renamed to `getDescendantsOfType` in `ContentChildrenAndDescendants`.
- `permissionCheck` renamed to `checkContentPermission` in `ContentPermissions`.
- `key` property added to `getContentProperties` request in `ContentProperties`.
- Added `Experemental` API.
- `accessType` property added to `getGroups` request in `Group`.
- `removeGroupById` method added to `Group`.
- `getGroup` renamed to `getGroupByName` in `Group`.
- `getGroupsSearch` renamed to `searchGroups` in `Group`.
- `accountId` property added to `addUserToGroupByGroupId` in `Group`.
- `accountId` property added to `addUserToGroup` in `Group`.
- `getTaskById` method added to `InlineTasks`.
- `updateTaskById` method added to `InlineTasks`.
- `GetRelationship` renamed to `getRelationship` in `Relation`.
- `delete` renamed to `deleteRelationship` in `Relation`.
- `search` renamed to `searchByCQL` in `Search`.
- `userSearch` renamed to `searchUser` in `Search`.
- `horizontalHeader`, `spaceReference`, `links` properties added to `updateLookAndFeelSettings` in `Settings`.
- `permissions` property added to `createPrivateSpace` in `Space`.
- `type` and `status` properties added to `updateSpace` in `Space`.
- `addPermission` renamed to `addPermissionToSpace` in `SpacePermissions`.
- `addCustomContentPermissions` method added to `SpacePermissions`.
- `space` property added to `createSpaceProperty` in `SpaceProperties`.

### 1.1.3

- Vulnerabilities fixed
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,7 @@ Available groups:
- [contentVersions](https://developer.atlassian.com/cloud/confluence/rest/api-group-content-versions/#api-group-content-versions)
- [contentWatches](https://developer.atlassian.com/cloud/confluence/rest/api-group-content-watches/#api-group-content-watches)
- [dynamicModules](https://developer.atlassian.com/cloud/confluence/rest/api-group-dynamic-modules/#api-group-dynamic-modules)
- [experimental](https://developer.atlassian.com/cloud/confluence/rest/api-group-experimental/#api-group-experimental)
- [group](https://developer.atlassian.com/cloud/confluence/rest/api-group-group/#api-group-group)
- [inlineTasks](https://developer.atlassian.com/cloud/confluence/rest/api-group-inline-tasks/#api-group-inline-tasks)
- [labelInfo](https://developer.atlassian.com/cloud/confluence/rest/api-group-label-info/#api-group-label-info)
Expand Down
99 changes: 50 additions & 49 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "confluence.js",
"version": "1.1.3",
"version": "1.2.0",
"description": "confluence.js is a powerful Node.JS/Browser module that allows you to interact with the Confluence API very easily",
"main": "out/index.js",
"types": "out/index.d.ts",
Expand Down Expand Up @@ -36,21 +36,21 @@
"@types/express": "^4.17.13",
"@types/jest": "^26.0.24",
"@types/oauth": "^0.9.1",
"@types/sinon": "^10.0.2",
"@typescript-eslint/eslint-plugin": "^4.31.1",
"@typescript-eslint/parser": "^4.31.1",
"@types/sinon": "^10.0.4",
"@typescript-eslint/eslint-plugin": "^4.32.0",
"@typescript-eslint/parser": "^4.32.0",
"dotenv": "^10.0.0",
"eslint": "^7.32.0",
"eslint-config-airbnb": "^18.2.1",
"eslint-config-airbnb-typescript": "^14.0.0",
"eslint-import-resolver-typescript": "^2.5.0",
"eslint-plugin-import": "^2.24.2",
"jest": "^26.6.3",
"prettier": "^2.4.0",
"prettier": "^2.4.1",
"prettier-plugin-jsdoc": "^0.3.24",
"sinon": "^11.1.2",
"ts-jest": "^26.5.6",
"typedoc": "^0.22.3",
"typedoc": "^0.22.4",
"typescript": "^4.4.3"
},
"dependencies": {
Expand Down
Loading