Skip to content

Releases

99Trace 1.0.0

Choose a tag to compare

@github-actions github-actions released this 17 Nov 18:12

First public release. 99Trace was piloted on live shops under the name 99Hog for WooCommerce (0.2 to 0.6); this release renames it and prepares it for the WordPress.org plugin directory.

Added

  • Translation-ready: every admin string uses the 99trace-posthog-for-woocommerce text domain; languages/99trace-posthog-for-woocommerce.pot holds the template.
  • A suggested privacy policy text under Settings → Privacy → Policy Guide, written from the current settings (consent, browser module, IP location, customer details, PostHog region).
  • uninstall.php: deleting the plugin removes its settings, temporary data and scheduled tasks. Order data (the identity saved at checkout and each event's delivery state) stays with the orders, so a reinstall never sends an order twice.
  • While 99Hog for WooCommerce is still active, 99Trace waits and explains how to switch, so the two never send the same events.
  • W99_TRACE_MODE in wp-config.php forces the mode (off, test, on); 99Hog's W99_PHWC_MODE is still read.
  • Old 99Hog settings and status bookmarks redirect to the 99Trace tabs.

Changed

  • Name 99Trace; plugin folder, main file, text domain and WordPress.org slug 99trace-posthog-for-woocommerce; PHP namespace W99\Trace; constants W99_TRACE_*.
  • Server events carry $lib: 99trace (was 99hog-woocommerce) and the user agent 99trace/<version>.
  • w99_phwc_posthog_js_config can add posthog-js options but no longer replace the ones 99Trace depends on (before_send, bootstrap, persistence, consent and the others listed under Advanced), as the settings field already did.
  • Unchanged on purpose: stored names (w99_phwc_* options, order meta, scheduled tasks, ph_wc_* cookies), the 99hog:v1: event-ID scheme and the 99hog:order: prefix of anonymous orders, so an order sent before the rename and retried or refunded after it keeps its IDs.

Fixed

  • The coverage report missed orders that a gateway marks paid without a payment date, such as cash on delivery. 99Trace sent their purchases; the report now counts them too.