Skip to content

0.7.0

Choose a tag to compare

@rbardaji rbardaji released this 20 Jun 15:21
· 27 commits to main since this release

Release v0.7.0

🎯 Overview

This release marks a significant milestone in project maturity with comprehensive documentation overhaul, enhanced testing coverage reaching 70%, and improved CI/CD pipeline. Major focus on developer experience and system reliability.

✨ New Features

πŸ”§ Service Registration

  • NEW: Service registration endpoint (POST /services) for dynamic service management
  • Enhanced API routing with integrated services endpoint
  • Added ServiceRequest model for structured service registration

πŸ“Š Enhanced System Metrics

  • Organization field now included in system metrics payload
  • Swagger version tracking in metrics for better API versioning
  • Comprehensive metrics logging with configurable organization settings

πŸ›‘οΈ Improved Validation & Error Handling

  • CKAN field validation before resource creation (fixes #77)
  • Enhanced pre-CKAN server validation with better error messages
  • Custom file types support in URLRequest model for greater flexibility

πŸ”§ Technical Improvements

πŸ§ͺ Testing Excellence

  • Achieved 70% test coverage milestone
  • Comprehensive test suites for:
    • add_url service with edge cases
    • update_url service operations
    • search_datasource module functionality
  • Resolved all test failures with proper mocking strategies
  • Updated CI pipeline for faster checks and better reliability

πŸ—οΈ Infrastructure & DevOps

  • Simplified Docker setup: Replaced custom scripts with standard docker-compose commands
  • Improved CI pipeline with code formatting (Black, isort)
  • Enhanced logging configuration with rotating file handlers
  • Better environment variable management with root .env file

πŸ“š Documentation Overhaul

  • Complete README redesign with federated data management focus
  • New CONTRIBUTING.md guide for better contributor onboarding
  • Updated project banners and visual identity
  • Comprehensive API documentation improvements
  • Enhanced setup and configuration guides

πŸ”„ Configuration & Environment

  • Streamlined environment configuration with single root .env file
  • Improved service discovery and conditional logging
  • Enhanced Docker compose setup for development consistency
  • Better integration with external services (Keycloak, Kafka, DXSpaces)

πŸ› Bug Fixes

  • Fixed boolean parsing in environment variable tests
  • Resolved asyncio fixture scope warnings
  • Corrected test attribute mappings (public β†’ is_public)
  • Enhanced error handling for SSL connections in external services
  • Improved validation messages for better user experience

πŸ”§ Breaking Changes

  • Docker setup: Custom Docker scripts removed in favor of standard docker-compose commands
  • Environment variables: Consolidated into single root .env file
  • Test attributes: Updated from public to is_public (ensure your tests are updated)

πŸ“ˆ Performance & Reliability

  • Enhanced system metrics collection and reporting
  • Improved error handling across all endpoints
  • Better resource management with optimized Docker setup
  • Faster CI/CD pipeline execution

πŸš€ Migration Guide

  1. Update Docker setup: Replace custom Docker scripts with docker-compose up
  2. Environment configuration: Migrate all environment variables to root .env file
  3. Test updates: Update any tests using public attribute to is_public
  4. Dependencies: Run pip install -r requirements.txt for new testing dependencies

πŸ“Š Stats

  • 70% test coverage achieved
  • 6 major pull requests merged

Full Changelog: 0.6.0...0.7.0