Skip to content
This repository has been archived by the owner. It is now read-only.

Commit bfd690f

Browse files
authored
Merge pull request #187 from mocks-server/release
Release v3.0.0
2 parents 2683a2d + 31a0b1b commit bfd690f

File tree

15 files changed

+17854
-2799
lines changed

15 files changed

+17854
-2799
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:
14-
node: ["12.22.1", "14.17.0", "15.14.0", "16.1.0"]
14+
node: ["12.22.1", "14.17.0", "16.1.0", "17.2.0"]
1515
steps:
1616
- name: Checkout
1717
uses: actions/checkout@v2

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

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

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
- run: npm ci
1111
- uses: actions/setup-node@v2
1212
with:
13-
node-version: '14.x'
13+
node-version: '16.x'
1414
registry-url: 'https://registry.npmjs.org/'
1515
- run: npm publish
1616
env:

CHANGELOG.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,17 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
99
### Changed
1010
### Fixed
1111
### Removed
12-
### Breaking changes
12+
13+
## [3.0.0] - 2021-12-05
14+
15+
### Changed
16+
- chore(deps): BREAKING CHANGE - Update `@mocks-server/admin-api-client` to 4.0.0, so from now default `MOCKS_SERVER_BASE_URL` is `http://127.0.0.1:3100`
17+
- chore: Support any NodeJs version >=12.0.0
18+
- chore: Run tests also in NodeJs 17 in pipelines. Remove tests execution using NodeJs 15
19+
- chore: Update devDependencies
20+
21+
### Fixed
22+
- docs: Remove broken npm dependencies badge
1323

1424
## [2.1.0] - 2021-05-29
1525
### Added

README.md

Lines changed: 3 additions & 5 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

@@ -61,11 +61,11 @@ Legacy method that sets behavior in Mocks Server v1.x
6161

6262
## Configuration
6363

64-
By default, the API client is configured to request to `http://localhost:3100/admin`, based in the [default Mocks Server options][mocks-server-options-url]
64+
By default, the API client is configured to request to `http://127.0.0.1:3100/admin`, based in the [default Mocks Server options][mocks-server-options-url]
6565

6666
You can change both the base url of Mocks Server, and the api path of the administration API using the `cy.mocksConfig` command mentioned above, or the plugin environment variables:
6767

68-
* __`MOCKS_SERVER_BASE_URL`__: Modifies the base url of Mocks Server. Default is `http://localhost:3100`.
68+
* __`MOCKS_SERVER_BASE_URL`__: Modifies the base url of Mocks Server. Default is `http://127.0.0.1:3100`.
6969
* __`MOCKS_SERVER_ADMIN_API_PATH`__: Modifies the path of the Mocks Server administration API. Default is `/admin`.
7070
* __`MOCKS_SERVER_ENABLED`__: Disables requests to Mocks Server, so the commands will not fail even when Mocks Server is not running. This is useful to reuse same tests with mocks and a real API, because commands to change Mocks Server settings will be ignored.
7171

@@ -119,8 +119,6 @@ MIT, see [LICENSE](./LICENSE) for details.
119119
[license-url]: https://github.com/mocks-server/cypress-commands/blob/master/LICENSE
120120
[npm-downloads-image]: https://img.shields.io/npm/dm/@mocks-server/cypress-commands.svg
121121
[npm-downloads-url]: https://www.npmjs.com/package/@mocks-server/cypress-commands
122-
[npm-dependencies-image]: https://img.shields.io/david/mocks-server/cypress-commands.svg
123-
[npm-dependencies-url]: https://david-dm.org/mocks-server/cypress-commands
124122
[quality-gate-image]: https://sonarcloud.io/api/project_badges/measure?project=mocks-server_cypress-commands&metric=alert_status
125123
[quality-gate-url]: https://sonarcloud.io/dashboard?id=mocks-server_cypress-commands
126124
[release-image]: https://img.shields.io/github/release-date/mocks-server/cypress-commands.svg

0 commit comments

Comments
 (0)