For the record:
After further research I found a similar topic: “Ssd1306 for lv_port_esp32 available?” In which it is confirmed that the old SSD1306 driver has been abandoned. The result of that topic was that a SSD1306 driver has been developed for the ESP-IDF targeting ESP32. I guess, that both, the abandoned version from the new_api
branch (see OP) and the ESP32 port, may be a good starting point to develop a generic SSD1306 driver (independent of the framework, IDE or I2C implementation).