Repository navigation
BFlow Studio v1.5.0
·
36 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
Release Notes
Overview
This release expands wallet, recurring-transaction, receipt, and subscription flows; fixes Wompi recurring enrollment and renewal behavior; adds user-media moderation; moves AWS infrastructure provisioning to Terraform; and improves observability and security. It also raises the JaCoCo line-coverage gate to 80% and adds broader unit, integration, and browser-driven coverage.
Product and Payment Changes
Wompi subscriptions and renewals
- A subscription is activated only after an approved, signed Wompi transaction webhook. Enrollment or checkout creation alone does not grant Pro access or create a synthetic payment.
- Pending enrollment reconciliation runs every 15 minutes and allows an incomplete enrollment up to 30 days before expiration.
- Annual renewal reminders create a new single-use Wompi checkout with its own reference; they do not reuse the checkout URL saved on the active subscription. Repeated reminder processing reuses the pending renewal checkout to avoid duplicate links.
- When Wompi confirms an annual renewal, the new term starts at the end of the currently paid annual term and adds 365 days, preserving remaining paid time. The previous annual one-time link is not treated as a recurring link for deactivation.
- Monthly enrollment activation schedules the next charge and replaces the previous active plan only after Wompi confirms a successful payment. Payment records are created only for approved transactions.
- Monthly checkout details are generated from the plan's actual limits and capabilities and can include a configured product image. An image-upload failure does not block checkout creation.
- Renewal reminders and a grace period were added for users whose subscription expires before they purchase another plan. Migration
V38__subscription_renewal_and_reminder.sqladds the supporting schema. - Wompi webhook signature validation remains in place. Automated tests cover active enrollment with zero payments, pending/expired enrollment behavior, renewal, checkout presentation, and webhook paths.
Wallets, transactions, and receipts
- Added a default-wallet flow and wallet invitation notifications; receipt registration now resolves the appropriate wallet ID.
- Recurring transactions gained stronger validation, annual frequency support, duplicate-execution safeguards, and controlled catch-up behavior when the scheduler is delayed.
- Permanent account deletion now reassigns the full contribution history to the system user, including contributions from users who previously left a shared wallet.
- Receipt OCR processing was consolidated around a Textract endpoint, with receipt upload category constraints and additional fallback handling.
- User-uploaded media, including profile pictures, is checked with AWS Rekognition moderation before storage. Moderation behavior and user-facing messages are documented in
docs/security/user-media-moderation.md. - Business transaction dates use the
America/El_Salvadorcalendar and are restricted to the inclusive range from 50 years ago through today. CSV imports accept ISO and strict day-first formats and reject dates outside that range.
Infrastructure, Deployment, and Observability
- Replaced AWS infrastructure provisioning scripts with Terraform under
infra/terraform/, covering networking, compute/storage, IAM, messaging, GitHub OIDC, observability, DNS synchronization, and outputs. - Added Terraform examples, provider lock files, migration guidance, CI validation, and deployment/destroy wrappers. CI validates Terraform, ECS task definitions, and cost-related guardrails without requiring AWS credentials.
- Added opt-in AWS Distro for OpenTelemetry Java-agent support through
OTEL_ENABLED, structured access logs, and trace identifiers in logs. ECS deployment settings control trace export and sampling. - Sensitive URL query parameters are redacted from OpenTelemetry spans. The rollout runbook and local audit/benchmark guidance were updated.
- Added CodeQL analysis and separated verification, MCP/browser QA, and security jobs in CI. The build now includes Playwright and Testcontainers-based test infrastructure.
Security and Dependency Updates
Dependency and security updates included in the release range:
- AWS SDK BOM:
2.55.3→2.57.1. - FasterXML Jackson Core and Databind: aligned at
2.22.4. - Tools Jackson Core:
3.2.3→3.2.4; Tools Jackson Databind:3.1.6→3.1.7. - Netty HTTP, HTTP/2, and compression modules:
4.2.18.Final→4.2.19.Final. - PostgreSQL JDBC driver:
42.7.13→42.7.14. - Added/updated dependency overrides in response to Trivy findings, including Guava
33.7.2-jre; updated the Maven/Temurin build image and related Trivy exceptions.
The AWS SDK, Jackson Core, and Tools Jackson Core Dependabot merges most recently pulled into this branch are included through 5a05627.
Validation and Test Status
- JaCoCo line coverage reached 80.1044% (5,677 of 7,087 lines) vs original 25% previously this release, passing the configured 80% bundle gate and per-class coverage rules.
- The last clean selected unit-test run reported 737 tests: 736 passed and 1 failed. The failure is the Textract OCR date case described above. The latest annual renewal checkout changes were not executed in Docker because the Docker Desktop engine was unavailable in this environment.