250 Commits

Author SHA1 Message Date
Kevin Jahns
fdc3ab1565 1.3.12 2021-05-17 17:27:49 +02:00
Kevin Jahns
010658f74f Remove dependency on window - fixes #65 2021-05-17 17:26:33 +02:00
Kevin Jahns
31a907c4bc
Merge pull request #64 from hanspagel/patch-1
fix typo in the README
2021-05-15 12:43:52 +02:00
Hans Pagel
cae7c9757d
fix typo 2021-05-15 11:06:26 +02:00
Kevin Jahns
7835c498a9
Merge pull request #63 from oncletom/patch-1
Fix a `peerDependencies` typo in `package.json`
2021-05-13 00:33:04 +02:00
Thomas Parisot
308befc2b8
Fix a peerDependencies typo in package.json 2021-05-12 11:17:24 +02:00
Hans Pagel
42cf230ed5
add on exit handler for Node.js environments 2021-02-23 23:22:21 +01:00
Kevin Jahns
9d7e5eaec8
Add info about y-websocket-server to quick-start 2021-02-20 22:32:40 +01:00
Kevin Jahns
5b8d3ced3e Merge branch 'tommoor-patch-5' 2021-02-14 15:50:32 +01:00
Kevin Jahns
9c71dae974 bump dependencies 2021-02-14 15:49:58 +01:00
Kevin Jahns
02f691d89c lint 2021-02-14 15:44:47 +01:00
Kevin Jahns
88cff979f5 1.3.11 2021-02-06 14:01:10 +01:00
Kevin Jahns
e929a3a11e remove node types from client code 2021-02-06 14:00:39 +01:00
Kevin Jahns
a516319e80 1.3.10 2021-02-03 15:05:52 +01:00
Kevin Jahns
0afbb6f446 update deps 2021-02-03 15:05:27 +01:00
Kevin Jahns
406ec6d01a Merge branch 'master' of github.com:yjs/y-websocket 2021-02-03 15:04:22 +01:00
Kevin Jahns
356370db26 Extendable messageHanlers 2021-02-03 15:04:18 +01:00
Tom Moor
7b18b007d1 Update package-lock.json 2021-01-21 15:54:10 -08:00
Tom Moor
d0d3244503
fix: Memory leak with old versions of yjs
Versions of yjs prior to `13.4.6` did not emit a `"destroy"` event when a doc is destroyed, meaning that doc's in the websocket servers memory are not correctly cleaned up.
2021-01-21 15:53:07 -08:00
Kevin Jahns
e160a17e3a
Update README.md 2021-01-08 08:56:11 +01:00
Kevin Jahns
f786534794
Merge pull request #43 from openculinary/dependencies/npm-audit-fix
Update dependencies via 'npm audit fix'
2021-01-07 17:45:19 +01:00
Kevin Jahns
cf0e46789b
Merge pull request #44 from openculinary/dependencies/y-leveldb-optional
Move y-leveldb to optionalDependencies
2021-01-07 17:43:25 +01:00
James Addison
a4027714a2 Update dependencies via 'npm audit fix' 2021-01-07 11:07:29 +00:00
James Addison
cbe5a5bb68 Move y-leveldb to optionalDependencies 2021-01-07 11:03:35 +00:00
Kevin Jahns
9fd8f41fa8 1.3.9 2021-01-06 13:23:15 +01:00
Kevin Jahns
3c38a81327 lint 2021-01-06 13:22:50 +01:00
Kevin Jahns
3ab927f38a
Merge pull request #42 from openculinary/server/bind-host-variable
Add HOST environment variable to configure websocket-server bind address
2021-01-06 13:14:43 +01:00
James Addison
1c278ad268 Add HOST environment variable to configure websocket-server bind address 2021-01-04 17:43:39 +00:00
Kevin Jahns
2a3d623232 API Docs 2020-12-18 12:16:52 +01:00
Kevin Jahns
63af0c0fc0 1.3.8 2020-12-04 13:06:04 +01:00
Kevin Jahns
0fbd2cd0d0 Keep awareness state after disconnect - fixes yjs/y-protocols#7 2020-12-04 13:05:30 +01:00
Kevin Jahns
114284c349 1.3.7 2020-11-19 14:11:48 +01:00
Kevin Jahns
f254df3b00 lint 2020-11-19 14:11:24 +01:00
Kevin Jahns
55a4190bf3
Merge pull request #38 from tommoor/patch-4
fix: Move "connecting" event to be emitted after handlers are bound
2020-11-19 14:10:17 +01:00
Kevin Jahns
74f0c96c5a
Update docs 2020-11-07 22:15:45 +01:00
Tom Moor
e1071dab1e
fix: Move "connecting" event to be emitted after websocket event handlers are bound 2020-11-06 14:42:12 -08:00
Kevin Jahns
418ea5a0f8 1.3.6 2020-10-30 22:23:05 +01:00
Kevin Jahns
d3b9dd208d linting 2020-10-30 22:22:37 +01:00
Kevin Jahns
f32b88dfce bump dependencies 2020-10-30 22:21:51 +01:00
Kevin Jahns
d84b7f4ee0
Merge pull request #37 from yjs/canadaduane-provide-synced-ydoc-accessors
Add persistence-synced Y.Doc accessor functions - simplified #32
2020-10-30 22:18:43 +01:00
Kevin Jahns
dc4c714dd3
Merge pull request #29 from reciperadar/fixups/readme-client-example
README: Small fixup for the example client code snippet
2020-10-18 18:35:21 +02:00
Kevin Jahns
3dad772dfe simplify getYDoc approach 2020-10-18 18:34:49 +02:00
Kevin Jahns
9d298f3255 Merge branch 'provide-synced-ydoc-accessors' of git://github.com/canadaduane/y-websocket into canadaduane-provide-synced-ydoc-accessors 2020-10-18 18:00:50 +02:00
Kevin Jahns
82e0344476
Merge pull request #34 from tommoor/patch-1
feat: Add 'connecting' event
2020-10-18 17:57:02 +02:00
Kevin Jahns
8e73d39887
Merge pull request #36 from tommoor/patch-3
fix: Remove unused _localAwarenessState
2020-10-18 17:55:17 +02:00
Kevin Jahns
cc418fb3b4
Merge pull request #35 from tommoor/patch-2
fix: Message publishing happens down incorrect broadcast channel
2020-10-18 17:54:38 +02:00
Tom Moor
82435ef642
fix: Remove unused _localAwarenessState 2020-10-17 17:29:12 -07:00
Tom Moor
c0271b7cdc
fix: Message publishing happens down incorrect broadcast channel
Missed in #12 refactor
2020-10-17 16:53:24 -07:00
Tom Moor
72c9978ceb
feat: Add 'connecting' event
As described in the [comment here](https://github.com/yjs/y-websocket/issues/7#issuecomment-623114183), a "connecting" event is useful for monkey-patching the authentication process in lieu of a more official API.

Seems like this is a no-brainer addition.
2020-10-15 15:12:04 -07:00
Duane Johnson
be45d3429c Bump yjs dependency to 13.4.1 2020-10-10 13:46:35 -06:00