Skip to content

Commit

Permalink
bump v4.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
MichelleBlanchette committed Jan 15, 2024
1 parent 4942883 commit e520e53
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 18 deletions.
2 changes: 1 addition & 1 deletion changelog.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
### [unreleased]
### 4.1.0 - 2024-01-14

#### Added

Expand Down
2 changes: 1 addition & 1 deletion completionist.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* Plugin Name: Completionist – Asana for WordPress
* Plugin URI: https://purpleturtlecreative.com/completionist/
* Description: Manage, pin, automate, and display Asana tasks in relevant areas of your WordPress admin and website frontend.
* Version: 4.0.0
* Version: 4.1.0
* Requires PHP: 7.2
* Requires at least: 5.0.0
* Tested up to: 6.4.2
Expand Down
29 changes: 15 additions & 14 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributors: michelleblanchette
Tags: asana, project, task, management, manager, integration, api, work, business, collaboration, client, customer, support, portal, dashboard, widget, metabox, shortcodes
Requires at least: 5.0.0
Tested up to: 6.4.2
Stable tag: 4.0.0
Stable tag: 4.1.0
Requires PHP: 7.2
License: GPL-3.0-or-later
License URI: https://www.gnu.org/licenses/gpl-3.0.txt
Expand Down Expand Up @@ -97,7 +97,20 @@ This plugin is now hosted from the official WordPress.org Plugins directory. Ple

== Changelog ==

_Here's what has changed in the past 3 releases. To access the complete changelog history, please visit [https://purpleturtlecreative.com/completionist/plugin-info/](https://purpleturtlecreative.com/completionist/plugin-info/) or see `changelog.md` in Completionist's files._
_Here's what changed in the past 3 releases. To access the complete changelog history, please visit [https://purpleturtlecreative.com/completionist/plugin-info/](https://purpleturtlecreative.com/completionist/plugin-info/) or see `changelog.md` in Completionist's files._

### 4.1.0 - 2024-01-14

#### Added

- New shortcode attribute `layout` to specify a custom layout for the `[ptc_asana_project]` shortcode. Note this is only useful for extenders and third-party customizations. Completionist always displays projects in `list` layout by default.
- New shortcode attribute `sort_tasks_by` to sort tasks by the specified field. Common values are `due_on`, `assignee`, `completed_at`, and `name`. Unlike Asana, subtasks are also sorted.
- `.pdf` video attachments on tasks are now supported.
- External attachments (eg. Vimeo and YouTube embeds) are now displayed as their oEmbed HTML representations when available.

#### Changed

- Unsupported or otherwise non-displayable task attachments are now listed as error or warning notices for clarity. Previously, such attachments would simply be logged to the browser console and ignored.

### 4.0.0 - 2023-12-10

Expand Down Expand Up @@ -152,15 +165,3 @@ _Here's what has changed in the past 3 releases. To access the complete changelo
#### Added

- New PHP filter hook `ptc_completionist_project_task_fields` to edit the task fields that will be retrieved for each task in an Asana project.

### 3.10.2 - 2023-10-10

#### Changed

- Clearing the Asana Data Cache no longer completely deletes all request tokens, so it's now compatible with frontend page caching.

#### Fixed

- Media attachments with uppercase file suffix, such as `JPG` or `PNG`, would not be displayed in Project Embeds.
- Style issues on the Settings screen when using Chrome with the Loom browser extension.
- Error 404 when using the new Asana project URL as the `src` in Project Embeds.
2 changes: 1 addition & 1 deletion src/includes/class-asana-interface.php
Original file line number Diff line number Diff line change
Expand Up @@ -1008,7 +1008,7 @@ public static function get_project_data(
/**
* Sorts tasks by the given field.
*
* @since [unreleased]
* @since 4.1.0
*
* @param \stdClass[] $tasks The tasks to be sorted.
* @param string $sort_field The task attribute to sort tasks by.
Expand Down
2 changes: 1 addition & 1 deletion src/includes/class-html-builder.php
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ function ( $object_tag_matches ) use ( &$replacements ) {
/**
* Gets the oEmbed HTML for the given URL.
*
* @since [unreleased]
* @since 4.1.0
*
* @param string $url The URL.
* @return string The HTML. Empty string on failure.
Expand Down

0 comments on commit e520e53

Please sign in to comment.