These notes cover v8.3.0 and the changes shipped in v8.2.0.
htmlAsMarkdownonCleanMessagesRequest:nylas.messages.clean()now accepts an optionalhtmlAsMarkdownboolean (beta). When set totrue, the cleanedconversationfield is returned as Markdown instead of plain text or HTML. It defaults tofalse, and it can’t betruewhileimagesAsMarkdownisfalse. This brings the SDK type in line with thehtml_as_markdownparameter already supported byPUT /v3/grants/{grant_id}/messages/clean.- Workspaces API: a new
nylas.workspacesresource coverslist,find,create,update(PATCH), anddestroyfor Workspaces. It also addsautoGroup()andmanualAssign()for grouping grants by domain, with support for theinvalidAlso,default,policyId, andruleIdsparameters. - Agent Account Lists API: a new
nylas.listsresource for the Lists that rules reference with thein_listoperator. Create a list with aname, optionaldescription, and an immutabletype, then uselist,find,update,destroy,listItems(),addItems(), andremoveItems()to manage its entries. - Manage Domains API: a new
nylas.domainsresource forlist,find,create,update, anddestroyagainst/v3/admin/domains, plusinfo()andverify()for domain verification. Requests useServiceAccountSignerfor signing, with bearer-auth suppression and canonical signed wire bodies. icalUidevent filter:ListEventQueryParamsnow accepts anicalUidparameter so you can look up events by their iCalendar UID.
Applicationsfield naming and updates: renamedredirectUristocallbackUristo match the v3 wire contract, widenedregionandenvironmenttostring, added hosted-auth and IdP public fields, and implementedapplications.update()(PATCH). The update method now accepts write-onlyadditionalSettingsand preserves existing callback URIs by their IDs.RedirectUriscorrections:update()now uses PATCH (was PUT),destroy()returns the correct type,platformis optional with a typedRedirectUriPlatformenum, and adeletedAtfield was added.Policieslimits:PolicyLimitsnow exposeslimitCountDailyMessageReceivedandlimitCountDailyEmailSenton Policies, replacing a non-existent per-grant field.Rulesevaluation and list response:RuleEvaluation.messageIdis now omitted when absent (rather than nullable), applied actions surfaceblockedByEvaluationError, and theGET /v3/rulesresponse is normalized back to the flat{ data, nextCursor }shape. See Rules.- Field-set reduction in
threads.find():queryParamsare now forwarded onthreads.find(), so you can passselectto trim the response payload on single-thread fetches.