Msg method dissapeared since 7.1 how to replace?

hello everyone.
i have 7.1 project and there is message box method that creates messagebox with custom message and closes it after for example 2000ms.
in another project i have latest 8+version but
i havent found lv_msgbox_start_auto_close in 8 version of lvgl
so why some functions are dissapearing without any replacement?

void ShowMessage(lv_obj_t *parent, char msg[], int closedelay)
  // static const char * btns[] ={"Apply", "Close", ""};
  lv_obj_t *mbox1 = lv_msgbox_create(THIS);

  lv_msgbox_set_text(mbox1, msg);
  // lv_msgbox_add_btns(mbox1, btns);
  lv_obj_set_width(mbox1, 500);

  // lv_obj_set_event_cb(mbox1, event_handler);

  lv_obj_align(mbox1, NULL, LV_ALIGN_CENTER, 0, 0); /*Align to the corner*/
  // lv_msgbox_style_t

  lv_obj_add_style(mbox1, LV_OBJ_PART_MAIN, labelbtnstyle_pointer);
  lv_msgbox_start_auto_close(mbox1, closedelay);

Use an lv timer and set it up as a one shot.
Start the timer when your message appears, and it’s callback will close/delete the message object.

Thats how I do it on v8.3

seems ive found simpler solution

void show_message(char* message,uint32_t close_delay)
static const char * btns[] = {""};
lv_obj_t* msg_box=lv_msgbox_create(NULL,"", message, btns, false);
lv_obj_align(msg_box,  LV_ALIGN_CENTER, 0,0); 

first time ive tried to delete object without get_parent. but for focusing effect (objects behind messagebox gets opacity 50% or about) seems messagebox creates object and messagebox itself is a child of this opacity trick object.
so without get_parent - we get whitish screen after we delete messagebox.

ive tried several message boxes with different close_delay times - seems all works ok. and i dont need to make any timers and so on.

this solution is working without animation but it shows how to make simple autoclose notification.