CHANGELOG.md
492 lines
| 1 | # Changelog |
| 2 | |
| 3 | All notable changes to this project will be documented in this file. |
| 4 | |
| 5 | The format is based on [](https://keepachangelog.com/en/1.0.0/Keep a Changelog](https://keepachangelog.com/en/1.0.0/](https://keepachangelog.com/en/1.0.0/) |
| 6 | and this project adheres to [](https://semver.org/spec/v2.0.0.htmlSemantic Versioning](https://semver.org/spec/v2.0.0.html](https://semver.org/spec/v2.0.0.html). |
| 7 | |
| 8 | ## 0.32.0 - 2026-08-03 |
| 9 | ### Fixed |
| 10 | - Stats Dashboard: Declare `wp-components` as a stylesheet dependency, so the dashboard's own component styling (Button, Card, Modal, etc.) no longer relies on another admin feature enqueuing it as a side effect, and is emitted in the correct cascade order. [#50881] |
| 11 | |
| 12 | ## 0.31.11 - 2026-07-27 |
| 13 | ### Changed |
| 14 | - Update dependencies. [#50719] |
| 15 | |
| 16 | ## 0.31.10 - 2026-07-20 |
| 17 | ### Changed |
| 18 | - Update dependencies. [#44736] |
| 19 | |
| 20 | ## 0.31.9 - 2026-07-13 |
| 21 | ### Changed |
| 22 | - Internal updates. |
| 23 | |
| 24 | ## 0.31.8 - 2026-07-06 |
| 25 | ### Changed |
| 26 | - Internal updates. |
| 27 | |
| 28 | ## 0.31.7 - 2026-06-25 |
| 29 | ### Changed |
| 30 | - Defer Stats Admin REST controller instantiation so the controller class only loads on REST API requests. [#49803] |
| 31 | |
| 32 | ## 0.31.6 - 2026-06-15 |
| 33 | ### Changed |
| 34 | - Internal updates. |
| 35 | |
| 36 | ## 0.31.5 - 2026-06-08 |
| 37 | ### Changed |
| 38 | - Internal updates. |
| 39 | |
| 40 | ## 0.31.4 - 2026-05-25 |
| 41 | ### Fixed |
| 42 | - Phan: Address `PhanPluginDuplicateConditionalNullCoalescing` violations. [#48887] |
| 43 | |
| 44 | ## 0.31.3 - 2026-05-19 |
| 45 | ### Changed |
| 46 | - Internal updates. |
| 47 | |
| 48 | ## 0.31.2 - 2026-05-04 |
| 49 | ### Changed |
| 50 | - Internal: No longer require automattic/jetpack-changelogger as a per-project dev dependency. [#48225] |
| 51 | |
| 52 | ## 0.31.1 - 2026-04-15 |
| 53 | ### Changed |
| 54 | - Update purchases endpoint from v1.1 /sites/$site/purchases to v1.2 /upgrades?site=$site. [#48035] |
| 55 | |
| 56 | ## 0.31.0 - 2026-04-10 |
| 57 | ### Added |
| 58 | - Add GET endpoint for retrieving spam site referrers. [#47566] |
| 59 | |
| 60 | ## 0.30.9 - 2026-03-23 |
| 61 | ### Fixed |
| 62 | - Hide stats column for non-public post types in the WP Admin post list. [#47704] |
| 63 | |
| 64 | ## 0.30.8 - 2026-02-26 |
| 65 | ### Changed |
| 66 | - Add `AGENTS.md` and `CLAUDE.md` for coding agent guidelines compliance. [#47333] |
| 67 | |
| 68 | ## 0.30.7 - 2026-02-23 |
| 69 | ### Added |
| 70 | - Register `STATS_REST_RESP_` transient prefix for cleanup by the stats package transient cleanup cron. [#47213] |
| 71 | |
| 72 | ## 0.30.6 - 2026-02-02 |
| 73 | ### Changed |
| 74 | - Update dependencies. [#44736] |
| 75 | |
| 76 | ## 0.30.5 - 2026-01-26 |
| 77 | ### Changed |
| 78 | - Update dependencies. [#44736] |
| 79 | |
| 80 | ## 0.30.4 - 2025-12-15 |
| 81 | ### Changed |
| 82 | - Internal updates. |
| 83 | |
| 84 | ## 0.30.3 - 2025-12-08 |
| 85 | ### Fixed |
| 86 | - Ensure proper flags are used with `json_encode()`. [#46092] |
| 87 | |
| 88 | ## 0.30.2 - 2025-12-01 |
| 89 | ### Changed |
| 90 | - Update dependencies. [#44736] |
| 91 | |
| 92 | ## 0.30.1 - 2025-11-10 |
| 93 | ### Changed |
| 94 | - Tests: Ensure PHP 8.5 compatibility. [#45769] |
| 95 | |
| 96 | ### Fixed |
| 97 | - Stats: Display post views after quick edit. [#45793] |
| 98 | |
| 99 | ## 0.30.0 - 2025-10-27 |
| 100 | ### Removed |
| 101 | - Remove "Jetpack > Stats" menu. [#45607] |
| 102 | |
| 103 | ## 0.29.1 - 2025-09-29 |
| 104 | ### Fixed |
| 105 | - Fix dashboard.wordpress.com breaking non-odyssey stats on older versions of Jetpack. [#45283] |
| 106 | |
| 107 | ## 0.29.0 - 2025-09-19 |
| 108 | ### Changed |
| 109 | - Change the location of the Jetpack -> Stats submenu item to a new top-level admin menu item called "Stats". [#44524] |
| 110 | |
| 111 | ## 0.28.5 - 2025-08-25 |
| 112 | ### Fixed |
| 113 | - Fix a PHP fatal error in the stats icon column when the first column is "comments". [#44847] |
| 114 | |
| 115 | ## 0.28.4 - 2025-08-11 |
| 116 | ### Changed |
| 117 | - Update dependencies. [#44673] |
| 118 | |
| 119 | ## 0.28.3 - 2025-08-04 |
| 120 | ### Changed |
| 121 | - Internal updates. |
| 122 | |
| 123 | ## 0.28.2 - 2025-07-28 |
| 124 | ### Changed |
| 125 | - Update dependencies. [#39303] |
| 126 | |
| 127 | ## 0.28.1 - 2025-07-21 |
| 128 | ### Changed |
| 129 | - Update dependencies. [#39303] |
| 130 | |
| 131 | ## 0.28.0 - 2025-07-14 |
| 132 | ### Changed |
| 133 | - Use the `view_stats` capability for the Jetpack Stats menu item instead of `manage_options`. [#44194] |
| 134 | |
| 135 | ## 0.27.0 - 2025-06-23 |
| 136 | ### Added |
| 137 | - Add archives endpoint support. [#44028] |
| 138 | |
| 139 | ## 0.26.3 - 2025-06-02 |
| 140 | ### Added |
| 141 | - Add query parameters to the stats URL from post list to reconstruct the back URL from stats view. [#43567] |
| 142 | |
| 143 | ### Fixed |
| 144 | - Fix wrapping on the stats column heading in non-English languages. [#43630] |
| 145 | |
| 146 | ## 0.26.2 - 2025-05-12 |
| 147 | ### Fixed |
| 148 | - Stats column: Avoid PHP error when a locale is not available. [#43396] |
| 149 | |
| 150 | ## 0.26.1 - 2025-05-05 |
| 151 | ### Changed |
| 152 | - Update dependencies. [#39303] |
| 153 | |
| 154 | ## 0.26.0 - 2025-04-28 |
| 155 | ### Removed |
| 156 | - SAL_Site: Remove unused `view_hosting` field. [#43237] |
| 157 | |
| 158 | ### Fixed |
| 159 | - Stats: Avoid PHP warning when we have no views data about a specific post. [#43146] |
| 160 | |
| 161 | ## 0.25.2 - 2025-04-21 |
| 162 | ### Changed |
| 163 | - Internal updates. |
| 164 | |
| 165 | ## 0.25.1 - 2025-04-14 |
| 166 | ### Changed |
| 167 | - Internal updates. |
| 168 | |
| 169 | ## 0.25.0 - 2025-03-31 |
| 170 | ### Added |
| 171 | - Add page view count in the post and page list. [#42218] |
| 172 | - Update icon in stats column. [#42218] |
| 173 | |
| 174 | ## 0.24.6 - 2025-03-24 |
| 175 | ### Changed |
| 176 | - Internal updates. |
| 177 | |
| 178 | ## 0.24.5 - 2025-03-18 |
| 179 | ### Changed |
| 180 | - Update dependencies. [#39303] |
| 181 | |
| 182 | ## 0.24.4 - 2025-03-12 |
| 183 | ### Changed |
| 184 | - Internal updates. |
| 185 | |
| 186 | ## 0.24.3 - 2025-03-10 |
| 187 | ### Changed |
| 188 | - Internal updates. |
| 189 | |
| 190 | ## 0.24.2 - 2025-02-24 |
| 191 | ### Changed |
| 192 | - Internal updates. |
| 193 | |
| 194 | ## 0.24.1 - 2025-02-03 |
| 195 | ### Changed |
| 196 | - Phan: Update baselines. [#41263] |
| 197 | |
| 198 | ## 0.24.0 - 2025-01-06 |
| 199 | ### Added |
| 200 | - Stats: Add API support for location stats. [#40852] |
| 201 | |
| 202 | ## 0.23.1 - 2024-11-25 |
| 203 | ### Changed |
| 204 | - Updated dependencies. [#40286] |
| 205 | |
| 206 | ### Fixed |
| 207 | - Catch an issue when custom code removes `ver` param. [#40322] |
| 208 | - Stats: Remove cache for purchases and usage endpoints. [#40266] |
| 209 | |
| 210 | ## 0.23.0 - 2024-11-18 |
| 211 | ### Removed |
| 212 | - General: Update minimum PHP version to 7.2. [#40147] |
| 213 | |
| 214 | ## 0.22.6 - 2024-11-11 |
| 215 | ### Fixed |
| 216 | - Fixed flaky tests [#40062] |
| 217 | |
| 218 | ## 0.22.5 - 2024-11-04 |
| 219 | ### Added |
| 220 | - Enable test coverage. [#39961] |
| 221 | |
| 222 | ### Fixed |
| 223 | - API cache not refreshing when cache is bypassed. [#39955] |
| 224 | |
| 225 | ## 0.22.4 - 2024-10-28 |
| 226 | ### Changed |
| 227 | - Odyssey Stats cache busting: Use option instead of transient. [#39887] |
| 228 | |
| 229 | ## 0.22.3 - 2024-10-21 |
| 230 | ### Changed |
| 231 | - JITM: Expose function to render message. [#39714] |
| 232 | |
| 233 | ## 0.22.2 - 2024-10-14 |
| 234 | ### Fixed |
| 235 | - Added missing fields for stats single post endpoint. [#39691] |
| 236 | |
| 237 | ## 0.22.1 - 2024-09-23 |
| 238 | ### Changed |
| 239 | - Update dependencies. [#39303] |
| 240 | |
| 241 | ## 0.22.0 - 2024-09-16 |
| 242 | ### Added |
| 243 | - Create the user feedback endpoint proxy with a user login status check. [#39287] |
| 244 | |
| 245 | ## 0.21.2 - 2024-09-09 |
| 246 | ### Changed |
| 247 | - Update dependencies. [#39253] |
| 248 | |
| 249 | ## 0.21.1 - 2024-08-23 |
| 250 | ### Changed |
| 251 | - Updated package dependencies. [#39004] |
| 252 | |
| 253 | ## 0.21.0 - 2024-07-08 |
| 254 | ### Added |
| 255 | - Stats: Add purchases endpoint [#38150] |
| 256 | |
| 257 | ## 0.20.0 - 2024-06-18 |
| 258 | ### Added |
| 259 | - Check if Jetpack is integrated with the Complianz plugin to show the notice from blocking Stats. [#37870] |
| 260 | |
| 261 | ## 0.19.3 - 2024-06-10 |
| 262 | ### Changed |
| 263 | - Update dependencies. |
| 264 | |
| 265 | ## 0.19.2 - 2024-05-20 |
| 266 | ### Fixed |
| 267 | - Stats: Use user language instead of site language for translations. [#37423] |
| 268 | |
| 269 | ## 0.19.1 - 2024-05-06 |
| 270 | ### Changed |
| 271 | - Internal updates. |
| 272 | |
| 273 | ## 0.19.0 - 2024-04-29 |
| 274 | ### Added |
| 275 | - Proxy Devices Stats API endpoint. [#37098] |
| 276 | |
| 277 | ## 0.18.3 - 2024-04-25 |
| 278 | ### Changed |
| 279 | - Update dependencies. |
| 280 | |
| 281 | ## 0.18.2 - 2024-04-22 |
| 282 | ### Changed |
| 283 | - Internal updates. |
| 284 | |
| 285 | ## 0.18.1 - 2024-04-08 |
| 286 | ### Fixed |
| 287 | - Change Odyssey Stats default admin menu name and slug for Simple Classic. [#36689] |
| 288 | |
| 289 | ## 0.18.0 - 2024-04-01 |
| 290 | ### Added |
| 291 | - Change Phan baselines. [#36627] |
| 292 | - Stats: Add commercial classification endpoint [#36597] |
| 293 | |
| 294 | ### Changed |
| 295 | - Add config fields for odyssey stats to be loaded in Simple Site Classic. [#36633] |
| 296 | |
| 297 | ## 0.17.1 - 2024-03-25 |
| 298 | ### Changed |
| 299 | - Internal updates. |
| 300 | |
| 301 | ## 0.17.0 - 2024-03-18 |
| 302 | ### Added |
| 303 | - Stats: Add UTM stats endpoint [#36402] |
| 304 | |
| 305 | ## 0.16.2 - 2024-03-04 |
| 306 | ### Fixed |
| 307 | - Stats: fix posts endpoint for Atomic sites [#36039] |
| 308 | |
| 309 | ## 0.16.1 - 2024-02-26 |
| 310 | ### Changed |
| 311 | - Update dependencies. |
| 312 | |
| 313 | ## 0.16.0 - 2024-02-19 |
| 314 | ### Added |
| 315 | - Stats: added support for Email stats [#35703] |
| 316 | |
| 317 | ## 0.15.3 - 2024-02-14 |
| 318 | ### Fixed |
| 319 | - Stats: clear usage, modules, module-settings cache after purchase [#35590] |
| 320 | |
| 321 | ## 0.15.2 - 2024-02-05 |
| 322 | ### Changed |
| 323 | - Update dependencies. |
| 324 | |
| 325 | ## 0.15.1 - 2023-12-25 |
| 326 | ### Changed |
| 327 | - Update dependencies. |
| 328 | |
| 329 | ## 0.15.0 - 2023-12-11 |
| 330 | ### Added |
| 331 | - Introduced the plan usage API route porting to wpcom. [#34516] |
| 332 | |
| 333 | ## 0.14.0 - 2023-11-24 |
| 334 | ### Added |
| 335 | - Added support to load scripts conditionally for the Stats widget. [#34284] |
| 336 | |
| 337 | ## 0.13.0 - 2023-11-20 |
| 338 | ### Changed |
| 339 | - Updated required PHP version to >= 7.0. [#34192] |
| 340 | |
| 341 | ## 0.12.2 - 2023-09-19 |
| 342 | ### Changed |
| 343 | - Updated Jetpack submenu sort order so individual features are alpha-sorted. [#32958] |
| 344 | |
| 345 | ## 0.12.1 - 2023-08-28 |
| 346 | ### Changed |
| 347 | - Updated package dependencies. [#32605] |
| 348 | |
| 349 | ## 0.12.0 - 2023-07-05 |
| 350 | ### Added |
| 351 | - Stats Admin: add plan and product for site [#31663] |
| 352 | |
| 353 | ## 0.11.0 - 2023-06-26 |
| 354 | ### Added |
| 355 | - Stats Admin: add subscribers endpoints. [#31394] |
| 356 | |
| 357 | ### Removed |
| 358 | - Stats: removed notices from initial state for better performance. [#31475] |
| 359 | |
| 360 | ### Fixed |
| 361 | - Stats Admin: fix user capabilities data especially for view_stats. [#31448] |
| 362 | |
| 363 | ## 0.10.0 - 2023-06-19 |
| 364 | ### Added |
| 365 | - Add new dependency: Jetpack Plans package. [#31213] |
| 366 | |
| 367 | ### Changed |
| 368 | - Switch to relying on the Plans package instead of a class available in the Jetpack plugin only. [#31213] |
| 369 | |
| 370 | ## 0.9.0 - 2023-06-12 |
| 371 | ### Added |
| 372 | - Stats Admin: added modules toggling API support [#31230] |
| 373 | - Stats Admin: Add module settings API [#31231] |
| 374 | |
| 375 | ### Changed |
| 376 | - Stats Admin: use WPCOM notices API [#31261] |
| 377 | |
| 378 | ### Fixed |
| 379 | - Replace dependency on deprecated `automattic/jetpack-options` package. [#31280] |
| 380 | |
| 381 | ## 0.8.0 - 2023-05-15 |
| 382 | ### Added |
| 383 | - Stats Admin: adds rest api for marking and unmarking referrers as spam [#30625] |
| 384 | - Stats Admin: adds versions and platform info to Odyssey config data [#30573] |
| 385 | |
| 386 | ### Fixed |
| 387 | - Stats Admin: align is_automated_transfer with other places [#30622] |
| 388 | |
| 389 | ## 0.7.3 - 2023-05-01 |
| 390 | ### Fixed |
| 391 | - Stats Admin: Cache bust the cache buster [#30374] |
| 392 | |
| 393 | ## 0.7.2 - 2023-04-25 |
| 394 | ### Changed |
| 395 | - Stats Admin: add minify=false to avoid JS minified by WP.com [#30174] |
| 396 | - Stats Admin: changed to use custom config data variable name to avoid conflicts with `configData` [#30147] |
| 397 | |
| 398 | ## 0.7.1 - 2023-04-17 |
| 399 | ### Changed |
| 400 | - Stats Admin: change site locale format from only language code to real locale e.g. `en-us` [#29958] |
| 401 | |
| 402 | ## 0.7.0 - 2023-04-10 |
| 403 | ### Added |
| 404 | - Add Jetpack Autoloader package suggestion. [#29988] |
| 405 | - Stats Admin: Adds ability to render Odyssey Widget [#29929] |
| 406 | |
| 407 | ## 0.6.4 - 2023-04-04 |
| 408 | ### Changed |
| 409 | - Stats Admin: moved Odyssey assets loading to separate class [#29893] |
| 410 | - Stats Admin: refactoring config data code to Odyssey_Config_Data [#29863] |
| 411 | |
| 412 | ## 0.6.3 - 2023-03-20 |
| 413 | ### Added |
| 414 | - Add momentjs dependency for Odyssey Stats [#29329] |
| 415 | |
| 416 | ## 0.6.2 - 2023-02-28 |
| 417 | ### Changed |
| 418 | - Stats: moved New Stats toggling logic to stats-admin [#29064] |
| 419 | |
| 420 | ### Fixed |
| 421 | - Stats Admin: Opt-in notice should be shown a month after the customer has opted out of Odyssey Stats. [#29065] |
| 422 | |
| 423 | ## 0.6.1 - 2023-02-20 |
| 424 | ### Fixed |
| 425 | - Fixed unit tests without internet [#28985] |
| 426 | - Stats: fix broken request_as_blog_cached [#28992] |
| 427 | |
| 428 | ## 0.6.0 - 2023-02-15 |
| 429 | ### Added |
| 430 | - Stats: Adds support for Notice control [#28857] |
| 431 | |
| 432 | ### Changed |
| 433 | - Rename stats option enable_calypso_stats to enable_odyssey_stats [#28794] |
| 434 | |
| 435 | ### Fixed |
| 436 | - Stats: remove unnecessary params that breaks wpcom API [#28935] |
| 437 | |
| 438 | ## 0.5.0 - 2023-02-08 |
| 439 | ### Added |
| 440 | - Stats: adds new Stats opt out notice [#28733] |
| 441 | |
| 442 | ### Changed |
| 443 | - Stats: Remove feature lock for Ads page [#28657] |
| 444 | |
| 445 | ## 0.4.1 - 2023-01-26 |
| 446 | ### Fixed |
| 447 | - Stats: fixed missing params to WPCOM API. [#28544] |
| 448 | |
| 449 | ## 0.4.0 - 2023-01-23 |
| 450 | ### Added |
| 451 | - Stats: enable Ads page [#27791] |
| 452 | |
| 453 | ## 0.3.1 - 2023-01-16 |
| 454 | ### Fixed |
| 455 | - Fix Odyssey Stats footer position [#28308] |
| 456 | |
| 457 | ## 0.3.0 - 2023-01-11 |
| 458 | ### Added |
| 459 | - Stats: add loading spinner for Stats Dashboard [#28219] |
| 460 | |
| 461 | ## 0.2.1 - 2022-12-27 |
| 462 | ### Changed |
| 463 | - Stats: added more dependencies to be loaded for stats bundle [#28065] |
| 464 | |
| 465 | ## 0.2.0 - 2022-12-19 |
| 466 | ### Added |
| 467 | - Stats: added list posts endpoint. [#27875] |
| 468 | |
| 469 | ### Changed |
| 470 | - Stats: changed loading assets from odyssey-stats folder and some names. [#27971] |
| 471 | - Stats Admin: changed the time to refresh cache buster to 15 min. [#27969] |
| 472 | |
| 473 | ### Removed |
| 474 | - Stats: removed style overriding for Odyssey stats. [#27896] |
| 475 | |
| 476 | ### Fixed |
| 477 | - Stats: added `hostname` and `admin_url` to config. [#27922] |
| 478 | - Stats Admin: fixed phpunit CI tests. [#27948] |
| 479 | |
| 480 | ## 0.1.1 - 2022-12-06 |
| 481 | ### Changed |
| 482 | - Stats: explicitly allow only certain API access with blog token to wpcom [#27604] |
| 483 | - Updated package dependencies. [#27688] |
| 484 | |
| 485 | ## 0.1.0 - 2022-11-28 |
| 486 | ### Added |
| 487 | - Stats: add stats-admin package [#27247] |
| 488 | - Stats: add stats option `enable_calypso_stats` to allow users to enable the new Calypso Stats experience [#27431] |
| 489 | |
| 490 | ### Changed |
| 491 | - Updated package dependencies. [#27043] |
| 492 |