You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+17Lines changed: 17 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,22 @@
1
1
# Jira.js changelog
2
2
3
+
### 3.0.0
4
+
5
+
#### **Breaking Changes:**
6
+
-**Avatar Endpoints Updates:**
7
+
- Methods `avatar.getAvatarImageByID`, `getAvatarImageByType`, and `getAvatarImageByOwner` have an updated return type. Avatars will now be returned as binary data.
8
+
-`storeAvatar` endpoint has been fixed. It now both accepts and sends the `avatar` property.
9
+
10
+
-**Authentication Changes:**
11
+
- Removed OAuth and JWT authentication. This might be reintroduced with proper testing support in the future.
12
+
13
+
-**API Clean-Up:**
14
+
- Deprecated and unused components from Agile, ServiceDesk, Version2, and Version3 APIs have been removed.
@@ -34,7 +31,7 @@ Usability, consistency, and performance are key focuses of jira.js, and it also
34
31
35
32
## Installation
36
33
37
-
**Node.js 10.0.0 or newer is required.**
34
+
**Node.js 18.0.0 or newer is required.**
38
35
39
36
Install with the npm:
40
37
@@ -52,56 +49,6 @@ yarn add jira.js
52
49
53
50
You can find the documentation [here](https://mrrefactoring.github.io/jira.js/).
54
51
55
-
## Deprecation warnings
56
-
57
-
1. Deprecation warning: New error handling mechanism added. Please use `newErrorHandling: true` in config
58
-
> We are using a new error handling mechanism (instead throwing raw axios error will be showed API response). For enable it, make following changes in your config:
59
-
> ```ts
60
-
>const client =newVersion3Client({
61
-
> host: '...',
62
-
> newErrorHandling: true, // This flag enable new error handling.
Only the authorization token is currently supported. To release it, you need to read the [documentation](https://developer.atlassian.com/cloud/jira/platform/oauth-2-3lo-apps/) and write your own code to get the token.
@@ -181,23 +110,6 @@ const client = new Version3Client({
0 commit comments