Rails 5 introduced several new features including:
1. Improved performance through parallel testing and precompilation.
2. API mode which allows building JSON APIs without the overhead of Rails' full stack.
3. Action Cable for real-time features through WebSockets.