Skip to content

Commit

Permalink
Update to version 6.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
claremacrae committed Jan 19, 2024
1 parent b91f798 commit a3663e9
Show file tree
Hide file tree
Showing 11 changed files with 39 additions and 38 deletions.
2 changes: 1 addition & 1 deletion docs/Advanced/Styling.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion docs/How To/How to style buttons.md
Original file line number Diff line number Diff line change
Expand Up @@ -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):

Expand Down
4 changes: 2 additions & 2 deletions docs/Introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down
52 changes: 26 additions & 26 deletions docs/Queries/Sorting.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand All @@ -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.

<!-- placeholder to force blank line before included text --><!-- include: CustomSortingExamples.test.other_properties_task.isDone_docs.approved.md -->

Expand All @@ -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.

<!-- placeholder to force blank line before included text --><!-- include: CustomSortingExamples.test.statuses_task.status.name_docs.approved.md -->

Expand All @@ -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.

<!-- placeholder to force blank line before included text --><!-- include: CustomSortingExamples.test.statuses_task.status.type_docs.approved.md -->

Expand All @@ -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.

<!-- placeholder to force blank line before included text --><!-- include: CustomSortingExamples.test.statuses_task.status.symbol_docs.approved.md -->

Expand All @@ -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.

<!-- placeholder to force blank line before included text --><!-- include: CustomSortingExamples.test.statuses_task.status.nextSymbol_docs.approved.md -->

Expand All @@ -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.

<!-- placeholder to force blank line before included text --><!-- include: CustomSortingExamples.test.dates_task.done_docs.approved.md -->

Expand All @@ -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.

<!-- placeholder to force blank line before included text --><!-- include: CustomSortingExamples.test.dates_task.due_docs.approved.md -->

Expand All @@ -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.

<!-- placeholder to force blank line before included text --><!-- include: CustomSortingExamples.test.dates_task.scheduled_docs.approved.md -->

Expand All @@ -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.

<!-- placeholder to force blank line before included text --><!-- include: CustomSortingExamples.test.dates_task.start_docs.approved.md -->

Expand All @@ -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.

<!-- placeholder to force blank line before included text --><!-- include: CustomSortingExamples.test.dates_task.created_docs.approved.md -->

Expand All @@ -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`.

<!-- placeholder to force blank line before included text --><!-- include: CustomSortingExamples.test.dates_task.cancelled_docs.approved.md -->

Expand All @@ -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.

<!-- placeholder to force blank line before included text --><!-- include: CustomSortingExamples.test.dates_task.happens_docs.approved.md -->

Expand All @@ -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.

<!-- placeholder to force blank line before included text --><!-- include: CustomSortingExamples.test.other_properties_task.description_docs.approved.md -->

Expand Down Expand Up @@ -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.

Expand All @@ -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.

<!-- placeholder to force blank line before included text --><!-- include: CustomSortingExamples.test.other_properties_task.priorityName_docs.approved.md -->

Expand Down Expand Up @@ -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.

<!-- placeholder to force blank line before included text --><!-- include: CustomSortingExamples.test.other_properties_task.urgency_docs.approved.md -->

Expand All @@ -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.

<!-- placeholder to force blank line before included text --><!-- include: CustomSortingExamples.test.other_properties_task.isRecurring_docs.approved.md -->

Expand Down Expand Up @@ -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.

<!-- placeholder to force blank line before included text --><!-- include: CustomSortingExamples.test.other_properties_task.tags_docs.approved.md -->

Expand Down Expand Up @@ -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.

Expand All @@ -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.

<!-- placeholder to force blank line before included text --><!-- include: CustomSortingExamples.test.file_properties_task.file.path_docs.approved.md -->

Expand All @@ -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.

<!-- placeholder to force blank line before included text --><!-- include: CustomSortingExamples.test.file_properties_task.file.root_docs.approved.md -->

Expand All @@ -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.

<!-- placeholder to force blank line before included text --><!-- include: CustomSortingExamples.test.file_properties_task.file.folder_docs.approved.md -->

Expand All @@ -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.

<!-- placeholder to force blank line before included text --><!-- include: CustomSortingExamples.test.file_properties_task.file.filename_docs.approved.md -->

Expand All @@ -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.

<!-- placeholder to force blank line before included text --><!-- include: CustomSortingExamples.test.file_properties_task.heading_docs.approved.md -->

Expand Down
2 changes: 1 addition & 1 deletion docs/Scripting/Custom Sorting.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ publish: true
<span class="related-pages">#feature/scripting #feature/sorting</span>

> [!released]
> Custom sorting was introduced in Tasks X.Y.Z.
> Custom sorting was introduced in Tasks 6.0.0.
## Summary

Expand Down
2 changes: 1 addition & 1 deletion docs/Scripting/Expressions.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/Scripting/Task Properties.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions docs/Support and Help/Breaking Changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -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/",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
3 changes: 2 additions & 1 deletion versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}

0 comments on commit a3663e9

Please sign in to comment.