What is replacing api.polygon.historic_agg_v2?

It looks like the api.polygon.historic_agg_v2 no longer working.

Is there a new alternative for this API request?

The api.get_barset did not use to take into account splits when collecting data.