http-fake-backend v4.0.0 Release Notes

Release Date: 2017-12-04 // over 6 years ago
  • ๐Ÿ› Bug Fixes

    • dependencies: Apply changes of boom update (a17f805)
    • dependencies: Update dependencies (ab5974a)
    • dependencies: Update dependencies (f362c9c)
    • โšก๏ธ update dependencies (bbd445b)

    ๐Ÿ”จ Code Refactoring

    • ๐Ÿ”จ Refactor existing codebase (3751899)

    ๐Ÿ“š Documentation

    • โšก๏ธ Update required minimum Node version in readme (e1c549b)

    ๐Ÿ”‹ Features

    • โž• Add support for other response content-types (c9a7d12), closes #7
    • โž• Add support for sending files as response (70d535f), closes #11

    ๐Ÿ’ฅ BREAKING CHANGES

    The transitive dependency [email protected] 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:

    // beforeconst SetupEndpoint = require('./setup/setup.js');// nowconst SetupEndpoint = require('./setup/index.js');// or:const SetupEndpoint = require('./setup/');
    

    ๐Ÿ‘€ See all changes between 3.2.4 and 4.0.0