2.1.2 / September 12th, 2022 =================== * Fixed the REST API endpoint when the `rest_base` value is empty when a post type is registered. 2.1.1 / September 6th, 2022 =================== * Patched default `rest_base` values in default and exisitng post types. * Ensure all custom REST endpoints are lowercase before saving to the datbase. 2.1.0 / July 2nd, 2022 =================== * Removed unnecessary `wp_rest_api_controller_retrieve_meta_single` filter. * Refactor much of the codebase. * Introduced PHPUnit tests at 100% coverage. * Allow for core posts/taxonomies to be enabled/disabled/customized. * PHPCS improvements. = 2.0.7 - November 10th, 2021 = * PHP 8 Compatibility * Bugfixes = 2.0.5 - March 8th, 2021 = * Housekeeping = 2.0.3 - August 29th, 2019 = * Lodash Security Update. = 2.0.2 - July 12th, 2019 = * Fixing bug with renaming endpoints. * Fixing bug where empty meta fields would appear in a taxonomy's list. * Some code cleanup. = 2.0.1 - May 13th, 2019 = * Fixing uninstall issue. = 2.0.0 - March 12th, 2019 = * Taxonomies are now added to the WP REST API Controller! You can rename taxonomy endpoints, enable/disable taxonomy meta, and rename taxonomy meta. * The restriction of using dashes in post/term meta has been removed. * The restriction of protected meta fields has been removed. * The restriction of lowercase meta fields has been removed. Please be aware that characters like quotes can have unpredictable results in your JSON objects. * You can now enable/disable all meta fields with a single toggle. = WP REST API Controller v1.4.2 - February 2rd, 2019 = * Update rest_endpoint_base static string to wp-core get_rest_url() flexible url = v1.4.1 - February 23rd, 2017 = * A new filter has been added: `wp_rest_api_controller_retrieve_meta_single`. This controls the `$single` argument for the `get_post_meta()` function. Please note: if you want to see all of the values for repeating meta key fields (i.e. multiple entries in the postmeta table corresponding to the same key) you *need to use this filter* and return false. If you don't you will only retrieve the first value. For more information, see the FAQ "How do I retrieve repeating postmeta fields." = v1.4.0 - January 18th, 2017 = * Default `posts` and `pages` are no longer controllable with this plugin (this change is due to future WordPress Core development leveraging the REST API). As a result, both endpoints will be enabled and all post meta customizations will be lost on update. * Added array of 'always enabled' posts and an associated filter `wp_rest_api_controller_always_enabled_post_types`. By default, post, page, revision, nav_menu_item, custom_css, customize_changeset, and attachment post types are always enabled. * Added logic to handle empty post meta names to prevent all post meta fields from being displayed * Added logic to handle uppercase letters in customized post meta names = v1.3.0 - December 6th, 2016 = * Refactor code base. * Repair a few errors. * Remove additional post types (media, changeset, custom_css). * Updated plugin compatibility to work alongside WordPress 4.7 and later (REST API now baked into core). = v1.2.0 - July 10th, 2016 = * Patched issue where all meta keys were returning the same value. * Bumped version to v1.2.0. = v1.1.0 - July 10th, 2016 = * Added the ability to clear cache when new post types/meta data have been registered. * Added admin notices to help clarify what happened. * Bumped version number to v1.1.0. = v1.0.0 = * Initial plugin commit.