Skip to content

Commit

Permalink
Bump version to 1.104.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
aaemnnosttv committed Jun 29, 2023
1 parent c88631d commit 37352fc
Show file tree
Hide file tree
Showing 11 changed files with 55 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ const baseActions = {
/**
* Triggers user input survey if any of the answers is "Other".
*
* @since n.e.x.t
* @since 1.104.0
*
* @return {Object} Object with `response` and `error`.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const baseActions = {
/**
* Triggers an API request to sync Ad Blocking Recovery and Error Protection tags on the server.
*
* @since n.e.x.t
* @since 1.104.0
*
* @return {Object} Object with `response` and `error`.
*/
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.103.0
* Version: 1.104.0
* Requires at least: 5.2
* Requires PHP: 5.6
* Author: Google
Expand All @@ -26,7 +26,7 @@
}

// Define most essential constants.
define( 'GOOGLESITEKIT_VERSION', '1.103.0' );
define( 'GOOGLESITEKIT_VERSION', '1.104.0' );
define( 'GOOGLESITEKIT_PLUGIN_MAIN_FILE', __FILE__ );
define( 'GOOGLESITEKIT_PHP_MINIMUM', '5.6.0' );
define( 'GOOGLESITEKIT_WP_MINIMUM', '5.2.0' );
Expand Down
2 changes: 1 addition & 1 deletion includes/Core/Authentication/Google_Proxy.php
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ public function exchange_site_code( $site_code, $undelegated_code ) {
* Gets remote features.
*
* @since 1.27.0
* @since n.e.x.t Added `php_version` to request.
* @since 1.104.0 Added `php_version` to request.
*
* @param Credentials $credentials Credentials instance.
* @return array|WP_Error Response of the wp_remote_post request.
Expand Down
2 changes: 1 addition & 1 deletion includes/Core/User_Input/REST_User_Input_Controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class REST_User_Input_Controller {
/**
* Survey_Queue instance.
*
* @since n.e.x.t
* @since 1.104.0
* @var Survey_Queue
*/
protected $survey_queue;
Expand Down
4 changes: 2 additions & 2 deletions includes/Modules/AdSense.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,15 +81,15 @@ final class AdSense extends Module
/**
* Ad_Blocking_Recovery_Tag instance.
*
* @since n.e.x.t
* @since 1.104.0
* @var Ad_Blocking_Recovery_Tag
*/
protected $ad_blocking_recovery_tag;

/**
* Constructor.
*
* @since n.e.x.t
* @since 1.104.0
*
* @param Context $context Plugin context.
* @param Options $options Optional. Option API instance. Default is a new instance.
Expand Down
12 changes: 6 additions & 6 deletions includes/Modules/AdSense/Ad_Blocking_Recovery_Tag.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
/**
* Class for AdSense Ad Blocker Recovery Tag.
*
* @since n.e.x.t
* @since 1.104.0
* @access private
* @ignore
*/
Expand All @@ -26,7 +26,7 @@ class Ad_Blocking_Recovery_Tag extends Setting {
/**
* Gets ad blocking recovery tag.
*
* @since n.e.x.t
* @since 1.104.0
*
* @return array Array with tag and error protection code.
*/
Expand All @@ -43,7 +43,7 @@ public function get() {
/**
* Sets ad blocking recovery tag.
*
* @since n.e.x.t
* @since 1.104.0
*
* @param array $value Array with tag and error protection code.
*
Expand All @@ -60,7 +60,7 @@ public function set( $value ) {
/**
* Gets the expected value type.
*
* @since n.e.x.t
* @since 1.104.0
*
* @return string The type name.
*/
Expand All @@ -71,7 +71,7 @@ protected function get_type() {
/**
* Gets the default value.
*
* @since n.e.x.t
* @since 1.104.0
*
* @return array
*/
Expand All @@ -85,7 +85,7 @@ protected function get_default() {
/**
* Determines whether the given value is a valid tag object.
*
* @since n.e.x.t
* @since 1.104.0
*
* @param mixed $tag Tag object.
*
Expand Down
4 changes: 2 additions & 2 deletions includes/Modules/Analytics_4.php
Original file line number Diff line number Diff line change
Expand Up @@ -964,7 +964,7 @@ private function get_provisioning_redirect_uri() {
* Registers the Analytics 4 tag.
*
* @since 1.31.0
* @since n.e.x.t Added support for AMP tag.
* @since 1.104.0 Added support for AMP tag.
*/
private function register_tag() {
if ( $this->context->is_amp() ) {
Expand Down Expand Up @@ -1233,7 +1233,7 @@ private function get_tag_id() {
/**
* Gets the currently configured measurement ID.
*
* @since n.e.x.t
* @since 1.104.0
*
* @return string Google Analytics 4 measurement ID.
*/
Expand Down
8 changes: 4 additions & 4 deletions includes/Modules/Analytics_4/AMP_Tag.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
/**
* Class for AMP tag.
*
* @since n.e.x.t
* @since 1.104.0
* @access private
* @ignore
*/
Expand All @@ -27,7 +27,7 @@ class AMP_Tag extends Analytics_AMP_Tag {
/**
* Registers tag hooks.
*
* @since n.e.x.t
* @since 1.104.0
*/
public function register() {
parent::register();
Expand All @@ -41,7 +41,7 @@ public function register() {
/**
* Outputs gtag <amp-analytics> tag.
*
* @since n.e.x.t
* @since 1.104.0
*/
protected function render() {
// Only render this tag if the UA AMP tag was not rendered to avoid multiple tags.
Expand All @@ -55,7 +55,7 @@ protected function render() {
/**
* Extends gtag vars config with the GA4 tag config.
*
* @since n.e.x.t
* @since 1.104.0
*
* @param array $opt AMP gtag config.
* @return array
Expand Down
35 changes: 34 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: 5.2
Tested up to: 6.2
Requires PHP: 5.6
Stable tag: 1.103.0
Stable tag: 1.104.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 @@ -110,6 +110,39 @@ Please create a new topic on our [WordPress.org support forum](https://wordpress

== Changelog ==

= 1.104.0 =

**Added**

* Add support for tagging with Google Analytics 4 in AMP mode. See [#7221](https://github.com/google/site-kit-wp/issues/7221).
* Complete Ad Blocking Recovery set up interface. See [#6966](https://github.com/google/site-kit-wp/issues/6966).
* Add infrastructure for fetching and storing the Ad Blocking Recovery tag. See [#6902](https://github.com/google/site-kit-wp/issues/6902).

**Enhanced**

* Add PHP version to requests for features. See [#7209](https://github.com/google/site-kit-wp/issues/7209).
* Add the Analytics dashboard type to Site Health information. See [#7119](https://github.com/google/site-kit-wp/issues/7119).
* Ensure the Universal Analytics controls are shown in the case where the connected property belongs to another Google account and permission has been removed. See [#7063](https://github.com/google/site-kit-wp/issues/7063).
* Add settings controls for Ad blocking recovery tags. See [#6962](https://github.com/google/site-kit-wp/issues/6962).
* Add ad blocking recovery state to the settings view for AdSense. See [#6961](https://github.com/google/site-kit-wp/issues/6961).
* Show the Ad Blocking Recovery Notification on the Dashboard. See [#6953](https://github.com/google/site-kit-wp/issues/6953).
* Rework the Dialog component to use dialog components from the `googlesitekit-components` library instead of `@material/react-dialog` directly. See [#6652](https://github.com/google/site-kit-wp/issues/6652).
* Show a “Connect AdSense CTA” Key Metrics tile if AdSense is disconnected after setting up AdSense-related Key Metrics. See [#6264](https://github.com/google/site-kit-wp/issues/6264).
* Add the Connect GA tile to Key Metrics widget. See [#6263](https://github.com/google/site-kit-wp/issues/6263).
* Create the "Top performing keywords" key metric widget tile. See [#6251](https://github.com/google/site-kit-wp/issues/6251).
* Create the "Most popular content by pageviews" key metric widget tile. See [#6247](https://github.com/google/site-kit-wp/issues/6247).
* Implement HaTS survey triggers for users who answers "Other" to any User Input question. See [#6180](https://github.com/google/site-kit-wp/issues/6180).
* Migrate `TextField` component to our GM2 component library. See [#6113](https://github.com/google/site-kit-wp/issues/6113).

**Fixed**

* Ensure Ad Blocking Recovery elements are only present when the feature is enabled. See [#7179](https://github.com/google/site-kit-wp/issues/7179).
* Restore notice width in setup and settings views. See [#7140](https://github.com/google/site-kit-wp/issues/7140).
* Fix the Optimize sunset banner re-appearing issue. See [#7138](https://github.com/google/site-kit-wp/issues/7138).
* Fix broken view-only dashboard when Analytics isn't shared. See [#7116](https://github.com/google/site-kit-wp/issues/7116).
* Fix notices about granting view-only access when changing module settings for modules that are not shared with any roles. See [#6633](https://github.com/google/site-kit-wp/issues/6633).
* Fix issue in the All Traffic widget/Google Charts pie charts that caused selected elements to become de-selected. See [#4589](https://github.com/google/site-kit-wp/issues/4589).

= 1.103.0 =

**Added**
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/utils/setup-analytics.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export async function setupAnalytics( settingsOverrides = {} ) {
/**
* Activates the Analytics module and completes the GA4 setup process.
*
* @since n.e.x.t
* @since 1.104.0
*
* @param {Object} settingsOverrides Optional settings to override the defaults.
*/
Expand Down

0 comments on commit 37352fc

Please sign in to comment.