Changelog

Keep up to date with all our updates.

  • Sensei 3.8.1

    • Fix: Fix lesson module metabox saving with Yoast installed #3982
    • Fix: Fix course lessons in modules not appearing on analysis screen #3971
    • Fix: Allow template field to be edited by teachers #3985
    • Fix: Add post type and access checks to main view on learner management #3984 👏 foobar7
    • Fix: Check for edit access for course in bulk learner management #3984 👏 foobar7
    • Fix: Make sure users who aren’t participants can’t see private messages #3984 👏 foobar7
    • Fix: Escape HTML in gap fill editor preview #3984 👏 foobar7
    • Fix: Hide REST API lesson content and remove lesson and question feeds #3984
  • Sensei 3.8.0

    • New: Conditional Content block
      • Add Restricted Course Content block #3849
      • Rename Restricted Content block to Conditional Content #3939
    • New: Lesson Actions block
      • Isolate course blocks #3885
      • Add basic setup for lesson actions block #3886
      • Add Lesson Actions block settings #3887
      • Fix button alignment in lesson actions block #3895
      • Style selected state of buttons in editor for the lesson actions block #3903
      • Fix issues with selecting different buttons in the lesson actions block #3907
      • Add Sensei LMS block category for lessons #3908
      • Add View quiz button to lesson actions block #3910
      • Fix alignment of buttons in Lesson Actions block #3913
      • Disable Complete Lesson button in editor for an in-progress lesson if passmark must be achieved #3914
      • Add shared block foundation #3917
      • Display Lesson Actions block in the frontend #3929
      • Fix opacity of disabled buttons in Lesson Actions block #3932
      • Handle lesson hooks for lessons which contain a block #3935
      • Add block template to the lesson editor #3937
      • Fully hide inactive buttons in Lesson Actions block and add state separator #3943
      • Update block descriptions for Lesson Actions blocks #3944
      • Show View Quiz button in Lesson Actions block even after quiz is completed #3946
      • Update Reset Lesson block description #3948
      • Use quiz state to determine if complete lesson is allowed #3949
      • Fix: Don’t initialize lesson blocks if they don’t exist on the page #3960
      • Fix Lesson Actions styles #3961
    • New: Add toolbar dropdown component for use with blocks #3904
    • New: Log when lessons are updated #3920
    • Tweak: Use Sensei_Notices in Take Course block #3901
    • Tweak: Update question field names #3905
    • Tweak: Update text in Lesson Actions and Restricted Course Content blocks #3927
    • Tweak: Update blocks architecture #3928
    • Tweak: Add icons for Conditional Content and Lesson Actions blocks #3954
    • Fix: Enable translating blocks #3919
    • Fix: Do not allow duplicate notices to be displayed #3923
    • Fix: Fix lesson order being changed when saving lesson #3951 👏 @hansschuijff
    • Fix: Fix block translations #3962
  • Sensei 3.7.0

    • New: Add filter to only allow some mime types to quiz file upload answers #3828
    • New: Remove REST API Test Harness code #3475
    • New: Show admin notice if Sensei hasn’t been built correctly #3775 👏 @merkushin
    • New: Log course completion rate #3777
    • New: Add Remove Progress button in Learner Management for lessons #3857
    • New: Add basic integrations with Site Health #3834
    • New: Add Tools page and deprecate Data Updates page #3842
    • New: Add course enrollment debugger to Tools menu #3843
    • New: Add hook to filter meta keys when duplicating courses #3830
    • New: Add comment table indexes on upgrade #3861
    • New: Add notice to install WooCommerce Paid Courses #3876, #3884
    • Tweak: Enable translating more Sensei content using Polylang and WPML #3840
    • Tweak: Ensure all data is removed when uninstalling the plugin #3864
    • Tweak: Minor tool fixes and additions #3896
    • Tweak: Rename Grading Notes to Answer Feedback in grading tool #3897
    • Fix: Fix empty Courses page on multi-site install #3827
    • Fix: Fix linter issues #3833
    • Fix: Fix some columns not showing in courses, lessons and questions lists #3273 👏 @hansschuijff
    • Fix: Prevent double form submission #3838
    • Fix: Fix teacher/admin module slug conflicts in course outline block #3846
    • Fix: Fix some colors not being applied on front end for course blocks #3844
    • Fix: Fix teacher change issue on saving block editor meta boxes #3829
    • Fix: Remove duplicate progress entries after inserting a new one #3855
    • Fix: Fix module renaming in course outline block #3862
    • Fix: Teachers should only be able to access their own courses #3873
    • Fix: Fix order that lessons in a module are retrieved in #3879
    • Fix: Always use numeric grade when grading manually #3755
    • Fix: Hide Modules metabox after changing course teacher to prevent module conflicts #3869
  • Sensei 3.6.1

    • Fix: Fix not being able to save course when Yoast SEO is activated #3866
    • Fix: Ensure exit survey is displayed after deactivating Sensei with WooCommerce Paid Courses #3871
  • Sensei 3.6.0

    • New: Course Outline block
      • Add “Edit lesson” link to lesson block settings #3637
      • Add “Not Started” option to module block status setting #3678
      • Add Edit Lesson button to course outline block toolbar #3708
      • Add ability to expand/collapse modules #3628
      • Add chevron to lesson block #3679
      • Add course outline block icons #3630
      • Add course outline empty state #3594
      • Add course structure API integration #3600
      • Add endpoints for getting and saving course structure #3593
      • Add font size setting to lesson block #3634
      • Add lesson block color customization #3620
      • Add lesson block status setting #3643
      • Add module block status setting #3613
      • Add outline and module block styles #3650
      • Add saving of course structure #3602
      • Add setting to course outline block that disables module animation #3641
      • Add support for course outline block to importer #3698
      • Add support for inner block attributes #3615
      • Add transform that enables grouping selected lessons into a module #3651
      • Allow for different context when getting course structure #3621
      • Allow line wrapping for module, lesson titles #3692
      • Create quiz when saving new lesson in course outline block #3629
      • Display all lessons and modules in preview mode in the outline block #3699
      • Don’t show Edit Lesson link in toolbar for empty lessons #3720
      • Escape outline block HTML #3681
      • Extract inner block attributes on server-side #3625
      • Fix Course Outline block for WordPress 5.3 #3623
      • Fix PHP notice when saving new lesson in course outline block #3660
      • Fix SVG usage and replace collapsible module icon with SVG image #3683
      • Fix lesson link style #3687
      • Fix module and lesson text colors in course outline block on WordPress 5.4 #3799
      • Fix module and lesson title styles #3797
      • Fix module status on frontend #3644
      • Fix placeholder icon and buttons for WordPress 5.3 #3669
      • Fix some issues with saving the course structure #3648
      • Refactor outline block files #3697
      • Refine display of post status in the lesson block #3680
      • Remove inserter from module block and adjust how empty lesson block is added #3684
      • Remove module animation setting and replace with collapsible modules setting #3675
      • Set a default value for outlineClassName in the module block #3806
      • Show draft status in lesson block #3653
      • Standardize module style and border settings in course outline and module blocks #3749
      • Update lesson block status setting #3663
      • Update placeholder text for course outline block module description, and course and lesson title #3642
      • Update text in block settings and reorder the panels in the lesson block #3657
      • Use block.json for metadata shared between JS and PHP #3635
      • Use outline block style if no style is set in the module block #3803
      • Add a message for course outline block without published content #3721
      • Add course outline basic setup #3560
      • Add lesson preview badge to the course outline #3732
      • Base for course outline content #3584
      • Change course outline styling to distinguish lessons that belong to a module and lessons that do not #3726
      • Change outline block error messages #3707
      • Focus the module title input when adding a new module #3676
      • Hide module description on the front end when there is no description #3710
      • Hide modules and lessons meta boxes in course editor when outline block is present #3649
      • Make it easier to select the course outline block in the editor #3756
      • Refactor modules collapsing script to use domReady #3722
      • Add module link to the course outline block when the module has a description #3723
      • Fix collapsible modules not working when animation is disabled #3665
      • Improve animation for expanding and collapsing modules #3646
      • Add support for default theme colors to Course Outline block #3741
      • Add support for default theme colors to the module border color setting #3805
      • Make border rules for “Minimal” module style less specific to allow overrides #3802
      • Fix race condition when saving #3800
      • Fix how “Edit Lesson” link displays in WordPress 5.4 #3816
      • Fix undo in module block #3820
    • New: Take Course block
      • Add Take Course block #3703
      • Add wp-block-button class to button block #3795
      • Add render callback filter for Take Course block #3762
      • Fix issue with cleared alignment in Take Course block #3764
      • Minor improvements to Take Course block #3761
      • Fix error being logged to the console for the Take Course block #3770
    • New: Contact Teacher block
      • Add Contact Teacher block #3702
      • Move private message form to Contact Teacher block #3717
      • Change Contact Teacher button default style #3787
    • New: Course Progress block
      • Introduce course progress block #3689
      • Add course progress block color settings #3695
      • Add progress bar border radius and height settings to course progress block #3733
      • Fix alignment of progress bar settings in WordPress 5.4 #3807
      • Integrate course progress in the frontend #3731
      • Integrate module and lesson status with course progress block #3712
      • Refinements to course progress block #3735
      • Update the description for the course progress block #3730
      • Update default border radius in the course progress block #3781
    • New: Add base button block #3686
    • New: Add block icons #3750
    • New: Add filter to disable single course template #3706
    • New: Enforce minimum PHP version of 7.0 #3592
    • New: Ensure sensei_course_start hook works without custom template for single course #3765
    • New: Handle block based and legacy single course frontend rendering #3647
    • New: Improve base button extendability #3748
    • New: Remove underline from ins element in button block #3780
    • New: Tweak block descriptions #3792
    • New: Update block category icon #3798
    • New: Add block checks to the course_update event log #3727
    • New: Add filter for customizing block arguments #3782
    • New: Add new blocks to the course block template #3734
    • New: Add spacing between course blocks #3757
    • New: Fix message alignment in Twenty Twenty theme #3766
    • New: Hide course video meta box for courses using Sensei blocks #3779
    • New: Log when a course is updated #3652
    • New: Move Contact Teacher below Take Course in the course block template #3804
    • New: Remove optional templates feature flag #3791
    • New: Remove the temporary feature flag for the course blocks #3754
    • New: Standardize button styles #3788
    • New: Update alignment component used in button blocks #3783
    • New: Add validation to post object before logging course update event #3709
    • New: Ensure Lessons and Modules meta boxes are displayed for legacy courses #3661
    • New: Add isPreview flag to button blocks #3811
    • New: Don’t show “Course Video” metabox when any Sensei block is added to the course page #3818
    • New: Use Sensei logo in block inserter #3823
    • Tweak: Center text within Setup Wizard buttons #3575
    • Tweak: Make detail fields required on exit survey #3786
    • Tweak: Update sample course to include blocks #3808, #3831
    • Tweak: Refactor “Order Lessons” page to use the Sensei_Course_Structure class #3664
    • Tweak: Refactor “Order Modules” page to use the Sensei_Course_Structure class #3672
    • Fix: Ensure analysis export works with RTL languages #3751
    • Fix: Ensure learners who have already viewed a quiz see the latest updates the next time they view it #2887 👏 @JuanchoPestana
    • Fix: Remove wrapper elements from templates #3772
    • Fix: Strip HTML from plugin installation error message #3753
    • Fix: Fix incorrect rounding of maximum file size for file upload questions #3673