Skip to content

Commit

Permalink
Bump version to 1.146.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
tofumatt committed Feb 5, 2025
1 parent 23a8635 commit 8c97d5e
Show file tree
Hide file tree
Showing 19 changed files with 103 additions and 58 deletions.
2 changes: 1 addition & 1 deletion assets/js/googlesitekit/datastore/site/info.js
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,7 @@ export const selectors = {
* Retrieves an admin settings URL, pointing to either network or single-site settings
* depending on whether the site is multisite.
*
* @since n.e.x.t
* @since 1.146.0
*
* @return {string|undefined} The admin settings URL, or undefined if required data is unavailable.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export const actions = {
* Registers a notification with a given `id` slug and settings.
*
* @since 1.132.0
* @since n.e.x.t Added `featureFlag` parameter.
* @since 1.146.0 Added `featureFlag` parameter.
*
* @param {string} id Notification's slug.
* @param {Object} settings Notification's settings.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ export const selectors = {
/**
* Returns the conversion events if detected events are suitable for tailored metrics.
*
* @since n.e.x.t
* @since 1.146.0
*
* @return {Array} List of detected conversion events or empty array.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ const selectors = {
/**
* Gets the details link URL for the module.
*
* @since n.e.x.t
* @since 1.146.0
*
* @return {string} Details link URL.
*/
Expand Down
2 changes: 1 addition & 1 deletion assets/js/modules/reader-revenue-manager/utils/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import { __ } from '@wordpress/i18n';
* Gets the formatted list of post types based on the `postTypes` slugs
* stored in settings.
*
* @since n.e.x.t
* @since 1.146.0
*
* @param {Array} postTypes The `postTypes` setting value.
* @param {Array} allPostTypes All available public postTypes.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export const actions = {
* Because this is frequently-accessed data, this is usually sourced
* from a global variable (`_googlesitekitModulesData`), set by PHP.
*
* @since n.e.x.t
* @since 1.146.0
* @private
*
* @param {Object} moduleData Module data, usually supplied via a global variable from PHP.
Expand Down Expand Up @@ -113,7 +113,7 @@ export const selectors = {
* Not intended to be used publicly; this is largely here so other selectors can
* request data using the selector/resolver pattern.
*
* @since n.e.x.t
* @since 1.146.0
* @private
*
* @param {Object} state Data store's state.
Expand All @@ -126,7 +126,7 @@ export const selectors = {
/**
* Gets WooCommerce active status.
*
* @since n.e.x.t
* @since 1.146.0
*
* @param {Object} state Data store's state.
* @return {(boolean)} List of supported conversion events.
Expand All @@ -136,7 +136,7 @@ export const selectors = {
/**
* Gets WooCommerce registration enabled value.
*
* @since n.e.x.t
* @since 1.146.0
*
* @param {Object} state Data store's state.
* @return {(boolean)} List of supported conversion events.
Expand Down
35 changes: 35 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,40 @@
== Changelog ==

= 1.146.0 =

**Enhanced**

* Add warning to users when Sign in with Google One-tap appears site-wide without open user registrations. See [#10079](https://github.com/google/site-kit-wp/issues/10079).
* Update the Reader Revenue Manager settings view screen to include new settings introduced in Phase 2. See [#10067](https://github.com/google/site-kit-wp/issues/10067).
* Add a reusable chip multi-select component. See [#10064](https://github.com/google/site-kit-wp/issues/10064).
* Update the Reader Revenue Manager setup CTA banner copy to highlight paywall support when the feature flag is enabled. See [#10063](https://github.com/google/site-kit-wp/issues/10063).
* Add mechanism to clear term meta on Site Kit reset. See [#10061](https://github.com/google/site-kit-wp/issues/10061).
* Add mechanism to store term-level Reader Revenue Manager settings. See [#9956](https://github.com/google/site-kit-wp/issues/9956).
* Add mechanism to synchronize Reader Revenue Manager publication information. See [#9954](https://github.com/google/site-kit-wp/issues/9954).
* Add mechanism to reset publication-specific information when the publication is changed. See [#9953](https://github.com/google/site-kit-wp/issues/9953).
* Update Reader Revenue Manager publication selection to populate new settings. See [#9952](https://github.com/google/site-kit-wp/issues/9952).
* Add infrastructure to interface with WordPress term metadata. See [#9949](https://github.com/google/site-kit-wp/issues/9949).
* Improve the styling of the Sign in with Google button on WooCommerce login forms. See [#9932](https://github.com/google/site-kit-wp/issues/9932).
* Update Ads settings view screen to display items in the correct order. See [#9908](https://github.com/google/site-kit-wp/issues/9908).
* Update the First-party mode status in Site Health to use "Enabled" or "Disabled" instead of "Yes" or "No" and update the label from "First-party mode: Enabled" to "First-party mode". See [#9904](https://github.com/google/site-kit-wp/issues/9904).
* Refactor consent mode setup CTA to use new infrastructure. See [#9887](https://github.com/google/site-kit-wp/issues/9887).
* Update the Audience Segmentation Setup CTA so it does not appear alongside other CTAs. See [#9886](https://github.com/google/site-kit-wp/issues/9886).
* Update visitor group card to prevent including `(not set)` in cities with the most visitors. See [#9604](https://github.com/google/site-kit-wp/issues/9604).

**Changed**

* Ensure user is redirected back to original page when using Sign in with Google. See [#10015](https://github.com/google/site-kit-wp/issues/10015).

**Fixed**

* Improve reliability of Sign in with Google rendering on WooCommerce account pages. See [#10120](https://github.com/google/site-kit-wp/issues/10120).
* Fix bug that could cause CTA to add new metrics to Analytics. See [#10044](https://github.com/google/site-kit-wp/issues/10044).
* Fix bug that caused the "Top traffic source driving leads" metric to show no data in the "90 days" view. See [#10043](https://github.com/google/site-kit-wp/issues/10043).
* Fix bug that could cause metrics not to update properly if answers were changed several times before saving changes. See [#10034](https://github.com/google/site-kit-wp/issues/10034).
* Ensure suggested metrics include new events. See [#10033](https://github.com/google/site-kit-wp/issues/10033).
* Fix user registration notification dismissal issue on the Sign in with Google settings screen. See [#9933](https://github.com/google/site-kit-wp/issues/9933).
* Fix key metrics setup CTA layout at 960px. See [#9911](https://github.com/google/site-kit-wp/issues/9911).

= 1.145.0 =

**Enhanced**
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.145.0
* Version: 1.146.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.145.0' );
define( 'GOOGLESITEKIT_VERSION', '1.146.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/Storage/Meta_Interface.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* Interface for object meta implementations.
*
* @since 1.33.0
* @since n.e.x.t Renamed from Post_Meta_Interface to Meta_Interface.
* @since 1.146.0 Renamed from Post_Meta_Interface to Meta_Interface.
*
* @access private
* @ignore
Expand Down
12 changes: 6 additions & 6 deletions includes/Core/Storage/Meta_Setting_Trait.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* Base class for a single object meta setting.
*
* @since 1.33.0
* @since n.e.x.t Changed from Post_Meta_Setting to Meta_Setting_Trait.
* @since 1.146.0 Changed from Post_Meta_Setting to Meta_Setting_Trait.
*
* @access private
* @ignore
Expand All @@ -40,7 +40,7 @@ abstract protected function get_meta_key(): string;
/**
* Gets the object type like `post`, `term`, etc.
*
* @since n.e.x.t
* @since 1.146.0
*
* @return string Object type.
*/
Expand Down Expand Up @@ -124,7 +124,7 @@ protected function get_show_in_rest() {
* Checks whether meta exists for a given object or not.
*
* @since 1.33.0
* @since n.e.x.t Changed `$post_id` parameter to `$object_id`.
* @since 1.146.0 Changed `$post_id` parameter to `$object_id`.
*
* @param int $object_id Object ID.
* @return bool True if the meta key exists, otherwise false.
Expand All @@ -137,7 +137,7 @@ public function has( $object_id ) {
* Gets the value of the setting.
*
* @since 1.33.0
* @since n.e.x.t Changed `$post_id` parameter to `$object_id`.
* @since 1.146.0 Changed `$post_id` parameter to `$object_id`.
*
* @param int $object_id Object ID.
* @return mixed Value set for the setting, or default if not set.
Expand All @@ -154,7 +154,7 @@ public function get( $object_id ) {
* Updates the setting for the given object ID.
*
* @since 1.33.0
* @since n.e.x.t Changed `$post_id` parameter to `$object_id`.
* @since 1.146.0 Changed `$post_id` parameter to `$object_id`.
*
* @param int $object_id Object ID.
* @param mixed $value Metadata value.
Expand All @@ -168,7 +168,7 @@ public function set( $object_id, $value ) {
* Deletes the setting for the given object ID.
*
* @since 1.33.0
* @since n.e.x.t Changed `$post_id` parameter to `$object_id`.
* @since 1.146.0 Changed `$post_id` parameter to `$object_id`.
*
* @param int $object_id Object ID.
* @return bool TRUE on success, otherwise FALSE.
Expand Down
10 changes: 5 additions & 5 deletions includes/Core/Storage/Term_Meta.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
/**
* Term metadata storage class.
*
* @since n.e.x.t
* @since 1.146.0
* @access private
* @ignore
*/
Expand All @@ -22,7 +22,7 @@ final class Term_Meta implements Meta_Interface {
/**
* Gets term meta.
*
* @since n.e.x.t
* @since 1.146.0
*
* @param int $term_id Term ID.
* @param string $key Metadata key.
Expand All @@ -36,7 +36,7 @@ public function get( $term_id, $key, $single = false ) {
/**
* Updates a term meta field based on the given term ID.
*
* @since n.e.x.t
* @since 1.146.0
*
* @param int $term_id Term ID.
* @param string $key Metadata key.
Expand All @@ -51,7 +51,7 @@ public function update( $term_id, $key, $value, $prev_value = '' ) {
/**
* Adds a meta field to the given term.
*
* @since n.e.x.t
* @since 1.146.0
*
* @param int $term_id Term ID.
* @param string $key Metadata key.
Expand All @@ -66,7 +66,7 @@ public function add( $term_id, $key, $value, $unique = false ) {
/**
* Deletes a term meta field for the given term ID.
*
* @since n.e.x.t
* @since 1.146.0
*
* @param int $term_id Term ID.
* @param string $key Metadata key.
Expand Down
2 changes: 1 addition & 1 deletion includes/Core/Util/Reset.php
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ private function delete_post_meta( $scope ) {
/**
* Deletes all Site Kit term meta settings.
*
* @since n.e.x.t
* @since 1.146.0
*
* @param string $scope Scope of the deletion ('site' or 'network').
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ protected function get_meta_key(): string {
/**
* Returns the object type.
*
* @since n.e.x.t
* @since 1.146.0
*
* @return string Object type.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
/**
* Class for synchronizing the onboarding state.
*
* @since n.e.x.t
* @since 1.146.0
* @access private
* @ignore
*/
Expand All @@ -47,7 +47,7 @@ class Synchronize_Publication {
/**
* Constructor.
*
* @since n.e.x.t
* @since 1.146.0
*
* @param Reader_Revenue_Manager $reader_revenue_manager Reader Revenue Manager instance.
* @param User_Options $user_options User_Options instance.
Expand All @@ -60,7 +60,7 @@ public function __construct( Reader_Revenue_Manager $reader_revenue_manager, Use
/**
* Registers functionality through WordPress hooks.
*
* @since n.e.x.t
* @since 1.146.0
*
* @return void
*/
Expand All @@ -76,7 +76,7 @@ function () {
/**
* Cron callback for synchronizing the publication.
*
* @since n.e.x.t
* @since 1.146.0
*
* @return void
*/
Expand Down Expand Up @@ -144,7 +144,7 @@ function ( $pub ) use ( $publication_id ) {
/**
* Returns the products IDs for the given publication.
*
* @since n.e.x.t
* @since 1.146.0
*
* @param Publication $publication Publication object.
* @return array Product IDs.
Expand All @@ -171,7 +171,7 @@ protected function get_product_ids( Publication $publication ) {
/**
* Returns the payment option for the given publication.
*
* @since n.e.x.t
* @since 1.146.0
*
* @param Publication $publication Publication object.
* @return string Payment option.
Expand All @@ -195,7 +195,7 @@ protected function get_payment_option( Publication $publication ) {
/**
* Maybe schedule the synchronize onboarding state cron event.
*
* @since n.e.x.t
* @since 1.146.0
*
* @return void
*/
Expand Down
12 changes: 6 additions & 6 deletions includes/Modules/Reader_Revenue_Manager/Term_Product_ID.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
/**
* Class for associating product ID to term meta.
*
* @since n.e.x.t
* @since 1.146.0
* @access private
* @ignore
*/
Expand All @@ -27,7 +27,7 @@ class Term_Product_ID {
/**
* Publication ID.
*
* @since n.e.x.t
* @since 1.146.0
*
* @var string
*/
Expand All @@ -36,7 +36,7 @@ class Term_Product_ID {
/**
* Term_Product_ID constructor.
*
* @since n.e.x.t
* @since 1.146.0
*
* @param Term_Meta $term_meta Term_Meta instance.
* @param string $publication_id Publication ID.
Expand All @@ -49,7 +49,7 @@ public function __construct( Term_Meta $term_meta, string $publication_id ) {
/**
* Gets the meta key for the setting.
*
* @since n.e.x.t
* @since 1.146.0
*
* @return string Meta key.
*/
Expand All @@ -60,7 +60,7 @@ protected function get_meta_key(): string {
/**
* Returns the object type.
*
* @since n.e.x.t
* @since 1.146.0
*
* @return string Object type.
*/
Expand All @@ -71,7 +71,7 @@ protected function get_object_type(): string {
/**
* Gets the `show_in_rest` value for this termmeta setting value.
*
* @since n.e.x.t
* @since 1.146.0
*
* @return bool|Array Any valid value for the `show_in_rest`
*/
Expand Down
Loading

0 comments on commit 8c97d5e

Please sign in to comment.