Drafts 50.0.3 has been released:
Details below. For a complete history of updates, visit the release notes.
50.0.3
This release brings a number of AppleScript changes to better support integration with the Model Context Protocol server. If you are interested in using Drafts with Claude or other MCP-supporting tools, see details on MCP server release in the forums.
- AppleScript Changes
- Breaking Change:
tagson drafts in AppleScript have been renamed totag list(array of strings). This was necessary to avoid naming conflicts with the addition of top-level tag objects. So, if you have AppleScript code that queries or sets tags on a draft, they will need to be modified, so something likemake new draft with properties {tags:{"blue"}}needs to change the property to{tag list:{"blue"}} - New: Add “tag names” string property to draft. This returns assigned tags as a comma-separate string.
- New: Add “query tag names” string property to draft. This returns assigned tags as a string, with each tag wrapped with a delimiter like “#tag-name#” - this is a bit hacky, but useful for some types of “whose” clauses in AppleScript, which don’t always handle things nicely when dealing with arrays. So you can more reliably do a query like
set myDrafts to drafts whose query tag names contain "#tag-name#" - New(Mac): Add top level tag object to AppleScript. You can use
every tagortagsto get all unique tags defined, and they havedraftsthat expose drafts that are assigned that tag…so you can do things likeset myDrafts to drafts of tag "test"
- Breaking Change:
- Fix: Crash filtering action logs by status in Shortcuts.
50.0.2
- Change(Mac): Rename “creation date” and “modification date” properties of draft in AppleScript to better match Apple’s naming for properties.
- New(Mac): Add creation and modification location information to draft returned in AppleScript.
- Change(Mac): Better handling of “current” workspace objects in AppleScript.
- Fix(Mac): Crash using the “Is Flagged” filter on “Find Drafts” action in Shortcuts.
- Fix(Mac): In AppleScript, tags could be queried, but were not getting coerced properly for get/set operations.
- Fix: “get current draft” in AppleScript fails if there’s a new blank draft in the editor.
- Change(iOS): Better handle selection of multiple drafts in VoiceOver.
- Fix(iOS): Allow selection of default themes without Pro features enabled.