Skip to content

Releases: yihui/servr

servr 0.12

07 Feb 19:18
Compare
Choose a tag to compare

NEW FEATURES

  • Exported the function random_port() to return an available random TCP port.

MAJOR CHANGES

  • daemon_list() returns server IDs instead of handles, so that it will work with httpuv >= v1.4.5.1 (rstudio/blogdown#365).

servr 0.11

23 Oct 16:55
Compare
Choose a tag to compare

NEW FEATURES

  • The default value of the port argument of server_config() can be set via the environment variable R_SERVR_PORT. If the environment variable does not exist, the global option servr.port will be used if set, e.g., options(servr.port = 4322). See ?servr::server_config for details.

servr 0.10

30 May 04:58
Compare
Choose a tag to compare

NEW FEATURES

  • Added a function browse_last() to reopen the last browsed page.

MAJOR CHANGES

  • The daemon argument in server_config() now defaults to interactive(), i.e., servr starts a daemonized server that does not block your interactive R session by default.

servr 0.9

28 Mar 15:12
Compare
Choose a tag to compare

BUG FIXES

  • The web browser may be opened too early (before the server is ready) (originally reported at rstudio/rstudio#2475).

CHANGES IN servr VERSION 0.8

06 Nov 22:11
Compare
Choose a tag to compare

NEW FEATURES

  • added another implementation of the daemoinzed server based on the later package, since the previous implmentation based on httpuv::startDaemonizedServer() could crash the R session on Windows (#23)

CHANGES IN servr VERSION 0.7

17 Aug 15:31
Compare
Choose a tag to compare

NEW FEATURES

  • added a new argument watch to servr::httw()

  • exported the function server_config()

BUG FIXES

  • files/directories that contain multibyte characters in path names cannot be served correctly (thanks, Hao Peng)

CHANGES IN servr VERSION 0.6

12 May 07:08
Compare
Choose a tag to compare

NEW FEATURES

  • on 404 (page not found), 404.html will be displayed if it exists under the root directory

  • improved the support for HTTP Range requests, e.g. servr can correctly serve MP4 videos now in major browsers including Safari

BUG FIXES

CHANGES IN servr VERSION 0.5

11 Dec 01:09
Compare
Choose a tag to compare

NEW FEATURES

  • added an argument initpath to server_config() so you can open a specific path initially in the web browser
  • the daemon argument of server_config() takes the default value from the global option getOption('servr.daemon') now, e.g., you can set options(servr.daemon = TRUE) so that the daemonized server is always used

CHANGES IN servr VERSION 0.4.1

11 Dec 01:10
Compare
Choose a tag to compare

NEW FEATURES

BUG FIXES

  • fixed a bug in 301 redirection when serving a directory without the trailing slash

CHANGES IN servr VERSION 0.4

15 Apr 19:43
Compare
Choose a tag to compare

NEW FEATURES

  • you can disable websocket listening on an HTML page using a special HTML comment <!-- DISABLE-SERVR-WEBSOCKET --> when servr is serving and watching a directory, so that this page will not communicate with R (e.g. when it is updated, R will not send signals to refresh it) (thanks @hafen, #25)
  • a random TCP port will be used if the port 4321 is not available