Skip to content

Releases: AxelTahmid/annot8

v0.5.0

Choose a tag to compare

@AxelTahmid AxelTahmid released this 05 Feb 18:59
ba7443b

0.5.0 (2026-02-05)

Features

  • enhance OpenAPI type mapping to include formats for basic types (72327eb)

v0.4.0

Choose a tag to compare

@AxelTahmid AxelTahmid released this 03 Feb 21:18
b1e8217

0.4.0 (2026-02-03)

Features

  • add banner image to README for enhanced visual appeal (4c94a4a)
  • update schema generation tests to use correct package references and add new test types (bf03267)

Bug Fixes

  • update middleware and ACL import paths to use relative references (2707990)

v0.3.0: Merge pull request #3 from AxelTahmid/release-please--branches--main

Choose a tag to compare

@AxelTahmid AxelTahmid released this 06 Jul 03:07
28d7e22

0.3.0 (2025-07-06)

Features

  • add MyEnum type and corresponding tests for schema conversion (ef1dced)
  • add unit testing steps to GitHub Actions workflow and create CHANGELOG.md (7de8a47)
  • enhance test coverage with new schema tests and helper functions (b40d8c2)

v0.2.0

Choose a tag to compare

@AxelTahmid AxelTahmid released this 05 Jul 07:54

Added

  • Automated release workflow using GitHub Actions and release-please.
  • Improved documentation for automated releases and changelog generation.

Changed

  • Refactored and modernized codebase for OpenAPI 3.1 generation.
  • Updated README.md to accurately reflect the current package structure and implementation.
  • Enhanced error handling, route discovery, annotation parsing, and schema logic.
  • Improved test setup and coverage.

Fixed

  • Addressed issues with annotation parsing and type discovery.
  • Fixed documentation inconsistencies and outdated examples.

v0.1.0

Choose a tag to compare

@AxelTahmid AxelTahmid released this 04 Jul 19:50

Release: v0.1.0

Initial Public Release

Features

  • OpenAPI 3.1-compliant spec generation from annotated Go code
  • Zero configuration: no manual type registration or setup
  • Native support for go-chi/chi, SQLC, and pgx/v5
  • Annotation-driven: uses Swagger-style comments for documentation
  • Dynamic schema generation with deep type discovery (including generics and external types)
  • High performance: built-in caching and type indexing
  • Comprehensive documentation and usage examples
  • Extensive test coverage for core and edge cases

Limitations

  • Only supports Chi router (by design)
  • Handlers must be top-level functions (not struct methods)
  • Best results with SQLC-generated types and pgx/v5
  • Some complex annotation/type patterns may require manual workarounds

Roadmap

  • Improved error messages and type support
  • More documentation and edge case handling
  • Performance optimizations for large projects
  • Expanded test coverage

Not Planned

  • Support for other routers (Gin, Echo, etc.)
  • GraphQL or client code generation
  • Struct method handler support

See the README.md for full documentation and usage examples.
Contributions welcome! See CONTRIBUTING.md for guidelines.