Skip to content

Commit

Permalink
Bump version to 1.144.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
tofumatt committed Jan 7, 2025
1 parent b59be24 commit 9531204
Show file tree
Hide file tree
Showing 19 changed files with 127 additions and 74 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import { MODULES_ANALYTICS_4 } from '../../../modules/analytics-4/datastore/cons
/**
* Determines whether the new events callout should be displayed.
*
* @since n.e.x.t
* @since 1.144.0
*
* @param {boolean} haveNewConversionEventsAfterDismiss If there are new events detected after callout was dismissed.
* @return {boolean} Whether the new events callout should be displayed.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import { MODULES_ANALYTICS_4 } from '../../../modules/analytics-4/datastore/cons
/**
* Determines whether the initial new events callout should be displayed.
*
* @since n.e.x.t
* @since 1.144.0
*
* @param {boolean} haveNewConversionEventsAfterDismiss If there are new events detected after callout was dismissed.
* @return {boolean} Whether the initial new events callout should be displayed.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import { MODULES_ANALYTICS_4 } from '../../../modules/analytics-4/datastore/cons
/**
* Determines whether the initial new events callout should be displayed.
*
* @since n.e.x.t
* @since 1.144.0
*
* @param {boolean} haveNewConversionEventsAfterDismiss If there are new events detected after callout was dismissed.
* @return {boolean} Whether the initial new events callout should be displayed.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ const baseActions = {
/**
* Saves the conversion reporting settings.
*
* @since n.e.x.t
* @since 1.144.0
*
* @param {Object} settings Optional. By default, this saves whatever there is in the store. Use this object to save additional settings.
* @return {Object} Object with `response` and `error`.
Expand Down Expand Up @@ -125,7 +125,7 @@ const baseSelectors = {
/**
* Gets the conversion reporting settings.
*
* @since n.e.x.t
* @since 1.144.0
*
* @param {Object} state Data store's state.
* @return {(Object|undefined)} Conversion reporting settings; `undefined` if not loaded.
Expand All @@ -137,7 +137,7 @@ const baseSelectors = {
/**
* Determines whether the conversion reporting settings are being saved or not.
*
* @since n.e.x.t
* @since 1.144.0
*
* @param {Object} state Data store's state.
* @return {boolean} TRUE if the key metrics settings are being saved, otherwise FALSE.
Expand All @@ -153,7 +153,7 @@ const baseSelectors = {
/**
* Determines whether the new events callout should be shown or not.
*
* @since n.e.x.t
* @since 1.144.0
*
* @return {boolean} TRUE if the there were new events detected after the callout was dismissed, otherwise FALSE.
*/
Expand Down Expand Up @@ -181,7 +181,7 @@ const baseSelectors = {
/**
* Determines whether the lost events callout should be shown or not.
*
* @since n.e.x.t
* @since 1.144.0
*
* @return {boolean} TRUE if the there were lost events detected after the callout was dismissed, otherwise FALSE.
*/
Expand Down
2 changes: 1 addition & 1 deletion assets/js/googlesitekit/modules/datastore/modules.js
Original file line number Diff line number Diff line change
Expand Up @@ -1421,7 +1421,7 @@ const baseSelectors = {
* Returns the module homepage by default. This can be overwritten by a
* custom selector of the same name in the module store implementation.
*
* @since n.e.x.t
* @since 1.144.0
*
* @param {Object} state Data store's state.
* @param {string} slug Module slug.
Expand Down
2 changes: 1 addition & 1 deletion assets/js/googlesitekit/modules/datastore/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export const selectors = {
/**
* Checks whether settings edit dependencies are currently loading for a module.
*
* @since n.e.x.t
* @since 1.144.0
*
* @param {string} slug Module slug.
* @return {boolean?} Whether or not settings edit dependencies are currently loading for the module,
Expand Down
2 changes: 1 addition & 1 deletion assets/js/modules/adsense/datastore/service.js
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ export const selectors = {
/**
* Overrides the details link URL for this module.
*
* @since n.e.x.t
* @since 1.144.0
*
* @return {(string|undefined)} AdSense account sites list URL (or `undefined` if not loaded).
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ export const selectors = {
/**
* Returns newBadgeEvents if present.
*
* @since n.e.x.t
* @since 1.144.0
*
* @return {Array|undefined} `newBadgeEvents` array if events are present, `undefined` otherwise.
*/
Expand Down
49 changes: 49 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,54 @@
== Changelog ==

= 1.144.0 =

**Added**

* Add `library_name` parameter to Sign in with Google button. See [#9924](https://github.com/google/site-kit-wp/issues/9924).
* Add incremental ESLint rule to avoid defining `scenario.label` on stories. See [#9865](https://github.com/google/site-kit-wp/issues/9865).
* Add option to enable "One-tap" sign-in across site when using Sign in with Google. See [#9861](https://github.com/google/site-kit-wp/issues/9861).

**Enhanced**

* Add the `rrmModuleV2` feature flag, this will be used for phase two of the Reader Revenue Manager module's development. See [#9948](https://github.com/google/site-kit-wp/issues/9948).
* Update FPM health check to use the approach from the measurement script. See [#9916](https://github.com/google/site-kit-wp/issues/9916).
* Improve Analytics Conversion Reporting new/lost events callouts experience for each Site Kit user. See [#9897](https://github.com/google/site-kit-wp/issues/9897).
* Update subtle notification padding for consistency with the Figma design. See [#9860](https://github.com/google/site-kit-wp/issues/9860).
* Add a loading spinner to the "Enable First-party mode" CTA button on the setup banner to indicate progress during the setup process. See [#9856](https://github.com/google/site-kit-wp/issues/9856).
* Only run the periodic server requirement health checks for First-party mode when the mode is enabled. See [#9842](https://github.com/google/site-kit-wp/issues/9842).
* Update Partner Ads Experience with knowledge of supported conversion events. See [#9816](https://github.com/google/site-kit-wp/issues/9816).
* Improve logic for persisting badges in the Key Metrics selection panel. See [#9798](https://github.com/google/site-kit-wp/issues/9798).
* Add the Suggested group to the key metrics selection panel. See [#9797](https://github.com/google/site-kit-wp/issues/9797).
* Add a warning notification on the dashboard to alert users when First-party mode is disabled due to failed server requirement checks. See [#9767](https://github.com/google/site-kit-wp/issues/9767).
* Update to the latest version of the First-party mode proxy script. See [#9710](https://github.com/google/site-kit-wp/issues/9710).
* Add "Learn more" links for First-party mode. See [#9699](https://github.com/google/site-kit-wp/issues/9699).
* Introduce GA4 tracking events for the First-party mode feature. See [#9669](https://github.com/google/site-kit-wp/issues/9669).
* Add loading state with placeholder elements to Site Kit's WP dashboard widget. See [#9570](https://github.com/google/site-kit-wp/issues/9570).
* Fix issues with Audience Creation Notice when browser viewport is very short. See [#9562](https://github.com/google/site-kit-wp/issues/9562).
* Improve accuracy of periodic network connection check. See [#9485](https://github.com/google/site-kit-wp/issues/9485).
* Add badge to new Analytics Conversion Reporting widget tiles and groups. See [#9386](https://github.com/google/site-kit-wp/issues/9386).
* Update the Setup Error Banner notification to use the new Notifications API. See [#9283](https://github.com/google/site-kit-wp/issues/9283).
* Move settings edit dependency loading state to module stores. See [#8730](https://github.com/google/site-kit-wp/issues/8730).
* Improve the "See full details" link in AdSense settings, linking to the list of sites for the account where possible. See [#8076](https://github.com/google/site-kit-wp/issues/8076).
* Ensure that cities and countries with unset values don't show up in the "Top cities driving traffic" and "Top countries driving traffic" Key Metric tiles. See [#7884](https://github.com/google/site-kit-wp/issues/7884).

**Changed**

* Remove the deprecated `OAuth_Client::using_proxy` method and its associated tests. See [#8366](https://github.com/google/site-kit-wp/issues/8366).

**Fixed**

* Ensure measurement tracking requests succeed when both the Analytics and Ads modules are connected and First-party mode is enabled. See [#9901](https://github.com/google/site-kit-wp/issues/9901).
* Improve sort order in module list. See [#9877](https://github.com/google/site-kit-wp/issues/9877).
* Ensure "Enhanced Measurement" setting is not activated when disabled during Analytics setup. See [#9827](https://github.com/google/site-kit-wp/issues/9827).
* Fix a glitch where setup CTA banners would momentarily appear again when dismissing their admin settings tooltip. See [#9791](https://github.com/google/site-kit-wp/issues/9791).
* Fix iPad 10 Safari inconsistencies. See [#9776](https://github.com/google/site-kit-wp/issues/9776).
* Fix potential for PHP warning related to accessing a property `post_type` on null. See [#9762](https://github.com/google/site-kit-wp/issues/9762).
* Ensure Site Kit's Google chart on the WordPress dashboard widget correctly adapts to viewport width changes. See [#9756](https://github.com/google/site-kit-wp/issues/9756).
* Fix the deprecation error in the Ads module related to the creation of a dynamic property in the `Web_Tag` class. See [#9531](https://github.com/google/site-kit-wp/issues/9531).
* Prevent unnecessary requests on dashboard. See [#9178](https://github.com/google/site-kit-wp/issues/9178).
* Prevent PHP warnings when creating custom dimensions. See [#7801](https://github.com/google/site-kit-wp/issues/7801).

= 1.142.0 =

**Added**
Expand Down
4 changes: 2 additions & 2 deletions google-site-kit.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* Plugin Name: Site Kit by Google
* Plugin URI: https://sitekit.withgoogle.com
* Description: Site Kit is a one-stop solution for WordPress users to use everything Google has to offer to make them successful on the web.
* Version: 1.142.0
* Version: 1.144.0
* Requires at least: 5.2
* Requires PHP: 7.4
* Author: Google
Expand All @@ -26,7 +26,7 @@
}

// Define most essential constants.
define( 'GOOGLESITEKIT_VERSION', '1.142.0' );
define( 'GOOGLESITEKIT_VERSION', '1.144.0' );
define( 'GOOGLESITEKIT_PLUGIN_MAIN_FILE', __FILE__ );
define( 'GOOGLESITEKIT_PHP_MINIMUM', '7.4.0' );
define( 'GOOGLESITEKIT_WP_MINIMUM', '5.2.0' );
Expand Down
2 changes: 1 addition & 1 deletion includes/Core/Admin/Dashboard.php
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ private function render_googlesitekit_wp_dashboard() {
/**
* Render the loading container when data is not available and being fetched.
*
* @since n.e.x.t
* @since 1.144.0
* @param string $class_names Class names to add to the container.
* @return void
*/
Expand Down
2 changes: 1 addition & 1 deletion includes/Core/Tags/First_Party_Mode/First_Party_Mode.php
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ public function on_admin_init() {
*
* @since 1.141.0
* @since 1.142.0 Relocated from REST_First_Party_Mode_Controller.
* @since n.e.x.t Uses Google\FirstPartyLibrary\RequestHelper to send requests.
* @since 1.144.0 Uses Google\FirstPartyLibrary\RequestHelper to send requests.
*
* @param string $endpoint The endpoint to check.
* @return bool True if the endpoint is healthy, false otherwise.
Expand Down
10 changes: 5 additions & 5 deletions includes/Core/User/Conversion_Reporting.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
/**
* Class for handling conversion reporting settings rest routes.
*
* @since n.e.x.t
* @since 1.144.0
* @access private
* @ignore
*/
Expand All @@ -24,23 +24,23 @@ class Conversion_Reporting {
/**
* Conversion_Reporting_Settings instance.
*
* @since n.e.x.t
* @since 1.144.0
* @var Conversion_Reporting_Settings
*/
private $conversion_reporting_settings;

/**
* REST_Conversion_Reporting_Controller instance.
*
* @since n.e.x.t
* @since 1.144.0
* @var REST_Conversion_Reporting_Controller
*/
private $rest_controller;

/**
* Constructor.
*
* @since n.e.x.t
* @since 1.144.0
*
* @param User_Options $user_options User_Options instance.
*/
Expand All @@ -52,7 +52,7 @@ public function __construct( User_Options $user_options ) {
/**
* Registers functionality through WordPress hooks.
*
* @since n.e.x.t
* @since 1.144.0
*/
public function register() {
$this->conversion_reporting_settings->register();
Expand Down
10 changes: 5 additions & 5 deletions includes/Core/User/Conversion_Reporting_Settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
/**
* Class for handling conversion reporting settings rest routes.
*
* @since n.e.x.t
* @since 1.144.0
* @access private
* @ignore
*/
Expand All @@ -29,7 +29,7 @@ class Conversion_Reporting_Settings extends User_Setting {
/**
* Gets the expected value type.
*
* @since n.e.x.t
* @since 1.144.0
*
* @return string The type name.
*/
Expand All @@ -40,7 +40,7 @@ protected function get_type() {
/**
* Gets the default value.
*
* @since n.e.x.t
* @since 1.144.0
*
* @return array The default value.
*/
Expand All @@ -54,7 +54,7 @@ protected function get_default() {
/**
* Merges an array of settings to update.
*
* @since n.e.x.t
* @since 1.144.0
*
* @param array $partial Partial settings array to save.
* @return bool True on success, false on failure.
Expand All @@ -81,7 +81,7 @@ function ( $value ) {
/**
* Gets the callback for sanitizing the setting's value before saving.
*
* @since n.e.x.t
* @since 1.144.0
*
* @return callable Sanitize callback.
*/
Expand Down
10 changes: 5 additions & 5 deletions includes/Core/User/REST_Conversion_Reporting_Controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
/**
* Class for handling conversion reporting settings rest routes.
*
* @since n.e.x.t
* @since 1.144.0
* @access private
* @ignore
*/
Expand All @@ -30,15 +30,15 @@ class REST_Conversion_Reporting_Controller {
/**
* Conversion_Reporting_Settings instance.
*
* @since n.e.x.t
* @since 1.144.0
* @var Conversion_Reporting_Settings
*/
private $conversion_reporting_settings;

/**
* Constructor.
*
* @since n.e.x.t
* @since 1.144.0
*
* @param Conversion_Reporting_Settings $conversion_reporting_settings Conversion_Reporting_Settings instance.
*/
Expand All @@ -49,7 +49,7 @@ public function __construct( Conversion_Reporting_Settings $conversion_reporting
/**
* Registers functionality through WordPress hooks.
*
* @since n.e.x.t
* @since 1.144.0
*/
public function register() {
add_filter(
Expand Down Expand Up @@ -79,7 +79,7 @@ function ( $paths ) {
/**
* Gets REST route instances.
*
* @since n.e.x.t
* @since 1.144.0
*
* @return REST_Route[] List of REST_Route objects.
*/
Expand Down
2 changes: 1 addition & 1 deletion includes/Core/User/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class User {
/**
* Conversion_Reporting instance.
*
* @since n.e.x.t
* @since 1.144.0
* @var Conversion_Reporting
*/
private $conversion_reporting;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class Conversion_Reporting_Events_Sync {
*
* @since 1.135.0
* @since 1.139.0 Added $context param to constructor.
* @since n.e.x.t Added $transients and $new_badge_events_sync params to constructor, and removed $context.
* @since 1.144.0 Added $transients and $new_badge_events_sync params to constructor, and removed $context.
*
* @param Settings $settings Settings module settings instance.
* @param Transients $transients Transients instance.
Expand Down Expand Up @@ -141,7 +141,7 @@ public function sync_detected_events() {
/**
* Saves new and lost events transients.
*
* @since n.e.x.t
* @since 1.144.0
*
* @param array $detected_events Currently detected events array.
* @param array $saved_detected_events Previously saved detected events array.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
/**
* Class providing implementation of "new" badge for detected conversion reporting events.
*
* @since n.e.x.t
* @since 1.144.0
* @access private
* @ignore
*/
Expand All @@ -29,15 +29,15 @@ class Conversion_Reporting_New_Badge_Events_Sync {
/**
* Transients instance.
*
* @since n.e.x.t
* @since 1.144.0
* @var Transients
*/
protected $transients;

/**
* Constructor.
*
* @since n.e.x.t
* @since 1.144.0
*
* @param Transients $transients Transients instance.
*/
Expand All @@ -50,7 +50,7 @@ public function __construct(
/**
* Saves new events badge to the expirable items.
*
* @since n.e.x.t
* @since 1.144.0
*
* @param array $new_events New events array.
*/
Expand Down
Loading

0 comments on commit 9531204

Please sign in to comment.