3.1.0
The 3.1.0 release is a minor release for the plugin that does not introduce any breaking changes coming from the 3.0 branch. This version's primary focus is adding support for WordPress decoupled architectures and a revamped settings page. We have also worked hard on refining our code, testing, and delivery process.
The Parse.ly plugin now hooks into the WordPress REST API to provide content metadata in a format that's easy for a variety of client applications to consume. A parsely
field containing the metadata is now rendered in the tracked objects (e.g., post
and page
). No new endpoint is introduced. This behavior can be disabled using a filter. Please refer to the plugin's README file for more details. Note that the tracking script must still be inserted manually in the decoupled front-end or otherwise loaded for your site.
Added
- Decoupled support. #489 #500
- Revamped wp-admin settings page, divided in sections. #518
- Parse.ly stats button on admin bar. #569
- Show error in settings page when duplicated tracking is selected. #543
- Instructions for local development. #525
- Local developer environment logs command. #532
- Husky-based git commit hooks to enforce linting rules prior to commit. #538
- Linting for JavaScript and CSS files. #527
- Types to function arguments in GetCurrentUrlTest. #504
- End-to-end test to verify if scripts are rendered in the front-end. #528
- Concurrency to CI configuration and Composer tweaks. #559
- Explicit dependabot reviewers on GitHub. #526
- WordPress.org banner images. #581
- PHPStan static analysis tool. #590
Changed
- Hiding Disable AMP field on settings page when the AMP plugin is not enabled. #519
- Use built-in WordPress submit button instead of custom one in the settings page. #513
- Improved wp-admin settings page help texts. #552
@wordpress/scripts
bumped from 19.2.1 to 19.2.3. #503 #603prettier
bumped from 2.4.1 to 2.5.0. #509concurrently
bumped from 6.4.0 to 6.5.1. #551- Ubuntu bumped from 18.04 to 20.04 on CI tests. #445
- Unit and Integration tests run in random order. #511
- Correct Parse.ly spelling in tests comments. #561
- Minor amendments on the documentation. #514
- Updated release process guidelines. #567
- Removed checkboxes from GitHub's PR template. #512
- Improved JS scripts integration tests. #557
- Source code linting violations (PHPCS with
--serverity=1
). #544 - WordPress.org screenshots for settings page. #574
Fixed
- Incorrect type errors. #607
- Undefined index error on settings page. #536
- Source the correct asset for the Recommendations Widget. #545
- End-to-end tests in CI (GitHub Actions). #521