Detect changes in object

In blender 2.79 we could detect if object was modifier by runing:

active_obj.is_updated or or active_obj.is_updated_data

from scene_update_post handler().
We now have depsgraph_update_post, but how we detect which object was modifier (obj was moved, or object mesh was edited)?
I tried:

def sd_scene_update(scene):
obj = bpy.context.active_object
#active_obj.is_updated or or active_obj.is_updated_data
dep = bpy.context.evaluated_depsgraph_get()
#for obj in dep:

but it is crashing blender, when getting eval_dep_get().
There is also :
But how do I access it?

It seems moving:

dep = bpy.context.evaluated_depsgraph_get()

Outside handler function helps.
And then to detect updates on active_obj:

for update in depsgraph.updates:
if == active_obj and update.is_updated_geometry or update.is_updated_transform:

Hi Jose,

I’m working on a similar problem, but haven’t solved it yet.

In your last post, you said to move the evaluated_depsgraph_get() call outside of the depsgraph_update_p[re|ost] handler. Where did you move it to?