1 | ## v1.0-beta
|
2 |
|
3 | ### Breaking changes
|
4 |
|
5 | * Add options argument to all public database adapter methods that read
|
6 | or write from snapshots or ops.
|
7 |
|
8 | * DB methods that get snapshots or ops no longer return metadata unless
|
9 | `{metadata: true}` option is passed.
|
10 |
|
11 | * Replace `source` argument with `options` in doc methods. Use `options.source`
|
12 | instead.
|
13 |
|
14 | * Backend streams now write objects intead of strings.
|
15 |
|
16 | * MemoryDB.prototype._querySync now returns `{snapshots: ..., extra: ...}`
|
17 | instead of just an array of snapshots.
|
18 |
|
19 | ### Non-breaking changes
|
20 |
|
21 | * Add options argument to backend.submit.
|
22 |
|
23 | * Add error codes to all errors.
|
24 |
|
25 | * Add `'updated'` event on queries which fires on all query result changes.
|
26 |
|
27 | * In clients, wrap errors in Error objects to they get passed through event
|
28 | emitters.
|
29 |
|
30 | * Sanitize stack traces when sending errors to client, but log them on the
|
31 | server.
|
32 |
|
33 | ## v0.11.37
|
34 |
|
35 | Beginning of changelog.
|
36 |
|
37 | If you're upgrading from ShareJS 0.7 or earlier,
|
38 | take a look at the [ShareJS upgrade guide](docs/upgrading-from-sharejs.md).
|