Skip to content

v1.0.0

Compare
Choose a tag to compare
@zsais zsais released this 27 Jun 04:10
· 5 commits to main since this release
cfcc7b9

Release Description for v1.0.0

This v1.0.0 release marks a major milestone for go-gin-prometheus, representing a complete modernization of the library. This release focuses on improving code quality, enhancing the API, and establishing a robust foundation for future development. The library is now more flexible, easier to use, and aligned with modern Go development practices.

✨ Major Accomplishments

  • Complete Code Modernization: The entire codebase has been refactored for better readability, maintainability, and performance.
  • Go Modules Integration: Dependency management has been migrated to Go modules for standardization and reliability.
  • Enhanced API with Config Struct: A new Config struct provides a flexible and extensible way to configure the middleware, including support for custom metric labels.
  • Improved Testing: The test suite has been significantly expanded to ensure reliability and cover new functionality.
  • CI/CD with GitHub Actions: A full CI/CD pipeline has been implemented using GitHub Actions to automate testing and linting, ensuring high code quality.
  • Updated Documentation: The README.md and GoDoc comments have been thoroughly updated to provide comprehensive guidance on the new features and API.

✅ Key Changes

  • feat: Introduced a new Config struct for middleware configuration.
  • feat: Added support for custom Prometheus labels.
  • refactor: Modernized the entire codebase and improved error handling.
  • chore: Migrated to Go modules for dependency management.
  • ci: Implemented a new GitHub Actions workflow for continuous integration.
  • docs: Overhauled the README.md and improved GoDoc comments.
  • test: Added extensive new unit tests.

Backward Compatibility

This release maintains backward compatibility with the previous API, ensuring a seamless upgrade path for all existing users.