Improved reporting, more robust interaction between code generation and SBT, and version-specific flags.