# Sensei Pro Changelog ## 1.20.0 - 2023-12-14 ### Added - Ability to style lesson action buttons in Premium learning mode lesson templates - Show a notice when the user tries to generate questions using AI but the lesson has no content ### Changed - Changed premium learning mode templates to use PHP to make them translatable - Rename "View Quiz" block to "Take Quiz" ### Fixed - Fix error when using older version of Woo Subscriptions - Improve reliability of send logic for No Progress email ## 1.19.2 - 2023-11-23 ### Added - New styles for timer in timed quizzes and a sticky timer for mobile and scrolled view ### Changed - Notice styles for paid courses in Learning Mode - Style of timed quiz notice - Remove unused email-related settings for Content Drip ### Fixed - Ensure Image Hotspot toolbar is not over the hotspot in the editor - Frontend assets for interactive blocks loading in any page with a video - Improve performance by caching multiple database calls generated by paid courses ## 1.19.1 - 2023-11-06 ### Fixed - Fix compatibility issues between Interactive Videos and latest version of Gutenberg - Fix elements dragging on Image Hotspots and Interactive Video with latest version of Gutenberg ## 1.19.0 - 2023-11-01 ### Added - Add a feature to invite students to join a group through a link - Deactivate the setting "Don't allow self-enrollment" in paid courses ### Removed - Removed unnecessary excerpt from video template and contact teacher button from all templates ## 1.18.0 - 2023-10-12 ### Added - Add support for WooCommerce High-Performance Order Storage (HPOS) ### Changed - Changed styles of ordered graded question answers - Bump minimum required PHP version to 7.4 - Improve support for PHP 8.1 ### Fixed - Fix issue of woothemes-sensei (WCPC) bundle breaking some translated sites for PHP 8.0 and above ## 1.17.0 - 2023-09-13 ### Added - Added functionality to deactivate license directly within the plugin. - Added functionality to view and modify licenses within the plugin. ### Changed - Changed the styles of pro question and answers ### Fixed - Fix issue with widgets not being loaded. - Fix translations when woothemes-sensei and sensei-lms are both active ## 1.16.1 - 2023-08-15 ### Fixed - Fix license issues with multisite - Use constrained layout for post content in Learning Mode templates ## 1.16.0 - 2023-07-13 ### Added - Add a TutorAI block to create guided questions - Add a modal to generate the course outline using AI ### Changed - Bump minimum required PHP version to 7.3 - Changed the name of the Checklist pattern to Tasklist ### Fixed - Delete orphaned post meta on plugin uninstall - Fix a PHP warning generated in some edge cases - Fix glossary posts being cached on some servers - Prevent issue with language updates appearing as available after they've been installed ## 1.15.1 - 2023-06-22 ### Fixed - Buy course button looking broken when rendered inside course list block and has multiple products attached ## 1.15.0 - 2023-06-01 ### Changed - Improve the Learning Mode experience ### Fixed - Fix error when course enrolment job runs - Fix visibility of Header and Course Navigation on Modern template of Learning Mode ## 1.14.1 - 2023-05-10 ### Fixed - Fixed licensing issue for wcpc AI quiz question generator ## 1.14.0 - 2023-05-10 ### Added - Add disclamer with the reason that Sensei Pro can't be updated when license is not active - Add functionality to generate question from lesson content using OpenAI ### Changed - Allow to check for Sensei Pro updates even with the license deactivated ### Fixed - Remove type declaration for hooked method. - Use wp_date to handle locale-dependent date formatting ## 1.13.1 - 2023-04-19 ### Fixed - Fix early returns to keep the original filtered value to prevent issues with other filters. ## 1.13.0 - 2023-04-03 ### Fixed - Fix type error caused by some third-party integrations - Pro email becoming unavailable after disabling ## 1.12.0 - 2023-03-29 ### Added - Added email to be sent to student when a lesson becomes available via content drip - Add No Progress background jobs and email generator - Add usage tracking for content drip and course expiration emails - Email for notifying student before course expires - Enabling pro emails - Add Course Showcase feature to allow promotion of eligible courses to SenseiLMS.com's Showcase. ## 1.11.2 - 2023-03-07 ### Changed - Ensure Sell your course.. task is only shown when WooCommerce is active. - Set product to be downloadable when created ### Fixed - Stop standalone question from crashing - Add missing "Search Courses" translation. - Fix display of Group Students for users on Calypso - Fixing CI build - Fix issue where Interactive Video Block caused the gutenberg editor to crash in some situations. - Move hardcoded colors from Learning Mode templates to CSS ## 1.11.1 - 2023-02-03 ### Fixed - Fix course list button style on Blockbase theme. - Fix type error when `the_content` is not a string. ## 1.11.0 - 2023-02-02 ### Added - Add a Glossary. - Add accordion interactive block. - Add a translator comment to "Flip Card" text. - Add bulk actions to add or remove studens in groups. - Add filter to disable open access for paid courses. - Apply sticky style to Sidebars on Modern and Video Full templates. ### Changed - Show the correct support link when using Sensei Pro on WPCOM. ### Removed - Remove a filter that forced the status of WooCommerce orders that include virtual products to be "completed" when it would be "processing". ### Fixed - Co-teacher performance enhancements. - Comment: Fix course ID check. - Fix class list alignment in Groups page. - Fixed add to cart notice not appearing if course is not on first page of Course List block. - Fix issue that caused the quiz page to be blank given a combination of settings of the Quiz Timer. - Fix issue while saving quiz settings. ## 1.10.0 - 2023-01-12 ### Added - Add Block Visibility feature to Site Editor. - Support for multisites. ### Changed - Improve the course access period selection. ### Fixed - Course outline cannot be hidden. - Fix flash card block breaking after changing site language. - Fix issue where the Co-Teachers feature blocked courses from being removed in WP 5.9. - Fix issue with Sensei blocks inside other Sensei blocks not being rendered in some situations. ## 1.9.1 - 2022-12-19 ### Fixed - Co-teachers are lost from dropdown on refresh. ## 1.9.0 - 2022-12-06 ### Added - Add support for Co-Teachers. - Give Teachers the ability to edit Questions for Courses on which they are a Co-Teacher. ### Fixed - Add access period and course pricing slot fills for Sensei Course Settings. - Fix ordering question removing classic editor support. - Support wp.com purchase plans on Sensei Pro (Paid Courses) plugin. - Fixes issue of email not being sent for content drip at scheduled time. ## 1.8.1 - 2022-11-10 ### Fixed - Improve compatibility with alternative translation file locations. - Improve plugin update details changelog, icon, and banner. - Fix error when removing partial refund of a course order. ## 1.8.0 - 2022-10-27 ### Added - Added task "Sell your Course with WooCommerce" to the Sensei Home tasks. ### Changed - Change admin menu references to be compatible with the latest changes in Sensei LMS. - Moved Activation Form from Setup Wizard to Sensei Home. ## 1.7.2 - 2022-10-24 ### Fixed - Fix columns vertical alignment on WP 6.0. - Fix cron update check.. ## 1.7.1 - 2022-10-24 ### Fixed - Fix issue with WooCommerce partial refunds. - Fix alignment in Modern template. - Fix block visibility settings panel. - Fix cron scheduling performance issue. ## 1.7.0 - 2022-10-11 ### Added - Adjust learning mode templates. - Introduce premium-templates module. - Make block visibility panel closed by default. ## 1.6.2 - 2022-09-08 ### Fixed - Fix infinite loop opening a break point in Interactive Video block. - Fix Interactive Video block with Jetpack VideoPress. - Fix issue with Content Drip's daily event firing multiple times per day. - Skip groups report hooks in specific environments, where users table relationship is not possible. ## 1.6.1 - 2022-08-29 ### Added - Add a setting to show or not the Interactive Video timeline on the frontend. ### Fixed - Detect required videos inside interactive video blocks properly. - Fix issue with CTRL+Z loop when creating interactive video block based on an unsupported video provider. - Fix default color of the break point required icon. ## 1.6.0 - 2022-08-18 ### Added - Add Interactive Video block. - Add access period begins settings into course access period settings. ### Changed - Bump supported Sensei LMS version to 4.6.0. - Update purchase course block button text. ## 1.5.1 - 2022-08-09 ### Fixed - Fix flashcard content disappearing. - Improve hotspot marker styles. - Block Visibility Text Improvements. - Optimize frontend bundle sizes. - Adjust Image Hotspots block's marker animations. - Block Visibility - Handle a cases when there are no Groups. - Fix the deprecation warning about Toolbar custom component. - Show no student groups available instead of hiding the Groups option. ## 1.5.0 - 2022-07-25 ### Added - "Logged out users", "Completed lesson" and "Not completed lesson" options. - Add block visibility labels to list view. - Add block visibility option descriptions. - Add block visibility sidebar options. - Add extra description text when lesson post type to enrolment options. - Add group filter to students report. - Add support for groups select paging. - Add support for relative scheduling for block visibility option. - Add visibility borders to blocks when hidden. - Comment: Add a pre-publish notice about hidden content. - Hide blocks on the frontend for groups visibility type. - Hide content based on blocks' scheduled visibility settings. - Implement block visiblity schedule option. - Implement content hiding on the frontend for Block Visibility. - Implement groups visibility type. ### Changed - Split block visibility options for more granular control. ## 1.4.1 - 2022-07-14 ### Added - Enable to optionally remove enrollments when a student is removed from a group. - Enable to optionally remove enrollments when a course is removed from a group. - Enable to restore the removed course on the group's settings. - Enable moving a group to the trash instead of instant deletion. - Show detailed errors when there is an error to add a student to a group. ### Changed - Update the destructive actions buttons to use the Gutenberg destructive button pattern. ### Fixed - Fixed a performance issue on Content Drip on websites with thousands of lessons. ## 1.4.0 - 2022-07-11 * New! Create groups and cohorts of students. - Action menu with generic modal with action item to remove a student from a group. - Track usage of Student Groups functionality. - Add an endpoint to add students to a group. - Add a group courses column in the group list table to show the number of courses in the group. - Add a last activity column in group students table with ability to sort. - Add a modal to create new student group. - Add a students column in the group list table to show number of assigned students. - Add endpoint to edit the access period of a course in a group. - Add endpoint to get courses by group ID. - Add endpoint to remove a student from a group. - Add endpoint to remove students in batch from a group. - Add endpoint to update group name. - Add endpoint to remove group and all related data. - Add enrolled courses column in group students table. - Add filter by course functionality in group students page. - Add group list page action to remove group and a modal for confirming. - Add modal to update the name of a group in the action menu. - Add rest endpoint for adding student group. - Add enrolment provider and enroll students into courses. - Add group settings page. - Add modal to assign students to the selected group. - Add endpoint to add a course to a group. - Enable to remove multiple students from the selected group. - Enable to update access periods. - Improve the groups access period interface. - Redirect user to group students page when students are added via action menu. - Use action hook to render groups menu item on proper place in the sensei lms menu. - Increased PHP requirement from 7.0 to 7.2. ## 1.3.1 - 2022-06-20 ### Fixed - Add filter to remove upsells from course and lesson wizard. ## 1.3.0 - 2022-06-15 ### Added - Add premium patterns for Lessons and Courses. ### Fixed - Fix flashcard styles on some themes - Fix incompatibility with Gutenberg breaking the popovers in the editor. ## 1.2.0 - 2022-05-31 * New: Add support for Required Blocks. * New: Add a new sensei notice for version checks. * Tweak: Bump minimum PHP version supported to 7.2 * Fix: Task List block autofocus fix. * Fix: The styles enqueue that was causing a conflict with Setup Wizard style. * Fix: Translations for sidebar color settings in task list block. ## 1.1.1 - 2022-05-04 * New: Register `sensei-pro` text domain in `woothemes-sensei` * Fix: Color supports api and Task List checked attribute * Fix: Hotspot image size in Twenty Twenty Two 2022.04.26 - version 1.1.0 * New: Add Flash Cards block * Add block * Add flipping * Refine block * Add `blockId` attribute * Limit content * New: Add Image Hotspots block * Add block * Open/close hotspot by clicking * Save markers for frontend and position tooltips * Add frontend script * Add toolbar button * Add image controls * Support dragging to change position * Limit tooltip content * Track opened tooltip * New: Add Task List block * Add blocks * Add rick text * Implement checkboxes * New task on enter * Add storage * Add color customisation * New: Add Question block * Initial multi-choice implementation * Add block details * Add Multiple Choice frontend * Add Boolean frontend * Add Fill the Gap frontend * Add Ordering frontend * Add Single Line frontend * Add feedbacks frontend * Prevent Question blocks to be added in Question blocks * Review accessibility * Adding local storage persistence * Style and simplify radio and checkbox buttons * Remove empty answers from questions on save * Clear state on question type change * New: Add generic block running library * New: Add default Loco translate configuration for `woothemes-sensei` * Tweak: Update references to WCPC * Tweak: Run Frontend Lint workflow when SCSS changes * Tweak: Activate dependency group eslint rule * Fix: Translations in modules * Fix: Translations in `woothemes-sensei` 2022.03.08 - version 1.0.2 * New: Subscriptions with WooCommerce Payments compatibility * New: Add/action scheduler * Tweak: Revert job names back to WCPC naming for now * Tweak: Update legacy content drip message to be displayed in the plugins page * Tweak: Set correct background job schedular import path * Tweak: Course Expiration Module v2 2022.03.02 - version 1.0.1 * New: Add clarification for ordering question type under the question title * New: Add a Shared Module * Tweak: Simplifying plugin updater response processing * Tweak: Occupy all the admin body content when on licensing page * Fix: multi-choice to ordering question switch bug * Fix: drag&drop for ordering question type on mobile * Fix: quiz timer mobile view 2022.02.23 - version 1.0.0 * New: Pull in functionality from WooCommerce Paid Courses * Convert WCPC repo to Sensei Pro * Change text domain to sensei-pro * Fix product tour asset loading * New: Pull in functionality from Sensei Content Drip * Add content drip module * Change content drip textdomain * Add Content Drip plugin check * Change: Enabling content-drip tests * New: Advanced quizzes * Advanced quiz features * Add hint to Ordering question answer placeholder * Fix quiz start page * move quiz timer settings to side panel * Add fallback display Quiz Timer Settings * Quiz Timer: Show 'Start Quiz' page in learning mode * Fix quiz timer submit * New: Create module structure * Set up asset build and load to work with modules * Set up uninstall and data cleaning in modules * Hooking into uninstall process for senseilms module * Make sure Sensei_Pro_Setup always has dependencies met * New: Sensei Pro Licensing * Licensing: Add initial proposal for Plugin Updater * Activate license page * Tweak license activation errors * Skipping plugin update call when no valid license is present * Adding Invalid License notice in the admin panel * Consuming Licensing operations API * New: Set up build script for Sensei Pro * New: Do not activate sensei-pro if woothemes-sensei is present * New: Updating Language_Packs to use new translation project * Tweak: Replace Sensei Pro upsell with licensing ui on extensions page * Tweak: Update WooCommerce Requirement * Tweak: Bump minimum supported Sensei version to 4.0.0 * Tweak: Remove upsells when Sensei Pro is installed * Fix: Fix sensei pro initializing twice in the unit tests * Fix: Fix translations for Sensei Pro * Fix: Fix PHP warnings * Fix: woothemes-sensei build * Fix: woothemes sensei compatibility * Fix: Missing dependency in uninstall process for Licensing * Fix: Check for Sensei LMS and WooCommerce dependencies