Skip to content
This repository has been archived by the owner on Oct 20, 2023. It is now read-only.

Releases: micromata/generator-http-fake-backend

4.1.0

22 Feb 22:16
Compare
Choose a tag to compare

Features


See all changes since the last release.

4.0.0

19 Feb 09:56
Compare
Choose a tag to compare

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

02 Apr 00:13
Compare
Choose a tag to compare

Basically just updated dependencies 📦

Changes

Version 2.0.0

20 Dec 20:47
v2.0.0
d97c804
Compare
Choose a tag to compare

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:
image

Changes

  • 4e6739a Fix typo
  • b7d7011 ES6ify generator code
  • b23c62e Install dependencies via Yarn 🎉
  • cc63e08 Adapt breaking changes of yeoman-generator 1.0.0 🎉
  • ebde9f1 Add yarn lock file for the generator
  • a8a0e23 Update dependencies of generator
  • c79d71e Update http-fake-backend to v3.2.2

Version 1.2.1

27 Nov 12:38
Compare
Choose a tag to compare

Just updated dependencies and did some repo/tooling maintenance 💅

Changes

Version 1.2.0

16 Oct 19:36
Compare
Choose a tag to compare

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

07 Oct 07:02
Compare
Choose a tag to compare

Just a little bugfix release …

Changes

Version 1.1.0

28 Sep 20:52
Compare
Choose a tag to compare

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.

Demo

Version 1.0.7

17 Sep 11:28
Compare
Choose a tag to compare

Changes

  • 1533845 Update http-fake-backend to v3.0.7
  • c6be55b Update dependencies of the generator

Version 1.0.6

27 Aug 21:27
Compare
Choose a tag to compare

Changes

  • acc777a Update dependencies of the generator
  • 1e4a5ea Update http-fake-backend to v3.0.6