From 04e7aaa84c3adf732f28be67c0d8653eada96ec0 Mon Sep 17 00:00:00 2001 From: Clare Macrae Date: Tue, 12 Sep 2023 10:02:20 +0100 Subject: [PATCH] Update to version 4.7.0 --- docs/How To/How to get tasks in current file.md | 2 +- docs/Introduction.md | 2 +- docs/Queries/Explaining Queries.md | 2 +- docs/Queries/Filters.md | 8 ++++---- docs/Queries/Grouping.md | 8 ++++---- docs/Scripting/Custom Filters.md | 2 +- docs/Scripting/Custom Grouping.md | 2 +- docs/Scripting/Placeholders.md | 2 +- docs/Scripting/Query Properties.md | 2 +- manifest.json | 2 +- package.json | 2 +- versions.json | 3 ++- 12 files changed, 19 insertions(+), 18 deletions(-) diff --git a/docs/How To/How to get tasks in current file.md b/docs/How To/How to get tasks in current file.md index abd7868656..10a6966ff8 100644 --- a/docs/How To/How to get tasks in current file.md +++ b/docs/How To/How to get tasks in current file.md @@ -16,7 +16,7 @@ This page documents ways of setting this up. ## Using pure Tasks blocks - with placeholders > [!released] -> Placeholders were introduced in Tasks X.Y.Z. +> Placeholders were introduced in Tasks 4.7.0. We want to search for tasks in the file with the same `path` that the query is in. diff --git a/docs/Introduction.md b/docs/Introduction.md index 2acc3d680e..b1f82e6183 100644 --- a/docs/Introduction.md +++ b/docs/Introduction.md @@ -6,7 +6,7 @@ publish: true ## What's New? -- X.Y.Z: 🔥 Use [[Query Properties]] and [[Placeholders]] to filter and group with the query's file path, root, folder and name. +- 4.7.0: 🔥 Use [[Query Properties]] and [[Placeholders]] to filter and group with the query's file path, root, folder and name. - 4.6.0: 🔥 Add `on or before` and `on or after` to [[Filters#Date search options|date search options]] - 4.6.0: 🔥 Add `in or before` and `in or after` to [[Filters#Date range options|date range search search options]] - 4.5.0: 🔥 Support task in list items starting with [[Getting Started#Finding tasks in your vault|`+` signs]] diff --git a/docs/Queries/Explaining Queries.md b/docs/Queries/Explaining Queries.md index 44d2b2748b..b453efb459 100644 --- a/docs/Queries/Explaining Queries.md +++ b/docs/Queries/Explaining Queries.md @@ -193,7 +193,7 @@ due next week => ### Template values are expanded > [!released] -> Templating was introduced in Tasks X.Y.Z. +> Templating was introduced in Tasks 4.7.0. For example, when the following query with [[Query Properties]] in [[Placeholders|placeholders]] is placed in a tasks query block in the file `some/sample/file path.md`: diff --git a/docs/Queries/Filters.md b/docs/Queries/Filters.md index 1f2da7ebe6..6ac8ce4668 100644 --- a/docs/Queries/Filters.md +++ b/docs/Queries/Filters.md @@ -985,7 +985,7 @@ Note that the path includes the `.md` extension. > [!released] > > - `regex matches` and `regex does not match` were introduced in Tasks 1.12.0. -> - Placeholders were released in Tasks X.Y.Z. +> - Placeholders were released in Tasks 4.7.0. Since Tasks 4.2.0, **[[Custom Filters|custom filtering]] by file path** is now possible, using `task.file.path`. @@ -1007,7 +1007,7 @@ Since Tasks 4.2.0, **[[Custom Filters|custom filtering]] by file path** is now p > [!released] > > - Introduced in Tasks 3.4.0. -> - Placeholders were released in Tasks X.Y.Z. +> - Placeholders were released in Tasks 4.7.0. The `root` is the top-level folder of the file that contains the task, that is, the first directory in the path, which will be `/` for files in the root of the vault. @@ -1038,7 +1038,7 @@ Since Tasks 4.2.0, **[[Custom Filters|custom filtering]] by root folder** is now > [!released] > > - Introduced in Tasks 3.4.0. -> - Placeholders were released in Tasks X.Y.Z. +> - Placeholders were released in Tasks 4.7.0. This is the `folder` to the file that contains the task, which will be `/` for files in root of the vault. @@ -1077,7 +1077,7 @@ Since Tasks 4.2.0, **[[Custom Filters|custom filtering]] by folder** is now poss > [!released] > > - Introduced in Tasks 3.4.0. -> - Placeholders were released in Tasks X.Y.Z. +> - Placeholders were released in Tasks 4.7.0. Note that the file name includes the `.md` extension. diff --git a/docs/Queries/Grouping.md b/docs/Queries/Grouping.md index 7fc4d646e0..6e0481bfcf 100644 --- a/docs/Queries/Grouping.md +++ b/docs/Queries/Grouping.md @@ -530,7 +530,7 @@ Since Tasks 4.0.0, **[[Custom Grouping|custom grouping]] by file path** is now p -Since Tasks X.Y.Z, the query's file path can be used in custom groups. +Since Tasks 4.7.0, the query's file path can be used in custom groups. - It must be quoted: `'{{query.file.folder}}'` - Beware if using placeholder text in regular expressions: Any special characters in filenames would need to be escaped. @@ -552,7 +552,7 @@ Since Tasks 4.0.0, **[[Custom Grouping|custom grouping]] by root folder** is now -Since Tasks X.Y.Z, the query's file root can be used in custom groups. +Since Tasks 4.7.0, the query's file root can be used in custom groups. - It must be quoted: `'{{query.file.root}}'` - Beware if using placeholder text in regular expressions: Any special characters in filenames would need to be escaped. @@ -578,7 +578,7 @@ Since Tasks 4.0.0, **[[Custom Grouping|custom grouping]] by folder** is now poss -Since Tasks X.Y.Z, the query's folder can be used in custom groups. +Since Tasks 4.7.0, the query's folder can be used in custom groups. - It must be quoted: `'{{query.file.folder}}'` - Beware if using placeholder text in regular expressions: Any special characters in filenames would need to be escaped. @@ -600,7 +600,7 @@ Since Tasks 4.0.0, **[[Custom Grouping|custom grouping]] by file name** is now p -Since Tasks X.Y.Z, the query's file name can be used in custom groups. +Since Tasks 4.7.0, the query's file name can be used in custom groups. - It must be quoted: `'{{query.file.filename}}'` - Beware if using placeholder text in regular expressions: Any special characters in filenames would need to be escaped. diff --git a/docs/Scripting/Custom Filters.md b/docs/Scripting/Custom Filters.md index 3a5f8417ae..5e09e7e92a 100644 --- a/docs/Scripting/Custom Filters.md +++ b/docs/Scripting/Custom Filters.md @@ -45,7 +45,7 @@ The Reference section [[Query Properties]] shows all the query properties availa Any placeholders in custom filters must be surrounded by quotes. > [!released] -> Query properties and placeholders were introduced in Tasks X.Y.Z. +> Query properties and placeholders were introduced in Tasks 4.7.0. ### Expressions diff --git a/docs/Scripting/Custom Grouping.md b/docs/Scripting/Custom Grouping.md index 93cd00585a..57ced5f554 100644 --- a/docs/Scripting/Custom Grouping.md +++ b/docs/Scripting/Custom Grouping.md @@ -44,7 +44,7 @@ The Reference section [[Query Properties]] shows all the query properties availa Any placeholders in custom groups must be surrounded by quotes. > [!released] -> Query properties and placeholders were introduced in Tasks X.Y.Z. +> Query properties and placeholders were introduced in Tasks 4.7.0. ### Expressions diff --git a/docs/Scripting/Placeholders.md b/docs/Scripting/Placeholders.md index 838e8ad7ea..8dcf88f19e 100644 --- a/docs/Scripting/Placeholders.md +++ b/docs/Scripting/Placeholders.md @@ -7,7 +7,7 @@ publish: true #feature/scripting > [!released] -> Placeholders were introduced in Tasks X.Y.Z. +> Placeholders were introduced in Tasks 4.7.0. ## Summary diff --git a/docs/Scripting/Query Properties.md b/docs/Scripting/Query Properties.md index 3532eff90e..ffe060b6a8 100644 --- a/docs/Scripting/Query Properties.md +++ b/docs/Scripting/Query Properties.md @@ -7,7 +7,7 @@ publish: true #feature/scripting > [!released] -> Query Properties were introduced in Tasks X.Y.Z. +> Query Properties were introduced in Tasks 4.7.0. ## Introduction diff --git a/manifest.json b/manifest.json index 3125317ed2..e9e05936a9 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "obsidian-tasks-plugin", "name": "Tasks", - "version": "4.6.1", + "version": "4.7.0", "minAppVersion": "1.1.1", "description": "Task management for Obsidian", "author": "Martin Schenck and Clare Macrae", diff --git a/package.json b/package.json index 8bb6287982..8dcbfa29dc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "obsidian-tasks", - "version": "4.6.1", + "version": "4.7.0", "description": "Task management for the Obsidian knowledge base", "main": "main.js", "scripts": { diff --git a/versions.json b/versions.json index 3b2c7f8e87..41595f6f0a 100644 --- a/versions.json +++ b/versions.json @@ -75,5 +75,6 @@ "4.4.0": "1.1.1", "4.5.0": "1.1.1", "4.6.0": "1.1.1", - "4.6.1": "1.1.1" + "4.6.1": "1.1.1", + "4.7.0": "1.1.1" }