Skip to content

Releases: yihui/servr

servr 0.22

14 Apr 15:24
Compare
Choose a tag to compare
  • When the global option options(servr.test.0.0.0.0 = TRUE), random_port() tests the availability of a port at the host address 0.0.0.0 when the requested host address is 127.0.0.1.

servr 0.21

14 Dec 06:28
Compare
Choose a tag to compare
  • Added a new argument hosturl to server_config().

  • Added a new argument filter to httw() to allow users to filter file paths on the watch list (thanks, @ARawles, #51).

servr 0.20

19 Oct 13:35
Compare
Choose a tag to compare
  • server_config() will add a leading / to baseurl if it has not already been included.

servr 0.19

06 Oct 21:05
Compare
Choose a tag to compare
  • server_config() also returns the daemon value in the list.

servr 0.18

29 Jul 02:21
Compare
Choose a tag to compare
  • Fixed the malformed Accept-Ranges header (thanks, @JasonPunyon, #47).

  • servr::random_port() looks for an available port quietly via httpuv::startServer(quiet = TRUE). This requires httpuv >= v1.5.2.

servr 0.17

27 May 01:35
Compare
Choose a tag to compare
  • Added an argument open to servr::browse_last() so users can decide whether to reopen the lastly browsed page.

servr 0.16

03 Mar 03:54
Compare
Choose a tag to compare
  • Refinements to HTTP range request responses. Open-ended range requests (including "Range: bytes=0-") should now be correctly handled (thanks, @raymondben, #41).

servr 0.15

07 Aug 14:29
Compare
Choose a tag to compare

BUG FIXES

  • When the environment variable R_SERVR_PORT is set, server_config() may issue a superfluous warning "createTcpServer: address already in use" due to an unnecessary call to random_port() (thanks, @itcarroll, #39).

servr 0.14

11 Jun 20:47
Compare
Choose a tag to compare

NEW FEATURES

servr 0.13

04 Mar 21:30
Compare
Choose a tag to compare

NEW FEATURES

  • Added a verbose argument to server_config().

  • The interval argument of server_config() can be set via the global option servr.interval now. For example, options(servr.interval = 0.5).

MAJOR CHANGES

  • Server functions such as httd() now return the config object created by server_config() instead of the server handle returned by httpuv::startServer(). The config object contains various information about the server and methods to start/stop the server.