Search your code for the old names below, then let the type checker find the rest. Each package's full notes are on its GitHub release.
What you need to do
- Topics replace unsubscribe groups. Use
samva.topics,audience.topicIdon campaigns, andtopicIdon confirmation requests. Set a contact's status per topic and channel withtopics.setSubscriptions. Existing opt-outs carry over. Subscription webhooks carrytopicId,topicName, andchannel, andsamva subscriptions subscribetakes--topic-id. See Manage topics and subscriptions. - Query values. Pass numbers and booleans where you passed strings, such as
limit: 20andisActive: false, in both SDKs and@samva/mailbox. - Template build failures. Saving, opening, publishing, or restoring a workspace whose source fails to build throws
TemplateSourceError(HTTP422) with the compiler'sdiagnostics, where it threwConflictError. Catch the new error to read the findings. - Bulk contact calls.
contacts.bulkDelete,contacts.bulkUpdateTags,contacts.bulkUpdateStatus,conversations.addContacts,conversations.removeContacts, and theidsfilter ofcontacts.exporttake at most 1,000 contact ids per request. - Usage. Organization usage drops
standardGranted,standardRemaining, andstandardResetsAt. Read AI credits fromincludedAiCredits,usedAiCredits,aiPackCredits, andaiResetsAt.
Preview · Available to selected organizations.
List import. contacts.bulkImport is removed. Plan an import with contacts.planImport, start it with contacts.startImport, and follow the background job with contacts.getImportJob. See Import a reader list.
Preview · Available to selected organizations.
Agents. Remove approvalPolicy from agent definitions. Every Google Calendar booking, change, and cancellation waits for a person to approve it.
Also new
- Campaign run reports.
campaigns.getRunReportandsamva campaigns reportreturn a run's delivery outcomes, replies, topic unsubscribes, and skipped recipients. - Personalized campaigns. Campaign templates merge each contact's profile and custom fields. Render a campaign as a contact with
campaigns.preview, and send yourself a copy withcampaigns.sendTest. - Campaign replies. A reply to a campaign message carries
campaign: { campaignId, runId }in mailbox reads and webhooks. - Brand return link. Set
footer.websiteUrlon a brand to choose the link on its hosted recipient pages. - Source and downloads on GitHub. The SDK's source is public at SamvaHQ/samva-typescript and the CLI's at SamvaHQ/samva-cli, both updated with each release. Each CLI release there includes the native
samvaexecutable for macOS and Linux with aSHA256SUMSfile.