Releases: micromata/generator-http-fake-backend
4.1.0
Features
- Add possibility to define custom response header (2bd6abb), closes micromata/http-fake-backend#10
See all changes since the last release.
4.0.0
We moved from v2.0.1 to v4.0.0 and skipped v3.x to be on the same major level as the underlying http-fake-backend to avoid confusion.
Bug Fixes
- dependencies: Fix linting errors caused by eslint update (a51aad3)
- dependencies: Revert gulp-mocha to 3.x (b005b7c), closes sindresorhus/gulp-mocha#159
- dependencies: update dependencies (09fb881)
- automatically install with npm if Yarn isn’t available (1fe4844), closes #5
- Remove Gulp and replace Mocha with Jest (#6) (475b466)
- Update dependencies (4df3ba1)
- Update dependencies of generated project (60e1ace)
- update dependencies of the Yeoman generator (f1ff18e)
Chores
- Update required minimum Node version to 6.0.0 (6c32225)
Features
-
Update fake backend to 4.0.2 (05e234d), closes #7 #11
http-fake-backend 4.0.2
Bug Fixes
- update minimum node version in package.json
Change
engines.node
to>=6.0.0
to reflect the minimum node version which is needed since http-fake-backend 4.0.0.http-fake-backend 4.0.1
Bug Fixes
- encoding of binary files send via endpoints
http-fake-backend 4.0.0
Bug Fixes
- dependencies: Apply changes of boom update
- dependencies: Update dependencies
Code Refactoring
- Refactor existing codebase
Documentation
- Update required minimum Node version in readme
Features
- Add support for other response content-types, closes #7
- Add support for sending files as response, closes #11
BREAKING CHANGES
- The transitive dependency punycode@2.1.0 needs Node version ">=6".
- The setup.js is divided to multiple files.
Therefore you need to change the import of the setup in your endpoint files
like the following:
// before const SetupEndpoint = require('./setup/setup.js'); // now const SetupEndpoint = require('./setup/index.js'); // or: const SetupEndpoint = require('./setup/');
BREAKING CHANGES
- This project now needs Node 6 or greater.
See all changes since the last release.
Version 2.0.1
Version 2.0.0
Breaking change
The Yeoman generator now uses Yarn to install dependencies.
Note
You still can manually use npm install
after generating the files in case you don’t have installed Yarn:
Changes
Version 1.2.1
Version 1.2.0
Changes
- 82daef5 Add info about using yarn to the README
- 6c9f40e Add yarn related changes from http-fake-backend v3.2.0
- d1b3887 Update dev dependencies
New Feature: The generated project now comes with a Yarn lockfile
Using Yarn for installing the generated project is fully optional.
You have to skip the default installation method as long as yeoman don’t offer using Yarn instead of npm for installation, If you like to take advantage of Yarn:
yo http-fake-backend --skip-install && yarn install
Version 1.1.1
Version 1.1.0
Changes
- d3e9794 Feature: Add prompts for entering HTTP status codes
- 6d93782 Update and pin dependencies of the generator
- 8edaac1 Update http-fake-backend to v3.1.0
New Feature: Add prompts for entering HTTP status codes
You now can decide between a JSON file, a self defined JavaScript Object or a predefined error object as response for your request.
In addition you can set a custom HTTP status code instead of the default 200
for your successful responses.