Releases: birdofpreyru/react-native-static-server
v0.8.4
- [#66] Declares CMake v3.22.1 (released in December 2021) as the minimum supported version (and fails builds with older CMake).
- [#70] README: Somewhat improves instructions in Bundling-in Server Assets Into an App Statically for iOS.
- Allows to enable WebDAV for selected server routes. See Enabling WebDAV Module for details.
- Updates dependencies.
v0.8.3
- [#65] Corrects the configuration of library dependencies in
package.json
, and updates installation instructions. The library must be installed alongside its peer dependencies, thusnpx install-peerdeps @dr.pogodin/react-native-static-server
instead of justnpm install --save @dr.pogodin/react-native-static-server
. - Updates dependencies.
v0.8.2
-
[#49] Windows: Fixes Windows support in the library, and in the Example app. Note: the remaining problems were caused by stale react-native-fs (filesystem access) dependency being broken for the latest RN on Windows; and they were fixed by upgrading to its patched fork @dr.pogodin/react-native-fs. This patched fork, however, currently supports a limited subset of react-native-fs functionality only — be careful if you are to adopt the replacement for your particular project — see for details itinance/react-native-fs#1197, and https://github.com/birdofpreyru/react-native-fs/releases.
-
[#59] Cleans-up available ErrorLogOptions by removing
conditionCacheHandling
andsslNoise
flags. -
Updates dependencies.
v0.8.1
- [#49] Windows: Fixes development builds of Example app. Release builds of Example app are still crashing at start up.
- [#56] Fixes atomicity of server start-up and shut-down operations on all platforms, and ensures the library correctly handles reloads of JS layer (e.g. in development mode).
- [#57] A fix of CMake detection during the build.
- Updates dependencies.
v0.8.0
Breaking Changes
- [#48] The library and example app are migrated to [email protected] (from v0.71.10). It might require the same upgrade, and other related changes, in your host codebase.
- Support of Windows platform is broken. See #49 for details, and discussion.
Other Updates
- [#46] Fixes resolution of relative
fileDir
arguments inServer
's constructor() on non-Android platforms (i.e. uses main bundle path, instead of the document directory, as the base root on non-Android platforms). - Updates other dependencies.
v0.7.13
- Patches the Example App — on Mac Catalyst, at the launch, it used to open the app's resources folder in Finder.
- Updates dependencies.
v0.7.12
- [#41] Optimizes recurrent iOS & Mac Catalyst builds.
- [#43] Re-enables HTTP/2 support.
- Patches automatic port selection, ensuring the port availability is tested with the selected network address, and not just any address.
- Changes default (loopback) network address to be explicitly
127.0.0.1
, rather thanlocalhost
. - Updates dependencies; in particular Lighttpd v1.4.70 ⇒ v1.4.71.
- Minor corrections in README.
v0.7.11
-
Updates dependencies; in particular Lighttpd v1.4.69 ⇒ v1.4.70 (Lighttpd release notes).
-
[#29] iOS / macOS: A note regarding the correct Homebrew installation on M1 Mac machines is added to the library's README. On M1 Mac if Homebrew is relied upon for CMake installation, but not added to
PATH
explicitly, the library build step will likely fail to findcmake
command. -
[#37] Adds .removeAllStateListeners() and .removeStateListener() methods to server instances.
-
[#38] Improves server's .start() method to ensure the .origin field value is set as early as possible.
-
[#40] iOS: Ensures PCRE2 dependency is build for both arm64 and x86_64 architectures if target SDK supports them.
v0.7.10
- [#32] Android: Fixes support of React Native's Old Architecture (it was broken since v0.7.8).
- [#28] Windows: Fixes loading of built-in Lighttpd modules,
mod_indexfile
andmod_staticfile
(prior to v0.7.10 they were loaded from additionally compiled stand-alone DLLs). - Updates dependencies.
First Sponsor
Today my words of gratitude go to Luna4 Enterprises Inc. — the first sponsor of this library — the support for Windows and Mac Catalyst systems would not happen any time soon without their interest and financial contribution. A special thanks to @exotexot who helped this opportunity to happen. |
v0.7.9
- Patches the
errorLog
feature — prior to this release the log file, if opted, was not capturing error messages written early in the server launch flow. - Minor internal improvements.
- Updates dependencies.