Skip to content

Releases: WhatAKitty/react-native-fetch-mock

1.0.0

25 Oct 12:00
Compare
Choose a tag to compare

Breaking Changes

  • Support above nodejs 12.x

Feature

  • Security dependencies
  • Upgrade to babel v7

0.9.0

25 Oct 07:59
Compare
Choose a tag to compare

Support fallback to network feature. #6

0.8.0

14 Feb 13:52
Compare
Choose a tag to compare
  • upgrade path-to-regexp dependency

0.7.0

22 Mar 14:08
Compare
Choose a tag to compare

Support response.ok @bobenut

Delay fetch

04 Feb 07:22
Compare
Choose a tag to compare

NEW FEATURE

  • support global delay
  • support delay for some path

V0.5.2 The Version Support Proxy Other Server

27 Jan 07:57
Compare
Choose a tag to compare

NEW FEATURE

  • Support proxy for other servers
  • Don't need include this module under babel compile anymore
  • Support path-to-regexp in exclude and proxy path

0.4.0

22 Dec 09:48
Compare
Choose a tag to compare

Exclude path what you don't want to mock.

0.3.1

05 Nov 14:33
Compare
Choose a tag to compare

Support pure data

new:

// you could return array or object directly
return [];
return {};

old:

return {
  status: 200,
  data: []
}

0.3.0

01 Oct 07:12
Compare
Choose a tag to compare

Refactor response

0.2.0

06 Aug 10:57
Compare
Choose a tag to compare

Breaking changes

Return obj instead of promise

New Features

Support HTTP Method Declare

Example:

'POST /path/api': {}