Skip to content

Latest commit

 

History

History
156 lines (127 loc) · 6.33 KB

File metadata and controls

156 lines (127 loc) · 6.33 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Changed

  • Pull Request Template - Enhanced with comprehensive sections for production-ready reviews
    • Added Architecture Impact section (bounded contexts, layers, ADRs)
    • Added Testing Strategy with 5 test types (unit, integration, e2e, contract, performance)
    • Added API Changes section (breaking changes, migration guides)
    • Added Security Considerations checklist (OWASP Top 10, input validation)
    • Added Observability section (Winston logs, Prometheus metrics)
    • Added Deployment Considerations (database migrations, feature flags, rollback plans)
    • Added Reviewer Guidance (required expertise, focus areas)
    • Fixed outdated commands (test:cov → test:coverage)
    • Removed GitLab/Sonar references, use GitHub Actions instead

Fixed

  • TODO to Issue Workflow - Fixed multiple configuration issues
    • Prevented workflow from processing documentation files (example TODOs in CLAUDE.md and docs/GITHUB_ACTIONS.md)
    • Added ignore patterns for docs/**, *.md, and **/*.md
    • Fixed label mismatch: Updated IDENTIFIERS to use correct label names with emojis (🐛 bug instead of bug)
    • Upgraded action from v4 to v5 for better stability
    • Disabled INSERT_ISSUE_URLS to prevent push failures on protected branches
    • Moved permissions from workflow level to job level
    • Ensures only actual code TODOs are converted to GitHub issues

2.2.0 - 2024-12-27

Changed

  • Server Architecture - Refactored application bootstrap for better maintainability
    • Extracted rate limiting configuration to rate-limit.plugin.ts
    • Extracted Swagger OpenAPI configuration to swagger.plugin.ts
    • Extracted Swagger UI configuration to swagger-ui.plugin.ts
    • Extracted metrics endpoint to dedicated metrics.ts file
    • Reduced app.ts from 145 lines to 57 lines (60% reduction)
    • All plugins now use fastify-plugin wrapper for proper context sharing
  • Dependency Updates - Consolidated 10 Dependabot updates
    • Production Dependencies:
      • dotenv: 16.6.1 → 17.2.3 (major version bump)
    • Development Dependencies:
      • @types/supertest: 2.0.16 → 6.0.3 (major version bump)
      • husky: 8.0.3 → 9.1.7 (major version bump)
      • eslint-config-prettier: 9.1.2 → 10.1.8 (major version bump)
      • @types/ioredis: 4.28.10 → 5.0.0 (major version bump)
      • cross-env: 7.0.3 → 10.1.0 (major version bump)
    • GitHub Actions:
      • actions/checkout: v4 → v6
      • actions/stale: v9 → v10
      • amannn/action-semantic-pull-request: v5 → v6
      • actions/setup-python: v5 → v6

Security

  • Updated dependencies to latest versions with security fixes
  • All tests passing with updated dependencies (165 unit + 28 integration)

2.1.0 - 2024-12-26

Added

  • GitHub Actions CI/CD Pipeline - Complete modular workflow automation
    • Core workflows: CI (multi-OS testing), Lint, Dependency Review
    • Security: Automated dependency vulnerability scanning with dependency-review-action
    • Code quality: YAML linting, typo detection workflows
    • PR automation: Title linting (Conventional Commits), size labeling (xs/s/m/l/xl)
    • Monitoring: Docker image size comparison workflow
    • Maintenance: Stale issues/PRs management, TODO-to-issue converter
  • Dependabot Configuration - Daily automated dependency updates
    • npm package updates with conventional commit messages
    • GitHub Actions updates with auto-labeling
  • Custom Reusable Actions - .github/actions/setup-node
    • DRY principle for Node.js setup across workflows
    • Centralized version management (Node.js 24.x)
  • GitHub Repository Templates
    • 44 organized labels (bug, feature, priority, size, workflow status)
    • Pull request template with comprehensive checklist
    • Issue templates for bug reports and feature requests
    • CODEOWNERS for automatic code review assignments
  • Configuration Files
    • .yamllint.yml for YAML validation rules
    • .github/labels.yml for labels-as-code
    • .github/dependabot.yml for dependency automation

Changed

  • Optimized Core Workflows
    • Removed Coveralls integration (unused)
    • Fixed Node.js version check in CI workflow (20.x → 24.x)
    • Refactored ci.yml and lint.yml to use custom reusable action
  • Badge Updates
    • Replaced Coveralls badge with CI and Lint status badges

Removed

  • Duplicate test.yml workflow (consolidated into ci.yml)
  • Coveralls coverage reporting integration
  • Temporary MERGE_REQUEST.md documentation

Documentation

  • New: GITHUB_ACTIONS.md - Complete CI/CD pipeline documentation
    • Detailed explanation of all 10 workflows
    • Configuration guides and best practices
    • Troubleshooting section
  • Updated: README.md with CI/CD section and new badges
  • Updated: CLAUDE.md with GitHub Actions automation details

2.0.0 - 2024-12-26

Added

  • Hexagonal Architecture with Clean Architecture principles
  • Fastify web framework (2x faster than Express)
  • SWC compiler (40% faster builds than tsc)
  • Vitest testing framework with coverage
  • k6 performance testing with thresholds
  • Zod runtime validation for environment and DTOs
  • Winston structured logging
  • Prometheus metrics with Grafana dashboards
  • Domain-Driven Design patterns (Entities, Value Objects, Aggregates)
  • Dependency injection with Awilix
  • Health checks (liveness and readiness)
  • Rate limiting with configurable thresholds
  • Docker multi-stage builds
  • OpenAPI/Swagger documentation
  • API versioning (v1 and v2)
  • Contract testing with Pact

Changed

  • Migrated from Express to Fastify
  • Migrated from Jest to Vitest
  • Migrated from tsc to SWC
  • Reorganized architecture from layered to hexagonal

Documentation

  • Complete architecture documentation
  • ADRs for all major decisions
  • Testing strategy guide
  • Docker setup guide
  • Performance testing guide
  • Contract testing guide