14 KiB
14 KiB
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
0.19.7 - 2026-06-25
Changed
- Defer loading the Stats REST API provider until a REST request is served, reducing the per-request PHP/opcache footprint. [#49806]
0.19.6 - 2026-06-15
Changed
- Internal updates.
0.19.5 - 2026-06-10
Changed
- Add
fetchpriority="low"to the Stats script and removedns-prefetchforstats.wp.comto improve LCP in Safari and Firefox. [#47936]
0.19.4 - 2026-06-08
Fixed
- Abilities: Allow readonly stats abilities with optional input to run when no input is sent. [#49370]
0.19.3 - 2026-06-01
Changed
- Internal updates.
0.19.2 - 2026-05-25
Fixed
- Phan: Address
PhanPluginDuplicateConditionalNullCoalescingviolations. [#48887]
0.19.1 - 2026-05-19
Changed
- Internal updates.
0.19.0 - 2026-05-04
Added
- Abilities API: Register jetpack-stats abilities for site overview, top content, post views, visits, followers, and stats configuration. [#48286]
Changed
- Internal: No longer require automattic/jetpack-changelogger as a per-project dev dependency. [#48225]
0.18.1 - 2026-02-26
Added
- Add
AGENTS.mdfor coding agent guidelines compliance. [#47330]
Changed
- Exclude
AGENTS.mdandCLAUDE.mdfrom production builds. [#47333]
0.18.0 - 2026-02-23
Added
- Add
Transient_Cleanupclass to periodically clean up expired stats cache transients on sites without persistent object cache. [#47212]
Changed
- Transient cleanup: Skip scheduling cron job entirely on sites with persistent object cache. [#47270]
0.17.8 - 2026-02-02
Changed
- Update dependencies. [#39260]
0.17.7 - 2025-12-15
Changed
- Improve Post Stats cache handling for invalid or error data. [#46211]
0.17.6 - 2025-12-08
Fixed
- Ensure proper flags are used with
json_encode(). [#46092]
0.17.5 - 2025-11-12
Changed
- Internal updates.
0.17.4 - 2025-11-10
Changed
- Tests: Ensure PHP 8.5 compatibility. [#45769]
0.17.3 - 2025-10-10
Changed
- Handle lazy-loading of
WP_Userobject properties. [#45450]
0.17.2 - 2025-07-21
Changed
- Internal updates. [#39260]
0.17.1 - 2025-06-23
Fixed
- Autoloader: Prevent double slash in autoloader path. [#44030]
0.17.0 - 2025-06-23
Added
- Add archives endpoint support. [#44028]
0.16.3 - 2025-06-16
Fixed
- Fix tracking of search terms and tags. [#43879]
- Fix parsing of taxonomies query. [#43879]
0.16.2 - 2025-04-28
Changed
- Internal updates.
0.16.1 - 2025-04-15
Fixed
- Fix PHP TypeError. [#43072]
0.16.0 - 2025-04-14
Added
- Support tracking of archived pages and searches in tracking pixel. [#42368]
Changed
- Update home tracking pixel to match archive ones. [#43043]
0.15.9 - 2025-03-31
Changed
- Internal updates.
0.15.8 - 2025-03-24
Changed
- Internal updates.
0.15.7 - 2025-03-18
Changed
- Internal updates.
0.15.6 - 2025-03-17
Changed
- Internal updates.
0.15.5 - 2025-03-12
Changed
- Internal updates.
0.15.4 - 2025-03-10
Changed
- Internal updates.
0.15.3 - 2025-03-03
Fixed
- Tracking Pixel: Ensure the tracking script can be deferred, so it is not blocking. [#42175]
0.15.2 - 2025-02-24
Changed
- Update dependencies. [#39260]
0.15.1 - 2025-02-03
Fixed
- Code: Remove extra params on function calls. [#41263]
0.15.0 - 2025-01-06
Added
- Stats: Add API support for location stats. [#40852]
0.14.1 - 2024-11-25
Changed
- Updated dependencies. [#40286]
0.14.0 - 2024-11-18
Removed
- General: Update minimum PHP version to 7.2. [#40147]
0.13.5 - 2024-11-04
Added
- Enable test coverage. [#39961]
0.13.4 - 2024-10-29
Changed
- Internal updates. [#39260]
0.13.3 - 2024-09-23
Changed
- Internal updates.
0.13.2 - 2024-09-05
Changed
- Update dependencies. [#39253]
0.13.1 - 2024-08-23
Changed
- Updated package dependencies. [#39004]
0.13.0 - 2024-06-10
Added
- Staging: deprecating staging mode and separating the logic into is_development_site and in_safe_mode [#37023]
0.12.5 - 2024-05-06
Changed
- Internal updates.
0.12.4 - 2024-04-26
Changed
- Internal updates.
0.12.3 - 2024-04-25
Changed
- Update dependencies.
0.12.2 - 2024-04-22
Changed
- Internal updates.
0.12.1 - 2024-04-08
Changed
- Internal updates.
0.12.0 - 2024-04-01
Added
- Add the 'stats/blog' REST endpoint. [#36571]
- Composer: added version constant for ststs package. [#36657]
0.11.2 - 2024-03-25
Changed
- Internal updates.
0.11.1 - 2024-03-18
Changed
- Internal updates.
0.11.0 - 2024-02-26
Added
- Add new method to convert stats data for external consumption. [#35865]
0.10.1 - 2024-02-19
Fixed
- Avoid Fatal errors when saved stats data is a WP_Error object [#35746]
0.10.0 - 2024-02-05
Added
- Stats fetching mechanism: add filter allowing one to customize how long we cache results. [#35421]
Changed
- Permit overriding cache when retrieving post views. [#34557]
- Remove pre-6.3 asset enqueuing method, and relying on WordPress Core method instead. [#34072]
Removed
- Stop requiring the Jetpack Assets Composer package. [#34072]
0.9.0 - 2023-12-25
Added
- Stats: added passing select UTM parameters to Tracking Pixel requests. [#34431]
0.8.0 - 2023-12-11
Changed
- Permit overriding cache when retrieving top posts. [#34153]
0.7.2 - 2023-12-03
Changed
- Internal updates.
0.7.1 - 2023-11-21
0.7.0 - 2023-11-20
Changed
- Updated required PHP version to >= 7.0. [#34192]
0.6.6 - 2023-10-23
Fixed
- Stats: Increase timeout to 20s. [#33549]
0.6.5 - 2023-08-28
Changed
- Updated package dependencies. [#32605]
0.6.4 - 2023-08-09
Added
- Stats: compatibility for AMP for WP plugin [#32328]
0.6.3 - 2023-05-15
Changed
- PHP 8.1 compatibility updates [#30517]
0.6.2 - 2023-04-10
Added
- Add Jetpack Autoloader package suggestion. [#29988]
0.6.1 - 2023-04-05
Bug fixes
- Assets: avoid fatal error with outdated package versions. [#29947]
0.6.0 - 2023-04-04
Changed
- Use core WordPress methods to add the Tracking pixel to the page, instead of printing the tracking pixel directly. [#29780]
Deprecated
- Methods used to retrieve tracking pixels are now deprecated. No replacement needed, we now hook / enqueue the tracking pixels using core WP methods. [#29780]
0.5.2 - 2023-03-20
Changed
- Updated package dependencies. [#29480]
0.5.1 - 2023-02-20
Changed
- Minor internal updates.
0.5.0 - 2023-02-15
Added
- Added new options to store the timestamp when Odyssey is enabled and disabled [#28794]
- Stats: Adds support for Notice control [#28857]
0.4.2 - 2023-02-08
Changed
- Minor internal updates.
0.4.1 - 2023-01-11
Changed
- Updated package dependencies.
0.4.0 - 2022-12-06
Added
- Stats: added streak, highlights, insights for WPCOM_Stats [#27604]
Changed
- Updated package dependencies. [#27688]
0.3.3 - 2022-11-28
Changed
- Updated package dependencies. [#27043]
0.3.2 - 2022-11-07
Changed
- Updated package dependencies. [#27278]
0.3.1 - 2022-10-25
Changed
- Updated package dependencies. [#26705]
0.3.0 - 2022-10-19
Changed
- Cache errors when fetching stats and reverted cache prefix. [#26922]
0.2.0 - 2022-10-13
Changed
- Changed cache prefix [#26719]
- Updated readme for Stats package [#26759]
0.1.0 - 2022-10-11
Added
- Stats: Add package scaffold [#26312]
- Stats package: Add 'jetpack.getBlog' XMLRPC endpoint [#26473]
- Stats package: Add entrypoint class for setting hooks and configuration. [#26601]
- Stats package: Introduce WPCOM_Stats class [#26530]
- Stats package: Manage Stats options [#26431]
- Stats Package: Tracking Pixel functionality [#26516]
Changed
- Add mirror repo [#26750]
Fixed
- Fixing static method which was called without self reference. [#26640]