Releases: b24io/loyalty-php-sdk
Releases · b24io/loyalty-php-sdk
3.3.1 — 2024.07.29
Changed
- removed
ext-bcmath
in composer requirement
3.3.0 — 2024.07.10
Added
- add requirements:
nesbot/carbon
version^2.*
,
- add
MobilePhoneItemResult
– information about mobile phone. - add support for mobile phone for
ContactItemResult
- add support for mobile phone for
CardItemResult
Changed
- change signature for method
Loyalty\SDK\Services\Admin\Contacts::add
, argument$mobilePhone
can be nullable. - change signature for method
Loyalty\SDK\Services\Admin\Contacts::getById
fromContactItemResult
toContactResult
- change signature for method
Loyalty\SDK\Services\Admin\Cards::getById
fromCardItemResult
toCardResult
- change
DateTimeImmutable
toCarbonImmutable
in all results
3.2.0 (2024.05.23)
Downgrade branch v3
to PHP 7.4
What's Changed
- 19 add orderby by @b24io-sdk in #21
- Add orderBy option for cards and contacts by @b24io-sdk in #20
- Merge pull request #20 from b24io/19-add-orderby by @b24io-sdk in #22
- Add GitHub integration workflow and remove local .env file by @b24io-sdk in #24
- Update integration workflow to use vars for LOYALTY_API_ENDPOINT_URL by @b24io-sdk in #25
- V4 by @b24io-sdk in #26
- Feature/27 downgrade v3 to php 74 by @b24io-sdk in #31
Full Changelog: 3.0...3.2.0
4.1.0
4.1.0 (2024.05.22)
- add
TurnoversItemResult
forCardItemResult
, contains:- total purchases count
- total purchases sum
- add
TurnoversItemResult
forContactItemResult
, contains:- total purchases count
- total purchases sum
- add
CardLevelItem
forContactItemResult
, contains:id
card level idnextLevelId
next level idname
level namecode
level codedefaultPercentage
card level default percentagedescription
card level descriptionexternalId
card level external idcreated
date time card level createmodified
date time card level update
4.0.0
3.1.0
- add requirements:
symfony/console
version7.*
,symfony/dotenv
: version7.*
,
- add
InvalidArgumentException
class - add
ItemsOrder
forCommand
class - add
Cards::add
method for add cards, you can set start params for card:- card start balance
- card start percentage
- card start status: active or blocked
- add order by argument for entities:
cards
- order available by fieldscreated
modified
balance
contacts
created
modified
- add
ItemsOrder
forCards\Fetcher
class - add
Contacts::count
for count contacts - add
ContactsFetcher
for bulk read contacts
3.0.0
2.1.2
2.1.1 — 2022.01.12
- bump
ramsey/uuid
version requirements to4.*
- bump php version requirements to
7.4
or8.*
2.0.1 — 2020.10.01
2.0.1 (1.10.2020)
- add support for rps-error limits - no more than 2 rps
- update dependencies
- add x-request-id header support