forked from rstudio/R-Websockets
-
Notifications
You must be signed in to change notification settings - Fork 5
/
NEWS
46 lines (41 loc) · 2.04 KB
/
NEWS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
Changes in 1.1.7:
- Fix bug in Content-Length calculation
Changes in 1.1.6:
- Use Import for dependency packages instead of Depends.
- `http_response` function now optionally takes custom headers.
Changes in 1.1.5:
- Signal an error when unable to bind socket listener (as opposed to failing
silently).
- Fixed a bug where server socket could be inadvertently closed when an older
socket was finalized by the gc.
- Added support for fragmented messages and control frames.
- Added support for ping/pong messages.
- Fix buggy interpretation of frame header.
Changes in 1.1.2--1.1.4:
- Added a function called 'daemonize' that services websockets from the main
R event loop, returning control to the console. The previous method using
an explicit blocking event loop also still works.
Changes in 1.1.1:
- Fixed a major bug affecting 64-bit Windows platforms.
- Checked build with R-2.14.0.
- Fixed minor check warning and note on some platforms.
- Expanded generic HTTP server capability.
- Added http_response and http_vars functions.
- Expanded vignette.
Significant changes in package version 1.1.0:
- We rebuilt the package from the ground-up, removing the dependency on the
libwebsockets C library, and instead implementing the websockets protocol
mostly in R.
- The older IETF-00 protocol supported by the previous package versions
as well as newer protocols up to at least -15 are now supported.
- All features related to "cookies" have been removed. Sorry if this breaks
something. It's easy enough to replicate that functionality directly in R.
- THE CALLBACK FUNCTIONS HAVE CHANGED: there are only three (established,
receive, and closed) and their parameters are different. SEE THE set_callback
HELP PAGE.
- Each websocket server has an R environment associated with it. The environment
contains a list of connected client websockets and all other data required
by the server.
- There are new functions for serving static web pages from files or strings.
- We added a websocket client function too.
- The license has changed from GPL-2 to LGPL-3.