All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Make sure \Yireo\GoogleTagManager2\ViewModel\Product::getProductPrice() always returns float
- Various styling issues (PHPCS, PHPStan)
- Increase framework requirement to 101.2 because of ViewModel bug
- Enabled debugging in JS (dumping attributes and config)
- New Attributes ViewModel to collect data after initialize output
- Add API interfaces to guarantee backwards compatibility in future
- Added XML layout container
gooogletagmanager_container
for most datalayer blocks - Added debug utility class
- Renamed existing plugin interceptors
- Rewrite x-magento-init into simple require() for performance
- Refactored
Category
block to no longer depend ononLoadedProductCollection
- Removed all block classes (
Script
,Category
,Product
,Generic
,Custom
) - Remove
\Yireo\GoogleTagManager2\Util\GetCurrentProduct
- Remove
\Yireo\GoogleTagManager2\Util\GetCurrentCategory
- Remove helper
- Remove container model
- Remove entire observer-based input method
- Remove ViewModelFactory
Re-add CSP whitelisting
- Fix block retrieval with Layout instead LayoutFactory (@sprankhub)
- Make sure view model is set correctly (@sprankhub)
- Fix error when block is not present
- Category Sort By not working properly with 2.4.X because of weird product loading (70)
- Refactored legacy Registry into request
- Move Config class to new namespace
- PHPCS fixes for Magento Marketplace compliance
- Magento 2.4 support
- Legacy CustomerData class
- Dev dependency with Mockery
- Upgrade PHPUnit to be 2.4 compatible
- Bumped minimum PHP to 7.2
- Add a new CSP whitelist for M2.3.5+
- Some small code quality things
- Add ACL file for configuring access to config
- Major rewrite to remove custom sections in favor of DI plugin
- No more reloading of sections
- Use currency code instead of currency symbol (@nicolas-medina)
- Move cookie-restriction-mode to JS to work with FPC
- Fix duplicate code
- Add compatibility with Magento 2.2 again (2.1 is dropped permanently)
- Fix invalid template path
- Fix reloading issues with quote
- First release with Changelog
- See GitHub commits for earlier messages