This repository has been archived by the owner on Mar 28, 2022. It is now read-only.
Releases: mocks-server/admin-api-client
Releases · mocks-server/admin-api-client
Support NodeJS v17
Changed
- feat: Change default
baseUrl
config tohttp://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
Added
- feat: Add node v16.x to engines
Changed
- Update dependencies
Support Core v2 features
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 intoadminApiPath
- feat: Update mocks-server dependencies to v2 versions and adapt routes and tests.
Removed
- feat: Make entities private
BREAKING CHANGES
- Core and plugins updated to v2. Please read the migration from v1.x guide and the Core v2 release notes for further info.
- Rename
apiPath
config property intoadminApiPath
- Removed previous entity-based methods
Rename methods
Changed
- chore(deps): Update dependencies. Adapt tests
- feat: Rename
apiPath
config property intoadminApiPath
- feat: Rename
readMockCustomRoutesVariants
method intoreadCustomRoutesVariants
- feat: Rename
addMockCustomRouteVariant
method intouseRouteVariant
- feat: Rename
restoreMockRoutesVariants
method intorestoreRoutesVariants
v3.0.0 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
Node v15.x support
Added
- chore(deps): Add support for Node.js v15.x
Changed
- chore(ci): Migrate from Travis CI to github actions
Update dependencies
Changed
- Update dependencies
Update dependencies
Changed
- Update dependencies
Update dependencies
Changed
- Update dependencies