Skip to content

Commit baf2115

Browse files
1.2.0 (#7)
* 1.2.0 * changelog fixed
1 parent 8a712de commit baf2115

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+1139
-400
lines changed

.github/workflows/publish.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,6 @@ jobs:
2020
echo HOST=${{ secrets.HOST }} >> .env
2121
echo EMAIL=${{ secrets.EMAIL }} >> .env
2222
echo API_TOKEN=${{ secrets.API_TOKEN }} >> .env
23-
- name: Building sources
24-
run: npm run build
25-
- name: Tests
26-
run: npm run test
27-
- name: Linting
28-
run: npm run lint
29-
env:
30-
CI: true
3123
- name: Publishing
3224
run: npm publish
3325
env:

CHANGELOG.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,35 @@
11
# Changelog
22

3+
### 1.2.0
4+
5+
- Cloud API
6+
- `archivePages` method added to `Content`.
7+
- `publishLegacyDraft` request fixed in `Content` class.
8+
- `publishSharedDraft` request fixed in `Content` class.
9+
- `downloadAttachment` method added to `ContentAttachments`.
10+
- `descendantsOfType` renamed to `getDescendantsOfType` in `ContentChildrenAndDescendants`.
11+
- `permissionCheck` renamed to `checkContentPermission` in `ContentPermissions`.
12+
- `key` property added to `getContentProperties` request in `ContentProperties`.
13+
- Added `Experemental` API.
14+
- `accessType` property added to `getGroups` request in `Group`.
15+
- `removeGroupById` method added to `Group`.
16+
- `getGroup` renamed to `getGroupByName` in `Group`.
17+
- `getGroupsSearch` renamed to `searchGroups` in `Group`.
18+
- `accountId` property added to `addUserToGroupByGroupId` in `Group`.
19+
- `accountId` property added to `addUserToGroup` in `Group`.
20+
- `getTaskById` method added to `InlineTasks`.
21+
- `updateTaskById` method added to `InlineTasks`.
22+
- `GetRelationship` renamed to `getRelationship` in `Relation`.
23+
- `delete` renamed to `deleteRelationship` in `Relation`.
24+
- `search` renamed to `searchByCQL` in `Search`.
25+
- `userSearch` renamed to `searchUser` in `Search`.
26+
- `horizontalHeader`, `spaceReference`, `links` properties added to `updateLookAndFeelSettings` in `Settings`.
27+
- `permissions` property added to `createPrivateSpace` in `Space`.
28+
- `type` and `status` properties added to `updateSpace` in `Space`.
29+
- `addPermission` renamed to `addPermissionToSpace` in `SpacePermissions`.
30+
- `addCustomContentPermissions` method added to `SpacePermissions`.
31+
- `space` property added to `createSpaceProperty` in `SpaceProperties`.
32+
333
### 1.1.3
434

535
- Vulnerabilities fixed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,7 @@ Available groups:
292292
- [contentVersions](https://developer.atlassian.com/cloud/confluence/rest/api-group-content-versions/#api-group-content-versions)
293293
- [contentWatches](https://developer.atlassian.com/cloud/confluence/rest/api-group-content-watches/#api-group-content-watches)
294294
- [dynamicModules](https://developer.atlassian.com/cloud/confluence/rest/api-group-dynamic-modules/#api-group-dynamic-modules)
295+
- [experimental](https://developer.atlassian.com/cloud/confluence/rest/api-group-experimental/#api-group-experimental)
295296
- [group](https://developer.atlassian.com/cloud/confluence/rest/api-group-group/#api-group-group)
296297
- [inlineTasks](https://developer.atlassian.com/cloud/confluence/rest/api-group-inline-tasks/#api-group-inline-tasks)
297298
- [labelInfo](https://developer.atlassian.com/cloud/confluence/rest/api-group-label-info/#api-group-label-info)

package-lock.json

Lines changed: 50 additions & 49 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "confluence.js",
3-
"version": "1.1.3",
3+
"version": "1.2.0",
44
"description": "confluence.js is a powerful Node.JS/Browser module that allows you to interact with the Confluence API very easily",
55
"main": "out/index.js",
66
"types": "out/index.d.ts",
@@ -36,21 +36,21 @@
3636
"@types/express": "^4.17.13",
3737
"@types/jest": "^26.0.24",
3838
"@types/oauth": "^0.9.1",
39-
"@types/sinon": "^10.0.2",
40-
"@typescript-eslint/eslint-plugin": "^4.31.1",
41-
"@typescript-eslint/parser": "^4.31.1",
39+
"@types/sinon": "^10.0.4",
40+
"@typescript-eslint/eslint-plugin": "^4.32.0",
41+
"@typescript-eslint/parser": "^4.32.0",
4242
"dotenv": "^10.0.0",
4343
"eslint": "^7.32.0",
4444
"eslint-config-airbnb": "^18.2.1",
4545
"eslint-config-airbnb-typescript": "^14.0.0",
4646
"eslint-import-resolver-typescript": "^2.5.0",
4747
"eslint-plugin-import": "^2.24.2",
4848
"jest": "^26.6.3",
49-
"prettier": "^2.4.0",
49+
"prettier": "^2.4.1",
5050
"prettier-plugin-jsdoc": "^0.3.24",
5151
"sinon": "^11.1.2",
5252
"ts-jest": "^26.5.6",
53-
"typedoc": "^0.22.3",
53+
"typedoc": "^0.22.4",
5454
"typescript": "^4.4.3"
5555
},
5656
"dependencies": {

0 commit comments

Comments
 (0)