Skip to content

Releases: avtocod/b2b-api-php-laravel

v4.4.0

25 Jan 06:17
a69af2d
Compare
Choose a tag to compare

Added

  • Support Laravel 10

Changed

  • Up minimal PHP version to 8.1
  • Up minimal phpstan version to 1.10
  • Up minimal phpunit version to 10.5
  • Composer updated to v2 on CI

Fixed

  • Inconsistency with real method signatures in README.md #18

v4.3.0

20 Jul 19:55
3d288af
Compare
Choose a tag to compare

Added

  • Support PHP 8.x #16
  • Laravel 9.x is supported now

Changed

  • Composer 2.x is supported now
  • Minimal PHP version now is 7.3

v4.2.0

05 Apr 07:30
2f1c923
Compare
Choose a tag to compare

Changed

  • Package tarampampam/guzzle-url-mock replaced with avto-dev/guzzle-url-mock version ^1.5

v4.1.0

01 Apr 13:09
8d85c0b
Compare
Choose a tag to compare

Changed

  • Minimal required avtocod/b2b-api-php package version now is ^4.1
  • Using method expectExceptionMessageMatches instead of expectExceptionMessageRegExp in tests

v4.0.0

23 Oct 06:55
da5e144
Compare
Choose a tag to compare

Changed

  • Minimal required avtocod/b2b-api-php package version now is ^4.0 (instead of ^3.3)
  • PhpDoc annotations updated

v3.4.0: Laravel 8.x is supported now

09 Sep 08:13
a2e0746
Compare
Choose a tag to compare

Changed

  • Laravel 8.x is supported now
  • Minimal Laravel version now is 6.0 (Laravel 5.5 LTS got last security update August 30th, 2020)
  • Minimal required avtocod/b2b-api-php version now is ^3.3
  • CI completely moved from "Travis CI" to "Github Actions" (travis builds disabled)
  • Minimal required PHP version now is 7.2

v3.3.0

19 May 12:46
cd6e5ee
Compare
Choose a tag to compare

Changed

  • Maximal illuminate/* packages version now is 7.*

v3.2.0

03 Mar 10:13
fce0fb8
Compare
Choose a tag to compare

Added

  • Interface ReportTypeInfoInterface

Changed

  • Report type repository method get now will return ReportTypeInfoInterface
  • Report type repository method default now will return ReportTypeInfoInterface

v3.1.0

22 Jan 09:10
655859d
Compare
Choose a tag to compare

Added

  • Laravel v6.x support
  • Tests running using GitHub Actions
  • PHP 7.4 tests running

Changed

  • StyleCI rules. Enabled: length_ordered_imports, disabled: alpha_ordered_imports
  • Updated dev-dependency versions

v3.0.0

11 Jul 17:43
efe6af0
Compare
Choose a tag to compare

Added

  • Docker-based environment for development
  • Project Makefile
  • Environment variables B2B_API_REPORT_TYPE_UID, B2B_API_AUTH_TOKEN, B2B_API_AUTH_USERNAME, B2B_API_AUTH_PASSWORD, B2B_API_AUTH_DOMAIN, B2B_API_TOKEN_LIFETIME support
  • Classes:
    • \Avtocod\B2BApi\Laravel\Connections\ConnectionsFactory
    • \Avtocod\B2BApi\Laravel\ReportTypes\ReportTypeInfo
    • \Avtocod\B2BApi\Laravel\ReportTypes\Repository
  • Interfaces:
    • \Avtocod\B2BApi\Laravel\Connections\ConnectionsFactoryInterface
    • \Avtocod\B2BApi\Laravel\ReportTypes\RepositoryInterface

Changed

  • Minimal PHP version now is ^7.1.3
  • Maximal Laravel version now is 5.8.x
  • Dependency avto-dev/b2b-api-php changed to avtocod/b2b-api-php
  • Dependency laravel/framework changed to illuminate/*
  • Root package namespace changed from \Avtocod\B2BApiLaravel to \Avtocod\B2BApi\Laravel
  • Composer scripts
  • \Avtocod\B2BApiLaravel\B2BApiServiceProviderAvtocod\B2BApi\Laravel\ServiceProvider
  • Configuration file structure (root keys api_base_uri, domain, username, password, webhooks, is_test removed; default_report_type, connections, default_connection added; report_types changes own structure)
  • DI bindings

Removed

  • Dependency avto-dev/b2b-api-php-laravel
  • Environment variables B2B_API_CLIENT_DOMAIN, B2B_API_CLIENT_USERNAME, B2B_API_CLIENT_PASSWORD, B2B_API_DEFAULT_REPORT_TYPE, B2B_API_WEBHOOK_ON_COMPLETE, B2B_API_WEBHOOK_ON_UPDATE, B2B_API_IS_TEST support