Skip to content

Commit 867d1c6

Browse files
Merge pull request #321 from eri-trabiccolo/build-v1.0.0-beta.27
build v1.0.0-beta.27
2 parents 6b7d359 + 61d8f86 commit 867d1c6

File tree

49 files changed

+417
-440
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+417
-440
lines changed

.changelogs/compatitbility-php81-1.yml

Lines changed: 0 additions & 3 deletions
This file was deleted.

.changelogs/compatitbility-php81.yml

Lines changed: 0 additions & 3 deletions
This file was deleted.

.changelogs/dev.yml

Lines changed: 0 additions & 3 deletions
This file was deleted.

.changelogs/issue_157-new-1.yml

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changelogs/issue_157-new-2.yml

Lines changed: 0 additions & 6 deletions
This file was deleted.

.changelogs/issue_157-new-3.yml

Lines changed: 0 additions & 7 deletions
This file was deleted.

.changelogs/issue_157-new-4.yml

Lines changed: 0 additions & 9 deletions
This file was deleted.

.changelogs/issue_157-new-5.yml

Lines changed: 0 additions & 8 deletions
This file was deleted.

.changelogs/issue_157-new.yml

Lines changed: 0 additions & 6 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,28 @@
11
LifterLMS REST API Changelog
22
============================
33

4+
v1.0.0-beta.27 - 2023-05-31
5+
---------------------------
6+
7+
##### Updates and Enhancements
8+
9+
+ Replaced use of deprecated `strftime()`.
10+
+ Replaced use of the deprecated `FILTER_SANITIZE_STRING` constant.
11+
12+
##### Developer Notes
13+
14+
+ Fixed unit tests on WordPress 6.2.
15+
+ Allow all the resources to be extended using `register_rest_field()`. [#157](https://github.com/gocodebox/lifterlms-rest#157)
16+
+ Added the ability for all the `WP_Post` and `WP_User` based resources to manage custom meta registered via `register_meta()`. [#157](https://github.com/gocodebox/lifterlms-rest#157)
17+
+ 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](https://github.com/gocodebox/lifterlms-rest#157)
18+
+ 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](https://github.com/gocodebox/lifterlms-rest#157)
19+
+ 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](https://github.com/gocodebox/lifterlms-rest#157)
20+
21+
##### Performance Improvements
22+
23+
+ Cache results of get_item_schema on controller instances for performance. Additional schema fields, added via `register_rest_field()`, are not cached. [#73](https://github.com/gocodebox/lifterlms-rest#73)
24+
25+
426
v1.0.0-beta.26 - 2023-02-28
527
---------------------------
628

0 commit comments

Comments
 (0)