Skip to content
This repository was archived by the owner on Mar 28, 2022. It is now read-only.

Commit b9f0c8b

Browse files
authored
Merge pull request #160 from mocks-server/release
Release v4.0.0
2 parents 4f5e4e9 + eb5356f commit b9f0c8b

26 files changed

+47239
-11192
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ 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
@@ -43,8 +43,15 @@ jobs:
4343
- name: build
4444
run: npm run build
4545
- name: Test E2E
46+
if: ${{ matrix.node != '17.2.0'}}
4647
run: npm run test:e2e:ci
4748
id: test-e2e
49+
- name: Test E2E Node 17
50+
if: ${{ matrix.node == '17.2.0'}}
51+
run: npm run test:e2e:ci
52+
env:
53+
NODE_OPTIONS: --openssl-legacy-provider
54+
id: test-e2e-node-17
4855
- name: Upload E2E tests screenshots
4956
if: ${{ always() && steps.test-e2e.outcome == 'failure' }}
5057
uses: actions/upload-artifact@v2

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- run: npm run build
1212
- uses: actions/setup-node@v2
1313
with:
14-
node-version: '14.x'
14+
node-version: '16.x'
1515
registry-url: 'https://npm.pkg.github.com'
1616
# Defaults to the user or organization that owns the workflow file
1717
scope: '@mocks-server'

.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

CHANGELOG.md

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

14+
## [4.0.0] - 2021-12-05
15+
16+
### Changed
17+
- feat: Change default `baseUrl` config to `http://127.0.0.1:3100` for better NodeJS 17 support
18+
- chore: Support any NodeJs version >=12.0.0
19+
- chore: Run tests also in NodeJs 17 in pipelines. Remove tests execution using NodeJs 15
20+
- chore: Update devDependencies
21+
22+
### Fixed
23+
- fix: Remove console
24+
- docs: Remove broken npm dependencies badge
25+
1426
## [3.0.0] - 2021-05-25
1527

1628
### 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]
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

@@ -108,8 +108,6 @@ Please read the [contributing guidelines](.github/CONTRIBUTING.md) and [code of
108108
[license-url]: https://github.com/mocks-server/admin-api-client-data-provider/blob/master/LICENSE
109109
[npm-downloads-image]: https://img.shields.io/npm/dm/@mocks-server/admin-api-client-data-provider.svg
110110
[npm-downloads-url]: https://www.npmjs.com/package/@mocks-server/admin-api-client-data-provider
111-
[npm-dependencies-image]: https://img.shields.io/david/mocks-server/admin-api-client-data-provider.svg
112-
[npm-dependencies-url]: https://david-dm.org/mocks-server/admin-api-client-data-provider
113111
[quality-gate-image]: https://sonarcloud.io/api/project_badges/measure?project=mocks-server_admin-api-client-data-provider&metric=alert_status
114112
[quality-gate-url]: https://sonarcloud.io/dashboard?id=mocks-server_admin-api-client-data-provider
115113
[release-image]: https://img.shields.io/github/release-date/mocks-server/admin-api-client-data-provider.svg

0 commit comments

Comments
 (0)