From a3663e986149757f606c6164bd5407e4a852f781 Mon Sep 17 00:00:00 2001 From: Clare Macrae Date: Fri, 19 Jan 2024 22:53:49 +0000 Subject: [PATCH] Update to version 6.0.0 --- docs/Advanced/Styling.md | 2 +- docs/How To/How to style buttons.md | 2 +- docs/Introduction.md | 4 +- docs/Queries/Sorting.md | 52 +++++++++++------------ docs/Scripting/Custom Sorting.md | 2 +- docs/Scripting/Expressions.md | 2 +- docs/Scripting/Task Properties.md | 2 +- docs/Support and Help/Breaking Changes.md | 4 +- manifest.json | 2 +- package.json | 2 +- versions.json | 3 +- 11 files changed, 39 insertions(+), 38 deletions(-) diff --git a/docs/Advanced/Styling.md b/docs/Advanced/Styling.md index f9fb66abdf..2fd1de49fa 100644 --- a/docs/Advanced/Styling.md +++ b/docs/Advanced/Styling.md @@ -162,7 +162,7 @@ The following additional components have the following classes: > - `tasks-group-heading` was introduced in Tasks 1.6.0. > - `plugin-tasks-query-explanation` was introduced in Tasks 1.19.0. > - `tasks-postpone` was added in Tasks 5.3.0. -> - Styling of the Edit and Postpone buttons was changed in Tasks X.Y.Z: see [[How to style buttons]]. +> - Styling of the Edit and Postpone buttons was changed in Tasks 6.0.0: see [[How to style buttons]]. ## CSS Examples diff --git a/docs/How To/How to style buttons.md b/docs/How To/How to style buttons.md index f05e5bb587..47affcfec2 100644 --- a/docs/How To/How to style buttons.md +++ b/docs/How To/How to style buttons.md @@ -88,7 +88,7 @@ This example snippet result in the follow style: ## Back to the roots -This section shows how to recreate the pre-Tasks X.Y.Z appearance of the Edit button. +This section shows how to recreate the pre-Tasks 6.0.0 appearance of the Edit button. You can also use your own graphics instead of existing unicode characters, like in [this example CSS snippet](https://github.com/obsidian-tasks-group/obsidian-tasks/blob/main/resources/sample_vaults/Tasks-Demo/.obsidian/snippets/tasks-buttons-svg.css): diff --git a/docs/Introduction.md b/docs/Introduction.md index 7929152d2e..480007dec6 100644 --- a/docs/Introduction.md +++ b/docs/Introduction.md @@ -13,11 +13,11 @@ _In recent [releases](https://github.com/obsidian-tasks-group/obsidian-tasks/rel Move the older ones down to the top of the comment block below... --> -- X.Y.Z: +- 6.0.0: - Add [[Custom Sorting|custom sorting]]. - Document the [[Sorting#Default sort order|default sort order]]. - **Warning**: This release contains some **bug-fixes** to **sorting** and to treatment of **invalid dates**. - - The changes are detailed in [[breaking changes#Tasks X.Y.Z (19 January 2024)|breaking changes]], even though they are all improvements to the previous behaviour. + - The changes are detailed in [[breaking changes#Tasks 6.0.0 (19 January 2024)|breaking changes]], even though they are all improvements to the previous behaviour. - You may need to update any CSS snippets for the Edit or Postpone buttons: see [[How to style buttons]]. - 5.6.0: - The [[Postponing|postpone]] menu now offers `today` and `tomorrow`. diff --git a/docs/Queries/Sorting.md b/docs/Queries/Sorting.md index 4d3ef5c846..58e3a7d066 100644 --- a/docs/Queries/Sorting.md +++ b/docs/Queries/Sorting.md @@ -53,7 +53,7 @@ However, any `sort by` instructions in queries take precedence over these defaul ## Custom Sorting > [!released] -> `sort by function` was introduced in Tasks X.Y.Z. +> `sort by function` was introduced in Tasks 6.0.0. Tasks provides many built-in sorting options, but sometimes they don't quite do what is wanted by all users. @@ -74,7 +74,7 @@ For more information, including adding your own customised statuses, see [[Statu > [!Tip] > `sort by status.type` gives a much more useful sort order than `sort by status`. See [[#Status Type#]] below. -Since Tasks X.Y.Z, **[[Custom Sorting|custom sorting]] by status** is now possible. +Since Tasks 6.0.0, **[[Custom Sorting|custom sorting]] by status** is now possible. @@ -94,7 +94,7 @@ sort by function !task.isDone > [!released] `sort by status.name` was introduced in Tasks 1.23.0. -Since Tasks X.Y.Z, **[[Custom Sorting|custom sorting]] by status names** is now possible. +Since Tasks 6.0.0, **[[Custom Sorting|custom sorting]] by status names** is now possible. @@ -113,7 +113,7 @@ sort by function task.status.name > [!released] `sort by status.type` was introduced in Tasks 1.23.0. -Since Tasks X.Y.Z, **[[Custom Sorting|custom sorting]] by status types** is now possible. +Since Tasks 6.0.0, **[[Custom Sorting|custom sorting]] by status types** is now possible. @@ -129,7 +129,7 @@ sort by function task.status.type There is no built-in instruction to sort by status symbols. -Since Tasks X.Y.Z, **[[Custom Sorting|custom sorting]] by status symbol** is now possible. +Since Tasks 6.0.0, **[[Custom Sorting|custom sorting]] by status symbol** is now possible. @@ -145,7 +145,7 @@ sort by function task.status.symbol There is no built-in instruction to sort by next status symbols. -Since Tasks X.Y.Z, **[[Custom Sorting|custom sorting]] by next status symbol** is now possible. +Since Tasks 6.0.0, **[[Custom Sorting|custom sorting]] by next status symbol** is now possible. @@ -168,13 +168,13 @@ When sorting tasks by date, such as with `sort by due`, tasks are sorted in this 3. Tasks with **no due date** come last. > [!NOTE] -> Prior to Tasks X.Y.Z, tasks with invalid dates were sorted **after** the tasks with valid dates. +> Prior to Tasks 6.0.0, tasks with invalid dates were sorted **after** the tasks with valid dates. ### Done Date - `sort by done` (the date when the task was done) -Since Tasks X.Y.Z, **[[Custom Sorting|custom sorting]] by done date** is now possible. +Since Tasks 6.0.0, **[[Custom Sorting|custom sorting]] by done date** is now possible. @@ -190,7 +190,7 @@ sort by function task.done.format("dddd") - `sort by due` (the date when the task is due) -Since Tasks X.Y.Z, **[[Custom Sorting|custom sorting]] by due date** is now possible. +Since Tasks 6.0.0, **[[Custom Sorting|custom sorting]] by due date** is now possible. @@ -210,7 +210,7 @@ sort by function task.due.format("dddd") - `sort by scheduled` (the date when the task is scheduled) -Since Tasks X.Y.Z, **[[Custom Sorting|custom sorting]] by scheduled date** is now possible. +Since Tasks 6.0.0, **[[Custom Sorting|custom sorting]] by scheduled date** is now possible. @@ -226,7 +226,7 @@ sort by function task.scheduled.format("dddd") - `sort by start` (the date when the task starts) -Since Tasks X.Y.Z, **[[Custom Sorting|custom sorting]] by start date** is now possible. +Since Tasks 6.0.0, **[[Custom Sorting|custom sorting]] by start date** is now possible. @@ -245,7 +245,7 @@ sort by function task.start.format("dddd") > [!released] `sort by created` was introduced in Tasks 2.0.0. -Since Tasks X.Y.Z, **[[Custom Sorting|custom sorting]] by created date** is now possible. +Since Tasks 6.0.0, **[[Custom Sorting|custom sorting]] by created date** is now possible. @@ -264,7 +264,7 @@ sort by function task.created.format("dddd") > [!released] `sort by cancelled` was introduced in Tasks 5.5.0. -Since Tasks X.Y.Z, **[[Custom Sorting|custom sorting]] by cancelled date** is now possible, using `task.cancelled`. +Since Tasks 6.0.0, **[[Custom Sorting|custom sorting]] by cancelled date** is now possible, using `task.cancelled`. @@ -283,7 +283,7 @@ sort by function task.cancelled.format("dddd") > [!released] `sort by happens` was introduced in Tasks 1.21.0. -Since Tasks X.Y.Z, **[[Custom Sorting|custom sorting]] by happens date** is now possible. +Since Tasks 6.0.0, **[[Custom Sorting|custom sorting]] by happens date** is now possible. @@ -301,7 +301,7 @@ sort by function task.happens.format("dddd") - `sort by description` (the description of the task) -Since Tasks X.Y.Z, **[[Custom Sorting|custom sorting]] by description** is now possible. +Since Tasks 6.0.0, **[[Custom Sorting|custom sorting]] by description** is now possible. @@ -331,7 +331,7 @@ sort by function \ ### Description without tags -Since Tasks X.Y.Z, **[[Custom Sorting|custom sorting]] by description with tags removed** is now possible. +Since Tasks 6.0.0, **[[Custom Sorting|custom sorting]] by description with tags removed** is now possible. The value `task.descriptionWithoutTags` returns a copy of the description with all the tags removed, so that you can sort together any tasks whose descriptions differ only by their tags. @@ -350,7 +350,7 @@ sort by function task.descriptionWithoutTags - `sort by priority` (priority of the task; "low" is below "none": [[Priority|priorities]]) -Since Tasks X.Y.Z, **[[Custom Sorting|custom sorting]] by priority name and number** is now possible. +Since Tasks 6.0.0, **[[Custom Sorting|custom sorting]] by priority name and number** is now possible. @@ -378,7 +378,7 @@ sort by function task.priorityNumber - `sort by urgency` ([[Urgency|urgency]]) -Since Tasks X.Y.Z, **[[Custom Sorting|custom sorting]] by urgency** is now possible. +Since Tasks 6.0.0, **[[Custom Sorting|custom sorting]] by urgency** is now possible. @@ -395,7 +395,7 @@ sort by function reverse task.urgency - `sort by recurring` (recurring tasks sort before non-recurring ones: [[Recurring Tasks]]) -Since Tasks X.Y.Z, **[[Custom Sorting|custom sorting]] by recurrence** is now possible. +Since Tasks 6.0.0, **[[Custom Sorting|custom sorting]] by recurrence** is now possible. @@ -424,7 +424,7 @@ For example this query will sort by the second tag found in the description. > [!released] Tag sorting was introduced in Tasks 1.6.0. -Since Tasks X.Y.Z, **[[Custom Sorting|custom sorting]] by tags** is now possible. +Since Tasks 6.0.0, **[[Custom Sorting|custom sorting]] by tags** is now possible. @@ -458,7 +458,7 @@ sort by function -task.tags.length There is no built-in instruction to sort by the original markdown line. -Since Tasks X.Y.Z, **[[Custom Sorting|custom sorting]] by original markdown line** is now possible. +Since Tasks 6.0.0, **[[Custom Sorting|custom sorting]] by original markdown line** is now possible. For example, this could be used to extract information from `task.originalMarkdown` that Tasks does not parse, to use for sorting tasks. @@ -478,7 +478,7 @@ sort by function task.originalMarkdown - `sort by path` (the path to the file that contains the task) -Since Tasks X.Y.Z, **[[Custom Sorting|custom sorting]] by file path** is now possible. +Since Tasks 6.0.0, **[[Custom Sorting|custom sorting]] by file path** is now possible. @@ -500,7 +500,7 @@ sort by function task.file.pathWithoutExtension There is no built-in instruction to sort by the top-level folder that contains the task. -Since Tasks X.Y.Z, **[[Custom Sorting|custom sorting]] by root folder** is now possible. +Since Tasks 6.0.0, **[[Custom Sorting|custom sorting]] by root folder** is now possible. @@ -516,7 +516,7 @@ sort by function task.file.root There is no built-in instruction to sort by the folder that contains the task. -Since Tasks X.Y.Z, **[[Custom Sorting|custom sorting]] by folder** is now possible. +Since Tasks 6.0.0, **[[Custom Sorting|custom sorting]] by folder** is now possible. @@ -543,7 +543,7 @@ sort by function task.file.path === query.file.path > [!released] `sort by filename` was introduced in Tasks 1.21.0. -Since Tasks X.Y.Z, **[[Custom Sorting|custom sorting]] by file name** is now possible. +Since Tasks 6.0.0, **[[Custom Sorting|custom sorting]] by file name** is now possible. @@ -568,7 +568,7 @@ sort by function task.file.filenameWithoutExtension > [!released] `sort by heading` was introduced in Tasks 1.21.0. -Since Tasks X.Y.Z, **[[Custom Sorting|custom sorting]] by heading** is now possible. +Since Tasks 6.0.0, **[[Custom Sorting|custom sorting]] by heading** is now possible. diff --git a/docs/Scripting/Custom Sorting.md b/docs/Scripting/Custom Sorting.md index ad91fd6ce5..ab0ea35568 100644 --- a/docs/Scripting/Custom Sorting.md +++ b/docs/Scripting/Custom Sorting.md @@ -7,7 +7,7 @@ publish: true #feature/scripting #feature/sorting > [!released] -> Custom sorting was introduced in Tasks X.Y.Z. +> Custom sorting was introduced in Tasks 6.0.0. ## Summary diff --git a/docs/Scripting/Expressions.md b/docs/Scripting/Expressions.md index 218dbe3283..5714fd0144 100644 --- a/docs/Scripting/Expressions.md +++ b/docs/Scripting/Expressions.md @@ -25,7 +25,7 @@ publish: true - One task is passed in to the expression, and a calculation is performed. - As of Tasks 4.0.0, a single task is passed in, to implement [[Custom Grouping]]. - As of Tasks 4.2.0, a single task is passed in, to implement [[Custom Filters]]. - - As of Tasks X.Y.Z, a single task is passed in, to implement [[Custom Sorting]]. + - As of Tasks 6.0.0, a single task is passed in, to implement [[Custom Sorting]]. - Tasks then calculates a value from the inputs. ## Example expressions diff --git a/docs/Scripting/Task Properties.md b/docs/Scripting/Task Properties.md index a1c7862ed7..6fd8a60c17 100644 --- a/docs/Scripting/Task Properties.md +++ b/docs/Scripting/Task Properties.md @@ -110,7 +110,7 @@ For more information, including adding your own customised statuses, see [[Statu - `in 3 months` - `in a year` 1. The `category` properties were added in Tasks 4.9.0. - - The `Invalid date` category was added in Tasks X.Y.Z. + - The `Invalid date` category was added in Tasks 6.0.0. 1. The `fromNow` properties were added in Tasks 4.9.0. ## Values for Other Task Properties diff --git a/docs/Support and Help/Breaking Changes.md b/docs/Support and Help/Breaking Changes.md index 555273f119..0f06b48db2 100644 --- a/docs/Support and Help/Breaking Changes.md +++ b/docs/Support and Help/Breaking Changes.md @@ -41,9 +41,9 @@ To help users updating across multiple Tasks releases, we collect here links to - The meaning of final backslash (`\`) characters on query lines [[Line Continuations#Appendix Updating pre-5.0.0 searches with trailing backslashes|has changed]]. -## Tasks X.Y.Z (19 January 2024) +## Tasks 6.0.0 (19 January 2024) -*Release notes: [Tasks X.Y.Z](https://github.com/obsidian-tasks-group/obsidian-tasks/releases/tag/X.Y.Z).* +*Release notes: [Tasks 6.0.0](https://github.com/obsidian-tasks-group/obsidian-tasks/releases/tag/6.0.0).* These are all bug-fixes, improving the default behaviour, and recorded here for transparency. diff --git a/manifest.json b/manifest.json index 8235e41aa7..b491bf54be 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "obsidian-tasks-plugin", "name": "Tasks", - "version": "5.6.0", + "version": "6.0.0", "minAppVersion": "1.1.1", "description": "Task management for Obsidian", "helpUrl": "https://publish.obsidian.md/tasks/", diff --git a/package.json b/package.json index 1e7799bba2..071cda44b9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "obsidian-tasks", - "version": "5.6.0", + "version": "6.0.0", "description": "Task management for the Obsidian knowledge base", "main": "main.js", "engines": { diff --git a/versions.json b/versions.json index ae13500385..545490f24f 100644 --- a/versions.json +++ b/versions.json @@ -88,5 +88,6 @@ "5.3.0": "1.1.1", "5.4.0": "1.1.1", "5.5.0": "1.1.1", - "5.6.0": "1.1.1" + "5.6.0": "1.1.1", + "6.0.0": "1.1.1" }