Skip to content

Release v0.0.18

Choose a tag to compare

@github-actions github-actions released this 28 Sep 00:40
· 15 commits to main since this release

🚀 Major Features

Comprehensive ORM Framework Compatibility

  • Complete Django integration with REST API test application featuring:
    • UUID primary keys and JSONB field support
    • PostgreSQL arrays and GENERATED BY DEFAULT AS IDENTITY columns
    • Complex model relationships and constraints validation
    • Poetry dependency management with comprehensive test suite
  • Rails ActiveRecord integration with full PostgreSQL compatibility:
    • PostgreSQL arrays (TEXT[]) and JSONB operations
    • Identity columns, foreign keys, and complex associations
    • Complete CRUD operations and business logic support
  • Go GORM application with advanced PostgreSQL features:
    • Full GORM models with UUID, arrays, and JSONB support
    • Auto-migrations, scopes, hooks, and associations
    • REST API with Gin framework and comprehensive test coverage

Security & Performance Enhancements

  • Advanced security features including:
    • Comprehensive SQL injection protection with AST-based detection
    • Security audit logging with structured JSON events
    • Rate limiting and DoS protection with circuit breaker patterns
    • Memory-aware caching system with TTL support
  • Protocol improvements:
    • Enhanced binary protocol support for better psycopg3 compatibility
    • Memory-mapped protocol handling for improved performance
    • Protocol fuzzing tests for robustness validation

🛠️ Bug Fixes

Critical CREATE TABLE Translation Fix

  • Fixed IDENTITY column translation bug that was breaking Django migrations
  • Properly handle "GENERATED BY DEFAULT AS IDENTITY PRIMARY KEY" syntax
  • Translate correctly to SQLite "PRIMARY KEY AUTOINCREMENT"
  • Added comprehensive unit tests for IDENTITY translation
  • Fixed regex handling for quoted table names (e.g., "django_migrations")

Protobuf Compatibility

  • Moved ownership_token field from position 8 to position 15 to avoid breaking existing field
    numbering
  • Ensures backward compatibility while adding ownership verification functionality

⚙️ CI/CD Improvements

Build System Optimization

  • Aggressive disk space optimization for GitHub Actions to prevent build failures
  • Optimized parallelism with smart build job configuration
  • Separated build and test jobs for better resource management
  • Enhanced caching strategy with proper target directory sharing
  • Skip problematic benchmark tests that were causing CI instability

Test Infrastructure

  • Added protocol fuzzing tests for security validation
  • Enhanced rate limiter testing
  • Comprehensive security audit test suite
  • Improved SSL/TLS test coverage

📚 Documentation & Developer Experience

Enhanced Documentation

  • Streamlined CLAUDE.md by removing historical content
  • Added comprehensive security documentation
  • Enhanced ORM compatibility guides
  • Updated build and test instructions

Code Quality

  • Added comprehensive code review guidelines
  • Enhanced memory tracking and optimization utilities
  • Improved string utilities for better performance
  • Enhanced query executor with better error handling

🔧 Technical Improvements

Memory & Performance

  • Memory-aware cache manager with intelligent eviction policies
  • TTL-based caching system for improved query performance
  • String optimization utilities for reduced memory allocation
  • Enhanced connection management with better resource cleanup

Query Processing

  • Improved CREATE TABLE translator with better PostgreSQL syntax support
  • Enhanced binary protocol encoding for arrays and complex types
  • Better query executor with improved error handling and logging

Total Changes: 21 commits with significant additions across security, ORM compatibility, and
infrastructure improvements.

Compatibility: This release maintains full backward compatibility while significantly expanding
PostgreSQL feature support and ORM framework integration.