Releases: ongr-io/ElasticsearchBundle
Releases · ongr-io/ElasticsearchBundle
v0.10.3
v1.0.0-alpha.1
Breaking changes
- DSL was exposed to a separate library. Due this namespace was changed from
ONGR\ElasticsearchBundle\DSL
toONGR\ElasticsearchDSL
. - Sort/Sorts was changed to Sort/FieldSort (it now comes from ElasticsearchDSL)
Repository
andManager
was moved to theService
namespace. There are no ORM namespace any more.document_dir
config was removed. We don't support any more sub-directories inDocument
folder or custom directory names.- removed suggesters, right now implementation sucks, we will do it much better in stable edition
- removed
createDocument()
fromRepository
class - removed
Proxy
classes and Proxy cache builder - Skip and Inherit annotations were deleted
- removed Connection, now we are using manager to communicate with the client
- changed debug config setting to 2 separates, profiler and logger, where profiler means elasticsearch queries tracing and showing in profiler toolbar and logger just logging queries to log.
- removed some annotations fields from document, from now on if you need a field just add it to the raw
- added PHP 7.0 support
v0.10.2
v0.10.1
v0.10.0
v0.9.2
v0.9.1
IMPROVEMENTS:
- Improved docs
- Improved test coverage
- Added check if date format would be invalid #375
- Terms aggregation size may be 0. #384
CHANGES:
- added format property to Property annotation #371
- Removed AbstractFilter
- Deprecated Bool
- Implemented BoolQuery and BoolFilter #372
- Repository service now uses factory method #383
- Removed SCROLL_DURATION constant, added search type constants #362
BREAKING CHANGES:
FEATURES
- Implemented functionality to get any nested value from Document #327
- Implemented findOneBy method for repository #385
BUG FIXES
v0.9.0
IMPROVEMENTS:
- Improved docs
- Improved test coverage
- Introduced Search Endpoints, completely refactored query building #306
- Now in AbstractElasticsearchTestCase you can skip only one test case instead all file, check this: https://github.com/martiis/ElasticsearchBundle/blob/3617b502e6c5ab7a00c63034bbeb537b900ee62c/Tests/Functional/DSL/Aggregation/StatsAggregationTest.php#L26
- Added enabled property in property annotation #309
- Added ignore_above, store, index_name property in property annotation #343
- Added include_in_all property in property annotation #274
- Implemented ability to change retun type of find method
- Added _all property for document annotation #337
- Added logging level to config tree #353
CHANGES:
- Added
ongr
prefix for all bundle commands. #212 - Added objective function addition to function score query #247
- Index create command also puts mapping by default #254
- Repository::getTypes encapsulation changed #234
- Lowercase type name problem (#323)
- Deprecated TestHelperTrait #349
BREAKING CHANGES:
- Renamed
FuzzyLikeThisField -> FuzzyLikeThisFieldQuery
#282 - Magic setter was removed from AbstractDocument. Please use setters to set something for document. #326
- Repository#find now returns null if document was not found #214
- Removed
Search::getBoolFilterParameters()
- Removed
Search::getBoolQueryParameters()
- Changed
Search::getQueries()
toSearch::getQuery()
- Removed
Search::getScrollDuration()
, useSearch::getScroll()
- Removed snake case support for annotations #360
FEATURES
- added Boosting, Prefix, DisMax queries.
- Added geo distance, geo distance range, geo polygon filters #215
- Added date range aggregation, missing aggregation #227
- Added Geohash Cell filter #258
- Added reverse nested aggregation (#256)
- Added histogram aggregation (#320)
- Added filters, geo bound, geohash grid aggregations #237
- Added geo-shape filter #272
- Added span queries #269
- Implemented delete by query #232
- Added IPv4 aggregation #285
- Added type enabled annotation #270
- Added more aggregations like: min, max, stats, avg, value count, precentiles #289
- Elasticsearch events were introduced for commit ant persist operations #310