Skip to content

v0.4.1

Choose a tag to compare

@rstrahan rstrahan released this 06 Nov 01:18
· 483 commits to main since this release

[0.4.1]

Changed

  • Configuration Library Updates with JSON Schema Support
    • Updated configuration library with JSON schema format for lending package, bank statement, and RVL-CDIP package samples
    • Enhanced configuration files to align with JSON Schema Draft 2020-12 format introduced in v0.4.0
    • Updated notebooks and documentation to reflect JSON schema configuration structure

Fixed

  • UI Few Shot Examples Display - Fixed issue where few shot examples were not displaying correctly from configuration in the Web UI
  • Re-enabled Regex Functionality - Restored document name and page content regex functionality for Pattern-2 classification that was temporarily missing
  • Pattern-2 ECR Enhanced Scanning Support - Added required IAM permissions (inspector2:ListCoverage, inspector2:ListFindings) to Pattern2DockerBuildRole to support AWS accounts with Amazon Inspector Enhanced Scanning enabled. Also added KMS permissions (kms:Decrypt, kms:CreateGrant) for customer-managed encryption keys. This resolves AccessDenied errors and CodeBuild timeouts when deploying Pattern-2 in accounts with enhanced scanning enabled.
  • Reporting Database Data Loss After Evaluation Refactoring - Fixes #121
    • Fixed bug where metering data and document_section data stopped being written to the reporting database after evaluation was migrated from EventBridge to Step Functions workflow
  • IDP CLI Deploy Command Parameter Preservation Bug
    • Fixed bug where idp-cli deploy command was resetting ALL stack parameters to their default values during updates, even when users only intended to change specific parameters
  • Pattern-2 Intermittent HITLStatusUpdateFunction ECR Access Failure
    • Fixed intermittent "Lambda does not have permission to access the ECR image" (403) errors during Pattern-2 deployment
    • Root Cause: Race condition where Lambda functions were created before ECR images were fully available and scannable
    • Solution: Enhanced CodeBuild custom resource to verify ECR image availability before completing, including:
      • Verification that all required Lambda images exist in ECR repository
      • Check that image scanning is complete (repository has ScanOnPush: true)
    • New Parameter: Added EnablePattern2ECRImageScanning parameter (current default: false) to allow users to enable/disable ECR vulnerability scanning if experiencing deployment issues
      • Recommended: Set enabled (true) for production to maintain security posture
      • Optional: Disable (false) only as temporary workaround for deployment reliability