Drafts 45 released: Ready for new OS updates, Control Center integration

Drafts 45 has been released:

Details below. For a complete history of updates, visit the release notes.

45.0

Ready for New OS Updates

Drafts 45 has been tested on and is ready for iOS 18, macOS 15, and watchOS 11. In addition, it adds support for some new items available with these releases:

  • Control Center Control: When running on iOS 18, Drafts commands can now be added to Control Center, as well as the being used to replace the camera and/or flashlight shortcuts on the Lock Screen. The control works much like the existing Grid Widget, and each control you add can be configured to run your choice of a series of commands, link to a specific workspace or draft, or run any action from your action list. Details
  • Dark-Light Mode Icon: The default app icon now supports dark and light mode variants. We decided to make alternate app icon selections have the same appearance in both modes, as they represent a look you explicitly select. We are open to feedback on this choice. It seemed to make sense, since in many cases the alternate icons already represent a choice - such as having a darker icon that you might prefer to remain dark while in light mode.
  • Tinted Home Screen Support: Optimizations to app icons, as well as widgets, for the new tinted Home Screen mode have been added.

System Requirements Updates

Drafts system requirements as of this release are listed below. This release drops support for macOS 10.15, as it is no longer supported by Apple’s build tools.

  • iOS 15.6 or greater, iOS 17 or greater recommended. Some features, such as widgets, require iOS 16.1 or greater.
  • macOS 11.5 or greater, macOS 13 or greater recommended. Some features, such as widgets, require macOS 13 or greater.
  • watchOS 8.5 or greater, watchOS 10 or greater recommended

Warning: Dictation and Transcription Issue

We have temporarily disabled some dictation and transcription features in Drafts when running on iOS 18 and macOS 15 due to underlying bugs in Apple’s Speech APIs. For more details, see this article tracking the issue

watchOS 11 Note

Not exactly an update, but a fun fact for watchOS users: Starting in watchOS 11, Apple has reverted a change it made in watchOS 8.1 regarding text input. The text input interface now remembers that last method of input you used (dictation or keyboard), rather than always defaulting to using the on-screen keyboard. This is great if you like to quickly dictation to your Apple Watch from a Drafts’ watch face complication, as you will no longer need to take the additional step to tap the microphone button after tapping the complication, but, rather, it will go directly to capturing dictation if that was your last used input method. Yeah!

Default Action Groups Note

The default action groups installed with a brand new installation of Drafts have been updated. These groups have changed somewhat over time, and we did a pass to generally improve them all around recently – including changing the default icons associated with most of the actions to use system symbols for a somewhat cleaner look and better compatibility.

We do not, however, alter any one’s existing action installations, because many people make changes to their action groups and we don’t want to overwrite any of those changes.

If, however, you want to get a clean start and think you might benefit from getting the current default action groups, you can update by one of two methods:

  • Reinstall the current version of one or more of the default groups from the Directory. Here are the default group links:
    • Basic: Common copy, messages, and export actions.
    • Editing: Example basic keyboard key actions for cursor movement, undo-redo, toggling tasks, etc. This is the default action group used in the Action Bar.
    • Processing: Series of basic actions for processing drafts. Includes tools for archiving, assigning tags, and working with workspaces and templates.
    • Markdown: Common Markdown formatting and tools, including Headers, Bold, Emphasis, toggling lists, etc.
    • Tools: Utility actions to change case, sort and more.
  • Run the Maintenance Task: In Drafts’ Settings > Maintenance, there is a “Reinstall Default Actions” task that will install fresh versions of all the default action groups. This does not replace your existing versions of the groups, so you will have to go in after and delete your previous versions after merging any changes and customizations you wish to maintain.

