github obsidian-tasks-group/obsidian-tasks 7.21.0
7.21.0: Urgent fix for recent iOS/iPadOS; access Links; API can edit task lines

24 days ago

What's Changed

🌟 Most Notable

Please run the Reload app without saving command or quit and restart Obsidian after updating the plugin. Thank you.

Links facility

  • Obsidian links are now accessible in custom searches, sorting and grouping.
  • We plan to provide built-in instructions for these features in future.
  • Written by @rhhub, and refined by @claremacrae and @ilandikov.
  • See the user documentation

Tasks API

  • The Tasks API can now edit existing task lines.
  • Note that the caller needs to save the modified task line (or lines).
  • Written by @justise.
  • See the user documentation.

Fix Tasks on iOS and iPadOS versions 18.6 and 26 Public Beta 2

  • Fixed an issue reported by many uses, that Task was broken by/on iPadOS/iOs 18.6 and iPadOS/iOs 26 Public Beta 2.
  • Fixed by @claremacrae in #3563
Details of the iPadOS/iOs bug

Here is a minimal reproduction, which can be pasted in the Obsidian Console.

The Tasks plugin uses code like the following very simplified example to parse Markdown lines:

//u.test('🔺')
//u.test('🔺 ')
//u.test('🔺  ')

It is expected that on all platforms, all the above 3 test examples should return true, saying that the character is present in the test string.

In iPadOS/iOs 18.6 and iPadOS/iOs 26 Public Beta 2, the middle example - with a single space - wrongly returns false!!!.

This completely breaks the Task plugin's parsing of task lines, in all the normal cases where there is only a single space between fields.

Main changes

Here are the most notable user-visible changes.

🌟 Features

  • feat: Add ability to filter and group by linked note by @rhhub in #3466
    • Additional contributions:
    • refactor: Minor refactoring of links code and tests by @claremacrae in #3495
    • refactor: Rename outLinks getters to outlinks - changing unreleased code by @claremacrae in #3520
    • feat: Add outlinksInProperties and outlinksInBody - outlinks returns both by @claremacrae in #3526
    • feat: Add Link.markdown for reliable rendering of links by @claremacrae in #3527
    • feature: Add Link.isLinkTo(), for easy 'filter by function' by @ilandikov in #3542
    • feat: Add Link.destinationPath by @claremacrae in #3555
    • fix: Link.isLinkTo() now works when passed TasksFile objects by @claremacrae in #3556
    • refactor: Rename Link.isLinkTo() to Link.linksTo() by @claremacrae in #3557
  • feat: Add the ability to launch the task modal to edit an existing line by @justise in #3528

💪 Fixes

  • fix: Allow text selection with mouse in Preset settings by @claremacrae in #3511
  • fix: Allow other plugins to auto-suggest & document settings for this by @rhhub in #3503
  • fix: Enable adding dependencies from modal created via API's createTaskLineModal() by @justise in #3509
  • fix: Inline attachment previews are now visible in Live Preview and Reading modes by @ramarivera in #3498
  • fix: Enable new iPad/iPhone OS versions to read Emoji tasks (#3546,#3560) by @claremacrae in #3563

🌍 Translations

  • i18n: Update Chinese translation(zh_cn.json) by @aoaoho in #3501

📖 Documentation

🛠️ Dependencies

  • build(deps-dev): bump async-mutex from 0.4.0 to 0.5.0 by @dependabot[bot] in #3209
  • chore(deps-dev): bump esbuild-svelte from 0.8.0 to 0.8.2 by @dependabot[bot] in #3253
  • chore(deps): bump nanoid from 3.3.7 to 3.3.8 by @dependabot[bot] in #3234
  • chore(deps): bump undici from 6.21.0 to 6.21.3 by @dependabot[bot] in #3507
  • chore(deps): bump rrule from 2.7.2 to 2.8.1 by @dependabot[bot] in #3258
  • chore(deps): bump @babel/runtime from 7.23.2 to 7.27.6 by @dependabot[bot] in #3506
  • chore(deps-dev): bump jest-environment-jsdom from 29.7.0 to 30.0.4 by @dependabot[bot] in #3518

🛠️ Behind the scenes

New Contributors

Full Changelog (including changes too small to note above, and that do not affect the behaviour of the plugin itself):

🙏 Support Tasks development

Don't miss a new obsidian-tasks release

NewReleases is sending notifications on new releases.