Skip to content

Releases: birdofpreyru/react-native-static-server

v0.15.0

08 May 13:46
Compare
Choose a tag to compare
  • [#105] Upgrade to RN@0.74.
  • Update of dependencies.

v0.14.0

03 May 15:39
Compare
Choose a tag to compare

v0.13.0

12 Apr 17:09
Compare
Choose a tag to compare

Breaking Changes

  • iOS: Patched the way stopInBackground option (see constructor() docs) treats "inactive" app state (in which the app is not focused, but may continue to work as normal, unlike in the background). Before this change entering the inactive state was considered as entering the background, thus the server was stopped (if stopInBackground was opted-in), and it was only re-started when the app entered the active state. Now the inactive state is considered as the foreground, i.e. the server is stopped when entering any other state beside active and inactive, and it is re-started when entering either active or inactive state (transitions back-and-forth between active and inactive states have no effect on the server state).

Other Updates

v0.12.0

18 Mar 22:29
Compare
Choose a tag to compare
  • Updates dependencies, in particular:
    • [#101] Lighttpd v1.4.74 ⇒ v1.4.75.
    • React Native v0.73.4 ⇒ v0.73.6.

v0.11.0

26 Feb 13:10
Compare
Choose a tag to compare

Important

  • Updates dependencies, in particular [#100] Lighttpd v1.4.73 ⇒ v1.4.74.

Misc Changes

  • [#96] Windows: Improves a few native error messages, including server ID into them.
  • [#99] Enables support of SetEnv module (allows to modify request and response headers).

v0.10.5

31 Jan 18:14
Compare
Choose a tag to compare

Important

Misc

  • [#98] Improves an error message.

v0.10.4

24 Jan 15:50
Compare
Choose a tag to compare
  • [#65] Updates dependencies + Minor improvements.

v0.10.3

19 Jan 22:32
Compare
Choose a tag to compare
  • [#97] Patches the "Stop in background" feature (see the stopInBackground option of Sever.constructor()) to avoid unhandled promise rejections if server crashes during such auto-stop (auto-restart), and there are state listeners connected to the server (we assume they are handling such errors). It still leaves such promise rejections unhandled if no state listeners are connected (e.g. that allows optional instrumentation, like Sentry, to detect and report these unhandled rejections, attracting attention to possible issues with the host app).
  • Updates dependencies.

v0.10.2

05 Jan 01:33
Compare
Choose a tag to compare
  • [#96] Android, iOS, macOS: Improved native error messages.
  • Updates dependencies.

v0.10.1

27 Dec 00:00
Compare
Choose a tag to compare