Skip to content

Commit

Permalink
Bump version to 1.136.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
tofumatt committed Sep 18, 2024
1 parent 5d53e38 commit b2edccc
Show file tree
Hide file tree
Showing 13 changed files with 98 additions and 41 deletions.
2 changes: 1 addition & 1 deletion assets/js/components/KeyMetrics/key-metrics-widgets.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ function shouldDisplayWidgetWithCustomDimensions(
* This function is attached to the widget object that requires the conversion reporting events and
* has the `requiredConversionEventName` property.
*
* @since n.e.x.t
* @since 1.136.0
*
* @param {Function} select Data store select function.
* @param {boolean} isViewOnlyDashboard Whether the current dashboard is view only.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ const baseSelectors = {
/**
* Gets the `didSetAudiences` flag from the audience settings.
*
* @since n.e.x.t
* @since 1.136.0
*
* @param {Object} state Data store's state.
* @return {(boolean|undefined)} Whether or not the audience selection has ever been populated for the current user; `undefined` if not loaded.
Expand Down
2 changes: 1 addition & 1 deletion assets/js/hooks/useMonitorInternetConnection.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ import { CORE_UI } from '../googlesitekit/datastore/ui/constants';
* Monitors the user's internet connection status.
*
* @since 1.118.0
* @since n.e.x.t Changed the connection check endpoint.
* @since 1.136.0 Changed the connection check endpoint.
*/
export function useMonitorInternetConnection() {
const { setIsOnline } = useDispatch( CORE_UI );
Expand Down
14 changes: 7 additions & 7 deletions assets/js/modules/analytics-4/datastore/audiences.js
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ const baseActions = {
/**
* Retrives the initial set of audiences for selection.
*
* @since n.e.x.t
* @since 1.136.0
*
* @param {Array} availableAudiences List of available audiences.
* @return {Object} Object with properties `configuredAudiences` or `error`.
Expand Down Expand Up @@ -367,7 +367,7 @@ const baseActions = {
/**
* This contains the main logic for the `*enableAudienceGroup()` action above.
*
* @since n.e.x.t
* @since 1.136.0
*
* @param {Array} failedSiteKitAudienceSlugs List of failed Site Kit audience slugs to retry.
* @return {Object} Object with `failedSiteKitAudienceSlugs`, `createdSiteKitAudienceSlugs` and `error`.
Expand Down Expand Up @@ -549,7 +549,7 @@ const baseActions = {
/**
* Populates the configured audiences for the secondary user.
*
* @since n.e.x.t
* @since 1.136.0
*
* @return {Object} Object with `error`.
*/
Expand All @@ -567,7 +567,7 @@ const baseActions = {
/**
* This contains the main logic for the `*enableSecondaryUserAudienceGroup()` action above.
*
* @since n.e.x.t
* @since 1.136.0
*
* @return {Object} Object with `error`.
*/
Expand Down Expand Up @@ -681,7 +681,7 @@ const baseSelectors = {
/**
* Checks if the audience group setup is in progress.
*
* @since n.e.x.t
* @since 1.136.0
*
* @param {Object} state Data store's state.
* @return {boolean} True if the audience group setup is in progress, otherwise false.
Expand Down Expand Up @@ -994,7 +994,7 @@ const baseSelectors = {
/**
* Checks if the provided audience is a Site Kit audience in the partial data state and returns the audience object if so.
*
* @since n.e.x.t
* @since 1.136.0
*
* @param {string} audienceResourceName The audience resource name.
* @return {(Object|null|undefined)} The audience object if the audience is a Site Kit audience in the partial data state, otherwise null. Undefined if available audiences or the partial data state is not loaded yet.
Expand Down Expand Up @@ -1068,7 +1068,7 @@ const baseSelectors = {
/**
* Gets the configurable Site Kit and other (non Site Kit) audiences.
*
* @since n.e.x.t
* @since 1.136.0
*
* @return {Array} Array of Site Kit and other audiences.
*/
Expand Down
2 changes: 1 addition & 1 deletion assets/js/modules/analytics-4/datastore/report.js
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ const baseSelectors = {
*
* @since 1.107.0
* @since 1.124.0 Moved from the main analytics-4 datastore file to utils.
* @since n.e.x.t Moved back to the main analytics-4 datastore file and updated to be a selector.
* @since 1.136.0 Moved back to the main analytics-4 datastore file and updated to be a selector.
*
* @param {Function} select The select function of the registry.
* @return {Object} Report args.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import { DATE_RANGE_OFFSET, MODULES_ANALYTICS_4 } from '../datastore/constants';
/**
* Checks if the audience reports are loaded for the given report options.
*
* @since n.e.x.t
* @since 1.136.0
*
* @param {Object} reportOptions Report options.
* @param {Array} configuredAudiences Configured audiences.
Expand Down Expand Up @@ -71,7 +71,7 @@ function useReportLoaded( reportOptions, configuredAudiences ) {
/**
* Checks if there are errors for the audience reports with the given report options.
*
* @since n.e.x.t
* @since 1.136.0
*
* @param {Object} reportOptions Report options.
* @param {Array} configuredAudiences Configured audiences.
Expand Down Expand Up @@ -122,7 +122,7 @@ function useReportErrors( reportOptions, configuredAudiences ) {
/**
* Fetch reports for audience tiles.
*
* @since n.e.x.t
* @since 1.136.0
*
* @param {Object} args Arguments for the hook.
* @param {boolean} args.isSiteKitAudiencePartialData Whether the Site Kit audiences are partially loaded.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const selectors = {
* Returns a link to the Reader Revenue Manager platform.
*
* @since 1.132.0
* @since n.e.x.t Removed `publicationID` arg.
* @since 1.136.0 Removed `publicationID` arg.
*
* @param {Object} state Data store's state.
* @param {Object} [args] Object containing optional publication ID, path and query args.
Expand Down
2 changes: 1 addition & 1 deletion assets/js/modules/search-console/datastore/report.js
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ const baseSelectors = {
* Returns report args for a sample report.
*
* @since 1.107.0
* @since n.e.x.t Updated the function to be a selector.
* @since 1.136.0 Updated the function to be a selector.
*
* @param {Function} select The select function of the registry.
* @return {Object} Report args.
Expand Down
43 changes: 43 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,48 @@
== Changelog ==

= 1.136.0 =

**Added**

* Add the new `Top cities driving leads` widget. See [#9154](https://github.com/google/site-kit-wp/issues/9154).
* Add new WordPress Data controls to `googlesitekit-data`. See [#8992](https://github.com/google/site-kit-wp/issues/8992).

**Enhanced**

* Update publication links in the Reader Revenue Manager module to navigate to the RRM product page for the publication. See [#9313](https://github.com/google/site-kit-wp/issues/9313).
* Improve instructions for creating a new publication in the Reader Revenue Manager module setup screen. See [#9308](https://github.com/google/site-kit-wp/issues/9308).
* Refactor Ads notifications to use new notifications infrastructure. See [#9279](https://github.com/google/site-kit-wp/issues/9279).
* Show the "Display visitor groups in dashboard" toggle in the Site Kit Admin settings even when Google Analytics is disconnected. See [#9264](https://github.com/google/site-kit-wp/issues/9264).
* When a user clicks the CTA to visit the Publisher Center from one of the onboarding state notifications, resync the onboarding state upon returning to the Site Kit browser tab and update/hide the notification if the state has changed. See [#9262](https://github.com/google/site-kit-wp/issues/9262).
* Show the Reader Revenue Manager module's setup banner again two weeks after being dismissed, and show a tooltip to let the user know it can be set up later in Settings. See [#9257](https://github.com/google/site-kit-wp/issues/9257).
* Update text colour in Reader Revenue Manager publication creation screen. See [#9256](https://github.com/google/site-kit-wp/issues/9256).
* Reduce frequency of AdsLinks checks. See [#9141](https://github.com/google/site-kit-wp/issues/9141).
* Improve offline connection check logic/behaviour. See [#9083](https://github.com/google/site-kit-wp/issues/9083).
* Scroll to the Audiences Widget Area when clicking the "Show me" CTA on the Setup Success Notice that is shown when the Audience Segmentation feature has been set up. See [#8874](https://github.com/google/site-kit-wp/issues/8874).
* Implement the Audience Segmentation "no audiences" banner variants for secondary authenticated and shared dashboard users. See [#8577](https://github.com/google/site-kit-wp/issues/8577).
* Remove "New" badges from Analytics widgets in the entity dashboard. See [#8203](https://github.com/google/site-kit-wp/issues/8203).
* Add "New" badges to newly created audiences in the Selection Panel, which will be visible for 28 days after the first viewing. See [#8170](https://github.com/google/site-kit-wp/issues/8170).
* Redirect to OAuth as needed to grant the scope for creating the required custom dimension from the "Top content" metric section. See [#8154](https://github.com/google/site-kit-wp/issues/8154).
* Handle the “new visitors” and “returning visitors” audiences as a special case to avoid the "partial data" state for them on the Audience Tiles. See [#8144](https://github.com/google/site-kit-wp/issues/8144).
* Automatically configure the audience selection for additional admins and view-only users once an admin has set up the feature. See [#8130](https://github.com/google/site-kit-wp/issues/8130).
* Remove scheduled events upon deactivation, reset or uninstall. See [#6992](https://github.com/google/site-kit-wp/issues/6992).
* Improve error notice when no "Retry" button is present. See [#6707](https://github.com/google/site-kit-wp/issues/6707).

**Changed**

* Remove `conversionInfra` feature flag. See [#9173](https://github.com/google/site-kit-wp/issues/9173).

**Fixed**

* Update RRM notification event names in Analytics. See [#9368](https://github.com/google/site-kit-wp/issues/9368).
* Improve Reader Revenue Manager setup CTA banner so that its graphic does not overflow the container. See [#9271](https://github.com/google/site-kit-wp/issues/9271).
* Fix glitches relating to the Audience Segmentation Setup CTA Banner. See [#9231](https://github.com/google/site-kit-wp/issues/9231).
* Ensure Zero Data notification always appears in new banner notifications. See [#9227](https://github.com/google/site-kit-wp/issues/9227).
* Fix unexpected error in Site Kit WordPress dashboard widget for sites in zero data states. See [#9226](https://github.com/google/site-kit-wp/issues/9226).
* Add ability to remove a notification on next page load. See [#9225](https://github.com/google/site-kit-wp/issues/9225).
* Fix glitches and errors when changing the audience selection in mobile viewports, ensuring audiences are listed in the correct order, and audience tabs function properly without errors. See [#9168](https://github.com/google/site-kit-wp/issues/9168).
* Improve module disconnection confirmation dialog UI. See [#9061](https://github.com/google/site-kit-wp/issues/9061).

= 1.135.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.135.0
* Version: 1.136.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.135.0' );
define( 'GOOGLESITEKIT_VERSION', '1.136.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/User/Audience_Settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ protected function get_type() {
* Gets the default value.
*
* @since 1.124.0
* @since n.e.x.t Added `didSetAudiences` default value.
* @since 1.136.0 Added `didSetAudiences` default value.
*
* @return array The default value.
*/
Expand Down
4 changes: 2 additions & 2 deletions includes/Core/Util/Uninstallation.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class Uninstallation {
/**
* List of scheduled events.
*
* @since n.e.x.t
* @since 1.136.0
* @var array
*/
const SCHEDULED_EVENTS = array(
Expand Down Expand Up @@ -129,7 +129,7 @@ private function uninstall() {
/**
* Clears all scheduled events.
*
* @since n.e.x.t
* @since 1.136.0
*/
private function clear_scheduled_events() {
foreach ( self::SCHEDULED_EVENTS as $event ) {
Expand Down
54 changes: 34 additions & 20 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Contributors: google
Requires at least: 5.2
Tested up to: 6.6
Requires PHP: 7.4
Stable tag: 1.135.0
Stable tag: 1.136.0
License: Apache License 2.0
License URI: https://www.apache.org/licenses/LICENSE-2.0
Tags: google, search-console, analytics, adsense, pagespeed-insights
Expand Down Expand Up @@ -109,33 +109,47 @@ Please create a new topic on our [WordPress.org support forum](https://wordpress

== Changelog ==

= 1.135.0 =
= 1.136.0 =

**Added**

* Add a cron task to fetch Analytics report data for conversion events reporting. See [#9130](https://github.com/google/site-kit-wp/issues/9130).
* Add the new `Top cities driving leads` widget. See [#9154](https://github.com/google/site-kit-wp/issues/9154).
* Add new WordPress Data controls to `googlesitekit-data`. See [#8992](https://github.com/google/site-kit-wp/issues/8992).

**Enhanced**

* Add an "Edit in Reader Revenue Manager" link to the RRM module's settings view screen. See [#9192](https://github.com/google/site-kit-wp/issues/9192).
* Add `conversionReporting` feature flag to plugin. See [#9152](https://github.com/google/site-kit-wp/issues/9152).
* Add support for Analytics Conversion Report Events in data store. See [#9132](https://github.com/google/site-kit-wp/issues/9132).
* Fix the undefined array key "name" warning. See [#9113](https://github.com/google/site-kit-wp/issues/9113).
* Don't show the Audiences Widget Area on the dashboard when the "Display visitor groups in dashboard" switch is toggled off in the Settings section. See [#9065](https://github.com/google/site-kit-wp/issues/9065).
* Refactor PAX notification to use new notification infrastructure. See [#8980](https://github.com/google/site-kit-wp/issues/8980).
* Update Google Tag scope notifications to use new notifications infrastructure. See [#8979](https://github.com/google/site-kit-wp/issues/8979).
* Update banner notification code for the "Unsatisfied Scopes Alert" banner notification. See [#8978](https://github.com/google/site-kit-wp/issues/8978).
* Optimize Audience Segmentation related API calls to be made only when the area is being viewed. See [#8879](https://github.com/google/site-kit-wp/issues/8879).
* Add the `PublicationOnboardingStateNotice` component, rendering a notice based on the onboarding state of the current publication and presented in Storybook. See [#8838](https://github.com/google/site-kit-wp/issues/8838).
* Fix PHP 8.1 deprecation notices. See [#8589](https://github.com/google/site-kit-wp/issues/8589).
* Enhance Audience Segmentation CTAs to not appear on shared dashboard. See [#8174](https://github.com/google/site-kit-wp/issues/8174).
* Show a notice in the Audience Creation Notice when the Analytics edit scope is missing, and proceed directly to the OAuth flow upon clicking a CTA to create an audience. See [#8165](https://github.com/google/site-kit-wp/issues/8165).
* Show an Audience Tile in an error state if an error occurred while retrieving its data; show a combined error state if all audiences have an error. See [#8147](https://github.com/google/site-kit-wp/issues/8147).
* Update publication links in the Reader Revenue Manager module to navigate to the RRM product page for the publication. See [#9313](https://github.com/google/site-kit-wp/issues/9313).
* Improve instructions for creating a new publication in the Reader Revenue Manager module setup screen. See [#9308](https://github.com/google/site-kit-wp/issues/9308).
* Refactor Ads notifications to use new notifications infrastructure. See [#9279](https://github.com/google/site-kit-wp/issues/9279).
* Show the "Display visitor groups in dashboard" toggle in the Site Kit Admin settings even when Google Analytics is disconnected. See [#9264](https://github.com/google/site-kit-wp/issues/9264).
* When a user clicks the CTA to visit the Publisher Center from one of the onboarding state notifications, resync the onboarding state upon returning to the Site Kit browser tab and update/hide the notification if the state has changed. See [#9262](https://github.com/google/site-kit-wp/issues/9262).
* Show the Reader Revenue Manager module's setup banner again two weeks after being dismissed, and show a tooltip to let the user know it can be set up later in Settings. See [#9257](https://github.com/google/site-kit-wp/issues/9257).
* Update text colour in Reader Revenue Manager publication creation screen. See [#9256](https://github.com/google/site-kit-wp/issues/9256).
* Reduce frequency of AdsLinks checks. See [#9141](https://github.com/google/site-kit-wp/issues/9141).
* Improve offline connection check logic/behaviour. See [#9083](https://github.com/google/site-kit-wp/issues/9083).
* Scroll to the Audiences Widget Area when clicking the "Show me" CTA on the Setup Success Notice that is shown when the Audience Segmentation feature has been set up. See [#8874](https://github.com/google/site-kit-wp/issues/8874).
* Implement the Audience Segmentation "no audiences" banner variants for secondary authenticated and shared dashboard users. See [#8577](https://github.com/google/site-kit-wp/issues/8577).
* Remove "New" badges from Analytics widgets in the entity dashboard. See [#8203](https://github.com/google/site-kit-wp/issues/8203).
* Add "New" badges to newly created audiences in the Selection Panel, which will be visible for 28 days after the first viewing. See [#8170](https://github.com/google/site-kit-wp/issues/8170).
* Redirect to OAuth as needed to grant the scope for creating the required custom dimension from the "Top content" metric section. See [#8154](https://github.com/google/site-kit-wp/issues/8154).
* Handle the “new visitors” and “returning visitors” audiences as a special case to avoid the "partial data" state for them on the Audience Tiles. See [#8144](https://github.com/google/site-kit-wp/issues/8144).
* Automatically configure the audience selection for additional admins and view-only users once an admin has set up the feature. See [#8130](https://github.com/google/site-kit-wp/issues/8130).
* Remove scheduled events upon deactivation, reset or uninstall. See [#6992](https://github.com/google/site-kit-wp/issues/6992).
* Improve error notice when no "Retry" button is present. See [#6707](https://github.com/google/site-kit-wp/issues/6707).

**Changed**

* Remove `conversionInfra` feature flag. See [#9173](https://github.com/google/site-kit-wp/issues/9173).

**Fixed**

* Ensure the list of publications in the Reader Revenue Manager setup and settings screens only shows publications relevant to the current site. See [#9247](https://github.com/google/site-kit-wp/issues/9247).
* Update the PAX library version. See [#9237](https://github.com/google/site-kit-wp/issues/9237).
* Enhance stability of visual regression test runs. See [#9211](https://github.com/google/site-kit-wp/issues/9211).
* Update RRM notification event names in Analytics. See [#9368](https://github.com/google/site-kit-wp/issues/9368).
* Improve Reader Revenue Manager setup CTA banner so that its graphic does not overflow the container. See [#9271](https://github.com/google/site-kit-wp/issues/9271).
* Fix glitches relating to the Audience Segmentation Setup CTA Banner. See [#9231](https://github.com/google/site-kit-wp/issues/9231).
* Ensure Zero Data notification always appears in new banner notifications. See [#9227](https://github.com/google/site-kit-wp/issues/9227).
* Fix unexpected error in Site Kit WordPress dashboard widget for sites in zero data states. See [#9226](https://github.com/google/site-kit-wp/issues/9226).
* Add ability to remove a notification on next page load. See [#9225](https://github.com/google/site-kit-wp/issues/9225).
* Fix glitches and errors when changing the audience selection in mobile viewports, ensuring audiences are listed in the correct order, and audience tabs function properly without errors. See [#9168](https://github.com/google/site-kit-wp/issues/9168).
* Improve module disconnection confirmation dialog UI. See [#9061](https://github.com/google/site-kit-wp/issues/9061).

[See changelog for all versions](https://raw.githubusercontent.com/google/site-kit-wp/main/changelog.txt).

0 comments on commit b2edccc

Please sign in to comment.