Recent Activities
This page shows what are we working on.
-
head
-
v0.7.13
-
v0.7.12
-
Version 0.7.12
Magento 2.4.9 compatibility:
- Fix Symfony 7.x attach() resource→string type error in Convertor
- Replace deprecated getParts() with getMediaParts() in History
- Align GmailOAuth2 constructor types with Symfony 7.x parent
Improvements:
- Add LoggerInterface injection and structured logging to Convertor
- Add UTF-8 encoding handling for email headers and subjects
- Add MIME encoding for non-ASCII header values
- Improve error handling in address parsing 112257
-
-
head
-
Merge pull request #108 from swissup/fix/issue-107-phpunit12-test-migration
Migrate Test/Unit off removed PHPUnit APIs (PHPUnit 12 / PHP 8.5) e5c066 -
Migrate Test/Unit off removed PHPUnit APIs for PHPUnit 12 / PHP 8.5
The CI runner targets PHP 8.5, whose only compatible PHPUnit is 12.x/13.x.
Test/Unit used several APIs removed in PHPUnit 10-12, so the suite could not
run there. Migrate them and refresh stale mocks that drifted from the code:
- setMethods() (removed v10) -> onlyMethods(); RequestInterface builder
replaced with createMock(Request\Http) since the stubbed methods
(isAjax, getFullActionName) are not on the interface.
- $this->at() (removed v10) -> plain willReturn() stub on getBlock.
- ->will($this->returnValue()) (removed v12) -> willReturn().
- Data provider methods made static and switched from the @dataProvider
doc-comment (ignored under PHPUnit 12) to the #[DataProvider] attribute.
- AbstractFilterTest: Price::initRange() now reads the product collection
via Layer::getCurrentCategory(), not Layer::getProductCollection(); the
setUp mock is rewired accordingly.
- ViewTest/IndexTest: gate isAjaxlayerednavigationRequest() now checks
Http::isAjax() and getParam('aln', false); stubs updated to match.
Verified: PHPUnit 10.5 (PHP 8.3) 34/34 green. Under PHPUnit 12.5 the module
tests run and pass; the ObjectManager helper's protected getMockBuilder()
call is a magento/framework 103.0.8-p1 limitation, fixed in later releases.
Refs swissup/module-ajaxlayerednavigation#107
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> b5904f -
Fix undefined array key warning when price filter param has no delimiter
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> fd0880
-
-
1.6.8
-
Version 1.6.8 a9e4e2
-
Fix DynamicPlugin not catching OpenSearch exceptions
OpenSearch client throws OpenSearch\Common\Exceptions\BadRequest400Exception
which extends \Exception but NOT Elastic\Elasticsearch\Exception\ElasticsearchException.
The narrow catch was silently missing all OpenSearch errors, causing uncaught
exceptions when size/other attributes have non-numeric values with integer mapping.
Catch \Exception instead and downgrade log level from critical to warning.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> 847592 -
Fix PHPStan: update ElasticsearchException namespace for ES client v8
Elasticsearch PHP client v8 moved the exception from
Elasticsearch\Common\Exceptions to Elastic\Elasticsearch\Exception.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> 2e9287 -
Fix filter input search broken for decimal values (dot/comma)
List.js escapes regex special chars including '.' and ',' before
doing a plain indexOf match, causing searches like "0.4" or "0,4"
to return zero results against values like "0.47uF".
Replace List.js built-in keyup binding with a custom handler that
normalizes comma decimal separators to dots and performs unescaped
substring matching via a custom search function.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> 4a7130
-
-
1.3.6
-
1.3.5
-
3.1.0
-
1.7.12
-
1.7.11
-
3.1.0
-
1.11.10