Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V5.2 #94

Merged
merged 85 commits into from
Jan 17, 2024
Merged

V5.2 #94

merged 85 commits into from
Jan 17, 2024

Conversation

HerbCaudill
Copy link
Member

@HerbCaudill HerbCaudill commented Jan 17, 2024

New demo app: automerge-repo-todos

Adds an example application using auth-provider-automerge-repo, demonstrating create/join as member/join as device workflows with a todo app.

Run with pnpm dev. (The old demo can still be run with pnpm dev:taco).

closes #26

auth-provider-automerge-repo

Fixed an intermittent bug that stemmed from the fact that we were optimistically spinning up a connection with every peer for every share. We now exchange a list of (hashed) shareIds that we know about, so that we only create connections for shares that we have in common with any given peer.

Adds support for public shares (thanks @paulsonnentag). This is a share that anyone can connect to without authenticating.

Adds an AuthProvider.createTeam() method that creates a new Team and automatically takes care of registering it with any sync servers, so apps don't have to do that manually.

Tooling

The new demo app is covered with end-to-end in-browser tests using Playwright.

All tests (Playwright, Cypress tests on old demo, and Vitest) + XO linter can be run in one go with pnpm test:all.

Adds some tooling for debugging flaky tests.

@HerbCaudill HerbCaudill merged commit ccc6d96 into main Jan 17, 2024
1 check failed
@HerbCaudill HerbCaudill deleted the v5.2 branch January 17, 2024 11:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Demo: Add todo app or something
1 participant