Skip to content

Commit

Permalink
Bump version to 1.141.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
tofumatt committed Nov 27, 2024
1 parent 0f12844 commit 35b887b
Show file tree
Hide file tree
Showing 21 changed files with 138 additions and 89 deletions.
12 changes: 6 additions & 6 deletions assets/js/googlesitekit/datastore/site/first-party-mode.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ const baseActions = {
/**
* Saves the first-party mode settings.
*
* @since n.e.x.t
* @since 1.141.0
*
* @return {Object} Object with `response` and `error`.
*/
Expand All @@ -113,7 +113,7 @@ const baseActions = {
/**
* Sets the first-party mode enabled status.
*
* @since n.e.x.t
* @since 1.141.0
*
* @param {boolean} isEnabled First-party mode enabled status.
* @return {Object} Redux-style action.
Expand Down Expand Up @@ -157,7 +157,7 @@ const baseSelectors = {
/**
* Gets the first-party mode settings.
*
* @since n.e.x.t
* @since 1.141.0
*
* @param {Object} state Data store's state.
* @return {Object|undefined} First-party mode settings, or undefined if not loaded.
Expand All @@ -169,7 +169,7 @@ const baseSelectors = {
/**
* Checks if first-party mode is enabled.
*
* @since n.e.x.t
* @since 1.141.0
*
* @param {Object} state Data store's state.
* @return {boolean|null|undefined} True if first-party mode is enabled, otherwise false. Returns undefined if the state is not loaded.
Expand All @@ -184,7 +184,7 @@ const baseSelectors = {
/**
* Checks if the FPFE service is determined to be healthy.
*
* @since n.e.x.t
* @since 1.141.0
*
* @param {Object} state Data store's state.
* @return {boolean|null|undefined} True if the FPFE service is healthy, otherwise false. Returns undefined if the state is not loaded.
Expand All @@ -199,7 +199,7 @@ const baseSelectors = {
/**
* Checks if the GTag proxy script is accessible.
*
* @since n.e.x.t
* @since 1.141.0
*
* @param {Object} state Data store's state.
* @return {boolean|null|undefined} True if the `fpm/measurement.php` proxy script is accessible, otherwise false. Returns undefined if the state is not loaded.
Expand Down
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 @@ -899,7 +899,7 @@ export const selectors = {
/**
* Checks if user registrations are open on this WordPress site.
*
* @since n.e.x.t
* @since 1.141.0
*
* @param {Object} state Data store's state.
* @return {boolean|undefined} `true` if registrations are open; `false` if not. Returns `undefined` if not yet loaded.
Expand Down
6 changes: 3 additions & 3 deletions assets/js/googlesitekit/datastore/user/key-metrics.js
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ const baseActions = {
/**
* Resets key metrics selecton.
*
* @since n.e.x.t
* @since 1.141.0
*
* @param {Object} settings Optional. By default, this saves whatever there is in the store. Use this object to save additional settings.
* @return {Object} Object with `response` and `error`.
Expand Down Expand Up @@ -291,7 +291,7 @@ const baseSelectors = {
/**
* Gets the Key Metric widget slugs.
*
* @since n.e.x.t
* @since 1.141.0
*
* @return {Array<string>|undefined} An array of Key Metric widget slugs.
*/
Expand Down Expand Up @@ -354,7 +354,7 @@ const baseSelectors = {
/**
* Gets the Conversion Key Reporting Metric widget slugs.
*
* @since n.e.x.t
* @since 1.141.0
*
* @return {Array<string>|undefined} An array of Key Metric widget slugs.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ const baseSelectors = {
/**
* Gets saved input settings info for this user.
*
* @since n.e.x.t
* @since 1.141.0
*
* @param {Object} state Data store's state.
* @return {(Object|undefined)} Saved user input settings.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ export const selectors = {
/**
* Checks if there are key metrics widgets connected with the detected events for the supplied purpose answer.
*
* @since n.e.x.t
* @since 1.141.0
*
* @param {string} purpose Value of saved site purpose from user input settings.
* @param {boolean} useNewEvents Flag inclusion of detected new events, otherwise initial detected events will be used.
Expand Down
4 changes: 2 additions & 2 deletions assets/js/modules/sign-in-with-google/datastore/service.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export const selectors = {
/**
* Gets a URL to the service.
*
* @since n.e.x.t
* @since 1.141.0
*
* @param {Object} state Data store's state.
* @param {Object} [args] Object containing optional path and query args.
Expand Down Expand Up @@ -69,7 +69,7 @@ export const selectors = {
/**
* Gets a URL to fetch the client ID.
*
* @since n.e.x.t
* @since 1.141.0
*
* @param {Object} state Data store's state.
* @return {(string|undefined)} The URL to the clientID, or `undefined` if not loaded.
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.141.0 =

**Added**

* Add Sign in with Google to WooCommerce login page. See [#9340](https://github.com/google/site-kit-wp/issues/9340).

**Enhanced**

* Update Sign in with Google descriptions in Site Health. See [#9680](https://github.com/google/site-kit-wp/issues/9680).
* Update the Sign in with Google login to use the popup approach. See [#9677](https://github.com/google/site-kit-wp/issues/9677).
* Integrate the First-party mode proxy script that will allow Analytics events to be tracked via requests made from the browser to the user's site rather than directly to Google's servers. See [#9665](https://github.com/google/site-kit-wp/issues/9665).
* Add info to the "One-tap" option in Sign in with Google settings. See [#9643](https://github.com/google/site-kit-wp/issues/9643).
* Do not show "Maybe later" in Key Metrics Admin Settings callout banner. See [#9636](https://github.com/google/site-kit-wp/issues/9636).
* Implement the `fetchGetFPMServerRequirementStatus()` Redux action used to retrieve the FPM server requirement status. See [#9634](https://github.com/google/site-kit-wp/issues/9634).
* Add an `fpm-server-requirement-status` API endpoint to verify First-Party Mode readiness by performing FPFE health checks and verifying direct PHP script access. See [#9632](https://github.com/google/site-kit-wp/issues/9632).
* Add a partial datastore for First-Party Mode in the `core/site` datastore to manage its settings. See [#9628](https://github.com/google/site-kit-wp/issues/9628).
* Add REST endpoints for First-Party Mode module settings. See [#9625](https://github.com/google/site-kit-wp/issues/9625).
* Update "Get your Client ID" link in Sign in with Google setup. See [#9621](https://github.com/google/site-kit-wp/issues/9621).
* Ensure tailored metrics override previous metrics when switching from manually-selected metrics. See [#9613](https://github.com/google/site-kit-wp/issues/9613).
* Improve the accuracy of the mechanism that scrolls the user to a widget area. See [#9603](https://github.com/google/site-kit-wp/issues/9603).
* Improve visitor groups selection panel to prevent a console warning. See [#9602](https://github.com/google/site-kit-wp/issues/9602).
* Add an external icon to external links in the audience selection panel and placeholder tile. See [#9598](https://github.com/google/site-kit-wp/issues/9598).
* Remove visitor groups setup success notifications when the user chooses not to display visitor groups in dashboard. See [#9596](https://github.com/google/site-kit-wp/issues/9596).
* Introduce grouping of notification queues. See [#9568](https://github.com/google/site-kit-wp/issues/9568).
* Add notice for users who used a legacy answer in Key Metrics settings. See [#9518](https://github.com/google/site-kit-wp/issues/9518).
* Split the "Sell products or services" answer in the User Input app. See [#9489](https://github.com/google/site-kit-wp/issues/9489).
* Persist selection group in Key Metrics selection panel. See [#9385](https://github.com/google/site-kit-wp/issues/9385).
* Add support for disconnecting associated Google account for sign in from WordPress user edit screen. See [#9380](https://github.com/google/site-kit-wp/issues/9380).
* Implement new subtle notification banner in KMW dashboard area. See [#9371](https://github.com/google/site-kit-wp/issues/9371).
* Move on-demand onboarding state synchronization to the server side, avoiding the need to reload the full list of publications. See [#9363](https://github.com/google/site-kit-wp/issues/9363).
* Improve selection panels so that they perform actions only when in view. See [#9312](https://github.com/google/site-kit-wp/issues/9312).
* Improve Reader Revenue Manager publication onboarding state synchronization. See [#9149](https://github.com/google/site-kit-wp/issues/9149).
* Add Key Metrics info to Site Health report. See [#9112](https://github.com/google/site-kit-wp/issues/9112).

**Changed**

* Implement settings view for Sign in with Google. See [#9477](https://github.com/google/site-kit-wp/issues/9477).
* Implement Sign in with Google token response login handling. See [#9339](https://github.com/google/site-kit-wp/issues/9339).

**Fixed**

* Fix a bug that caused a custom dimension to not be created while setting up visitor groups. See [#9597](https://github.com/google/site-kit-wp/issues/9597).

= 1.140.0 =

**Added**
Expand Down
2 changes: 1 addition & 1 deletion includes/Core/Site_Health/Debug_Data.php
Original file line number Diff line number Diff line change
Expand Up @@ -645,7 +645,7 @@ private function get_active_conversion_event_provider_fields() {
/**
* Gets the key metrics status fields.
*
* @since n.e.x.t
* @since 1.141.0
*
* @return array
*/
Expand Down
12 changes: 6 additions & 6 deletions includes/Core/Tags/First_Party_Mode/First_Party_Mode.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
/**
* Class for handling First Party Mode.
*
* @since n.e.x.t
* @since 1.141.0
* @access private
* @ignore
*/
Expand All @@ -27,31 +27,31 @@ class First_Party_Mode {
/**
* Context instance.
*
* @since n.e.x.t
* @since 1.141.0
* @var Context
*/
protected $context;

/**
* First_Party_Mode_Settings instance.
*
* @since n.e.x.t
* @since 1.141.0
* @var First_Party_Mode_Settings
*/
protected $first_party_mode_settings;

/**
* REST_First_Party_Mode_Controller instance.
*
* @since n.e.x.t
* @since 1.141.0
* @var REST_First_Party_Mode_Controller
*/
protected $rest_controller;

/**
* Constructor.
*
* @since n.e.x.t
* @since 1.141.0
*
* @param Context $context Plugin context.
* @param Options $options Optional. Option API instance. Default is a new instance.
Expand All @@ -66,7 +66,7 @@ public function __construct( Context $context, Options $options = null ) {
/**
* Registers the settings and REST controller.
*
* @since n.e.x.t
* @since 1.141.0
*/
public function register() {
$this->first_party_mode_settings->register();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
/**
* Class to store user First Party Mode settings.
*
* @since n.e.x.t
* @since 1.141.0
* @access private
* @ignore
*/
Expand All @@ -29,7 +29,7 @@ class First_Party_Mode_Settings extends Setting {
/**
* Gets the expected value type.
*
* @since n.e.x.t
* @since 1.141.0
*
* @return string The type name.
*/
Expand All @@ -40,7 +40,7 @@ protected function get_type() {
/**
* Gets the default value.
*
* @since n.e.x.t
* @since 1.141.0
*
* @return array The default value.
*/
Expand All @@ -55,7 +55,7 @@ protected function get_default() {
/**
* Gets the callback for sanitizing the setting's value before saving.
*
* @since n.e.x.t
* @since 1.141.0
*
* @return callable Sanitize callback.
*/
Expand All @@ -82,7 +82,7 @@ protected function get_sanitize_callback() {
/**
* Merges an array of settings to update.
*
* @since n.e.x.t
* @since 1.141.0
*
* @param array $partial Partial settings array to save.
* @return bool True on success, false on failure.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
/**
* Class for handling First Party Mode settings via REST API.
*
* @since n.e.x.t
* @since 1.141.0
* @access private
* @ignore
*/
Expand All @@ -29,15 +29,15 @@ class REST_First_Party_Mode_Controller {
/**
* First_Party_Mode_Settings instance.
*
* @since n.e.x.t
* @since 1.141.0
* @var First_Party_Mode_Settings
*/
private $first_party_mode_settings;

/**
* Constructor.
*
* @since n.e.x.t
* @since 1.141.0
*
* @param First_Party_Mode_Settings $first_party_mode_settings First_Party_Mode_Settings instance.
*/
Expand All @@ -48,7 +48,7 @@ public function __construct( First_Party_Mode_Settings $first_party_mode_setting
/**
* Registers functionality through WordPress hooks.
*
* @since n.e.x.t
* @since 1.141.0
*/
public function register() {
add_filter(
Expand All @@ -74,7 +74,7 @@ function ( $paths ) {
/**
* Gets REST route instances.
*
* @since n.e.x.t
* @since 1.141.0
*
* @return REST_Route[] List of REST_Route objects.
*/
Expand Down Expand Up @@ -156,7 +156,7 @@ protected function get_rest_routes() {
/**
* Checks if an endpoint is healthy. The endpoint must return a `200 OK` response with the body `ok`.
*
* @since n.e.x.t
* @since 1.141.0
*
* @param string $endpoint The endpoint to check.
* @return bool True if the endpoint is healthy, false otherwise.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
/**
* Class for synchronizing the onboarding state.
*
* @since n.e.x.t
* @since 1.141.0
* @access private
* @ignore
*/
Expand All @@ -44,7 +44,7 @@ class Synchronize_OnboardingState {
/**
* Constructor.
*
* @since n.e.x.t
* @since 1.141.0
*
* @param Reader_Revenue_Manager $reader_revenue_manager Reader Revenue Manager instance.
* @param User_Options $user_options User_Options instance.
Expand All @@ -57,7 +57,7 @@ public function __construct( Reader_Revenue_Manager $reader_revenue_manager, Use
/**
* Registers functionality through WordPress hooks.
*
* @since n.e.x.t
* @since 1.141.0
*
* @return void
*/
Expand All @@ -73,7 +73,7 @@ function () {
/**
* Cron callback for synchronizing the publication.
*
* @since n.e.x.t
* @since 1.141.0
*
* @return void
*/
Expand All @@ -91,7 +91,7 @@ protected function synchronize_publication_data() {
/**
* Synchronizes the onboarding state.
*
* @since n.e.x.t
* @since 1.141.0
*
* @return void
*/
Expand Down Expand Up @@ -145,7 +145,7 @@ function ( $pub ) use ( $publication_id ) {
/**
* Maybe schedule the synchronize onboarding state cron event.
*
* @since n.e.x.t
* @since 1.141.0
*
* @return void
*/
Expand Down
Loading

0 comments on commit 35b887b

Please sign in to comment.