Skip to content
This repository was archived by the owner on Oct 29, 2023. It is now read-only.

Commit a051173

Browse files
authored
Merge pull request #219 from data-provider/release
Release v3.1.0
2 parents 6805dce + 106c309 commit a051173

23 files changed

+44245
-7866
lines changed

.eslintrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"es6": true
55
},
66
"parserOptions": {
7-
"ecmaVersion": "2018",
7+
"ecmaVersion": 2018,
88
"sourceType": "module"
99
},
1010
"plugins": ["prettier", "react-hooks"],

.github/workflows/build.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,10 @@ jobs:
1010
runs-on: ubuntu-latest
1111
strategy:
1212
matrix:
13-
node: ["12.22.1", "14.17.0", "15.14.0", "16.1.0"]
13+
node: ["12.22.1", "14.17.0", "16.1.0", "17.2.0"]
1414
steps:
1515
- name: Checkout
1616
uses: actions/checkout@v2
17-
with:
18-
fetch-depth: 0
1917
- name: Extract branch name
2018
shell: bash
2119
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF##*/})"
@@ -43,8 +41,15 @@ jobs:
4341
- name: Test unit
4442
run: npm run test:unit
4543
- name: Test E2E
44+
if: ${{ matrix.node != '17.2.0'}}
4645
run: npm run test:e2e:ci
4746
id: test-e2e
47+
- name: Test E2E Node 17
48+
if: ${{ matrix.node == '17.2.0'}}
49+
run: npm run test:e2e:ci
50+
env:
51+
NODE_OPTIONS: --openssl-legacy-provider
52+
id: test-e2e-node-17
4853
- name: Upload E2E tests screenshots
4954
if: ${{ always() && steps.test-e2e.outcome == 'failure' }}
5055
uses: actions/upload-artifact@v2
@@ -64,6 +69,8 @@ jobs:
6469
steps:
6570
- name: Checkout
6671
uses: actions/checkout@v2
72+
with:
73+
fetch-depth: 0
6774
- name: Download test results
6875
uses: actions/download-artifact@v2
6976
with:

.github/workflows/publish-to-github.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
# Setup .npmrc file to publish to GitHub Packages
1313
- uses: actions/setup-node@v2
1414
with:
15-
node-version: '14.x'
15+
node-version: '16.x'
1616
registry-url: 'https://npm.pkg.github.com'
1717
# Defaults to the user or organization that owns the workflow file
1818
scope: '@data-provider'

.github/workflows/publish-to-npm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
- uses: actions/checkout@v2
1010
- uses: actions/setup-node@v2
1111
with:
12-
node-version: '14.x'
12+
node-version: '16.x'
1313
registry-url: 'https://registry.npmjs.org/'
1414
- run: npm ci
1515
- run: npm run build

.vscode/settings.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"sonarlint.connectedMode.project": {
3+
"connectionId": "data-provider",
4+
"projectKey": "data-provider_core"
5+
}
6+
}

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,17 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1111
### Removed
1212
### BREAKING CHANGES
1313

14+
## [3.1.0] - 2021-12-06
15+
16+
### Changed
17+
- chore: Support any NodeJs version >=12.x.
18+
- chore: Run tests also in NodeJs 17 in pipelines. Remove tests execution using NodeJs 15
19+
- test: Use 127.0.0.1 instead of localhost when requesting in tests for Node 17 support
20+
- chore: Update dependencies
21+
22+
### Fixed
23+
- docs: Remove broken npm dependencies badge
24+
1425
## [3.0.1] - 2021-05-19
1526

1627
### Added

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[![Build status][build-image]][build-url] [![Coverage Status][coveralls-image]][coveralls-url] [![Quality Gate][quality-gate-image]][quality-gate-url] [![Mutation testing badge][stryker-image]][stryker-url]
22

3-
[![NPM dependencies][npm-dependencies-image]][npm-dependencies-url] [![Renovate](https://img.shields.io/badge/renovate-enabled-brightgreen.svg)](https://renovatebot.com) [![Last commit][last-commit-image]][last-commit-url] [![Last release][release-image]][release-url]
3+
[![Renovate](https://img.shields.io/badge/renovate-enabled-brightgreen.svg)](https://renovatebot.com) [![Last commit][last-commit-image]][last-commit-url] [![Last release][release-image]][release-url]
44

55
[![NPM downloads][npm-downloads-image]][npm-downloads-url] [![License][license-image]][license-url]
66

@@ -213,8 +213,6 @@ Please read the [contributing guidelines](.github/CONTRIBUTING.md) and [code of
213213
[license-url]: https://github.com/data-provider/core/blob/master/LICENSE
214214
[npm-downloads-image]: https://img.shields.io/npm/dm/@data-provider/core.svg
215215
[npm-downloads-url]: https://www.npmjs.com/package/@data-provider/core
216-
[npm-dependencies-image]: https://img.shields.io/david/data-provider/core.svg
217-
[npm-dependencies-url]: https://david-dm.org/data-provider/core
218216
[quality-gate-image]: https://sonarcloud.io/api/project_badges/measure?project=data-provider_core&metric=alert_status
219217
[quality-gate-url]: https://sonarcloud.io/dashboard?id=data-provider_core
220218
[release-image]: https://img.shields.io/github/release-date/data-provider/core.svg

0 commit comments

Comments
 (0)