Detect changes in object

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

active_obj.is_updated or active_obj.data.is_updated 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 active_obj.data.is_updated or active_obj.is_updated_data
dep = bpy.context.evaluated_depsgraph_get()
print(dep.updates.keys())
#for obj in dep:
#print(obj.id.name)

bpy.app.handlers.depsgraph_update_post.append(sd_scene_update)

but it is crashing blender, when getting eval_dep_get().
There is also : https://docs.blender.org/api/blender2.8/bpy.types.DepsgraphUpdate.html?highlight=is_updated#bpy.types.DepsgraphUpdate.is_updated_geometry
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 update.id.original == 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?