Skip to content

v10.1.0: Invitations

Compare
Choose a tag to compare
@sgwilym sgwilym released this 14 Apr 12:37
· 27 commits to main since this release

This is a feature release which adds support for invitation URLs.

Copying and pasting many addresses, secrets, and URLs is tedious. Copying and pasting a single address which your app already knows what to do with is much better.

They look like this:

earthstar://+shareaddress.xxx/?invite&server=https://server.com&server=https://server2.com&secret=bxxx&v=2
  • (Feature) Added SharedSettings#redeemInvitationURL, which adds the share, secret, and servers from an Earthstar invitation URL.
  • (Feature) Added createInvitationURL and parseInvitationURL utilities for creating and parsing Earthstar invitation URLs.
  • (Fix) parseShareAddress now validates share addresses more strictly so as to ensure their suffix is a pubkey.
  • (Fix) Deprecate generateShareAddress
  • (Fix) Fixed some issues ExtensionServerSettings when ephemeral and
    non-ephemeral settings for a hosted share existed at the same time.
  • (Chore) Update range_reconcile to 1.0.2, which makes sync slightly more
    efficient.