REST API Log changelog

By Pete Nelson, on WordPress.org since 2015. 5,000+ active installs.

Browse code

24 tagged releases, newest first. Dates are when each release was tagged in SVN. Notes come from the plugin's readme, which may not list every release.

  1. 1.7.3
    • Added a Headers settings tab that redacts the values of sensitive request and response headers, such as Authorization, Cookie and Set-Cookie, before a log entry is saved
    • Added logging for OPTIONS requests (props thejamescollins)
    • Prevent single log entries from being returned by the core REST endpoint
    • Added wp rest-api-log generate WP-CLI command for creating sample log entries in non-production environments
    • Deferred term counting during wp rest-api-log purge and generate for faster bulk deletes and inserts
    Source Diff vs 1.7.2
  2. 1.7.2
    • Changed “show_in_rest” to false for the wp-rest-api-log custom post type
    • Fixed array_walk_recursive callback signature for PHP 8.0 compatibility (props the-csaba)
    • Fixed PHP deprecation notice caused by a null page title when viewing a log entry
    Source Diff vs 1.7.1
  3. 1.7.1
    • Added additional security check to REST download endpoint (props alisalive)
    • Fixed PHP 8 deprecation notice for submenu page (props BrianHenryIE)
    • Fixed echo bug when viewing an invalid log entry ID (props DAnn2012)
    Source Diff vs 1.7.0
  4. 1.7.0
    • Fixed bugs related to Method and Status filtering.
    • Removed deprecated FILTER_SANITIZE_STRING calls.
    • Updated highlight.js version
    • Updated clipboard.js version
    Source Diff vs 1.6.9
  5. 1.6.9
    • Updated highlight.js version
    • Updated clipboard.js version
    Source Diff vs 1.6.8
  6. 1.6.8
    • Updated the Purge All Entries functionality in the admin to purge batches of 25 at a time.
    • Updated CLI purge command with a progress bar.
    • Fixed ClipboardJS error (props itowhid06)
    Source Diff vs 1.6.7
  7. 1.6.7
    • Added admin notice about running the plugin on a production server
    • Set the default purge days to 7
    • Updated clipboard.js version
    Source Diff vs 1.6.6
  8. 1.6.6
    • Moved taxonomy registration to a separate file, made taxonomies not public to prevent them from automatically showing in Yoast SEO sitemaps
    • Updated highlight.js version
    • Updated minimum WP version to 4.7
    • Updated unit test framework
    Source Diff vs 1.6.5
  9. 1.6.5
    • Fixed some escaping issues in admin and new-line characters when saving to database (props davidanderson)
    • Updated highlight.js and clipboard.js versions
    Source Diff vs 1.6.4
  10. 1.6.4
    • Fixed an issue with the URL in the settings tabs (props davidanderson)
    Source Diff vs 1.6.3
  11. 1.6.3
    • Updated logging for multidimensional query parameters (props mnelson4)
    Source Diff vs 1.6.2
  12. 1.6.2
    • Fixed bug in HTTPS download URLs.
    • Fixed bug in download URL permissions.
    Source Diff vs 1.6.1
  13. 1.6.1

    No notes for this release in the current readme.

    Source Diff vs 1.6.0
  14. 1.6.0
    • Added ability to download request and response fields as JSON files, as well as copy to clipboard.
    • Added button on settings page to Purge All Log Entries.
    • Tweaked some of the ElasticPress routes that skip logging.
    Source Diff vs 1.5.2
  15. 1.5.2
    • Fixed a bug with ElasticPress logging getting stuck in a loop regarding the _nodes/plugins URL.
    Source Diff vs 1.5.1
  16. 1.5.1
    • Removed hidden custom taxonomies from the navigation menu admin (props phh for the pull request).
    Source Diff vs 1.5.0
  17. 1.5.0
    • Added logging for the user making the request (props drsdre for the pull request).
    • Added Settings and Log links from the Plugins page.
    • Updated term fetching when viewing log entries for fewer database queries and better performance.
    • Updated highlight.js to 9.9.0
    Source Diff vs 1.4.0
  18. 1.4.0
    • Added the ability to filter routes for logging, either include or exclude specific routes.
    Source Diff vs 1.3.0
  19. 1.3.0
    • Added support for logging HTTP_X_FORWARDED_FOR, useful for servers behind a proxy or load balancer.
    • Changed plugin name to REST API Log
    • Changed the wp-rest-api-log post type ‘public’ setting to false to prevent it from showing up in searches.
    • Updated Highlight JS version to 9.7.0
    • Updated the internal process for granting administrator role access to the custom post type
    • Bug fix: Header values with colons were not being stored correctly.

    And 1 more note.

    Source Diff vs 1.2.0
  20. 1.2.0
    • Added support for ElasticPress logging
    • Fixed undefined constant error on Help page (props vinigarcia87)
    Source Diff vs 1.1.1
  21. 1.1.1
    • Fixed error during activation (props pavelevap)
    Source Diff vs 1.1.0
  22. 1.1.0
    • Added cron job to cleanup old log entries
    • Added setting to exclude the WP core /oembed API endpoint
    • Don’t diplay log entries in the Insert Link modal
    Source Diff vs 1.0.0-beta2
  23. 1.0.0-beta2
    • Switched from custom tables to built-in WordPress tables using a custom post type (wp-rest-api-log)
    • Method, status, and source are now tracked using taxonomies
    • Viewing log entries now uses the standard WordPress admin UI, includes filters for method, status, and source
    • Added admin settings with the option to enable or disable logging
    • Added WP-CLI support: wp rest-api-log
    • Added .pot file to support translations
    Source Diff vs 1.0.0-beta1
  24. 1.0.0-beta1
    • Initial release
    Source