Releases: bavix/laravel-wallet
Releases · bavix/laravel-wallet
4.1.3
5.0.1
Added
- Added a patch from version 4.2.1 #150
What's Changed
- add cases by @rez1dent3 in #148
- V4.0 by @rez1dent3 in #151
- Develop by @rez1dent3 in #152
Full Changelog: 5.0.0...5.0.1
4.2.1
5.0.0
Added
- add support "Arbitrary Precision Mathematics" (
ext-bcmath) #139 #146 - add
Mathableservice (helps switch quickly from bcmath to php computing)
Changed
- add unit cases
- upgrade composer packages
- Now all casts are in the config, not in the model. If you use bcmath, then all values are reduced to a string.
Removed
- Strong typing (models, interfaces, etc.)
- all deprecated methods are removed
nesbot/carbonis no longer needed for the library to work
What's Changed
- 5.0.x - Arbitrary Precision Mathematics by @rez1dent3 in #140
Full Changelog: 4.2.2...5.0.0
4.2.0
Added
- Add laravel 7 support
What's Changed
- Scrutinizer Auto-Fixes by @scrutinizer-auto-fixer in #145
- add support laravel 7.x by @rez1dent3 in #144
Full Changelog: 4.1.2...4.2.0
4.1.2
4.1.1
4.1.0
Added
- Added ability to override type
What's Changed
- Update phpstan/phpstan requirement from ^0.11 to ^0.12 by @dependabot-preview in #130
- Added ability to override type by @rez1dent3 in #131
Full Changelog: 4.0.1...4.1.0
4.0.1
Fixed
- Encountered error: "You are not the owner of the wallet" #129 @arjayosma
What's Changed
- Update infection/infection requirement from ^0.14 to ^0.15 by @dependabot-preview in #128
Full Changelog: 4.0.0...4.0.1
4.0.0
Added
- Added interface
Storeablefor creating your own wallet balance repositories. #103 - Added support for pcov, now coated unit tests work in a few seconds, not minutes.
- Allow developers to inherit classes:
Operation,Bring, etc.. #106 - Added personal product discounts (see
Discountinterface). - Added a separate service for working with the connection. It’s not possible to configure flexibly at the moment, wait for new releases.
Changed
- The minimum version of php 7.2.
- Old versions of the
laravel/cashierpackage have been removed, now support begins with the seventh version. - New argument
Customer $customeradded togetAmountProductmethod. #117 @jlstandout - Now for
LockServiceyou can choose your own (separate) cache. - Personal discount information has been added to the
transferstable. Data is not used in the library, but will be needed for the future. - New argument
Customer $customeradded togetTotalmethod. #117
Fixed
- Giving a gift (Santa) no longer goes into minus due to taxes. #111
- Upon receipt, the configuration is marked with default values. #117
- Fixed a bug due to which the wallet could go negative when transferring (exchanging) money, tax. #117
- A more correct balance change, a bug with a successful update in the database and an unsuccessful update of the balance (race condition) field was fixed.
- Fixed a bug with a purchase without funds and tax. When trying to pay, an exception was thrown.
- Reworked and fixed unit tests, fixed bugs.
Deprecated
ProxyServiceis deprecated and is no longer used.WalletService::getBalancemethod is deprecated, useStoreable::getBalance.
What's Changed
- #103 add storable by @rez1dent3 in #104
- Update infection/infection requirement from ^0.13 to ^0.14 by @dependabot-preview in #109
- Update .travis.yml by @rez1dent3 in #110
- Santa fee by @rez1dent3 in #112
- Pcov by @rez1dent3 in #114
- Docs by @rez1dent3 in #113
- Update .scrutinizer.yml by @rez1dent3 in #115
- fix config wallet.lock.cache by @rez1dent3 in #116
- add support select database by @rez1dent3 in #118
- Add the ability to calculate the price relative to the wallet by @rez1dent3 in #120
- Attempt to introduce a discount system into the system by @rez1dent3 in #119
Full Changelog: 3.3.0...4.0.0