[loader] Add HISTORY entry for optional dependencies