Skip to content

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 04 Jan 01:00
v0.2.0
ae2b6c8

Added

  • Documentation: Added project badges to README
    • Added CI status badge for GitHub Actions workflow
    • Added Pub.dev package version badge
    • Added Pub.dev points and popularity badges
  • Code Generation: Automatic yaml version bump detection
    • Added tool/codegen/detect_yaml_versions.sh to detect latest yaml versions from Adyen OpenAPI repo
    • Added tool/codegen/update_lock_file.sh to automatically update openapi.lock.json specs with new versions
    • Updated workflow to detect and update yaml version bumps automatically
    • Supports both versioned files (e.g., CheckoutService-v71.yaml) and non-versioned files

Changed

  • Public API (Breaking): Narrowed exports from adyen_api.dart; terminal and model types are now exposed via *_models.dart (e.g. terminal_models.dart).
  • CI: Fixed release workflow tag trigger pattern
    • Corrected tag filter from 'v[0-9]+.[0-9]+.[0-9]+.*' to 'v[0-9]+.[0-9]+.[0-9]+*' to properly match semantic version tags (e.g., v1.0.0, v1.2.3-beta)

Fixed

  • CI: Fixed OpenAPI codegen workflow path issues
    • Changed Docker volume mapping from host:workspace to host:/work to match script's default ROOT_DIR_DOCKER path
    • Changed clone directory from .openapi to .cache/openapi to align with script's OPENAPI_ROOT_DOCKER default
    • Resolves spec file not found errors in Docker container

Pub.dev: Published at https://pub.dev/packages/adyen_api