Skip to content

v2.0.0

Choose a tag to compare

@serdartaylan serdartaylan released this 01 Jan 20:29
· 3 commits to main since this release

Added

  • feat: add CORS support for API endpoints
  • feat: add new /api/v1/cars/:CarID/parkings endpoint for parking data
  • feat: add new /api/v1/cars/:CarID/positions endpoint for position history
  • feat: add version field to globalsettings endpoint response
  • ci: add GitHub Actions CI workflow for build and test
  • ci: add Docker Build & Push workflow for automated container publishing
  • ci: add Dependabot configuration for automated dependency updates

Changed

  • refactor: centralize authentication via middleware for v1 API routes
    • Add authMiddleware() function in AuthSupport.go
    • Apply middleware to /api/v1 route group in webserver.go
    • Remove redundant validateAuthToken() calls from handler files
    • Clean up unused net/http imports
  • ci: remove legacy build.yml and codeql-analysis.yml workflows
  • deps: update go.mod dependencies

Breaking Changes

  • Authentication is now handled via centralized middleware instead of per-handler validation