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

4.0.0

Compare
Choose a tag to compare
@mischah mischah released this 04 Dec 15:43
· 15 commits to main since this release

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:

    // before
    const SetupEndpoint = require('./setup/setup.js');
    
    // now
    const SetupEndpoint = require('./setup/index.js');
    
    // or:
    const SetupEndpoint = require('./setup/');

See all changes between 3.2.4 and 4.0.0