Skip to content

Commit

Permalink
Bump version to 1.75.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
aaemnnosttv committed May 18, 2022
1 parent 10891e7 commit 47ab905
Show file tree
Hide file tree
Showing 11 changed files with 48 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const { useSelect, useDispatch } = Data;
/**
* Toggles `useSnippet` depending on whether there is a existing tag matching the selected GA4 property.
*
* @since n.e.x.t
* @since 1.75.0
*/
export default function useExistingTagEffect() {
const { setUseSnippet } = useDispatch( MODULES_ANALYTICS_4 );
Expand Down
2 changes: 1 addition & 1 deletion assets/js/modules/analytics/datastore/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ export function validateCanSubmitChanges( select ) {
/**
* Gets the value of canUseSnippet based on the gaPropertyID of tagmanager module and propertyID.
*
* @since n.e.x.t
* @since 1.75.0
*
* @return {boolean|undefined} Computed value of canUseSnippet. `undefined` if not loaded.
*/
Expand Down
2 changes: 1 addition & 1 deletion assets/js/modules/tagmanager/datastore/containers.js
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ const baseSelectors = {
/**
* Gets primary container ID based on the AMP mode.
*
* @since n.e.x.t
* @since 1.75.0
*
* @return {(string|undefined)} Primary container ID or `undefined` if not loaded yet.
*/
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.74.0
* Version: 1.75.0
* Requires at least: 4.7
* Requires PHP: 5.6
* Author: Google
Expand All @@ -26,7 +26,7 @@
}

// Define most essential constants.
define( 'GOOGLESITEKIT_VERSION', '1.74.0' );
define( 'GOOGLESITEKIT_VERSION', '1.75.0' );
define( 'GOOGLESITEKIT_PLUGIN_MAIN_FILE', __FILE__ );
define( 'GOOGLESITEKIT_PHP_MINIMUM', '5.6.0' );

Expand Down
2 changes: 1 addition & 1 deletion includes/Core/Modules/Module_Sharing_Settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public function get() {
* Only updates sharing settings for a module if the current user has the capability to
* do so.
*
* @since n.e.x.t
* @since 1.75.0
*
* @param array $new_partial_settings Partial settings array to update existing settings with.
*
Expand Down
6 changes: 3 additions & 3 deletions includes/Core/Modules/Modules.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ final class Modules {
/**
* REST_Dashboard_Sharing_Controller instance.
*
* @since n.e.x.t
* @since 1.75.0
* @var REST_Dashboard_Sharing_Controller
*/
private $rest_controller;
Expand Down Expand Up @@ -1436,7 +1436,7 @@ function( $module ) {
* are not set for these modules. This filter is applied after every attempt to fetch
* the googlesitekit-dashboard_sharing settings option from the database.
*
* @since n.e.x.t
* @since 1.75.0
*
* @param array $sharing_settings The dashboard_sharing settings option fetched from the database.
* @return array Dashboard sharing settings option with default settings inserted for shared ownership modules.
Expand All @@ -1457,7 +1457,7 @@ protected function filter_shared_ownership_module_settings( $sharing_settings )
/**
* Gets the ownerIDs of all shareable modules.
*
* @since n.e.x.t
* @since 1.75.0
*
* @return array Array of $module_slug => $owner_id.
*/
Expand Down
10 changes: 5 additions & 5 deletions includes/Core/Modules/REST_Dashboard_Sharing_Controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
/**
* Class for handling dashboard sharing rest routes.
*
* @since n.e.x.t
* @since 1.75.0
* @access private
* @ignore
*/
Expand All @@ -28,15 +28,15 @@ class REST_Dashboard_Sharing_Controller {
/**
* Modules instance.
*
* @since n.e.x.t
* @since 1.75.0
* @var Modules
*/
protected $modules;

/**
* Constructor.
*
* @since n.e.x.t
* @since 1.75.0
*
* @param Modules $modules Modules instance.
*/
Expand All @@ -47,7 +47,7 @@ public function __construct( Modules $modules ) {
/**
* Registers functionality through WordPress hooks.
*
* @since n.e.x.t
* @since 1.75.0
*/
public function register() {
add_filter(
Expand All @@ -61,7 +61,7 @@ function ( $routes ) {
/**
* Gets REST route instances.
*
* @since n.e.x.t
* @since 1.75.0
*
* @return REST_Route[] List of REST_Route objects.
*/
Expand Down
2 changes: 1 addition & 1 deletion includes/Modules/Analytics/Settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ function ( $option ) {
* is disconnected, ensuring the Analytics snippet is always included.
*
* @since 1.28.0
* @since n.e.x.t Added the `$property_id` parameter.
* @since 1.75.0 Added the `$property_id` parameter.
*
* @param bool $can_use_snippet Whether or not `useSnippet` can control snippet output. Default: `true`.
* @param string $property_id The current property ID.
Expand Down
2 changes: 1 addition & 1 deletion includes/Modules/Tag_Manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,7 @@ private function register_tag() {
* Filters whether or not the Analytics module's snippet should be controlled by its `useSnippet` setting.
*
* @since 1.28.0
* @since n.e.x.t Now requires current UA property ID as second parameter.
* @since 1.75.0 Now requires current UA property ID as second parameter.
*
* @param boolean $original_value Original value of useSnippet setting.
* @param string $ua_property_id Current UA property.
Expand Down
32 changes: 31 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Contributors: google
Requires at least: 4.7
Tested up to: 6.0
Requires PHP: 5.6
Stable tag: 1.74.0
Stable tag: 1.75.0
License: Apache License 2.0
License URI: https://www.apache.org/licenses/LICENSE-2.0
Tags: google, search-console, analytics, adsense, pagespeed-insights, optimize, tag-manager, site-kit
Expand Down Expand Up @@ -106,6 +106,36 @@ Please create a new topic on our [WordPress.org support forum](https://wordpress

== Changelog ==

= 1.75.0 =

**Enhanced**

* Add new experimental Interaction to Next Paint field metric to PageSpeed dashboard widget. See [#5207](https://github.com/google/site-kit-wp/issues/5207).
* Update the "Skip to view-only dashboard" button text. See [#5176](https://github.com/google/site-kit-wp/issues/5176).
* Ensure that snippet toggle in Analytics and Tag Manager correctly inform about existing tags. See [#5143](https://github.com/google/site-kit-wp/issues/5143).
* Update Analytics snippet toggle behavior to be disabled when the same property is set in the Tag Manager container. See [#5141](https://github.com/google/site-kit-wp/issues/5141).
* Update Tag Manager container dropdowns to also include the container ID. See [#5108](https://github.com/google/site-kit-wp/issues/5108).
* Update the Tag Manager `useExistingTagEffect` hook to use AMP container ID when in the primary AMP mode. See [#5044](https://github.com/google/site-kit-wp/issues/5044).
* Ensure that the snippet toggle in Analytics settings only changes following the user modifying the selected property. See [#4974](https://github.com/google/site-kit-wp/issues/4974).
* Include snippet toggle in Tag Manager setup flow whenever there is an existing tag. See [#4934](https://github.com/google/site-kit-wp/issues/4934).
* Include snippet toggle in Analytics setup flow whenever there is an existing tag. See [#4913](https://github.com/google/site-kit-wp/issues/4913).
* Update info in plugin header for users viewing a shared dashboard. See [#4826](https://github.com/google/site-kit-wp/issues/4826).
* Limit widgets displayed on the shared dashboard to those which the user has access to. See [#4813](https://github.com/google/site-kit-wp/issues/4813).
* Add UI for new AdSense setup flow. See [#4763](https://github.com/google/site-kit-wp/issues/4763).
* Ensure that Tag Manager containers are no longer force-selected based on existing tags. See [#4713](https://github.com/google/site-kit-wp/issues/4713).
* Remove functionality related to checking for existing Tag Manager tag permission. See [#4709](https://github.com/google/site-kit-wp/issues/4709).
* Ensure that Analytics properties are no longer force-selected based on existing tags. See [#4703](https://github.com/google/site-kit-wp/issues/4703).
* Remove functionality related to checking for existing Analytics tag permission. See [#4702](https://github.com/google/site-kit-wp/issues/4702).
* Remove functionality related to checking for existing AdSense tag permission. See [#4627](https://github.com/google/site-kit-wp/issues/4627).
* Allow dashboard sharing users to use REST routes when using dashboard sharing view mode. See [#4529](https://github.com/google/site-kit-wp/issues/4529).
* Add new REST endpoint for updating dashboard sharing settings. See [#4481](https://github.com/google/site-kit-wp/issues/4481).

**Fixed**

* Ensure AdSense account ID and client ID are always set based on API response during setup. See [#5183](https://github.com/google/site-kit-wp/issues/5183).
* Fix AdSense error message when user does not have an AdSense account. See [#5180](https://github.com/google/site-kit-wp/issues/5180).
* Fix AdSense logo and progress bar placement in new setup flow. See [#5159](https://github.com/google/site-kit-wp/issues/5159).

= 1.74.0 =

**Enhanced**
Expand Down
2 changes: 1 addition & 1 deletion stories/utils/generate-gtm-analytics-property-story.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ import { MODULES_ANALYTICS_4 } from '../../assets/js/modules/analytics-4/datasto
* Generates a story for a case when a GTM with Analytics property ID is already connected.
*
* @since 1.18.0
* @since n.e.x.t Removed args.gaPermission and args.gtmPermission.
* @since 1.75.0 Removed args.gaPermission and args.gtmPermission.
* @private
*
* @param {Object} args Story arguments.
Expand Down

0 comments on commit 47ab905

Please sign in to comment.