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

Releases: mocks-server/admin-api-client

Support NodeJS v17

05 Dec 10:26
2ca052a
Compare
Choose a tag to compare

Changed

  • feat: Change default baseUrl config to http://127.0.0.1:3100 for better NodeJS 17 support
  • chore: Support any NodeJs version >=12.0.0
  • chore: Run tests also in NodeJs 17 in pipelines. Remove tests execution using NodeJs 15
  • chore: Update devDependencies

Fixed

  • docs: Remove broken npm dependencies badge

Support Node.js v16

24 May 10:32
24d6c81
Compare
Choose a tag to compare

Added

  • feat: Add node v16.x to engines

Changed

  • Update dependencies

Support Core v2 features

17 Feb 18:49
e4f3473
Compare
Choose a tag to compare

Added

  • feat: Expose one different method for each action.
  • feat: Reject promises in case of status code different to 2xx

Changed

  • feat: Rename apiPath config property into adminApiPath
  • feat: Update mocks-server dependencies to v2 versions and adapt routes and tests.

Removed

  • feat: Make entities private

BREAKING CHANGES

Rename methods

16 Feb 19:19
8e7698e
Compare
Choose a tag to compare
Rename methods Pre-release
Pre-release

Changed

  • chore(deps): Update dependencies. Adapt tests
  • feat: Rename apiPath config property into adminApiPath
  • feat: Rename readMockCustomRoutesVariants method into readCustomRoutesVariants
  • feat: Rename addMockCustomRouteVariant method into useRouteVariant
  • feat: Rename restoreMockRoutesVariants method into restoreRoutesVariants

v3.0.0 pre-release

15 Feb 17:54
e11de7b
Compare
Choose a tag to compare
v3.0.0 pre-release Pre-release
Pre-release

Added

  • feat: Expose one different method for each action.
  • feat: Reject promises in case of status code different to 2xx

Changed

  • feat: Update mocks-server dependencies to v2 beta versions and adapt routes and tests.

Removed

  • feat: Make entities private

Breaking change

  • Removed previous entity-based methods

Alerts methods

26 Dec 11:02
e21cdbc
Compare
Choose a tag to compare

Added

  • feat: Add method for reading alerts (#94)

Changed

  • chore(lint): Lint mocks folder
  • test(refactor): Move helpers to a support folder

Fixed

  • fix: Remove mocks-server-plugin tag from package.json (#93)

Node v15.x support

21 Dec 10:42
a8f692d
Compare
Choose a tag to compare

Added

  • chore(deps): Add support for Node.js v15.x

Changed

  • chore(ci): Migrate from Travis CI to github actions

Update dependencies

28 Oct 17:17
848b6b6
Compare
Choose a tag to compare

Changed

  • Update dependencies

Update dependencies

14 Jun 11:00
8d54a78
Compare
Choose a tag to compare

Changed

  • Update dependencies

Update dependencies

10 Apr 08:09
05e0b8c
Compare
Choose a tag to compare

Changed

  • Update dependencies