Releases: google/site-kit-wp
Releases · google/site-kit-wp
1.5.1
1.5.0
Added
- Expose
googlesitekit.data
registry and register initialcore/site
store on it. See #999. - Add user-facing warnings to Site Kit areas when JavaScript is disabled. Props Shavindra. See #177.
Enhanced
- Standardize several REST API route names for consistency with JavaScript API. See #1178.
- Fix various plugin setup issues related to inconsistent URLs by automatically updating registered URIs on the authentication service. See #1034.
- Improve asset handling in PHP by introducing dedicated data-only scripts, to use as dependencies. See #1004.
- Respect Analytics tracking exclusion of logged-in WordPress users also if Tag Manager is used. See #944.
- Integrate with WordPress Site Health feature to provide contextual Site Kit information for support and troubleshooting. See #169.
Changed
- Display helpful link in previously empty PageSpeed Insights settings area. See #1129.
- Use latest product icon for the Optimize module. See #969.
Fixed
- Ensure date range selectors functionality is decoupled from localizable strings. See #1183.
- Fix bugs where some untranslated strings would show despite being translated, caused by too early usage of these strings in JavaScript. See #1163.
- Replace outdated AMP client ID mechanism for tracking AMP traffic with recommended AMP linker approach, and enable it by default. See #1160.
- Fix compatibility error where
google.charts.load
was not called beforegoogle.charts.setOnLoadCallback
. See #1155. - Do not show empty data table in Analytics module screen when there is no data to display. See #464.
1.4.0
Enhanced
- Introduce basic notifications system for information displayed in the Site Kit dashboard. See #1110.
- Register all of the plugin's user options in WordPress via
register_meta()
. See #1029. - Improve JS error handling consistently across individual React apps and allow for better contextualization. See #943.
- Display information about lack of data instead of displaying empty top search queries box. Props Shavindra. See #314.
- Ensure admin bar displays when at least Search Console or Analytics have stats for the current URL. See #167.
Fixed
- Fix minor bug causing potentially incorrect token expiry to be recorded. See #1158.
- Fix AMP violations when user is logged in and Site Kit admin bar menu is active. See #1142.
- Fix incompatibility issue with Jetpack by resolving bug where the bundled
lodash
was causing a conflict. See #1141. - Fix double-rendered HTML markup on Site Kit dashboard screen. See #1140.
- Fix misleading sparkline color for metrics that should use the inverted color, such as bounce rate. See #1128.
- Work around bug in ModSecurity by relying on only providing granted OAuth scopes in token API response. See #1113.
- Make JS and CSS asset names consistent. Props Shavindra. See #1040.
- Properly support paired AMP in Tag Manager module by allowing to select two different containers, one for
web
context and the other foramp
context. Props kmwilkerson. See #413. - Fix accessibility issues in dialog component with potentially duplicate IDs and invalid ARIA attributes. See #345.
- Fix issue where disconnecting a user from a site would disconnect that user from all their sites.
1.3.1
1.3.0
Added
- Introduce
googlesitekit.data
registry for JS datastores. See #997.
Enhanced
- No longer delete plugin data when uninstalling and instead rely on the more explicit reset functionality. See #1069.
- Remove legacy migrations that were only relevant to pre-1.0.0 users. See #1062.
- Migrate stray module settings into object-like option for consistency and future scalability. See #1030.
- Introduce
core/site/data/connection
REST API route for retrieving site connection info. See #998. - Fully rely on Webpack for third-party dependencies and decouple from WordPress-shipped assets for more stability across all versions. See #993.
- Inform the site owner about potential issues with their site that will likely cause problems when setting up the plugin. See #933.
- Make opting in to tracking specific per user instead of per site. See #913.
- Bump minimum required PHP version to 5.6, rely on up-to-date linting tools and fix various PHPCS issues. See #547.
- Move REST route definitions into more applicable classes that handle the respective functionality. See #166.
Fixed
- Allow users with existing Tag Manager accounts to create additional accounts during module setup. See #1080.
- Fix partly outdated PHP files being served due to OpCache issues currently not addressed by WordPress core. See #1066.
- Prevent unexpected PageSpeed Insights API responses from breaking the dashboard. See #1061.
- Standardize GA tracking snippets and inconsistent data passed in events by introducing a proper tracking API in JavaScript. See #1055.
- Fix several temporary blank screen errors by loading script dependencies more reliably via Webpack. See #1054.
- Ensure that the Tag Manager snippet rendered is always compatible with the current context (AMP vs non-AMP). See #1036.
- Do not render
amp-auto-ads
element in AMP stories because it is invalid in that context. See #979. - Ensure that Google Charts JS library is loaded as expected even when a
window.google
global already exists because of another library. See #939. - Do not refetch PageSpeed Insights data when the date range selector is changed, as its data its date-unaware. See #890.
- Fix incorrect change arrow direction and color on "inverted" properties like bounce rate. Props WebFactoryLtd. See #481.
- Add missing support for Search Console domain properties and rely on the correct property when requesting Search Console data. Props IgorCode. See #325.
1.2.0
Added
- Introduce new
googlesitekit.api
layer for accessing Site Kit datapoints with reliable caching. See #953. - Detect already existing Tag Manager snippets from other sources and inform about them in the setup flow. See #433.
Enhanced
- Introduce Site Kit-specific
Google_Client
implementation and use that throughout the codebase. See #1003. - Reduce maintenance by implementing dynamic activation notice in React. See #991.
- Include platform and plugin version information in API client requests. See #989.
- Ensure that all module settings are properly registered in WordPress for consistent behavior. See #859.
- Allow users to rely on
WP_PROXY_*
constants to use an HTTP proxy for requests issued byGoogle_Client
. See #661. - Allow users that have existing Google Analytics account to create a new account in module setup and settings. See #198.
- Remove very limited debug bar integration for now. See #178.
Fixed
- Fix bug and potential JavaScript error where user was able to select Analytics property before selecting an account. See #1039.
- Optimize initialization of the Google API client and minimize JavaScript assets and inline data being loaded in regular requests. See #980.
- Fix Search Console average position graph to show the smallest value on top of the Y axis. Props connorhsm. See #874.
- Display warnings about insufficient scopes across all Site Kit screens instead of only the dashboard, since they are just as relevant during setup. See #729.
- Ensure that PageSpeed Insights module can be deactivated again once activated. See #682.
1.1.4
Enhanced
- Improve compatibility with WordPress VIP environment. Props moraleida. See #901.
- Update wording on setup screen for secondary users to clarify they need to connect their account, but not set up the plugin. See #881.
- Use OAuth
login_hint
parameter to indicate that the user should use the same Google account across all modules. See #867. - Anonymize IP addresses by default in Google Analytics snippet, and grant the user control to modify with a new setting. Props gx10. See #18.
Fixed
- Fix compatibility issues with older versions of the AMP plugin. See #975.
- Ensure that only options and user options starting with
googlesitekit_
(including underscore) are deleted on reset or disconnect. See #968. - Optimize disconnecting users by only running a single database query. See #960.
- Ensure Site Kit admin bar content is styled independently from the current theme. See #888.
- Fix bug in Analytics module setup where the user would not be informed about an existing tag before selecting a property. See #803.
- Fix bug where admin bar stats would not display under certain circumstances when editing a post in the backend. See #521.
- Display impressions before clicks in admin bar as that is the commonly expected order. See #297.
1.1.3
1.1.2
Enhanced
- Introduce new mechanism for a site to receive its credentials from the authentication service, replacing the previous mechanism using the REST API that was error-prone on certain environments. See #905.
Fixed
- Remove unnecessary logic to refresh an access token on login, since the Google API client already accounts for that. See #903.
- Fix too long request URLs for Google API batch requests to use
POST
instead, as the query length was problematic on certain environments. Props sksaju. See #779. - Fix bug resulting in blank plugin dashboard screen under certain circumstances. Props ThomasTr. See #767.
- Ensure that opting in or out of tracking takes effect immediately. See #727.
- Fix spacing issue in Search Console step for local development setup. See #637.
- Fix display of the disconnect modal which could potentially appear below the "section locked" indicator in the plugin settings UI. See #636.