Latest Release Info
1 week ago
Tested Up To:
3.10.1 - 2023-09-15
- PHP error when creating or displaying Asana tasks assigned to an Asana user connection that's being used by multiple WordPress users in Completionist.
- PHP 8.2 compatibility for handling dates which was causing fatal errors when trying to create and display tasks in the Pinned Tasks metabox.
- Increased minimum version requirement to PHP 7.2 due to Composer dependencies.
3.10.0 - 2023-08-15
- Settings to clear the Asana data cache and set the cache duration (TTL).
- Improved the styling and language clarity of the Asana authorization screen.
- Automation actions firing multiple times or never at all for the Post is Created event. The
'transition_post_status'action hook is now used instead of
- Large images that failed to load would overflow the container in Project Embeds.
- Special characters would be encoded to HTML entities or completely stripped in automations and Asana tasks created by automations.
- Minor style fix on the Settings admin page.
3.9.1 - 2023-07-28
- FontAwesome assets are now included locally to avoid third-party tracking and hosting.
- Database compatibility for the Request Tokens database table primary key size. The database table would continuously fail to install due to max key length limits, such as 1000 bytes, making shortcodes unusable on some hosting providers.
3.9.0 - 2023-07-10
- New filter hooks in PHP for customizing retrieved Asana project data.
- New PHP class
Asana_Batchto handle batching Asana API requests.
wp_remote_get()instead of PHP's built-in cURL functions to proxy Asana attachments.
- Proxied attachment responses now include the
X-Robots-Tag: noindexHTTP header.
- Task attachments and images now feature a loading animation.
- Updated Composer PHP dependencies.
- Failure to detect and localize inline attachments where their HTML tag includes attributes.
- Failure to detect and insert oEmbeds within Asana tasks on WordPress <5.9.0.
- Disabled dragging of attachment images via the
- Content layout shifting (CLS) of attachment images as they are loaded. Inline images now feature their intrinsic
heightto properly reserve space. Attachments and images with unknown dimensions reserve space for a 2:1 aspect ratio until loaded.
3.8.0 - 2023-06-26
- New action hook in PHP
'ptc_completionist_deleted_stale_request_tokens'fires when stale request tokens are deleted from the database.
- New action hook in PHP
'ptc_completionist_deleted_all_request_tokens'fires when the request tokens database table is truncated (aka cleared).
- New filter hook in PHP
'ptc_completionist_shortcodes_meta_init'filters the metadata definitions array of shortcodes registered and managed by Completionist.
'render_callback'keys in the metadata definitions array of shortcodes registered and managed by Completionist.
- The main admin page's submenu item is now labeled "Settings".
- Minor error check improvements when saving some plugin settings.
- Minor style updates for border-radius consistency.
- Flash of an empty error message before the
[ptc_asana_project]shortcode begins loading.
- Cache data for remote plugin update checks is now removed during uninstallation.
- Request tokens could fail to become stale due to public access. Request tokens are now only refreshed when they are saved in a secure context. Note that HTML caching could now cause request tokens to become stale, depending on the interval and frequency that the HTML cache is refreshed. See the newly added action hooks to know when request tokens are deleted.
- Request tokens would use the Asana connection of WordPress user ID 1 (if available) to authenticate
[ptc_asana_project]shortcodes when no
auth_useror default frontend authentication user has been specified.
3.7.0 - 2023-04-21
- New custom database table for the new request tokens architecture. The rearchitecture drastically improves performance, storage, and reliability for all frontend requests by batching database writes into a single transaction and using an atomic storage strategy.
- New action hook
ptc_completionist_shortcode_enqueue_assetsfor users to easily and efficiently enqueue custom scipts and stylesheets for each rendered shortcode.
window.Completionist.hooks. Only one filter hook is currently available to demonstrate this new architecture.
- Saving the "Frontend Authentication User" setting no longer forces the Asana request tokens cache entries to be deleted. Request tokens are now properly invalidated automatically.
- Minor performance improvement when rendering multiple shortcodes on a single page load.
- Minor performance improvement when
Database_Manager::init()by preventing redundant initialization.
- The original
Request_Tokensclass and most of its methods. Methods related to data removal are still used for a clean migration to the new
Options::REQUEST_TOKENSpostmeta key used by the original
$post_idargument is deprecated and no longer used when localizing Asana attachment URLs. This is due to the request tokens rearchitecture.
- Filter hook
ptc_completionist_shortcode_asana_project_script_depsis deprecated and replaced by the new action hook
ptc_completionist_shortcode_enqueue_assets. Filtering the dependency array of each asset for each shortcode is not a scalable or performant approach. Please instead use the new, generic action hook for enqueueing custom assets. The new action hook also ensures custom assets are enqueued after included assets for proper sequencing of script and stylesheet overrides.
[ptc_asana_project]shortcode now works in contexts where a post ID is not available, such as in widgets or complex page builders.
[ptc_asana_project]shortcode's associated data would be saved across unrelated posts if displayed in a global context, such as a site footer.
- Race conditions with database reads and writes related to request tokens would cause interruptions in functionality, such as Asana attachments failing to load.
FOREIGN KEYdeclarations by ignoring its related
ADD COLUMNtable alter queries.
dbDelta()compatibility with uppercase
UNSIGNEDconstraints by using lowercase instead.
dbDelta()compatibility with a zero fractional second precision
datetimedatatype by simply removing it altogether. That is, using
- An Asana authentication user must now be provided when request tokens are created. This guarantees request tokens are properly invalidated if the authentication user ever changes, though there were no known vulnerabilities related to the existing functionality.
- A unique "cache key" must now be provided when request tokens are created. This guarantees cache entries are specific to each request token's usage, though there were no known vulnerabilities related to the existing functionality.
3.6.0 - 2023-04-07
- Project sections can now be excluded by name in the
[ptc_asana_project]shortcode using the new attribute like
exclude_sections="First Section,Another Section". No project sections are excluded by default.
- Tags on tasks are now displayed in the
[ptc_asana_project]shortcode with new attribute
show_tasks_tags="true". It is enabled by default.
.mp4video attachments on tasks are now supported.
- YouTube and Vimeo video embeds within task descriptions are now supported. They are displayed responsively at a 16:9 aspect ratio.
- All default HTTP headers are now removed from proxied attachment requests to ensure only the desired headers are returned. For example, an
Expiresheader would be present with a time that came before the desired
- Updated the
@wordpress/scriptspackage which is responsible for building ReactJS components and their styles.
Untitled Sectionto the default section names to be erased.
- Minor performance improvements to evaluating the
show_tasks_completedoption when retrieving tasks in an Asana project.
'ptc-completionist-shortcode-asana-project'stylesheet's version is now the stylesheet's build version rather than the Completionist plugin's version.
3.5.2 - 2023-03-27
- Asana deprecations still being logged by some
\Asana\Clientinstances that were loaded with different options than expected, particularly missing the
3.5.1 - 2023-03-22
- Remote plugin updates are now hooked by a named callback rather than an anonymous function.
- Plugin description and copyright year.
- Added "Project Embeds" as a feature listed in the README.
- Added documentation links for each feature in the README.
- Fatal error when block editor assets are enqueued in a context with no current post ID, such as when using the classic theme Customizer.
new_goal_membershipsAsana update to resolve deprecation logs.
3.5.0 - 2023-03-19
- Image attachments on tasks are now displayed in the
[ptc_asana_project]shortcode with new attribute
show_tasks_attachments="true". It is enabled by default.
- New REST API endpoint
/v1/attachmentsto proxy Asana attachment requests.
'ptc-completionist-shortcode-asana-project'script's version is now the script's build version rather than the Completionist plugin's version.
- Image attachments in task descriptions would break due to Amazon S3 source URLs expiring access after 2 minutes. This is now fixed in the
new_membershipsAsana update to resolve deprecation logs.
3.4.0 - 2022-11-04
- By popular demand, the first frontend feature is now implemented! The shortcode,
[ptc_asana_project], displays an Asana project in list layout.
- First custom REST API endpoint,
/v1/projects, with the new Request Keys architecture to securely perform requests from the website's public frontend.
- Settings option for which WordPress user's Asana connection should be used to authenticate frontend requests by default.
- Many new ReactJS components and styles to render the
- Helpful links to the Settings screen to quickly access Asana, Completionist's documentation, Completionist's changelog, and where to send feedback.
- Minor style tweaks to the Settings admin screen.
- User task list links from the "site collaborators" list on the Settings screen. The Asana API returns a
Forbiddenerror when trying to get the user task list link for other users, defeating the purpose of this feature and causing useless API requests.
- Duplicate display of a user listed in the plugin settings screen when their connected Asana account email does not match their WordPress user account email.
- Repeated authentication to the Asana API when using the currently logged-in user's identity. This fix improves performance and reduces API calls for connected Asana users in wp-admin.
3.3.0 - 2022-10-15
- Pinned Tasks post editor metabox has been converted to ReactJS, offering a better experience, and is now directly integrated into the Block Editor as a plugin panel.
- Several new ReactJS components to compose the new Pinned Tasks plugin panel in the Block Editor.
- Task request errors are now elegantly displayed on the frontend for the Dashboard Widget and Pinned Tasks panel ReactJS components. Before, errors were only logged to the browser console or rarely displayed in a browser window alert.
- The original, jQuery-based Pinned Tasks metabox is now marked as existing only for backwards compatibility with WordPress's Classic Editor.
ptc_create_taskAJAX action now returns the full Asana task object in
response.datainstead of the generated HTML representation.
ptc_pin_taskAJAX action now returns the full Asana task object in
response.datainstead of just the task GID. This also helps ensure proper task visibility permissions are enforced.
Asana_Interface::create_task()now also include the task's
action_linkfor frontend component compatibility.
- The ReactJS Pinned Tasks panel and Dashboard Widget styles are now imported as SCSS modules for automatic compiling and composition ease.
- Simplified the Dashboard Widget's HTML
- Task due dates being one day off in the Dashboard Widget, depending on your local timezone.
new_project_templatesAsana update to resolve deprecation logs.
3.2.0 - 2022-05-22
- Per user request, Automations now supports entering a custom action or filter hook name as the Event Trigger.
- Helpful messaging in Automations. For example, when no Event Trigger is selected, the Conditions section will display an informative message rather than empty fields.
- Improved the UX of Automations' edit screens by tweaking some styles and messaging.
- The Automations edit screen is now more reliable. In certain cases, for example, the deleted Action would not reflect as deleted. The underlying data would become out-of-sync with the frontend display.
- Removed usage of
FILTER_SANITIZE_STRINGPHP filter, which is deprecated in PHP 8.1.
3.1.1 - 2022-04-10
- Separated ReactJS build entrypoints to ensure only necessary scripts are enqueued for the Tasks dashboard widget and Automations screen.
- Display a message when there are no tasks to display for the selected filter in the Tasks dashboard widget.
- Hide the pagination navigation when there is only 1 page of tasks in the Tasks dashboard widget.
- Removed ReactJS source files from package bundling.
- Task descriptions with long words (such as link URLs) causing layout breaks in the Tasks dashboard widget.
- Completed tasks showing in Tasks dashboard widget on initial load.
- Fatal error when an Automation triggered to create an Asana task with no description.
3.1.0 - 2021-12-25
$opt_fieldsarguments in all relevant
Asana_Interfacemethods, using new
Asana_Interface::TASK_OPT_FIELDSmember constant instead for consistency.
- Many new ReactJS components to compose the new Tasks dashboard widget.
- Tasks dashboard widget has been converted to ReactJS, offering a better experience.
- Tasks dashboard widget style overhaul, offering a better experience.
Asana_Interface::$wp_user_idwould not be properly set to the current user's ID when loading the Asana client where user ID is
0, the default value.
- Newlines not rendering in the dashboard widget's task descriptions.
3.0.1 - 2021-11-09
- Incorrect require file path in the admin dashboard widget.
- Minor style fixes.
3.0.0 - 2021-07-27
- Greatly improved source code organization—introduces breaking changes for source code users.
- Minor style tweaks due to better color organization and standardization.
- Task descriptions are now displayed on click instead of hover.
- Increased task title font-size in the dashboard widget and pinned tasks metabox task lists.
- Automation action buttons are now hidden until the automation row is hovered.
- Updated the Asana client library to
- Plugin "Docs" link refers to the new PTC Docs website!
- Character escaping visible in Automation description.
new_user_task_listsAsana updated endpoint to resolve deprecation logs.
- Task actions no longer cause layout shifting when displayed on hover in the dashboard widget and pinned tasks metabox task lists.
2.0.0 - 2021-01-18
- Remote updates via YahnisElsts/plugin-update-checker and custom resources API.
- Licensing and remote updates system via WCAM.
- Software is now licensed under GPL v3 or later.
- Unnecessary files drastically increasing plugin size.
- Asana API outage causing fatal TypeError when attempting to identify the current Asana user.
1.1.0 - 2020-08-22
- NEW "Automations" feature!
- Licensing is no longer required to use Completionist's features, but license activation is still required to check for and receive plugin updates.
- Improved design of licensing screens.
- Authenticated users who could not be matched by email in Asana are now properly included in the site collaborators listing.
- Added existence checks for classes and functions used in uninstallation script.
- Corrected retrieval and typecasting on array of users returned when searching for WordPress user by Asana GID.
1.0.1 - 2020-04-21
- Malformed script enqueue condition causing excessive error logging.
1.0.0 - 2020-04-16
- Initial release featuring task-to-post pinning and the tasks overview dashboard widget.