diff --git a/.github/workflows/security-scan.yml b/.github/workflows/security-scan.yml new file mode 100644 index 0000000..a67a727 --- /dev/null +++ b/.github/workflows/security-scan.yml @@ -0,0 +1,25 @@ +name: Security scan on all changes (Commits/PRs) +on: + push: + branches: ["main", "master", "pilot", "dev"] + pull_request: + types: + - opened +jobs: + code-check: + runs-on: ubuntu-latest + env: + OS: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Checkmarx One CLI Action + uses: checkmarx/ast-github-action@main + with: + project_name: Flutter-v3 + cx_tenant: Flutterwave + base_uri: https://eu.ast.checkmarx.net/ + cx_client_id: ${{ secrets.CX_CLIENT_ID }} + cx_client_secret: ${{ secrets.CX_CLIENT_SECRET }} + additional_params: --scan-types sast,iac-security,api-security,sca,container-security diff --git a/CHANGELOG.md b/CHANGELOG.md index fa6b8ac..04e5da2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ +## [1.1.1] | April 24, 2025 + +Changes include: + +- Added checkmarx security scan to the package build pipeline. + ## [1.1.0] | April 11, 2025 + Changes include: + - Modified `Flutterwave.charge()` method to accept a BuildContext parameter. - Added context.mounted checks to prevent setState calls after widget disposal. - Enhanced success status check logic to handle different status values ("success" and "completed"). @@ -11,50 +19,58 @@ Changes include: - Removed unused dependencies: webview_flutter, modal_bottom_sheet and uuid. - Update deployment workflow. - ## [1.0.7] - February, 2023 + Changes include: + - Fixed iOS bug where webview couldn't close when close buttons are clicked - Removed required `name` and `phone number` fields in `Customer` object - ## [1.0.6] - October, 2022 + Changes include: + - Fixed bug where transaction gets stuck after redirecting on webview - Fixed iOS build bug by removing inAppBrowser library - ## [1.0.5] - October, 2022 + Changes include: + - Fixed null when transaction is cancelled. - Removed modal pop up before launching web view. - Removed intermediate make payment screen before webview. - Deprecated FlutterwaveStyle. - Updated README file. - ## [1.0.4] - July 4, 2022 + Changes include: + - Renamed property `isDebug` to `isTestMode` - Made property `redirectUrl` required - Updated README file - ## [1.0.3] - October 4, 2021. + Changes include: -- Fixed issue with webview +- Fixed issue with webview ## [1.0.2] - September 23, 2021. + Changes include: -- Fixed bug where cancel payment buttons are not clickable on iOS devices. +- Fixed bug where cancel payment buttons are not clickable on iOS devices. ## [1.0.1] - September 14, 2021. + Changes include: -- Fixed bug where response is not returned to initiating screen when user cancels transaction. +- Fixed bug where response is not returned to initiating screen when user cancels transaction. ## [1.0.0] - September 9, 2021. + Changes include: + - Initial release