Skip to content

2.0.0 - Improved date searches, new created field, public API to Edit task modal

Compare
Choose a tag to compare
@github-actions github-actions released this 22 Mar 17:02

⚠️ Version 2.0.0: See notes below to review selected Date Searches

Major improvements to date searches have changed results of some previously misleading searches. Details below.

🌟 Most Notable

Please restart Obsidian after updating the plugin. Thank you.

  • 🌟 New Roadmap board - currently showing what is work-in-progress.
  • 🌟 New Contributing Site - helping developers contribute to the Tasks project.
  • 🌟 Added searching of date ranges - thanks @ilandikov
    • Absolute and relative date ranges, for example:
    • done (before, after, in) YYYY-MM-DD YYYY-MM-DD
    • done (before, after, in) (last, this, next) (week, month, quarter, year)
    • Docs
    • ⚠️ Important: some date search results now give different, improved results
  • 🌟 Added new optional created field added - thanks @vanadium23
  • 🌟 Added new tag filters - thanks @ilandikov
    • has tags
    • no tags
    • Docs
  • 🌟 Added new public API to retrieve markdown string for a new task via the 'Add or edit task' modal - thanks @3bit
    • Authors of other plugins can now use the Tasks modal to prompt users for data for a new task
    • Feedback appreciated on this feature!
    • Docs show how to use this from the QuickAdd plugin to automatically add tasks to a specific file.
  • 💪 Fixed some bugs which caused toggling of tasks in Reading view to sometimes write the updated task on the wrong line - thanks @BluBloos for getting this started
  • 💪 Fixed rendering of Tasks query blocks in Obsidian Canvas - thanks @ilandikov (and to @gypsyav for reporting the problem)
  • 💪 Fixed 'short mode' tooltip hiding task data - thanks @HynDuf

Full List

🌟 Features

💪 Fixes

  • fix: Prevent rare overwrite of wrong line in Reading mode & results blocks by @BluBloos in #1663
  • fix: Prevent reading stale file data when replacing task by @BluBloos in #1672
  • fix: Simplify cursor repositioning during the 'ToggleDone' command by @kedestin in #1712
  • fix: render Tasks in canvas by @ilandikov in #1733
  • fix: Tooltip pop up above the description of task in short mode by @HynDuf in #1735
  • fix: Prevent exception if toggling in unsaved file in Reading mode by @claremacrae in #1772
  • fix: Major improvements to toggling tasks in Reading view by @claremacrae in #1780

📖 Documentation

🛠️ Behind the scenes

  • chore: Configure jest to work with Svelte components. by @3bit in #1757
  • chore: Introduce 'contrib' Conventional Commit prefix for contributing docs by @claremacrae in #1775
  • contrib: update CONTRIBUTING.md for improved codebase navigation by @BluBloos in #1654
  • contrib: Migrate CONTRIBUTING & related to Obsidian Publish by @claremacrae in #1709
  • contrib: Update all references to CONTRIBUTING.md by @claremacrae in #1710
  • contrib: contributing: add 'Useful links', rename FAQs & more by @claremacrae in #1714
  • contrib: Add several new pages on starting writing tests by @claremacrae in #1725
  • contrib: Status change docs more readable and include modal by @claremacrae in #1776
  • refactor: DateField, HappensDateField and approval tests on DueDateField by @ilandikov in #1665
  • refactor: Refactor filtering in DateField and HappensDateField classes by @ilandikov in #1670
  • refactor: regexp code in DateField and inherited classes by @ilandikov in #1671
  • refactor: Add TaskLocation to encapsulate position data by @claremacrae in #1698
  • refactor: Store task line numbers by @claremacrae in #1700
  • refactor: Make Task reading and writing more modular by @kedestin in #1728
  • refactor: More logical order of default settings values by @claremacrae in #1782
  • test: Enable CustomMatchersForFilters without imports by @claremacrae in #1676
  • test: Fix assertions in Task tests & fix tests; thanks SonarLint by @claremacrae in #1724
  • test: Create mock tests for File.replaceTaskWithTasks() by @claremacrae in #1771

New Contributors

Full Changelog: 1.25.0...2.0.0