Skip to content

`@sortBy` + Laravel Scout = 💖

Compare
Choose a tag to compare
@LastDragon-ru LastDragon-ru released this 15 Aug 09:27
0.7.0
e96d3bd
☣ Breaking changes

Features

  • eloquent: iterator() and changeSafeIterator() builder's macros renamed to getChunkedIterator() and getChangeSafeIterator() accordingly. (c1140a4) ☣
  • eloquent: Iterators will support offset, each() replaced by onAfterChunk(), also added onBeforeChunk(). (4276a2c) ☣
  • graphql: @searchBy: short-named operators (lt, lte, etc) renamed into full form (lessThan, etc). (be2d5f8) ☣
  • graphql: @searchBy: Relation will use notExists instead of not + added exists. (63072fa) ☣
  • grapqhl: @sortBy exceptions rework: each error will have its own exception. Unfortunately, the commit also remove translations support. (4f99e92) ☣
  • graphql: @sortBy will support types from TypeRegistry. (20f3be5)
  • graphql: @sortBy: Laravel Scout support. (4c1bb9c)
  • queue: CronableRegistrator will not dispatch jobs marked as ShouldBeUnique if they already dispatched. (40624e4)
  • queue: Removed DI support for getQueueConfig(). (da57176) ☣
  • testing: CronableAssertions::setQueueableConfig() will accept instance of ConfigurableQueueable. (cd6430e)
  • testing: WithQueryLog::getQueryLog() will accept \Illuminate\Database\ConnectionResolverInterface. (9243d47)
  • testing: Added Override::override() helper. (7598390)
  • testing: Added a new WithQueryLog trait that can work with any connection (the old one marked as deprecated). (1f7a8c3)
  • testing: Removed TestResponse::getContentType() macro (not needed for testing). (ebf2f6d) ☣
  • testing: Removed TestResponse::toPsrResponse() macro, LastDragon_ru\\LaraASP\\Testing\\Constraints\\Response\\Factory::make() should be used instead. (7e000da) ☣

Bug Fixes

  • eloquent: Iterator::onBeforeChunk()/Iterator::onAfterChunk() will be called only for non-empty chunks. (140825c)
  • graphql: Enums registration moved to afterResolving callback. (2a6288b)
  • migrator: Added missed semicolon to migration-anonymous.stub. (64118fa)