Skip to content

Commit b46e2c6

Browse files
1.4.0 (#20)
* telemetry data removed from endpoints * #14 bugfix * deps update and lint fixes * 1.4.0 * Update CHANGELOG.md
1 parent 6e0ed4e commit b46e2c6

File tree

132 files changed

+2556
-3234
lines changed

Some content is hidden

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

132 files changed

+2556
-3234
lines changed

.eslintrc

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"parserOptions": {
77
"ecmaVersion": 2018,
88
"sourceType": "module",
9-
"project": "./tsconfig.tests.json"
9+
"project": "./tsconfig.lint.json"
1010
},
1111
"plugins": [
1212
"import"
@@ -24,6 +24,22 @@
2424
"import/no-cycle": "off",
2525
"no-underscore-dangle": "off",
2626
"lines-between-class-members": "off",
27+
"eol-last": "error",
28+
"sort-imports": [
29+
"error",
30+
{
31+
"ignoreCase": true,
32+
"ignoreDeclarationSort": false,
33+
"ignoreMemberSort": false,
34+
"memberSyntaxSortOrder": [
35+
"all",
36+
"single",
37+
"multiple",
38+
"none"
39+
],
40+
"allowSeparatedGroups": false
41+
}
42+
],
2743
"padding-line-between-statements": [
2844
"error",
2945
{

CHANGELOG.md

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

3+
- Analytics API added.
4+
- ContentContentState API added.
5+
- `deletePageTree` method added to `Experimental`.
6+
- `getUserProperties` method added to `Experimental`.
7+
- `getUserProperty` method added to `Experimental`.
8+
- `createUserProperty` method added to `Experimental`.
9+
- `updateUserProperty` method added to `Experimental`.
10+
- `deleteUserProperty` method added to `Experimental`.
11+
- `getContentStateSettings` method added to `Settings`.
12+
- Another small changes.
13+
- Personal Access token authentication added.
14+
315
### 1.3.0
416

517
- Telemetry removed (deprecated)

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ Usability, consistency, and performance are key focuses of confluence.js, and it
2323
- [Basic](#basic-authenticationhttpsdeveloperatlassiancomcloudconfluencebasic-auth-for-rest-apis)
2424
- [OAuth 2.0](#oauth-20httpsdeveloperatlassiancomcloudconfluenceoauth-2-3lo-apps)
2525
- [JWT](#jwthttpsdeveloperatlassiancomcloudconfluenceunderstanding-jwt)
26+
- [Personal access token](#personal-access-token)
2627
- [Your first request and using algorithm](#your-first-request-and-using-algorithm)
2728
- [Decreasing Webpack bundle size](#decreasing-webpack-bundle-size)
2829
- [Take a look at our other products](#take-a-look-at-our-other-products)
@@ -122,6 +123,19 @@ const client = new ConfluenceClient({
122123
});
123124
```
124125

126+
##### [Personal access token](https://confluence.atlassian.com/enterprise/using-personal-access-tokens-1026032365.html)
127+
128+
```typescript
129+
import { ConfluenceClient } from 'confluence.js';
130+
131+
const client = new ConfluenceClient({
132+
host: 'https://your-domain.atlassian.net',
133+
authentication: {
134+
personalAccessToken: 'secrectPAT',
135+
},
136+
});
137+
```
138+
125139
#### Your first request and using algorithm
126140

127141
```typescript
@@ -221,6 +235,7 @@ client.<group>.<methodName>(parametersObject);
221235

222236
Available groups:
223237

238+
- [analytics](https://developer.atlassian.com/cloud/confluence/rest/api-group-analytics/)
224239
- [audit](https://developer.atlassian.com/cloud/confluence/rest/api-group-audit)
225240
- [content](https://developer.atlassian.com/cloud/confluence/rest/api-group-content/)
226241
- [contentAttachments](https://developer.atlassian.com/cloud/confluence/rest/api-group-content---attachments/#api-group-content---attachments)

0 commit comments

Comments
 (0)