When querying a virtual document, it would check that the scope had permission to view the record, even though the record did not actually belong to a table.
Not it checks to see if the record is a virtual in-memory record, and does not perform any permissions checks if this is the case.
When deleting a document, we need to check the visibility permissions using the initial document, as the current document will now have been emptied. As a result, no delete notifications were being delivered to LIVE queries.
It is now possible to run multiple query expressions when an event on a table has occured. Query expressions can be separated with a semicolon, and will be run in the same transaction as the main query.
A new $method variable is now available in database events. The $method variable specifies the type of request that was made which triggered the event. Possible values are CREATE / UPDATE / DELETE.