Skip to content

Commit

Permalink
Bump version to 1.82.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
aaemnnosttv committed Aug 24, 2022
1 parent 511042e commit 24e553b
Show file tree
Hide file tree
Showing 13 changed files with 53 additions and 27 deletions.
2 changes: 1 addition & 1 deletion assets/js/googlesitekit/datastore/user/permissions.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ const baseActions = {
/**
* Refreshes user capabilities.
*
* @since n.e.x.t
* @since 1.82.0
*
* @return {Object} Redux-style action.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import { stringToDate } from '../../../util/date-range/string-to-date';
/**
* Gets the time in seconds to expire a dismissal of the GA4 Activation Banner.
*
* @since n.e.x.t
* @since 1.82.0
*
* @param {string} referenceDateString Date on which to calculate the expiry for the dismissal.
* @return {number} Time in seconds for a dismissal to expire.
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.81.0
* Version: 1.82.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.81.0' );
define( 'GOOGLESITEKIT_VERSION', '1.82.0' );
define( 'GOOGLESITEKIT_PLUGIN_MAIN_FILE', __FILE__ );
define( 'GOOGLESITEKIT_PHP_MINIMUM', '5.6.0' );

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
/**
* Class for representing active consumers for an access token.
*
* @since n.e.x.t
* @since 1.82.0
* @access private
* @ignore
*/
Expand All @@ -30,7 +30,7 @@ class Active_Consumers extends User_Setting {
/**
* Gets the expected value type.
*
* @since n.e.x.t
* @since 1.82.0
*
* @return string The type name.
*/
Expand All @@ -41,7 +41,7 @@ protected function get_type() {
/**
* Gets the default value.
*
* @since n.e.x.t
* @since 1.82.0
*
* @return array The default value.
*/
Expand All @@ -52,7 +52,7 @@ protected function get_default() {
/**
* Gets the callback for sanitizing the setting's value before saving.
*
* @since n.e.x.t
* @since 1.82.0
*
* @return Closure
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
/**
* Class for handling active consumers.
*
* @since n.e.x.t
* @since 1.82.0
* @access private
* @ignore
*/
Expand All @@ -25,15 +25,15 @@ class Activity_Metrics {
/**
* Active_Consumers instance.
*
* @since n.e.x.t
* @since 1.82.0
* @var Active_Consumers
*/
protected $active_consumers;

/**
* Constructor.
*
* @since n.e.x.t
* @since 1.82.0
*
* @param Context $context Plugin context.
* @param User_Options $user_options Optional. User option API. Default is a new instance.
Expand All @@ -45,7 +45,7 @@ public function __construct( Context $context, User_Options $user_options = null
/**
* Registers functionality.
*
* @since n.e.x.t
* @since 1.82.0
*/
public function register() {
$this->active_consumers->register();
Expand Down
12 changes: 6 additions & 6 deletions includes/Core/Dashboard_Sharing/Dashboard_Sharing.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
/**
* Class for handling Dashboard Sharing.
*
* @since n.e.x.t
* @since 1.82.0
* @access private
* @ignore
*/
Expand All @@ -26,15 +26,15 @@ class Dashboard_Sharing {
/**
* Plugin context.
*
* @since n.e.x.t
* @since 1.82.0
* @var Context
*/
private $context;

/**
* User_Options object.
*
* @since n.e.x.t
* @since 1.82.0
*
* @var User_Options
*/
Expand All @@ -43,15 +43,15 @@ class Dashboard_Sharing {
/**
* Activity_Metrics instance.
*
* @since n.e.x.t
* @since 1.82.0
* @var Activity_Metrics
*/
protected $activity_metrics;

/**
* Constructor.
*
* @since n.e.x.t
* @since 1.82.0
*
* @param Context $context Plugin context.
* @param User_Options $user_options Optional. User Option API instance. Default is a new instance.
Expand All @@ -65,7 +65,7 @@ public function __construct( Context $context, User_Options $user_options = null
/**
* Registers functionality.
*
* @since n.e.x.t
* @since 1.82.0
*/
public function register() {
$this->activity_metrics->register();
Expand Down
2 changes: 1 addition & 1 deletion includes/Core/Modules/Module.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ abstract class Module {
/**
* Whether module is using shared credentials or not.
*
* @since n.e.x.t
* @since 1.82.0
* @var bool
*/
protected $is_using_shared_credentials = false;
Expand Down
2 changes: 1 addition & 1 deletion includes/Core/Permissions/Permissions.php
Original file line number Diff line number Diff line change
Expand Up @@ -696,7 +696,7 @@ private function grant_additional_caps( array $allcaps ) {
/**
* Gets related REST routes.
*
* @since n.e.x.t
* @since 1.82.0
*
* @return array List of REST_Route objects.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
/**
* Exception thrown when dimensions are invalid for a report request.
*
* @since n.e.x.t
* @since 1.82.0
* @access private
* @ignore
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
/**
* Exception thrown when metrics are invalid for a report request.
*
* @since n.e.x.t
* @since 1.82.0
* @access private
* @ignore
*/
Expand Down
4 changes: 2 additions & 2 deletions includes/Modules/Analytics.php
Original file line number Diff line number Diff line change
Expand Up @@ -1354,7 +1354,7 @@ public function check_service_entity_access() {
/**
* Validates the report metrics.
*
* @since n.e.x.t
* @since 1.82.0
*
* @param Google_Service_AnalyticsReporting_Metric[] $metrics The metrics to validate.
* @throws Invalid_Report_Metrics_Exception Thrown if the metrics are invalid.
Expand Down Expand Up @@ -1413,7 +1413,7 @@ function ( $metric ) {
/**
* Validates the report dimensions.
*
* @since n.e.x.t
* @since 1.82.0
*
* @param Google_Service_AnalyticsReporting_Dimension[] $dimensions The dimensions to validate.
* @throws Invalid_Report_Dimensions_Exception Thrown if the dimensions are invalid.
Expand Down
4 changes: 2 additions & 2 deletions includes/Modules/Thank_With_Google/Web_Tag.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class Web_Tag extends Module_Web_Tag {
/**
* Color theme.
*
* @since n.e.x.t
* @since 1.82.0
* @var string
*/
private $color_theme;
Expand Down Expand Up @@ -81,7 +81,7 @@ public function set_cta_post_types( $cta_post_types ) {
/**
* Sets the color theme.
*
* @since n.e.x.t
* @since 1.82.0
*
* @param string $color_theme Color theme.
*/
Expand Down
28 changes: 27 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.81.0
Stable tag: 1.82.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 @@ -108,6 +108,32 @@ Please create a new topic on our [WordPress.org support forum](https://wordpress

== Changelog ==

= 1.82.0 =

**Added**

* Add the Google Analytics 4 Activation Banner to the Entity Dashboard. See [#5673](https://github.com/google/site-kit-wp/issues/5673).
* Implement the design for the Success component from the Analytics-4 module. See [#5274](https://github.com/google/site-kit-wp/issues/5274).
* Add logic for GA4 Activation banner timing. See [#5272](https://github.com/google/site-kit-wp/issues/5272).
* Add a "button with spinner" component. See [#5271](https://github.com/google/site-kit-wp/issues/5271).

**Enhanced**

* Limit shared requests for Analytics reports to metrics and dimensions used by the Site Kit dashboard. See [#5711](https://github.com/google/site-kit-wp/issues/5711).
* Flatten Thank with Google placement options in settings. See [#5683](https://github.com/google/site-kit-wp/issues/5683).
* Show a list of features on the Thank with Google disconnection modal. See [#5661](https://github.com/google/site-kit-wp/issues/5661).
* Ensure Thank with Google API results are filtered properly. See [#5653](https://github.com/google/site-kit-wp/issues/5653).
* Update Thank with Google JS snippet parameters to reflect API updates. See [#5535](https://github.com/google/site-kit-wp/issues/5535).
* Truncate long usernames in Dashboard Sharing. See [#5500](https://github.com/google/site-kit-wp/issues/5500).
* Only allow users with Tag Manager access to edit Tag Manager settings in the UI. See [#5495](https://github.com/google/site-kit-wp/issues/5495).
* Add the "Get Help" link to the compatibility error notice. See [#5483](https://github.com/google/site-kit-wp/issues/5483).
* Update tooltip styles. See [#5444](https://github.com/google/site-kit-wp/issues/5444).
* Refresh user permissions on module recovery. See [#5416](https://github.com/google/site-kit-wp/issues/5416).

**Fixed**

* Fix js errors in the storybook stories. See [#5585](https://github.com/google/site-kit-wp/issues/5585).

= 1.81.0 =

**Enhanced**
Expand Down

0 comments on commit 24e553b

Please sign in to comment.