| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| README.md | 2025-10-01 | 4.6 kB | |
| Release 9.0.0 source code.tar.gz | 2025-10-01 | 128.8 kB | |
| Release 9.0.0 source code.zip | 2025-10-01 | 241.6 kB | |
| Totals: 3 Items | 375.0 kB | 0 | |
Changelog
Backward Compatibility Breaks
Elastica\IndexTemplatenow works only with new_index_templateAPI. You should useElastica\Templateto use the deprecated API #2274- Dropped support for PHP <8.1 #2246
- Removed 3rd
$methodargument from theElastica\SearchableInterface::searchandElastica\SearchableInterface::countas they are not unused anymore. The following classes are affected:Elastica\SearchandElastica\Index#2256 - Removed
Elastica\Requestclass as constants are not used anymore and no longer needed. #2256
Added
- Added support for Component Template #2274
- Added support for Index Template #2274
- Added Template class to target only legacy Template #2274
- Added support for PHP 8.5 #2253
Changed
Fixed
Elastica\Query\BoolQuery::toArrayno longer changes$this->_paramsto \stdClass when empty #2241- Fixed Client retries configuration to allow zero retries by changing condition from
> 0to>= 0#2278
Auto generated release notes
What's Changed
- [8.x] Fix readme badges by @malberts in https://github.com/ruflin/Elastica/pull/2238
- fix: do not mutate BoolQuery instance in toArray method by @MrkMrk00 in https://github.com/ruflin/Elastica/pull/2241
- Update Ubuntu version for testing to 24.04 by @ruflin in https://github.com/ruflin/Elastica/pull/2243
- Add elasticsearch 9 support by @sidz in https://github.com/ruflin/Elastica/pull/2246
- Add intstructions for Github Copilot by @ruflin in https://github.com/ruflin/Elastica/pull/2248
- Add unit test for Elastica\Query\FunctionScore::DECAY_EXPONENTIAL by @ruflin in https://github.com/ruflin/Elastica/pull/2249
- Upgrade PHPUnit from 9.5 to 10.5 by @sidz in https://github.com/ruflin/Elastica/pull/2251
- Update phpstan to 2.x by @sidz in https://github.com/ruflin/Elastica/pull/2252
- Support PHP 8.5 by @sidz in https://github.com/ruflin/Elastica/pull/2253
- Remove unused method argument in the Elastica\SearchableInterface methods in 9.x by @sidz in https://github.com/ruflin/Elastica/pull/2256
- Add CLAUDE.md file to repository by @ruflin in https://github.com/ruflin/Elastica/pull/2259
- Enhances AI instructions files by @ruflin in https://github.com/ruflin/Elastica/pull/2263
- Fix PHPStan and PHP-CS-Fixer Docker commands and PHP 8.4 compatibility by @ruflin in https://github.com/ruflin/Elastica/pull/2262
- Fix Elasticsearch cluster discovery configuration to ensure green health status by @ruflin in https://github.com/ruflin/Elastica/pull/2266
- Add Claude Code GitHub Workflow by @ruflin in https://github.com/ruflin/Elastica/pull/2264
- Support git worktree inside the repository by @ruflin in https://github.com/ruflin/Elastica/pull/2267
- Fix Makefile command issues to ensure all targets work properly by @ruflin in https://github.com/ruflin/Elastica/pull/2268
- Update default Elasticsearch version by @ruflin in https://github.com/ruflin/Elastica/pull/2270
- Update docker compose files to follow new recommendations, use latest… by @sidz in https://github.com/ruflin/Elastica/pull/2271
- Disable Claude PR reviews for now by @ruflin in https://github.com/ruflin/Elastica/pull/2275
- Add component and legacy Template, update IndexTemplate by @nyroDev in https://github.com/ruflin/Elastica/pull/2274
- [Rector] Apply TypedPropertyFromStrictConstructorRector rule by @sidz in https://github.com/ruflin/Elastica/pull/2272
- Add AGENTS.md to replace other similar files by @ruflin in https://github.com/ruflin/Elastica/pull/2280
- Fix: Allow zero retries in Client configuration by @ruflin in https://github.com/ruflin/Elastica/pull/2282
- Prepare 9.0.0 release by @ruflin in https://github.com/ruflin/Elastica/pull/2288
New Contributors
- @MrkMrk00 made their first contribution in https://github.com/ruflin/Elastica/pull/2241
Full Changelog: https://github.com/ruflin/Elastica/compare/8.1.0...9.0.0