-
Notifications
You must be signed in to change notification settings - Fork 24
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: share/sharedb-postgres
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v4.1.0
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: share/sharedb-postgres
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 8 commits
- 9 files changed
- 2 contributors
Commits on Jun 12, 2024
-
🙈 Remove
package-lock.json
fromgit
Consistent with other ShareDB repos, and makes sure we run the build against the latest dependencies possible.
Configuration menu - View commit details
-
Copy full SHA for 36afc17 - Browse repository at this point
Copy the full SHA 36afc17View commit details -
This is a **BREAKING** change that: - adds tests against the [upstream `sharedb` DB test suite][1] - adds a CI build for the tests against current Node.js and Postgres versions - breaks the API to conform to the upstream tests, including adding metadata support The breaks are: - Dropping non-null constraints on `snapshots.doc_type` and `snapshots.data` (to allow `Doc`s to be deleted) - Adding a new `snapshots.metadata` `json` column - Respecting `options.metadata` and `fields.$submit`, which were previously ignored on `getOps()`, and useless on `getSnapshot()` (which didn't store metadata) - `snapshot.m` is now `undefined` if not present, or `null` if unrequested (inline with the spec) On top of this it also makes some bugfixes to conform to the spec: - Ignore unique key validations when committing, since this may happen during concurrent commits - `JSON.stringify()` JSON fields, which [break][2] if passed a raw array - Default `from = 0` if unset in `getOps()` [1]: https://github.com/share/sharedb/blob/7abe65049add9b58e1df638aa34e7ca2c0a1fcfa/test/db.js#L25 [2]: brianc/node-postgres#442
Configuration menu - View commit details
-
Copy full SHA for aabcda4 - Browse repository at this point
Copy the full SHA aabcda4View commit details
Commits on Jun 25, 2024
-
Merge pull request #24 from share/setup-ci
💥 Comply with `sharedb` spec
Configuration menu - View commit details
-
Copy full SHA for 5a5fd6d - Browse repository at this point
Copy the full SHA 5a5fd6dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 166bb8f - Browse repository at this point
Copy the full SHA 166bb8fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 58ee945 - Browse repository at this point
Copy the full SHA 58ee945View commit details
Commits on Oct 18, 2024
-
When updating the snapshot table, the metadata field was mistakenly updated to the data field
Configuration menu - View commit details
-
Copy full SHA for e7c2d87 - Browse repository at this point
Copy the full SHA e7c2d87View commit details -
Merge pull request #25 from cuihom/main
Fix snapshot commit metadata on conflict
Configuration menu - View commit details
-
Copy full SHA for 487b289 - Browse repository at this point
Copy the full SHA 487b289View commit details -
Configuration menu - View commit details
-
Copy full SHA for f98498a - Browse repository at this point
Copy the full SHA f98498aView commit details
Loading
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v4.1.0...main