Skip to content

Commit 4aca2a5

Browse files
* endpoint types changed * type definition changed * version 2.0.1 * changelog added * issueTypeIds fixed * models types changed * - `Buffer.from` replaced to raw JS code in Basic authorization - Telemetry config type fixed - `noCheckAtlassianToken` flag added to config - Typing improves * tests added * The principles of running linter have been changed * 2.0.2 RC * API updates * Add attachment API fixed (MrRefactoring#106) * Error with attachment fixed * Max one github action in parallel * GitHub actions: create .env file * Action syntax fix * linter fixes * 2.0.3
1 parent df3b06d commit 4aca2a5

File tree

91 files changed

+604
-266
lines changed

Some content is hidden

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

91 files changed

+604
-266
lines changed

.env.example

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
HOST=
2+
EMAIL=
3+
API_TOKEN=

.github/workflows/ci.yaml

+7
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ jobs:
88
runs-on: ubuntu-latest
99

1010
strategy:
11+
max-parallel: 1
1112
matrix:
1213
node-version: [10.x, 12.x, 14.x]
1314

@@ -19,6 +20,12 @@ jobs:
1920
node-version: ${{ matrix.node-version }}
2021
- run: npm ci
2122
- run: npm install
23+
- name: Create .env file
24+
run: |
25+
touch .env
26+
echo HOST=${{ secrets.HOST }} >> .env
27+
echo EMAIL=${{ secrets.EMAIL }} >> .env
28+
echo API_TOKEN=${{ secrets.API_TOKEN }} >> .env
2229
- run: npm run build
2330
- run: npm test
2431
- run: npm run lint

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ coverage/
88
yarn.lock
99
yarn-error.log
1010
.DS_Store
11+
.env

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Jira.js changelog
22

3+
### 2.0.3
4+
5+
- Improved typing
6+
- Fixed the bug that it was impossible to attach an attachment to an issue
7+
- Other small improvements
8+
39
### 2.0.2
410

511
- `Buffer.from` replaced to raw JS code in Basic authorization

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ yarn add jira.js
5151

5252
## Telemetry information collection agreement
5353

54-
The use of this library may collect, record and transmit data about the operation of the library and related data, as well as potentially personal data, including ip address from which the request is made, user agent from the device from which the request is made, version of the library used, version of the telemetry sending library, name of the invoked method, authorization type information (can be configured), base configuration request usage information, callback information, onResponse middleware usage information, onError middleware usage information, queries usage information, body usage information in request, headers usage information in request, strict GDPR flag enabling information, HTTP response code (can be configured), request start date and time and response receipt date and time (can be configured).
54+
The use of this library may collect, record and transmit data about the operation of the library and related data, as well as potentially personal data, including ip address from which the request is made, user agent from the device from which the request is made, version of the library used, version of the telemetry sending library, name of the invoked method, authorization type information (can be configured), base configuration request usage information, callback information, onResponse middleware usage information, onError middleware usage information, queries usage information, body usage information in request, headers usage information in request, strict GDPR flag enabling information, HTTP response code (can be configured), request start date and time and response receipt date and time (can be configured), No check atlassian token flag enabling information.
5555

5656
The type and amount of data may vary with the version of the libraries and can be changed at any time without notice.
5757

0 commit comments

Comments
 (0)