introduce handling of the new onClearSnapshot event and bump version