What's New
We've enhanced the code blocks in the changelog templates, making them visually appealing and more functional. Users can now enjoy syntax highlighting with the addition of Prism.js, which also includes language labels and copy buttons for easier code copying.
This improvement makes it simpler to share code snippets directly from the changelog. Like this:
<script src="https://autochangelog.com/embed/phillips-jon/autochangelog.js"></script>Improvements
In addition to the visual enhancements, we have made several important security improvements. File uploads in the ImagesController now include strict validations to ensure that only images of specific types and within size limits can be uploaded. This helps protect against potential security vulnerabilities associated with file uploads.
Furthermore, we've implemented HTML sanitization across all public changelog views, significantly reducing the risk of XSS attacks. By ensuring that user-generated content is properly sanitized, we create a safer environment for all users.
We've also adjusted the OmniAuth configuration to allow both GET and POST requests for authentication, ensuring users can seamlessly sign in with GitHub without encountering errors.
Bug Fixes
Several bugs have been addressed, including issues with the styling of code blocks and the functioning of the copy buttons, ensuring that users have a smooth and effective experience when interacting with code snippets.