Skip to content

v1.0.0

Compare
Choose a tag to compare
@hokamsingh hokamsingh released this 27 Aug 10:34
· 64 commits to main since this release

⚙️ Release Notes - LessGo v1.0.0

Overview

We are excited to announce the release of LessGo v1.0.0! 🎉 This major update introduces powerful new features focused on enhancing the security, performance, and flexibility of the lessgo framework. With the addition of CSRF and XSS protection middlewares, Redis-based caching, and support for Server-Sent Events (SSE), this release is packed with improvements to help you build more robust Go applications. 🚀

New Features & Fixes

  1. 🛡️ CSRF Protection Middleware:

    • LessGo.WithCsrf(): Built-in Cross-Site Request Forgery (CSRF) protection to secure your applications from unauthorized actions performed on behalf of authenticated users.
  2. 🔒 XSS Protection Middleware:

    • LessGo.WithXss(): Integrated Cross-Site Scripting (XSS) protection to prevent attackers from injecting malicious scripts into your application's content.
  3. Caching Middleware:

    • LessGo.WithCaching("localhost:6379", 5*time.Minute): Redis-based caching middleware to improve performance by caching frequently accessed data. Configurable cache expiration provides flexibility in managing caching strategies.
  4. 📡 Server-Sent Events (SSE) Support:

    • Native support for Server-Sent Events (SSE), enabling real-time communication from the server to the client with minimal setup.
  5. 🖥️ Template Rendering:

    • Enhanced template rendering capabilities, allowing templates to be dynamically loaded from a specified directory, reducing the need to manually list each template file.
  6. 🛠️ Response Handling Improvements:

    • Improved response handling to ensure that multiple responses are not sent from the same context, preventing unexpected behavior and potential crashes.
  7. ⚙️ General Fixes and Optimizations:

    • Various performance enhancements and optimizations to ensure the framework runs smoothly and efficiently.

Breaking Changes

  • ❌ No breaking changes in this release. All updates are backward-compatible with previous versions.

Installation and Upgrade

To upgrade to version v1.0.0, use the following command:

go get github.com/hokamsingh/lessgo@v1.0.0

Documentation

For detailed documentation on the new features and improvements, please refer to the updated LessGo Documentation.

Thank you for choosing LessGo! 🙌 Your feedback and contributions are invaluable. For more details, refer to our documentation or contact our support team.

Happy coding! 💻✨

Contributors:

Release Date: August 2024


Full Changelog: v0.3.0...v1.0.0