Skip to content

Releases: krzysztof-gzocha/searcher

AbstractORMCriteriaBuilder should allow left joins

10 Apr 09:34
Compare
Choose a tag to compare
3.4.1

AbstractORMCriteriaBuilder should allow left joins

Supporting only PHP 7

02 Dec 09:44
Compare
Choose a tag to compare
  • Dropped support for PHP 5
  • Small fixes in PHPDocs
  • Upgrade PHPUnit in require-dev
  • Make use of strict_types

AbstractCollection and improved ChainSearcher

23 Sep 07:52
Compare
Choose a tag to compare
  • Common AbstractCollection
  • Improved ChainSearcher
  • Removed CellInterface::$name as it should be parameter of the CellCollection, not Cell itself
  • Added Style CI constraint to all pull requests as required
  • More strict Scrutinizer checks
  • Updated documentation
  • Smaller improvements

New features and improvements

08 Sep 04:55
Compare
Choose a tag to compare
Pre-release
  • Common AbstractCollection
  • Improved ChainSearcher
  • Smaller improvements
  • Removed CellInterface::$name as it should be parameter of the CellCollection, not Cell itself

Removed CachedQueryBuilderSearchingContext

12 Aug 11:57
Compare
Choose a tag to compare

Configuration of QueryBuilder of any SearchingContext should be done outside of the searcher library, so CachedQueryBuilderSearchingContext was removed.

Small optimizations

09 Aug 09:33
Compare
Choose a tag to compare
  • Improved Searcher::searchForModel
  • CriteriaBuilderCollection::getCriteriaBuildersForContext will return new collection instead of an array
  • CriteriaCollection::getApplicableCriteria will return new collection instead of an array

Improving unit tests

30 Jul 14:09
Compare
Choose a tag to compare

All unit tests were improved to achieve 100% code coverage in unit tests and 100% mutation score indicator

Improvements

30 Jul 10:41
Compare
Choose a tag to compare
  • All Criteria can have it's values injected by constructor
  • Unit tests have been improved with the help of humbug library
  • Minor changes in some criteria's shouldBeApplied method

Introducing AlwaysAppliedCriteria

28 Jul 07:51
Compare
Choose a tag to compare

Introducing AlwaysAppliedCriteria which can help to create CriteriaBuilder that should always be applied, regardless other criteria - like selecting object only in proper status.

Passing previous criteria to chain transformer

05 Jul 11:07
Compare
Choose a tag to compare

Before transformer was not able to pass forward criteria that was used before.
Now chain searcher will pass criteria alongside with the results.