Moralis SDK migration issues

I’m working with a code-base which was built with moralis SDK version of “0.0.21” and it’s not working, so I wanna rewrite the code to work with new versions of Moralis, can anyone help me with this just where to find similar SDK functionalities, then I’m all good, thanks.

So in the function given below the “User” function is deprecated, how can I find the new versions or approaches to get the same work done?

 moralis.User.logIn(email, password)
      .then(() => {
        setErrorMsg('')
        history.push('/explore')
      })
      .catch((err) => {
        console.error('Error signing in.', err)
        setErrorMsg(err.toString())
      })
  } 

Hi @Anon

May I know what you are trying to achieve? So that I can guide you with new tutorials.