Replace the binary connection.history file and the ConnectionHistory class with History, which keeps the history in a JSON file and writes it back when the profiler exits. Existing history is not migrated.