Refactor DataLayer and Collectors
The DataLayer and DataCollectors were refactored and are now required to be registered to the Service\DataCollectorRegistry, which is being used by the DataLayer. Additionally, the Collectors are not required anymore to implement enabled() and isAllowed(). The DataLayer itself will contain the state of "enabled/disabled" of Collectors. Additionally, Collector:data() can now return null, when the current view does not generate any data.
Settings revamp
The Settings have been completely rewritten and are now managed with Gutenberg Components on the page. A new REST Endpoint has been introduced, which is being used to get and update the settings.
More (breaking) changes
- The
AuthorDataCollectorhas been merged with thePostDataCollector. RendererProviderdoes not resolve dependencies lazily and not directly on registration.Http\Requesthas been removed.- A new
SearchDataCollectorhas been introduced. DataCollectorInterfacehas now "id()", "name()" and "description()" as new methods.
Removed dependencies
The following dependencies have been removed from the Plugin:
- inpsyde/assets
- chrico/wp-fields
- brain/wp-nonces
Raise of required versions
PHP is now required in at least v8.1 and Node in v18.
E2E Testing
E2E Testing with playwright has been added to the repository and is being executed in a GitHub Action through wp-env.
Quality
- All PHP GA are now using min PHP 8.1
- All Node GA are now using Node 18.
Full Changelog: 2.2.0...3.0.0
What's Changed
- chore: rebrand, license and copyright by @yeremi in #24
- chore: rebrand by @yeremi in #25
- fix unit testing by @luislard in #27
- fix: fixed cs and unit testing by @luislard in #28
- pre-compile-assets.yml // update node version to 20 by @Chrico in #29
- Switch the way the package compiles assets by @luislard in #26
- 3.0.0 - refactor by @Chrico in #30
- Fix corrupted PNG images by @szepeviktor in #31
- chore: use stable version for workflow by @tfrommen in #34
- playwright.config.ts // fix eslint errors for reporter naming to avoid overloading-error. by @Chrico in #39
- Add video recording and screenshots on failure as artifact to run by @Chrico in #40
- Add blueprint for WordPress Playground by @dottxado in #41
- Fix URL to open Playground instance by @dottxado in #45
- Rename to Syde by @AlexP11223 in #48
- Add workflow to package the plugin and add it to a release by @dottxado in #42
- feat: add WordPress Js Dependencies workflow by @luislard in #49
- Bump nanoid from 3.3.7 to 3.3.8 by @dependabot in #51
- Feature phpstan syde/phpcs by @Chrico in #52
- AT-716: Update Inpsyde in code to Syde (license, copyright, text) by @overclokk in #54
- Enable dependabot for npm and composer by @dottxado in #56
New Contributors
- @yeremi made their first contribution in #24
- @luislard made their first contribution in #27
- @tfrommen made their first contribution in #34
- @AlexP11223 made their first contribution in #48
- @dependabot made their first contribution in #51
- @overclokk made their first contribution in #54
Full Changelog: 2.1.0...3.0.0