Skip to content

Releases: gocodebox/lifterlms-rest

Version 1.0.2

18 Jul 17:26
Compare
Choose a tag to compare

v1.0.2 - 2024-07-18

Bug Fixes
  • Removes the unavailable quiz resource link from the lessons resource until the quiz resource is added.
  • Show only instructor and student roles in the instructor and student list responses by default.

Version 1.0.1

09 Jul 14:41
Compare
Choose a tag to compare

v1.0.1 - 2024-07-09

Bug Fixes
  • Update the processed flag to use all arguments. #2568
Security Fixes
  • Adds additional security checks and escaping.

Version 1.0.0

22 Jan 15:14
Compare
Choose a tag to compare

v1.0.0 - 2024-01-22

includes/abstracts/class-llms-rest-posts-controller.php

  • Fix fatals when searching for llms post type based resources but the query post type parameter is forced to be something else.
    includes/models/class-llms-rest-webhook.php
  • Remove the processed flag as the ActionScheduler prevents multiple additions of the same hook.

Version 1.0.0-beta.29

24 Oct 16:39
bfb2938
Compare
Choose a tag to compare

v1.0.0-beta.29 - 2023-10-24

Bug Fixes
  • Avoid PHP fatal when searching for courses/memberships but the query post type parameter is forced to a different post type. e.g. all post types except post excluded from search results. #299

Version 1.0.0-beta.28

08 Jun 08:26
6176e6b
Compare
Choose a tag to compare

v1.0.0-beta.28 - 2023-06-08

Bug Fixes
  • Rebuild and re-release to avoid including unnecessary heavy files.

Version 1.0.0-beta.27

31 May 14:28
d77dde4
Compare
Choose a tag to compare

v1.0.0-beta.27 - 2023-05-31

Updates and Enhancements
  • Replaced use of deprecated strftime().
  • Replaced use of the deprecated FILTER_SANITIZE_STRING constant.
Developer Notes
  • Fixed unit tests on WordPress 6.2.
  • Allow all the resources to be extended using register_rest_field(). #157
  • Added the ability for all the WP_Post and WP_User based resources to manage custom meta registered via register_meta(). #157
  • Added llms_rest_{$object_type}_item_schema that will allow filtering any resource schema. Additional schema fields, added via register_rest_field(), are not included. #157
  • Added llms_rest_allow_filtering_{$object_type}_item_schema_to_add_fields filter hook. It allows adding additional fields using the filter hook llms_rest_{$object_type}_item_schema without warnings. By default additional fields should be added via register_rest_field(). #157
  • Deprecated llms_rest_enrollments_item_schema and llms_rest_membership_item_schema filter hooks in favor of llms_rest_$object_type_item_schema where the object type is, respectively, equal to 'students-enrollments' and 'llms-membership'. #157
Performance Improvements
  • Cache results of get_item_schema on controller instances for performance. Additional schema fields, added via register_rest_field(), are not cached. #73

Version 1.0.0-beta.26

28 Feb 15:54
9d1733f
Compare
Choose a tag to compare

v1.0.0-beta.26 - 2023-02-28

Bug Fixes
  • Removed the extra parameter passed to LLMS_Student::enroll() during status updates. #278
  • Fixed an issue that produced the enrollment of the current user into a course when they were trying to enroll an user with ID 0. #308
Developer Notes
  • The LifterLMS Core minimum required version has been raised to version 7.0.2. #308

Version 1.0.0-beta.25

11 May 16:36
f366510
Compare
Choose a tag to compare

v1.0.0-beta.25 - 2022-05-11

Updates and Enhancements
  • Stop returning an error when updating resource properties with a value equal to the saved one. #222, #289
Bug Fixes
  • Allow deletion of an unenrolled student's progress. #173
  • Delete API Keys when user is deleted. #90

Version 1.0.0-beta-24

17 Mar 16:56
a12d864
Compare
Choose a tag to compare

v1.0.0-beta-24 - 2022-03-17

Bug Fixes
  • Fixed reference to a non-existent schema property, visibiliy in place of visibility, when updating/adding an access plan.
  • Fixed issue when updating a free access plan. #267
  • Fixed issue causing the access plan availability_restrictions property to always return an empty array. #269
  • Fixed issue that prevented updating the access plan redirect_forced property. #271
  • Fixed issue updating access plans when there are 6 (max) plans associated with a course/membership. #272

Version 1.0.0-beta.23

23 Feb 15:54
67e9adf
Compare
Choose a tag to compare

v1.0.0-beta.23 - 2022-02-23

Updates and Enhancements
  • Replaced call to deprecated LLMS_Section::get_parent_course() with LLMS_Section::get( 'parent_course' ).
  • Replaced the calls to the deprecated LLMS_Lesson::get_parent_course() method with LLMS_Lesson::get( 'parent_course' ).
  • Replaced deprecated llms_user_removed_from_membership_level action hook with llms_user_removed_from_membership.