Get_last_doc() got an unexpected keyword argument 'filters'

hello everyone, in document Document API I get that frappe get_last_doc could filter but when I try It not true, Is document newest? and I’m try to get the latest record in DB but not work, any helps ,please

I just tried this in our custom app and it worked fine (Frappe version-13-beta): frappe.get_last_doc('Customer', filters={'status': 'Lead'})

I use frappe - docker, maybe not the latest version