Skip to content

Releases: shipmonk-rnd/doctrine-mysql-index-hints

3.1.0

08 Aug 14:14
17967c3
Compare
Choose a tag to compare

New features

  • Support subselects, updates and deletes (#103, #105)

Dependencies

  • requires php 8.1 (was 7.4)
  • requires doctrine/orm 3.0 (was 2.14)

3.0.0

25 Jan 10:54
8a24880
Compare
Choose a tag to compare

Major changes

  • Depends on hint-driven-sql-walker which allows combination of multiple hint handlers
  • To migrate to this version, simply change your usages like this:
    • Custom output walker is now HintDrivenSqlWalker::class
    • UseIndexSqlWalker got renamed to UseIndexHintHandler
     ->from(User::class, 'u')
     ->andWhere('u.id = 1')
     ->getQuery()
-    ->setHint(Query::HINT_CUSTOM_OUTPUT_WALKER, UseIndexSqlWalker::class)
-    ->setHint(UseIndexSqlWalker::class, [IndexHint::force(User::IDX_FOO, User::TABLE_NAME)])
+    ->setHint(Query::HINT_CUSTOM_OUTPUT_WALKER, HintDrivenSqlWalker::class)
+    ->setHint(UseIndexHintHandler::class, [IndexHint::force(User::IDX_FOO, User::TABLE_NAME)])
     ->getResult();

Dependencies:

  • requires doctrine/orm 2.14.0 (was 2.7.0)

2.1.0

02 Feb 13:02
4696cb7
Compare
Choose a tag to compare

Changes:

  • major dependency cleanup, the only needed is now doctrine/orm ^2.7.0 (#22)

2.0.0

02 Feb 13:00
56e9844
Compare
Choose a tag to compare

Changes:

  • drop support for php < 7.4 (#1)

1.0.0

02 Feb 13:13
Compare
Choose a tag to compare

Changes:

  • initial release with support of php >= 7.1