sharedb 3.3.1 → 3.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/package.json +2 -2
package/CHANGELOG.md ADDED
@@ -0,0 +1,44 @@
1
+ ## v2.0
2
+
3
+ ### Breaking changes
4
+
5
+ * Drop Node.js v10 support
6
+
7
+ ## v1.0-beta
8
+
9
+ ### Breaking changes
10
+
11
+ * Add options argument to all public database adapter methods that read
12
+ or write from snapshots or ops.
13
+
14
+ * DB methods that get snapshots or ops no longer return metadata unless
15
+ `{metadata: true}` option is passed.
16
+
17
+ * Replace `source` argument with `options` in doc methods. Use `options.source`
18
+ instead.
19
+
20
+ * Backend streams now write objects intead of strings.
21
+
22
+ * MemoryDB.prototype._querySync now returns `{snapshots: ..., extra: ...}`
23
+ instead of just an array of snapshots.
24
+
25
+ ### Non-breaking changes
26
+
27
+ * Add options argument to backend.submit.
28
+
29
+ * Add error codes to all errors.
30
+
31
+ * Add `'updated'` event on queries which fires on all query result changes.
32
+
33
+ * In clients, wrap errors in Error objects to they get passed through event
34
+ emitters.
35
+
36
+ * Sanitize stack traces when sending errors to client, but log them on the
37
+ server.
38
+
39
+ ## v0.11.37
40
+
41
+ Beginning of changelog.
42
+
43
+ If you're upgrading from ShareJS 0.7 or earlier,
44
+ take a look at the [ShareJS upgrade guide](docs/upgrading-from-sharejs.md).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sharedb",
3
- "version": "3.3.1",
3
+ "version": "3.3.2",
4
4
  "description": "JSON OT database backend",
5
5
  "main": "lib/index.js",
6
6
  "dependencies": {
@@ -21,7 +21,7 @@
21
21
  "ot-json0-v2": "https://github.com/ottypes/json0#90a3ae26364c4fa3b19b6df34dad46707a704421",
22
22
  "ot-json1": "^0.3.0",
23
23
  "rich-text": "^4.1.0",
24
- "sharedb-legacy": "npm:sharedb@=1.1.0",
24
+ "sharedb-legacy": "npm:sharedb@1.1.0",
25
25
  "sinon": "^9.2.4"
26
26
  },
27
27
  "files": [