Skip to content

7.x-2.2

Compare
Choose a tag to compare
@e0ipso e0ipso released this 18 Nov 18:21
· 65 commits to 7.x-2.x since this release

[BUGFIX] Remove cache fragments during shutdown

b2d1b33 by Mateu Aguiló Bosch (G)

When an entity is updated or deleted we need to clear caches and
remove the cache fragments. The problem is that depending on the
site configuration, that operation may be affected for a rolling
back transaction. Defer the clearing to the shutdown instead.

:100644 100644 fcd7c91... e5a64dd... M  restful.entity.inc
:100644 100644 085bd66... 685ea47... M  src/RenderCache/RenderCache.php
:100644 100644 127fdd3... 5d8d385... M  tests/RestfulRenderCacheTestCase.test

[CLEANUP] Friendly error for incompatible BETWEEN ops

52f2ce4 by Mateu Aguiló Bosch (G)

When the BETWEEN operator is used, then 2 values should be provided
otherwise when piping the options along to the data provider there
will be an incomprehensible error. For MySql that means a syntax
error.

:100644 100644 59eadc0... 9f2f944... M  src/Plugin/resource/DataProvider/DataProvider.php
:100644 100644 b0825b2... 9a75c7e... M  src/Plugin/resource/DataProvider/DataProviderEntity.php

[FEATURE] Add helper method to get count query

0e2878c by edwardaa (G)

Improve the DX by adding a helper method to get the count query.

:100644 100644 f1fb6c8... b0825b2... M  src/Plugin/resource/DataProvider/DataProviderEntity.php
:100644 100644 dcd5deb... d30b54b... M  src/Plugin/resource/DataProvider/DataProviderNode.php