Releases: yihui/servr
servr 0.32
servr 0.31
- A fallback
favicon.ico
will be provided if it does not exist when serving files (thanks, @MMJansen, rstudio/pagedown#329).
servr 0.30
- Fixed a bug that caused WebSockets to fail when the URL contains a hash.
servr 0.29
-
Added a function
httr()
to run R scripts and show output as HTML pages when serving a directory. -
Added a new argument
response
tohttd()
to post-process the response.
servr 0.28
- Added support for HTTP authentication (thanks, @statquant, #63). For all server functions in this package, you can use the
auth
argument to provide the authentication scheme and credentials. See the help page?servr::server_config
for more info.
servr 0.27
-
Fixed an issue with
vign()
that when an error occurs in the vignette,vign()
wouldn't stop rebuilding the vignette. -
Fixed a character encoding issue #62 (thanks, @eternal-flame-AD).
servr 0.26
-
vign()
also watches for changes in js/css files now. -
Stop using the
encoding
argument ofknitr::knit()
andrmarkdown::render()
. -
Removed the experimental function
notebook()
from several years ago.
servr 0.25
-
Added a function
create_server()
to create a server with a custom HTTP request handler and optionally a WebSocket handler. -
Added a function
redirect()
to return a redirect response. -
Added a new argument
exclude
torandom_port()
to exclude certain port numbers when generating a random available port. -
The
baseurl
argument works for all server functions now, such ashttd()
.
servr 0.24
- When searching for an available random port via
servr::random_port()
on the host127.0.0.1
, the availability of the port is also tested on0.0.0.0
by default. This is to avoid the situation where a port has been used on0.0.0.0
but httpuv still thinks it is available on127.0.0.1
. If you want to skip this additional testing, you may setoptions(servr.test.0.0.0.0 = FALSE)
.