Skip to content

v0.4.0 — Bulk Sharing

Choose a tag to compare

@jacob-bd jacob-bd released this 05 Mar 21:53

🚀 v0.4.0 — Bulk Sharing

Invite multiple collaborators to a notebook in a single API call instead of sending individual invitations.

What's New

Bulk Sharing (notebook_share_batch) — Issue #73

Supports mixed roles (viewer/editor) per recipient in one request.

MCP Tool:

notebook_share_batch(notebook_id="abc", recipients=[{"email": "a@b.com", "role": "editor"}, {"email": "c@d.com"}], confirm=True)

CLI:

nlm share batch <notebook-id> "alice@gmail.com,bob@gmail.com" --role viewer

Layers added:

  • Core: add_collaborators_bulk(notebook_id, recipients) on SharingMixin
  • Service: invite_collaborators_bulk(client, notebook_id, recipients) with upfront validation
  • MCP: notebook_share_batch tool with recipients list and confirm flag
  • CLI: nlm share batch command with comma-separated emails
  • 10 new unit tests

Fixed

  • Version mismatch fix from 0.3.20 release

Full Changelog: v0.3.20...v0.4.0