Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added missed properties to fields model #148

Merged
merged 2 commits into from
Aug 2, 2021
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
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ yarn-error.log
tsconfig.tests.json
.env
.env.example
.prettierrc
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# Jira.js changelog

### 2.5.1

- Version 3:
- `duedate` property added to `Fields` model.
- `issuelinks` property added to `Fields` model.
- `environemnt` property added to `Fields` model.
- `parent` property added to `Fields` model.
- `expand` property in `GetIssue` improved.
- Version 2:
- `duedate` property added to `Fields` model.
- `issuelinks` property added to `Fields` model.
- `environemnt` property added to `Fields` model.
- `parent` property added to `Fields` model.
- `expand` property in `GetIssue` improved.

### 2.5.0

- Agile:
Expand Down
143 changes: 75 additions & 68 deletions package-lock.json

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

17 changes: 9 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jira.js",
"version": "2.5.0",
"version": "2.5.1",
"description": "jira.js is a powerful Node.JS/Browser module that allows you to interact with the Jira API very easily",
"main": "out/index.js",
"types": "out/index.d.ts",
Expand Down Expand Up @@ -44,29 +44,30 @@
"devDependencies": {
"@types/express": "^4.17.13",
"@types/jest": "^26.0.24",
"@types/node": "^16.3.3",
"@types/node": "^16.4.10",
"@types/oauth": "^0.9.1",
"@types/sinon": "^10.0.2",
"@typescript-eslint/eslint-plugin": "^4.28.3",
"@typescript-eslint/parser": "^4.28.3",
"@typescript-eslint/eslint-plugin": "^4.28.5",
"@typescript-eslint/parser": "^4.28.5",
"dotenv": "^10.0.0",
"eslint": "^7.30.0",
"eslint": "^7.32.0",
"eslint-config-airbnb-typescript": "^12.3.1",
"eslint-import-resolver-typescript": "^2.4.0",
"eslint-plugin-import": "^2.23.4",
"jest": "^26.6.3",
"prettier": "^2.3.2",
"prettier-plugin-jsdoc": "^0.3.23",
"sinon": "^11.1.1",
"sinon": "^11.1.2",
"ts-jest": "^26.5.6",
"typedoc": "^0.21.4",
"typedoc": "^0.21.5",
"typescript": "^4.3.5"
},
"dependencies": {
"atlassian-jwt": "^2.0.1",
"axios": "^0.21.1",
"form-data": "^4.0.0",
"oauth": "^0.9.15",
"telemetry.jira.js": "<2"
"telemetry.jira.js": "<2",
"tslib": "^2.3.0"
}
}
4 changes: 2 additions & 2 deletions src/clients/baseClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ export class BaseClient implements Client {
bodyExists: !!requestConfig.data,
callbackUsed: !!callback,
headersExists: !!requestConfig.headers,
libVersion: '2.5.0',
libVersionHash: 'e0ec59502f01e823900e3ffc31cec3c6',
libVersion: '2.5.1',
libVersionHash: 'd091fccc62e2d24ab101dbe01ce844f6',
methodName: telemetryData?.methodName || 'sendRequest',
onErrorMiddlewareUsed: !!this.config.middlewares?.onError,
onResponseMiddlewareUsed: !!this.config.middlewares?.onResponse,
Expand Down
Loading