Skip to content

Commit c2b9518

Browse files
Added missed properties to fields model (#148)
* Added missed properties to fields model. Typing improvements for fields model. * 2.5.1
1 parent 85ecf40 commit c2b9518

File tree

15 files changed

+265
-144
lines changed

15 files changed

+265
-144
lines changed

.npmignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@ yarn-error.log
1313
tsconfig.tests.json
1414
.env
1515
.env.example
16+
.prettierrc

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
# Jira.js changelog
22

3+
### 2.5.1
4+
5+
- Version 3:
6+
- `duedate` property added to `Fields` model.
7+
- `issuelinks` property added to `Fields` model.
8+
- `environemnt` property added to `Fields` model.
9+
- `parent` property added to `Fields` model.
10+
- `expand` property in `GetIssue` improved.
11+
- Version 2:
12+
- `duedate` property added to `Fields` model.
13+
- `issuelinks` property added to `Fields` model.
14+
- `environemnt` property added to `Fields` model.
15+
- `parent` property added to `Fields` model.
16+
- `expand` property in `GetIssue` improved.
17+
318
### 2.5.0
419

520
- Agile:

package-lock.json

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

package.json

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jira.js",
3-
"version": "2.5.0",
3+
"version": "2.5.1",
44
"description": "jira.js is a powerful Node.JS/Browser module that allows you to interact with the Jira API very easily",
55
"main": "out/index.js",
66
"types": "out/index.d.ts",
@@ -44,29 +44,30 @@
4444
"devDependencies": {
4545
"@types/express": "^4.17.13",
4646
"@types/jest": "^26.0.24",
47-
"@types/node": "^16.3.3",
47+
"@types/node": "^16.4.10",
4848
"@types/oauth": "^0.9.1",
4949
"@types/sinon": "^10.0.2",
50-
"@typescript-eslint/eslint-plugin": "^4.28.3",
51-
"@typescript-eslint/parser": "^4.28.3",
50+
"@typescript-eslint/eslint-plugin": "^4.28.5",
51+
"@typescript-eslint/parser": "^4.28.5",
5252
"dotenv": "^10.0.0",
53-
"eslint": "^7.30.0",
53+
"eslint": "^7.32.0",
5454
"eslint-config-airbnb-typescript": "^12.3.1",
5555
"eslint-import-resolver-typescript": "^2.4.0",
5656
"eslint-plugin-import": "^2.23.4",
5757
"jest": "^26.6.3",
5858
"prettier": "^2.3.2",
5959
"prettier-plugin-jsdoc": "^0.3.23",
60-
"sinon": "^11.1.1",
60+
"sinon": "^11.1.2",
6161
"ts-jest": "^26.5.6",
62-
"typedoc": "^0.21.4",
62+
"typedoc": "^0.21.5",
6363
"typescript": "^4.3.5"
6464
},
6565
"dependencies": {
6666
"atlassian-jwt": "^2.0.1",
6767
"axios": "^0.21.1",
6868
"form-data": "^4.0.0",
6969
"oauth": "^0.9.15",
70-
"telemetry.jira.js": "<2"
70+
"telemetry.jira.js": "<2",
71+
"tslib": "^2.3.0"
7172
}
7273
}

src/clients/baseClient.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ export class BaseClient implements Client {
8484
bodyExists: !!requestConfig.data,
8585
callbackUsed: !!callback,
8686
headersExists: !!requestConfig.headers,
87-
libVersion: '2.5.0',
88-
libVersionHash: 'e0ec59502f01e823900e3ffc31cec3c6',
87+
libVersion: '2.5.1',
88+
libVersionHash: 'd091fccc62e2d24ab101dbe01ce844f6',
8989
methodName: telemetryData?.methodName || 'sendRequest',
9090
onErrorMiddlewareUsed: !!this.config.middlewares?.onError,
9191
onResponseMiddlewareUsed: !!this.config.middlewares?.onResponse,

0 commit comments

Comments
 (0)