Other Updates and Changes

  • All Platforms
    • New: The body preview in the draft list is now a little more stable and flexible. In list options (... above list), and in workspace options, you can now configure the body preview to display as 1, 2, or 3 lines, and the lines will condense content more efficiently to display more useful information.
    • Change: Google Drive integrations now only have access to files created by Drafts. This change was required by to align with security policy changes at Google. Actions which create files are unaffected, only those that append-prepend might be affected and only in the case where the action did not originally create the file.
    • New: Prompt.addButton supports new additional parameter for tint color to specify on of the standard theme tint colors. Signature is now addButton(name, value, isDefault, isDestructive, tintColor) where tint color is a string that must be one of these values:
      • gray, red, pink, orange, yellow, green, blue, indigo, violet
    • New: Add support for {% raw %}{{#selection_lines}}{{.}}{{/selection_lines}}{% endraw %} and {% raw %}{{#selection_markdown_lines}}{{.}}{{/selection_markdown_lines}}{% endraw %} tags in Share capture Mustache templates to allow iteration over lines in the selection for better formatting. Provides the lines in the selection as an array of string values to the template.
    • Change: Lots of smaller design tweaks around the app.
    • Change: Refactor some location code to avoid rare but possible main thread slow downs initializing location services.
    • Fix: Patch html2text library to avoid crash when faced with HTML source with invalid non-integer start attributes on an ol tag.
    • Fix: Leave a line feed when ending list-completion of a nested list line.
    • New: hideFilters(), showFilters(), areFiltersVisible added to Window script object to allow toggling of the tag filtering sidebar from actions. Example Toggle Filters action can be installed from the directory demonstrating use.
  • iOS
    • Fix: cmd-T keyboard shortcut would not focus tag field if the tag field was already visible.
    • Change: A few tweaks to prompt layout/appearance.
4 Likes

I downloaded the update and am on the latest public beta, but I am not seeing any difference in the default icon when enabling Dark Mode.

(Side note, the same things happens with the newly updated Streaks app which now also supports dark mode icon change).

If you have changed the app icon in the past, you may need to change it again and then back to the default icon to get it to pick up the new app icon asset that is capable of changing with the mode.

I deleted and redownloaded the app and that did the trick. Thanks for this awesome app and the continuous updates.

1 Like

As always: Happy about the constant refinements and improvements of Drafts.

1 Like

Thanks for the update!

I’m having issues seeing the dark icon even after reinstalling Drafts and restarting my device. I’m using the default icon to test. It actually worked for me until this update on the public beta before it was officially supported, now it doesn’t anymore. Unless the ever so slightly darker blue is the dark mode?

For the alternate icons, my vote would be for them to apply the dark mode as well. I use alternate icons because they match my Drafts theme, not because I want them to stay dark or light. As I say, this worked until 45.0.

2 Likes

Regarding not having dark versions of alternate app icons, I totally get where you are coming from in terms of an active choice having been made, I would prefer it if there were dark versions. I previously used the flat blue icon without the gradient and have had to change back to the main icon because of this. I could be wrong though, but you did ask for feedback

2 Likes

I have been having an issue with the Drafts app crashing to home screen if I enter into selection mode and try to use the Run Action from the menu with any drafts selected since updating two weeks ago.

I am on an iPhone X running iOS 16.7.10. I have tried different combos of selection, used all the options under Maintenance, offloaded the app, but I’m at a loss. I have been browsing here for a few days then noticed iOS 18 seems to have a lot concerning Run features and decided to sign up to comment. I am not sure if this is a iOS version compatibility issue or just a me issue. I am unfortunately stuck on iOS 16 for this device.

Tapping Run Action there has been causing the app the crash every time

I reproduced this bug, will have a fix out soon.

2 Likes

Thank you for the update! That is great to hear as I was more expecting my device entering the W10 stages of unsupported and obsolete than a bug. I do not think I could use this iPhone without this amazing app. This is my only Apple device and it has been a heck of a struggle using and integrating text cross-platform without this app keeping me sane.
I check the Drafts page in the App Store to see if there has been any any added apps or alternative payment models, perhaps one time payments for specific features. I am no power user, but Ive put an exorbitant amount of time looking for any app or method to get the iOS Edit bar (undo, cut, copy, paste, redo) attached back on top of this iPhone Keyboard ever since Apple removed it between iOS 12 to 13. Three finger tapping to pull it up while typing… is the worst.
Have y’all ever considered something like a keyboard extension for something akin to the Action Bar that snaps to the top of the default keyboard and can be used anywhere it can? Even with a bare bones :leftwards_arrow_with_hook::scissors::page_facing_up::bookmark_tabs::arrow_right_hook: it would still be something I have found no app doing in the last four years.