Skip to content

Commit

Permalink
Bump version to 1.11.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
felixarntz committed Jul 6, 2020
1 parent aeba32b commit f6a9a3e
Show file tree
Hide file tree
Showing 21 changed files with 49 additions and 49 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 @@ -346,7 +346,7 @@ export const selectors = {
* Returns true if this site supports AMP.
*
* @since 1.7.0
* @since n.e.x.t Renamed from isAmp to isAMP.
* @since 1.11.0 Renamed from isAmp to isAMP.
*
* @param {Object} state Data store's state.
* @return {(string|undefined)} `true` if AMP support is enabled, `false` if not. Returns `undefined` if not loaded.
Expand Down
2 changes: 1 addition & 1 deletion assets/js/googlesitekit/datastore/user/authentication.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ const baseSelectors = {
*
* Returns `undefined` if the scope info is not available/loaded.
*
* @since n.e.x.t
* @since 1.11.0
* @private
*
* @param {Object} state Data store's state.
Expand Down
2 changes: 1 addition & 1 deletion assets/js/googlesitekit/widgets/datastore/areas.js
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ export const selectors = {
/**
* Returns a widget area based on slug.
*
* @since n.e.x.t
* @since 1.11.0
*
* @param {Object} state Data store's state.
* @param {string} slug Widget area to select.
Expand Down
2 changes: 1 addition & 1 deletion assets/js/googlesitekit/widgets/datastore/widgets.js
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ export const selectors = {
/**
* Returns a single widget, by slug.
*
* @since n.e.x.t
* @since 1.11.0
*
* @param {Object} state Data store's state.
* @param {string} slug Widget slug.
Expand Down
2 changes: 1 addition & 1 deletion assets/js/googlesitekit/widgets/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const Widgets = {
/**
* Public Widget components for creating Site Kit widgets.
*
* @since n.e.x.t
* @since 1.11.0
*/
components: { Widget },

Expand Down
2 changes: 1 addition & 1 deletion assets/js/modules/analytics/util/validation.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export function isValidProfileSelection( value ) {
/**
* Checks if the given profile name appears to be valid.
*
* @since n.e.x.t
* @since 1.11.0
*
* @param {string} value Profile name to test
* @return {boolean} True if valid, otherwise false.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import { CONTEXT_WEB, CONTEXT_AMP } from '../constants';
*
* @see {@link https://developers.google.com/tag-manager/api/v2/reference/accounts/list}
*
* @since n.e.x.t
* @since 1.11.0
*
* @param {Object} [args] Optional arguments to the builder.
* @param {Object} [args.overrides] Optional fields overrides to take precedence over the default generated values.
Expand All @@ -58,7 +58,7 @@ export const accountBuilder = build( 'Tag Manager Account', {
*
* @see {@link https://developers.google.com/tag-manager/api/v2/reference/accounts/containers/list}
*
* @since n.e.x.t
* @since 1.11.0
*
* @param {Object} [args] Optional arguments to the builder.
* @param {Object} [args.overrides] Optional fields overrides to take precedence over the default generated values.
Expand Down Expand Up @@ -95,7 +95,7 @@ export const containerBuilder = build( 'Tag Manager Container', {
/**
* Generate an account with one or more containers.
*
* @since n.e.x.t
* @since 1.11.0
*
* @param {Object} [args] Optional args for controlling the output.
* @param {Object} [args.account] Account field overrides.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
/**
* Generates valid HTML with or without a GTM tag.
*
* @since n.e.x.t
* @since 1.11.0
*
* @param {string} [containerID] Optional. Container ID to generate tag with.
* @return {string} HTML.
Expand All @@ -64,7 +64,7 @@ ${ containerID && tagBodyOpenHTML( containerID ) }
/**
* Generates valid HTML without a GTM tag.
*
* @since n.e.x.t
* @since 1.11.0
*
* @return {string} HTML.
*/
Expand Down
4 changes: 2 additions & 2 deletions assets/js/modules/tagmanager/datastore/accounts.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export const baseSelectors = {
/**
* Gets all Google Tag Manager accounts this user can access.
*
* @since n.e.x.t
* @since 1.11.0
*
* @param {Object} state Data store's state.
* @return {?Array.<Object>} An array of account objects; `undefined` if not loaded.
Expand All @@ -129,7 +129,7 @@ export const baseSelectors = {
/**
* Checks whether accounts are currently being fetched.
*
* @since n.e.x.t
* @since 1.11.0
*
* @param {Object} state Data store's state.
* @return {boolean} Whether accounts are currently being fetched or not.
Expand Down
6 changes: 3 additions & 3 deletions assets/js/modules/tagmanager/datastore/containers.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ const baseActions = {
/**
* Creates a new Tag Manager container in the given account.
*
* @since n.e.x.t
* @since 1.11.0
*
* @param {string} accountID Google Tag Manager account ID.
* @param {string} usageContext Container usage context. (Either 'web', or 'amp')
Expand Down Expand Up @@ -118,7 +118,7 @@ const baseSelectors = {
/**
* Gets the containers for a given account.
*
* @since n.e.x.t
* @since 1.11.0
*
* @param {Object} state Data store's state.
* @param {string} accountID Account ID to get containers for.
Expand All @@ -138,7 +138,7 @@ const baseSelectors = {
/**
* Checks if any request for creating a container is in progress.
*
* @since n.e.x.t
* @since 1.11.0
*
* @param {Object} state Data store's state.
* @return {boolean} True if a request for create-container is in progress, otherwise false.
Expand Down
2 changes: 1 addition & 1 deletion assets/js/modules/tagmanager/datastore/error.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export const selectors = {
* }
* ```
*
* @since n.e.x.t
* @since 1.11.0
* @private
*
* @param {Object} state Data store's state.
Expand Down
10 changes: 5 additions & 5 deletions assets/js/modules/tagmanager/datastore/existing-tag.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ const baseSelectors = {
/**
* Gets the existing tag (a container publicId), if any.
*
* @since n.e.x.t
* @since 1.11.0
*
* @param {Object} state Data store's state.
* @return {(string|null|undefined)} The existing container ID if present, `null` if not present, or `undefined` if not loaded yet.
Expand All @@ -108,7 +108,7 @@ const baseSelectors = {
/**
* Checks permissions for an existing Google Tag Manager container.
*
* @since n.e.x.t
* @since 1.11.0
*
* @param {Object} state Data store's state.
* @param {string} containerID Container publicId to check permission for.
Expand All @@ -121,7 +121,7 @@ const baseSelectors = {
/**
* Checks whether or not an existing tag is present.
*
* @since n.e.x.t
* @since 1.11.0
*
* @return {(boolean|undefined)} Boolean if tag is present, `undefined` if tag presence has not been resolved yet.
*/
Expand All @@ -138,7 +138,7 @@ const baseSelectors = {
/**
* Checks whether the user has access to the given tag.
*
* @since n.e.x.t
* @since 1.11.0
*
* @param {Object} state Data store's state.
* @param {string} containerID Container publicId to check permission for.
Expand All @@ -157,7 +157,7 @@ const baseSelectors = {
/**
* Checks whether the user has access to the existing tag, if present.
*
* @since n.e.x.t
* @since 1.11.0
*
* @return {(boolean|null|undefined)} true or false if tag permission is available,
* null if no existing tag,
Expand Down
6 changes: 3 additions & 3 deletions assets/js/modules/tagmanager/datastore/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export const actions = {
/**
* Submits all changes currently present in the client, persisting them on the server.
*
* @since n.e.x.t
* @since 1.11.0
*
* @return {Object} Empty object on success, object with `error` property on failure.
*/
Expand Down Expand Up @@ -145,7 +145,7 @@ export const selectors = {
/**
* Checks if changes can be submitted.
*
* @since n.e.x.t
* @since 1.11.0
*
* @return {boolean} `true` if can submit changes, otherwise false.
*/
Expand Down Expand Up @@ -203,7 +203,7 @@ export const selectors = {
/**
* Checks whether changes are currently being submitted.
*
* @since n.e.x.t
* @since 1.11.0
*
* @param {Object} state Data store's state.
* @return {boolean} `true` if submitting, `false` if not.
Expand Down
4 changes: 2 additions & 2 deletions assets/js/modules/tagmanager/datastore/versions.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ const baseSelectors = {
/**
* Gets the live container version for the given account and container IDs.
*
* @since n.e.x.t
* @since 1.11.0
*
* @param {Object} state Data store's state.
* @param {string} accountID Account ID the container belongs to.
Expand All @@ -89,7 +89,7 @@ const baseSelectors = {
/**
* Checks whether or not the live container version is being fetched for the given account and container IDs.
*
* @since n.e.x.t
* @since 1.11.0
*
* @param {Object} state Data store's state.
* @param {string} accountID Account ID the container belongs to.
Expand Down
14 changes: 7 additions & 7 deletions assets/js/modules/tagmanager/util/validation.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import { ACCOUNT_CREATE, CONTAINER_CREATE, CONTEXT_WEB, CONTEXT_AMP } from '../d
/**
* Checks the given value to see if it is a positive integer.
*
* @since n.e.x.t
* @since 1.11.0
*
* @param {*} input Value to check.
* @return {boolean} Validity.
Expand All @@ -38,7 +38,7 @@ const isValidNumericID = function( input ) {
/**
* Checks if the given account ID appears to be a valid Tag Manager account.
*
* @since n.e.x.t
* @since 1.11.0
*
* @param {(string|number)} accountID Account ID to test.
* @return {boolean} Whether or not the given account ID is valid.
Expand All @@ -50,7 +50,7 @@ export function isValidAccountID( accountID ) {
/**
* Checks if the given value is a valid selection for an Account.
*
* @since n.e.x.t
* @since 1.11.0
*
* @param {?string} value Selected value
* @return {boolean} True if valid, otherwise false.
Expand All @@ -66,7 +66,7 @@ export function isValidAccountSelection( value ) {
/**
* Checks if the given container ID appears to be a valid GTM container.
*
* @since n.e.x.t
* @since 1.11.0
*
* @param {string} containerID Container ID to check.
* @return {boolean} Whether or not the given container ID is valid.
Expand All @@ -78,7 +78,7 @@ export function isValidContainerID( containerID ) {
/**
* Checks if the given value is a valid selection for a container.
*
* @since n.e.x.t
* @since 1.11.0
*
* @param {?string} value Selected value
* @return {boolean} True if valid, otherwise false.
Expand All @@ -94,7 +94,7 @@ export function isValidContainerSelection( value ) {
/**
* Checks if the given internal container ID appears to be valid.
*
* @since n.e.x.t
* @since 1.11.0
*
* @param {(string|number)} internalContainerID Internal container ID to test.
* @return {boolean} Whether or not the given ID is valid.
Expand All @@ -106,7 +106,7 @@ export function isValidInternalContainerID( internalContainerID ) {
/**
* Checks if the given context is a valid container usage context.
*
* @since n.e.x.t
* @since 1.11.0
*
* @param {string} context A usage context to check.
* @return {boolean} Whether or not the given context is valid.
Expand Down
2 changes: 1 addition & 1 deletion assets/js/util/escape-uri.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
* const redirectTo = 'http://localhost/admin/';
* const loginUrl = escapeURI`http://localhost/login?redirect=${ redirectTo }`;
*
* @since n.e.x.t
* @since 1.11.0
*
* @param {string[]} strings The array of static strings in the template.
* @param {...*} values The array of expressions used in the template.
Expand Down
18 changes: 9 additions & 9 deletions bin/check-commit-msg.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@

/**
* Determines whether or not the current terminal supports colors.
*
* @since n.e.x.t
*
*
* @since 1.11.0
*
* @return boolean TRUE if the terminal supports colors, otherwise FALSE.
*/
function has_color_support() {
Expand Down Expand Up @@ -40,9 +40,9 @@ function has_color_support() {

/**
* Writes the message to the STDERR stream if the provided condition is true.
*
* @since n.e.x.t
*
*
* @since 1.11.0
*
* @param boolean $condition The condition to check.
* @param string $message The message to write if condition is met.
* @return int The error code number.
Expand All @@ -69,9 +69,9 @@ function echo_error_if( $condition, $message ) {

/**
* Filters message line and returns FALSE if the line is a comment.
*
* @since n.e.x.t
*
*
* @since 1.11.0
*
* @param string $line The line to check.
* @return boolean TRUE if the line is not a comment, otherwise FALSE.
*/
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.10.0
* Version: 1.11.0
* Author: Google
* Author URI: https://opensource.google.com
* License: Apache License 2.0
Expand All @@ -24,7 +24,7 @@
}

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

Expand Down
2 changes: 1 addition & 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: 5.4
Requires PHP: 5.6
Stable tag: 1.10.0
Stable tag: 1.11.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
2 changes: 1 addition & 1 deletion tests/e2e/matchers/to-have-tracking.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import { Page, ElementHandle } from 'puppeteer';
/**
* Jest matcher for asserting the given instance has tracking loaded or not.
*
* @since n.e.x.t
* @since 1.11.0
*
* @param {(Page|ElementHandle)} instance Page or element handle instance.
* @param {Object} [options] Matcher options.
Expand Down
2 changes: 1 addition & 1 deletion tests/js/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ export const subscribeWithUnsubscribe = ( registry, ...args ) => {
* @example
* await untilResolved( registry, STORE_NAME ).selectorWithResolver( arg1, arg2, arg3 );
*
* @since n.e.x.t
* @since 1.11.0
*
* @param {Object} registry WP data registry instance.
* @param {string} storeName Store name the selector belongs to.
Expand Down

0 comments on commit f6a9a3e

Please sign in to comment.