Skip to content

Releases: verbb/workflow

2.0.6

25 Oct 00:15
Compare
Choose a tag to compare

Added

  • Add support for editor + reviewer dual role.

Fixed

  • Fix an error when comparing reviews.
  • Fix required notes not being enforced.
  • Fix special characters in submission notes not working correctly.

1.7.6

25 Oct 00:10
Compare
Choose a tag to compare

Fixed

  • Fix special characters in submission notes not working correctly.

2.0.5

28 Apr 00:27
Compare
Choose a tag to compare

Added

  • Add type checks for sanitize/unsanitize notes.
  • Add handling for migrating to Reviews on invalid review data (coming from old installs and submission data).

Fixed

  • Fix Emoji support for notes in Craft 4.4+.

2.0.4

11 Feb 02:40
Compare
Choose a tag to compare

Changed

  • Update front-end controller to use workflow/elements/save-entry.
  • Only admins are now allowed to access Workflow settings.

Fixed

  • Fix an error with sending published author notification emails.
  • Fix special characters in submission notes not working correctly.
  • Fix front-end submissions not working for Ajax.
  • Fix site-based submission email notification.
  • Fix an error when trying to approve/publish submissions made from the front-end.

Removed

  • Removed Settings Workflow user permission.

2.0.3

24 Dec 23:42
Compare
Choose a tag to compare

Added

  • Add fallback for getDraft() to getOwner().

Fixed

  • Fix an error when comparing a review on a completed and approved submission.
  • Fix an error when comparing reviews for a deleted element.
  • Fix an error when comparing content changes for some drafts.
  • Fix dashboard widget not linking to submission element detail pages.

2.0.2

24 Nov 12:13
Compare
Choose a tag to compare

Added

  • Add Submission::getOwnerCpUrl() to easily refer to the owner entry or draft’s cpEditUrl in emails.
  • Add some error-handling checks to Review::getSubmission(), Review::getElement(), Review::getUser().
  • Add Submission::getDraft().

Changed

  • References to the owner entry for a submission now refer to the draft (if it still exists).

Fixed

  • Fix an issue where status couldn’t be updated when editing a submission in the control panel.

2.0.1

23 Nov 02:50
Compare
Choose a tag to compare

Fixed

  • Fix submissions not being correctly multi-site aware in some instances.
  • Fix an error when sending reviewer notifications.
  • Fix PHP errors that could occur when executing GraphQL queries..

2.0.0

07 Nov 11:21
Compare
Choose a tag to compare

Added

  • Add detail template for Submissions for stats and more detail on each review.
  • Add entry “diff” functionality to easily see what’s been added/changed/removed (if any) on each submission review.
  • Add “Published Author Notifications” notification.
  • Add emoji support for submission notes.
  • Add “status” column to submissions index.
  • Add GraphQL support for querying submissions.
  • Add missing English Translations.
  • Add resave console command for elements.
  • Add checks for registering events for performance.
  • Add archiveTableIfExists() to install migration.

Changed

  • Now requires PHP ^8.0.2.
  • Now requires Craft ^4.0.0.
  • Revamped Submissions and Reviews. Now captures information each time an action is performed on an entry for better review tracking. Refer to upgrade docs for a more thorough explanation.
  • Breaking Change Update email templates to handle reviews. Refer to upgrade docs.
  • Breaking Change Move email functions to own service. Refer to upgrade docs.
  • Revamped submission process for more reliably and simplified handling with Craft 4+ updates.
  • Switch Entry::class, Entry::EVENT_AFTER_SAVE to Elements::EVENT_AFTER_SAVE_ELEMENT to handle some edge-cases.
  • Changed default title of a submission to Submission for “{entry.title}” on {date}.
  • Rename base plugin methods.
  • Now requires Workflow 1.7.0 in order to update from Craft 3.

Fixed

  • Fix submissions made on published entry drafts and the “[Deleted Element]” because once applied the drafts are deleted
  • Fix numerous UI issues.
  • Fix widget for an editor on a published entry showing, before a draft has been created.
  • Fix being able to save a submitted draft when it should be locked.

Removed

  • Removed SubmissionsController as no longer needed.

2.0.0-beta.8

04 Nov 01:49
Compare
Choose a tag to compare

Added

  • Now store ownerCanonicalId to help resolve the submission against the original entry after the draft is deleted.
  • Add emoji support for submission notes.
  • Add “status” column to submissions index.
  • Add GraphQL support for querying submissions.

Changed

  • Breaking Change Move email functions to own service. Refer to upgrade docs.
  • Revamped submission process for more reliably and simplified handling with Craft 4+ updates.
  • Switch Entry::class, Entry::EVENT_AFTER_SAVE to Elements::EVENT_AFTER_SAVE_ELEMENT to handle some edge-cases.

Fixed

  • Fix submissions made on published entry drafts and the “[Deleted Element]” because once applied the drafts are deleted
  • Fix numerous UI issues.
  • Fix widget for an editor on a published entry showing, before a draft has been created.
  • Fix being able to save a submitted draft when it should be locked.

Removed

  • Removed SubmissionsController as no longer needed.

2.0.0-beta.7

25 Sep 09:50
Compare
Choose a tag to compare

Fixed

  • Fix an error running resave console commands.