Skip to content

v4.1.1

Latest

Choose a tag to compare

@pdphilip pdphilip released this 20 Aug 15:56

This release is compatible with Laravel 11, 12 & 13

Fixed

  • getBase() handed back a different collection type when nothing matched - a plain Collection
    on empty results and an ElasticCollection otherwise. Base models now always come back as an
    ElasticCollection, empty results included, which is what paginateBase() and the asBase()
    collection macro return as well

Changed

  • Requires pdphilip/elasticsearch ^5.7.1, where ElasticCollection's meta getters stopped
    fataling on collections that did not come from a query