Skip to content

v2.0.0

Latest

Choose a tag to compare

@rlankhorst rlankhorst released this 10 Nov 13:38
· 2 commits to master since this release
c17c3dd

= 2.0.0 =

  • New: Service-level consent API - allows granular consent control per service in addition to category-based consent
  • New: wp_has_service_consent() function to check if a specific service has consent
  • New: wp_is_service_denied() function to check if a specific service is explicitly denied
  • New: wp_set_service_consent() function to set consent for a specific service
  • New: wp_consent_service_changed action hook fires when service consent changes
  • New: JavaScript functions wp_has_service_consent(), wp_is_service_denied(), and wp_set_service_consent()
  • New: JavaScript event wp_consent_api_status_change_service for service consent changes
  • Improvement: Added type hints throughout codebase for better code quality and IDE support
  • Improvement: Added init() method for cleaner plugin initialization
  • Security: escape logged notice in _doing_it_wrong function, props @mujuonly