- [11.3] UUID7. IdentifierFactoryServiceInterface by @rez1dent3 in #994
Full Changelog: https://github.com/bavix/laravel-wallet/compare/11.2.2...11.3.0
- Bump vitepress from 1.3.3 to 1.3.4 by @dependabot in #989
- [11.x] fixed automatic wallet creation when calling float balance by @rez1dent3 in #992
Many thanks to the guys for finding the bug @ISNewton @usmanjdn7
Full Changelog: https://github.com/bavix/laravel-wallet/compare/11.2.1...11.2.2
- [11.x] Fix UUID Drop on migration rollback by @MarJose123 in #988
- @MarJose123 made their first contribution in #988
Full Changelog: https://github.com/bavix/laravel-wallet/compare/11.2.0...11.2.1
- Bump bavix/.github from 0.3.0 to 0.3.1 by @dependabot in #979
- Bump bavix/.github from 0.3.1 to 0.3.2 by @dependabot in #981
- Bump bavix/.github from 0.3.2 to 0.3.3 by @dependabot in #982
- Bump vitepress from 1.3.1 to 1.3.2 by @dependabot in #983
- Bump vitepress from 1.3.2 to 1.3.3 by @dependabot in #985
- [11.2] Improvements to confirm by @rez1dent3 in #987
Full Changelog: https://github.com/bavix/laravel-wallet/compare/11.1.1...11.2.0
- Bump vitepress from 1.2.3 to 1.3.0 by @dependabot in #973
- phpstan update baseline by @rez1dent3 in #975
- Bump vitepress from 1.3.0 to 1.3.1 by @dependabot in #974
- Add unit. Atomic rollback by @rez1dent3 in #977
- doc(phpdoc): update phpdocs by @rez1dent3 in #978
Full Changelog: https://github.com/bavix/laravel-wallet/compare/11.1.0...11.1.1
- optimize telegram svg by @rez1dent3 in #965
- Bump actions/configure-pages from 4 to 5 by @dependabot in #966
- logo consecration by @rez1dent3 in #969
- phpstan fix by @rez1dent3 in #970
- allow deletion of unconfirmed operations without forceDelete by @rez1dent3 in #972 (Thank you @momostafa)
Full Changelog: https://github.com/bavix/laravel-wallet/compare/11.0.6...11.1.0
- Update README.md by @rez1dent3 in #961
- Optimize large logo by @rez1dent3 in #962
- update docs by @rez1dent3 in #963
- [rebranding] new summary by @rez1dent3 in #964
Full Changelog: https://github.com/bavix/laravel-wallet/compare/11.0.5...11.0.6
- build(deps): bump size-limit from 11.1.2 to 11.1.3 by @dependabot in #942
- build(deps): bump size-limit from 11.1.3 to 11.1.4 by @dependabot in #944
- build(deps): bump axios from 1.6.8 to 1.7.1 by @dependabot in #946
- Bump axios from 1.7.1 to 1.7.2 by @dependabot in #947
- Bump css-loader from 7.1.1 to 7.1.2 by @dependabot in #948
- upgrade npm packages by @rez1dent3 in #949
- codecov github actions by @rez1dent3 in #953
- Bump uuid from 9.0.1 to 10.0.0 by @dependabot in #952
- Bump webpack from 5.91.0 to 5.92.0 by @dependabot in #954
- Bump bavix/.github from 0.2.5 to 0.3.0 by @dependabot in #956
- Bump webpack from 5.92.0 to 5.92.1 by @dependabot in #957
- Docs v2.0 by @rez1dent3 in #958
- remove static docs by @rez1dent3 in #959
- add lastUpdated by @rez1dent3 in #960
Full Changelog: https://github.com/bavix/laravel-wallet/compare/11.0.4...11.0.5
- build(deps): bump css-loader from 6.10.0 to 6.11.0 by @dependabot in #928
- build(deps): bump css-loader from 6.11.0 to 7.0.0 by @dependabot in #929
- build(deps): bump css-loader from 7.0.0 to 7.1.0 by @dependabot in #930
- build(deps): bump css-loader from 7.1.0 to 7.1.1 by @dependabot in #933
- build(deps): bump mini-css-extract-plugin from 2.8.1 to 2.9.0 by @dependabot in #936
- Pending Balances by @rez1dent3 in #938
- Frozen balance by @rez1dent3 in #940
- build(deps): bump JetBrains/qodana-action from 2023.3 to 2024.1 by @dependabot in #941
Full Changelog: https://github.com/bavix/laravel-wallet/compare/11.0.3...11.0.4
- build(deps): bump axios from 1.6.7 to 1.6.8 by @dependabot in #917
- build(deps): bump size-limit from 11.1.0 to 11.1.1 by @dependabot in #918
- build(deps): bump webpack from 5.90.3 to 5.91.0 by @dependabot in #920
- build(deps): bump size-limit from 11.1.1 to 11.1.2 by @dependabot in #921
- build(deps-dev): update phpunit/phpunit requirement from ^10.5 to ^11.0 by @dependabot in #924
- build(deps): bump bavix/.github from 0.2.4 to 0.2.5 by @dependabot in #925
- Update composer.json by @rez1dent3 in #926
Full Changelog: https://github.com/bavix/laravel-wallet/compare/11.0.2...11.0.3
Full Changelog: https://github.com/bavix/laravel-wallet/compare/11.0.1...11.0.2
- build(deps): bump size-limit from 11.0.3 to 11.1.0 by @dependabot in #914
- [11.x] fix pipeline by @rez1dent3 in #915
Full Changelog: https://github.com/bavix/laravel-wallet/compare/11.0.0...11.0.1
- [11.x] add native soft delete by @rez1dent3 in #827
- fix default wallet by @rez1dent3 in #828
- [11.x] add FormatterServiceInterface by @rez1dent3 in #834
- [11.x] add FormatterServiceInterface (patch) by @rez1dent3 in #835
- rector fix by @rez1dent3 in #836
- fix Qodana by @rez1dent3 in #837
- 11.x dto refactoring by @rez1dent3 in #838
- [11.x] remove cknow/laravel-money by @rez1dent3 in #839
- [11.x] New Version by @rez1dent3 in #826
- build(deps): bump actions/cache from 3 to 4 by @dependabot in #862
- build(deps): bump bavix/.github from 0.1.9 to 0.2.0 by @dependabot in #861
- [11.x] Adding an Extra column to the transfer table by @rez1dent3 in #865
- [11.x] Add interfaces for High performance api handles by @rez1dent3 in #866
- fix changelog.md by @rez1dent3 in #867
- build(deps): bump webpack from 5.89.0 to 5.90.0 by @dependabot in #868
- build(deps): bump bavix/.github from 0.2.0 to 0.2.1 by @dependabot in #869
- [11.x] Added *FloatQuery for High performance api handles by @rez1dent3 in #870
- build(deps): bump axios from 1.6.5 to 1.6.7 by @dependabot in #871
- build(deps): bump bavix/.github from 0.2.1 to 0.2.2 by @dependabot in #873
- build(deps): bump css-loader from 6.9.1 to 6.10.0 by @dependabot in #875
- build(deps): bump nick-fields/retry from 2 to 3 by @dependabot in #876
- [11.x] received transfers by @gkmk in #877
- build(deps): bump webpack from 5.90.0 to 5.90.1 by @dependabot in #880
- [11.x] raise the minimum version of laravel to 11 by @rez1dent3 in #879
- [11.x] revert collation by @rez1dent3 in #882
- build(deps): bump mini-css-extract-plugin from 2.7.7 to 2.8.0 by @dependabot in #881
- autofix ecs & rector by @rez1dent3 in #883
- [11.x] testSetNameAttribute by @rez1dent3 in #884
- update README.md by @rez1dent3 in #886
- build(deps): bump bavix/.github from 0.2.2 to 0.2.3 by @dependabot in #887
- [11.x] method casts() by @rez1dent3 in #889
- build(deps-dev): update rector/rector requirement from ^0.19 to ^1.0 by @dependabot in #890
- [11.x] returned driftingly/rector-laravel by @rez1dent3 in #891
- [11.x] remove brianium/paratest by @rez1dent3 in #892
- build(deps): bump webpack from 5.90.1 to 5.90.2 by @dependabot in #893
- build(deps): bump webpack from 5.90.2 to 5.90.3 by @dependabot in #895
- Configure Mend Bolt for GitHub by @mend-bolt-for-github in #896
- phpstan fix by @rez1dent3 in #901
- build(deps): bump mini-css-extract-plugin from 2.8.0 to 2.8.1 by @dependabot in #899
- build(deps): bump bavix/.github from 0.2.3 to 0.2.4 by @dependabot in #900
- [11.x] fix initializeMorphOneWallet by @rez1dent3 in #906
- [11.x] Changes from 10.x by @rez1dent3 in #908
- build(deps): bump size-limit from 11.0.2 to 11.0.3 by @dependabot in #909
- [11.x] update changelog.md by @rez1dent3 in #911
- [11.x] changelog by @rez1dent3 in #912
- [11.x] docs by @rez1dent3 in #913
- @mend-bolt-for-github made their first contribution in #896
Full Changelog: https://github.com/bavix/laravel-wallet/compare/10.1.5...11.0.0
- [10.x] Add support laravel ^11.0 by @rez1dent3 in #885 #910
Full Changelog: https://github.com/bavix/laravel-wallet/compare/10.1.4...10.1.5
- [10.x] fix initializeMorphOneWallet by @rez1dent3 in #905
Full Changelog: https://github.com/bavix/laravel-wallet/compare/10.1.3...10.1.4
- added check for the existence of uuid in the wallet
Full Changelog: https://github.com/bavix/laravel-wallet/compare/9.6.3...9.6.4
Full Changelog: https://github.com/bavix/laravel-wallet/compare/10.1.2...10.1.3
- build(deps): bump bavix/.github from 0.1.7 to 0.1.9 by @dependabot in #854
- add a check for passing the correct model by @rez1dent3 in #859
- Update Transfer Model by @gkmk in #858
- phpstan baseline by @rez1dent3 in #860
Full Changelog: https://github.com/bavix/laravel-wallet/compare/10.1.1...10.1.2
Full Changelog: https://github.com/bavix/laravel-wallet/compare/9.6.2...9.6.3
- [docs] documentation of float wallets has been expanded by @rez1dent3 in #824
- Update upgrade-guide.md by @rez1dent3 in #825
- build(deps): bump bavix/.github from 0.1.0 to 0.1.1 by @dependabot in #832
- build(deps): bump axios from 1.6.3 to 1.6.4 by @dependabot in #833
- build(deps): bump axios from 1.6.4 to 1.6.5 by @dependabot in #840
- build(deps): bump mini-css-extract-plugin from 2.7.6 to 2.7.7 by @dependabot in #843
- build(deps-dev): update rector/rector requirement from ^0.17 to ^0.19 by @dependabot in #841
- build(deps): bump css-loader from 6.8.1 to 6.9.0 by @dependabot in #842
- add docs bavix/laravel-wallet-uuid by @rez1dent3 in #844
- build(deps): bump size-limit from 11.0.1 to 11.0.2 by @dependabot in #847
- build(deps): bump bavix/.github from 0.1.1 to 0.1.4 by @dependabot in #848
- build(deps): bump actions/cache from 3 to 4 by @dependabot in #849
- build(deps): bump bavix/.github from 0.1.4 to 0.1.6 by @dependabot in #850
- Update changelog.md by @rez1dent3 in #851
- build(deps): bump css-loader from 6.9.0 to 6.9.1 by @dependabot in #852
- build(deps): bump bavix/.github from 0.1.6 to 0.1.7 by @dependabot in #853
Full Changelog: https://github.com/bavix/laravel-wallet/compare/10.1.0...10.1.1
- build(deps-dev): update laravel/cashier requirement from ^14.12 to ^15.0 by @dependabot in #817
- build(deps): bump axios from 1.6.2 to 1.6.3 by @dependabot in #821
- [10.x] add getDynamicDefaultSlug by @rez1dent3 in #822
Full Changelog: https://github.com/bavix/laravel-wallet/compare/10.0.2...10.1.0
- Bump bavix/.github from 0.0.5 to 0.0.7 by @dependabot in #784
- docs: accessing float amount by @justinkekeocha in #786
- docs: changing wallet decimal_places by @justinkekeocha in #785
- remove driftingly/rector-laravel by @rez1dent3 in #787
- Bump postcss from 8.4.19 to 8.4.31 by @dependabot in #788
- Bump webpack from 5.88.2 to 5.89.0 by @dependabot in #790
- Bump size-limit from 9.0.0 to 10.0.1 by @dependabot in #792
- Bump bavix/.github from 0.0.7 to 0.0.8 by @dependabot in #793
- remove cozyhouse by @rez1dent3 in #794
- Bump axios from 1.5.1 to 1.6.0 by @dependabot in #795
- add support php 8.3 by @rez1dent3 in #796
- Bump size-limit from 10.0.1 to 10.0.2 by @dependabot in #797
- Qodana by @rez1dent3 in #798
- build(deps): bump actions/checkout from 3 to 4 by @dependabot in #799
- build(deps): bump axios from 1.6.0 to 1.6.1 by @dependabot in #801
- build(deps): bump size-limit from 10.0.2 to 11.0.0 by @dependabot in #802
- build(deps): bump axios from 1.6.1 to 1.6.2 by @dependabot in #803
- build(deps): bump bavix/.github from 0.0.8 to 0.0.9 by @dependabot in #808
- build(deps): bump size-limit from 11.0.0 to 11.0.1 by @dependabot in #810
- build(deps): bump actions/stale from 8 to 9 by @dependabot in #811
- build(deps): bump bavix/.github from 0.0.9 to 0.1.0 by @dependabot in #812
- build(deps): bump JetBrains/qodana-action from 2023.2 to 2023.3 by @dependabot in #813
- add support database cache by @rez1dent3 in #815
Full Changelog: https://github.com/bavix/laravel-wallet/compare/10.0.1...10.0.2
- Bump semver from 7.3.8 to 7.5.4 by @dependabot in #726
- Bump webpack from 5.76.3 to 5.88.1 by @dependabot in #724
- Bump webpack from 5.88.1 to 5.88.2 by @dependabot in #730
- Update symplify/easy-coding-standard requirement from ^11.5 to ^12.0 by @rez1dent3 in #732
- Updated laravel rector set by @rez1dent3 in #733
- Update driftingly/rector-laravel requirement from ^0.21 to ^0.22 by @dependabot in #735
- Create npm workflow by @rez1dent3 in #736
- Update docs.yaml by @rez1dent3 in #737
- Update docs.yaml by @rez1dent3 in #739
- Update docs.yaml by @rez1dent3 in #740
- Update docs.yaml by @rez1dent3 in #741
- Lumen documentation update by @rez1dent3 in #743
- [Snyk] Upgrade webpack-cli from 5.0.0 to 5.1.4 by @rez1dent3 in #747
- [Snyk] Upgrade axios from 1.3.4 to 1.4.0 by @rez1dent3 in #748
- [Snyk] Upgrade size-limit from 8.2.4 to 8.2.6 by @rez1dent3 in #750
- [Snyk] Upgrade mini-css-extract-plugin from 2.7.5 to 2.7.6 by @rez1dent3 in #751
- [Snyk] Upgrade docsify from 4.13.0 to 4.13.1 by @rez1dent3 in #752
- Update driftingly/rector-laravel requirement from ^0.22 to ^0.24 by @dependabot in #753
- Bump axios from 1.4.0 to 1.5.0 by @dependabot in #756
- Bump bavix/.github from 0.0.4 to 0.0.5 by @dependabot in #759
- Bump size-limit from 8.2.6 to 9.0.0 by @dependabot in #762
- Bump actions/stale from 6 to 8 by @dependabot in #761
- Bump actions/checkout from 3 to 4 by @dependabot in #760
- docs: update wording to sound grammatically correct by @justinkekeocha in #766
- docs: customize name and slug of default wallet by @justinkekeocha in #765
- docs: fixed grammatical error by @justinkekeocha in #764
- Bump uuid from 9.0.0 to 9.0.1 by @dependabot in #768
- checking the Wallet class extensibility by @rez1dent3 in #769
- docs: Create configuration.md by @justinkekeocha in #771
- docs: add configuration file to sidebar by @justinkekeocha in #772
- docs: move configuration details to separate file by @justinkekeocha in #773
- docs: update for clarity by @justinkekeocha in #774
- Update driftingly/rector-laravel requirement from ^0.24 to ^0.25 by @dependabot in #779
- Update driftingly/rector-laravel requirement from ^0.25 to ^0.26 by @dependabot in #780
- Bump axios from 1.5.0 to 1.5.1 by @dependabot in #781
- Add semgrep by @rez1dent3 in #783
- @justinkekeocha made their first contribution in #766
Full Changelog: https://github.com/bavix/laravel-wallet/compare/10.0.0...10.0.1
- Added environment variables for cache and locks (WALLET_CACHE_DRIVER, WALLET_CACHE_TTL, WALLET_LOCK_DRIVER, WALLET_LOCK_TTL).
- Transaction/transfer uuids added to External API.
- Improved support for custom types with phpstan. Now you will find more errors.
- Added the ability to buy for any wallet through the basket (receiving wallet).
- Method deprecated
BookkeeperServiceInterface::missing
. UseBookkeeperServiceInterface::forget
.
- Removed
LockProviderNotFoundException
.
- Fixed empty state bug.
- Fixed return types in phpdoc, added strong typing.
- Viewing a balance no longer creates a wallet. Solves problems with laravel nova. #658. Thank you @myounis97
- Contract changed
EagerLoaderServiceInterface
. Added customer. - The
to_type
andfrom_type
columns in the translation table are no longer used. Will be removed in 11.x. - For all transfers, the relationship type has been changed from
MorphMany
toHasMany
. - Minimum php version 8.1.
- Minimum laravel version 10.0.
- Minimum doctrine/dbal version 3.5.
- Minimum brick/math version 0.10.
- [9.x] Adding a wallet creation event check for a muti wallet by @rez1dent3 in #664
- [9.x] rector-fix by @rez1dent3 in #665
- [9.x] ecs-fix by @rez1dent3 in #666
- [9.x] add exchange unit. decimal_places=8 by @rez1dent3 in #670
- Bump mini-css-extract-plugin from 2.7.3 to 2.7.5 by @dependabot in #672
- Bump webpack from 5.76.1 to 5.76.2 by @dependabot in #673
- Bump webpack from 5.76.2 to 5.76.3 by @dependabot in #674
- [10.x] New version by @rez1dent3 in #628
Full Changelog: https://github.com/bavix/laravel-wallet/compare/9.6.2...10.0.0
-
- [9.x] Fixed WalletService::create() without db::transaction() by @rez1dent3 in #663. Thank you @oasin #659
- Bump axios from 1.2.3 to 1.2.6 by @dependabot in #642
- Bump axios from 1.2.6 to 1.3.2 by @dependabot in #645
- Bump axios from 1.3.2 to 1.3.3 by @dependabot in #648
- Bump size-limit from 8.1.2 to 8.2.4 by @dependabot in #649
- Bump axios from 1.3.3 to 1.3.4 by @dependabot in #656
- Bump mini-css-extract-plugin from 2.7.0 to 2.7.3 by @dependabot in #661
- Bump webpack from 5.75.0 to 5.76.1 by @dependabot in #662
- [9.x] Fixed WalletService::create() without db::transaction() by @rez1dent3 in #663
Full Changelog: https://github.com/bavix/laravel-wallet/compare/9.6.1...9.6.2
- Fixed infinite lock
Full Changelog: https://github.com/bavix/laravel-wallet/compare/8.4.2...8.4.3
- Fixed infinite lock
Full Changelog: https://github.com/bavix/laravel-wallet/compare/7.3.5...7.3.6
- Add support laravel 10.x
- Bump docsify from 4.12.2 to 4.13.0 by @dependabot in #596
- add driftingly/rector-laravel by @rez1dent3 in #606
- Bump axios from 1.1.3 to 1.2.0 by @dependabot in #605
- Bump webpack-cli from 4.10.0 to 5.0.0 by @dependabot in #604
- Bump mini-css-extract-plugin from 2.6.1 to 2.7.0 by @dependabot in #603
- Bump webpack from 5.74.0 to 5.75.0 by @dependabot in #601
- Bump css-loader from 6.7.1 to 6.7.2 by @dependabot in #600
- update packages by @rez1dent3 in #620
- fix rector.php by @rez1dent3 in #624
- Bump css-loader from 6.7.2 to 6.7.3 by @dependabot in #616
- Bump axios from 1.2.0 to 1.2.2 by @dependabot in #625
- update changelog.md by @rez1dent3 in #633
- Bump size-limit from 8.1.0 to 8.1.1 by @dependabot in #638
- Bump axios from 1.2.2 to 1.2.3 by @dependabot in #640
- Bump size-limit from 8.1.1 to 8.1.2 by @dependabot in #639
Full Changelog: https://github.com/bavix/laravel-wallet/compare/9.6.0...9.6.1
- fix withdraw/transfer
Full Changelog: https://github.com/bavix/laravel-wallet/compare/8.4.1...8.4.2
- fix withdraw/transfer
Full Changelog: https://github.com/bavix/laravel-wallet/compare/7.3.4...7.3.5
- Full support for standard transactions and laravel nova #589
- psalm-fix by @rez1dent3 in #585
- Bump axios from 0.27.2 to 1.1.2 by @dependabot in #586
- Bump axios from 1.1.2 to 1.1.3 by @dependabot in #591
- Deprecating save-state and set-output commands by @rez1dent3 in #594
- [9.6] Event Architecture by @rez1dent3 in #589
Full Changelog: https://github.com/bavix/laravel-wallet/compare/9.5.0...9.6.0
- Improved performance api handles #576
- Cache query optimize. v2 #580
- Optimize StateServiceInterface #582
- Memory leak. StateServiceInterface #583
- [9.5] Improved performance api handles by @rez1dent3 in #576
- [9.5] Cache query optimize. v2 by @rez1dent3 in #580
- [9.5] Optimize StateServiceInterface by @rez1dent3 in #582
- [9.5] docs by @rez1dent3 in #581
- [9.5] StateServiceInterface. Memory Leak. Optimize by @rez1dent3 in #583
Full Changelog: https://github.com/bavix/laravel-wallet/compare/9.4.0...9.5.0
- Add support Model::preventSilentlyDiscardingAttributes() #574 #572
- Add partial support octane #573 #570
- Add check php 8.2 in github actions by @rez1dent3 in #567
- Bump size-limit from 8.0.1 to 8.1.0 by @dependabot in #568
- [9.4] add support Model::preventSilentlyDiscardingAttributes() by @rez1dent3 in #574
- [9.4] partial octane support by @rez1dent3 in #573
Full Changelog: https://github.com/bavix/laravel-wallet/compare/9.3.0...9.4.0
- StorageServiceLockDecorator by @rez1dent3 in #563
- StateServiceInterface by @rez1dent3 in #564
- Add atomic-service.md by @rez1dent3 in #561
- Bump uuid from 8.3.2 to 9.0.0 by @dependabot in #566
- atomic-service.md by @rez1dent3 in #561
- Bump uuid from 8.3.2 to 9.0.0 by @dependabot in #566
- [9.3] StorageServiceLockDecorator by @rez1dent3 in #563
- [9.3] StateServiceInterface by @rez1dent3 in #564
Full Changelog: https://github.com/bavix/laravel-wallet/compare/9.2.0...9.3.0
- upgrade actions by @rez1dent3 in #541
- Bump size-limit from 8.0.0 to 8.0.1 by @dependabot in #543
- Update rector/rector requirement from ^0.13 to ^0.14 by @dependabot in #544
- Update laravel/cashier requirement from ^13.11 to ^14.0 by @dependabot in #545
- Update linters and rules by @rez1dent3 in #547
- Bump prismjs from 1.28.0 to 1.29.0 by @dependabot in #549
- Contract phpdoc fix by @rez1dent3 in #551
- fix TestCase by @rez1dent3 in #555
- Add telegram link by @rez1dent3 in #553
- Ability to dynamically create a wallet by @rez1dent3 in #550
- Quality tests by @rez1dent3 in #554
- Allow to use atomic service by @rez1dent3 in #548
- docs by @rez1dent3 in #557
- refactoring with new phpstan by @rez1dent3 in #556
- upgrade actions by @rez1dent3 in #541
- Bump size-limit from 8.0.0 to 8.0.1 by @dependabot in #543
- Update rector/rector requirement from ^0.13 to ^0.14 by @dependabot in #544
- Update laravel/cashier requirement from ^13.11 to ^14.0 by @dependabot in #545
- Update linters and rules by @rez1dent3 in #547
- Bump prismjs from 1.28.0 to 1.29.0 by @dependabot in #549
- Contract phpdoc fix by @rez1dent3 in #551
- [9.2] Ability to dynamically create a wallet by @rez1dent3 in #550
- Add telegram link by @rez1dent3 in #553
- [9.x] Quality tests by @rez1dent3 in #554
- fix TestCase by @rez1dent3 in #555
- [9.2] refactoring with new phpstan by @rez1dent3 in #556
- [9.2] Allow to use atomic service by @rez1dent3 in #548
- [9.2] docs by @rez1dent3 in #557
- npm by @rez1dent3 in #558
- update changelog.md by @rez1dent3 in #559
Full Changelog: https://github.com/bavix/laravel-wallet/compare/9.1.0...9.2.0
- TransactionCreatedEvent #538 (@myckhel #535)
- Fixed a bug with sending multiple events inside the queue. Extra events were sent.
- Bump size-limit from 7.0.8 to 8.0.0 by @dependabot in #537
- [9.1] TransactionCreatedEvent by @rez1dent3 in #538
Full Changelog: https://github.com/bavix/laravel-wallet/compare/9.0.4...9.1.0
- Fixed a bug with sending multiple events inside the queue. Extra events were sent.
Full Changelog: https://github.com/bavix/laravel-wallet/compare/7.3.3...7.3.4
- Add allow plugin infection by @rez1dent3 in #528
- Fix transaction amount_float mutator by @keatliang2005 in #533 #534
- Bump terser from 5.13.0 to 5.14.2 by @dependabot in #527
- Bump webpack from 5.73.0 to 5.74.0 by @dependabot in #529
- add allow plugin infection by @rez1dent3 in #528
- Bump terser from 5.13.0 to 5.14.2 by @dependabot in #527
- Bump webpack from 5.73.0 to 5.74.0 by @dependabot in #529
- Fix transaction amount_float mutator by @rez1dent3 in #534
Full Changelog: https://github.com/bavix/laravel-wallet/compare/9.0.3...9.0.4
- Fixed lumen. Change CacheManager to CacheFactory for compatibility. #520 #521 @Beagon
- Bump mini-css-extract-plugin from 2.6.0 to 2.6.1 by @dependabot in #519
- Change CacheManager to CacheFactory for compatibility with Lumen by @Beagon in #520 #521
Full Changelog: https://github.com/bavix/laravel-wallet/compare/9.0.2...9.0.3
- Fix laravel-ide-helper generate:model #517 @keatliang2005
- Update rector/rector requirement from ^0.12 to ^0.13 by @dependabot in #507
- update ecs, rector config by @rez1dent3 in #508
- Bump webpack from 5.72.1 to 5.73.0 by @dependabot in #510
- Replacing the README interface names with the correct ones by @nathanwritescode-uk in #511
- Typos in interfaces and copy-paste by @rez1dent3 in #512
- deptrac fix by @rez1dent3 in #515
- Bump webpack-cli from 4.9.2 to 4.10.0 by @dependabot in #513
- Update symplify/easy-coding-standard requirement from ^10.2 to ^11.0 by @dependabot in #514
- Update cknow/laravel-money requirement from ^6.5 to ^7.0 by @dependabot in #518
- Fix laravel-ide-helper generate:model by @keatliang2005 in #517
- @nathanwritescode-uk made their first contribution in #511
- @keatliang2005 made their first contribution in #517
Full Changelog: https://github.com/bavix/laravel-wallet/compare/9.0.1...9.0.2
- Fixed a bug that prevented items from being returned via
Cart::withItem
- update README.md by @rez1dent3 in #494
- update README.md by @rez1dent3 in #495
- Bump webpack from 5.72.0 to 5.72.1 by @dependabot in #503
- Incorrect operation of product returns by @rez1dent3 in #499
Full Changelog: https://github.com/bavix/laravel-wallet/compare/9.0.0...9.0.1
- ExtraDtoInterface #479
- Product custom price #485
- Changing the logic of funds transfers #483
- Split Product interface #474
- PHP 8+ Union types #482
- Eager loading #480
- method
Cart::addItems
- method
Cart::addItem
- method
Cart::setMeta
- Performance just got a little better
- Public contracts have become stricter
- Inside is now strongly typed
- interface
Product
- method
CartPay::paid
- Bump prismjs from 1.27.0 to 1.28.0 by @dependabot in #491
- Bump axios from 0.21.4 to 0.27.1 by @dependabot in #488
- Bump mini-css-extract-plugin from 1.6.2 to 2.6.0 by @dependabot in #487
- Bump size-limit from 4.12.0 to 7.0.8 by @dependabot in #490
- Bump css-loader from 5.2.7 to 6.7.1 by @dependabot in #489
- add rerun by @rez1dent3 in #492
- [LTS] [9.x] Features and performance. Work on stability by @rez1dent3 in #481
Full Changelog: https://github.com/bavix/laravel-wallet/compare/8.4.1...9.0.0
- Cart::getUniqueItems
- [8.4.1] deprecated Cart::getUniqueItems by @rez1dent3 in #486
Full Changelog: https://github.com/bavix/laravel-wallet/compare/8.4.0...8.4.1
- MaximalTaxable
- Added strictness in internal classes
- [8.4] Added a minimal description of methods and recommendations for develo… by @rez1dent3 in #473
Full Changelog: https://github.com/bavix/laravel-wallet/compare/8.3.0...8.4.0
- Added the ability to create custom events
- UnknownEventException
- Reduced the amount of memory consumed in the cart
- Improved product returns performance
- Major performance improvement for the projects with slow test suites, using --only-covering-test-cases option by @rez1dent3 in #461
- fix phpunits.yaml by @rez1dent3 in #464
- Error in force transaction float by @rez1dent3 in #470
- [8.3] Simplified creation of events. The list check has been removed, now y… by @rez1dent3 in #468
Full Changelog: https://github.com/bavix/laravel-wallet/compare/8.2.0...8.3.0
- Error in force transaction float #469 @EdX9
- Major performance improvement for the projects with slow test suites, using --only-covering-test-cases option by @rez1dent3 in #461
- fix phpunits.yaml by @rez1dent3 in #464
Full Changelog: https://github.com/bavix/laravel-wallet/compare/8.2.0...8.2.1
- Add exception
TransactionStartException
- Bump minimist from 1.2.5 to 1.2.6 by @dependabot in #456
- Checking the transaction level at startup by @rez1dent3 in #458
Full Changelog: https://github.com/bavix/laravel-wallet/compare/8.1.1...8.2.0
- Expanding the error description. Helps to reduce the number of issue.
- Reduce the number of issues on github by @rez1dent3 in #453
Full Changelog: https://github.com/bavix/laravel-wallet/compare/8.1.0...8.1.1
- Method
getAvailableBalance
.
- Methods
withItems
,withItem
,withMeta
on Cart-object.
- Method
addItems
,addItem
,setMeta
on Cart-Object.
- Bump prismjs from 1.26.0 to 1.27.0 by @dependabot in #447
- breaking backward compatibility by @rez1dent3 in #448
Full Changelog: https://github.com/bavix/laravel-wallet/compare/8.0.6...8.1.0
- Replaced an object with an interface (Events) #444 @ysfkaya
- Event dispatcher to interface by @rez1dent3 in #445
Full Changelog: https://github.com/bavix/laravel-wallet/compare/8.0.5...8.0.6
- Replaced an object with an interface (Events) #444 @ysfkaya
Full Changelog: https://github.com/bavix/laravel-wallet/compare/7.3.2...7.3.3
- Spanish language #443 @EdX9
Full Changelog: https://github.com/bavix/laravel-wallet/compare/8.0.4...8.0.5
- Added validation when resetting confirmation. Caused unexpected system behavior.
- [8.0.4] Added validation when resetting confirmation. Caused unexpected syste… by @rez1dent3 in #442
Full Changelog: https://github.com/bavix/laravel-wallet/compare/8.0.3...8.0.4
- Fixed "UUID Duplicate entry" bug on eager loading. #438 @DanielSpravtsev
- Use predefined PHP float epsilon (phpunit) sebastianbergmann/phpunit#4874
- update package-lock.json by @rez1dent3 in #436
- #438 UUID Duplicate entry fix by @rez1dent3 in #440
Full Changelog: https://github.com/bavix/laravel-wallet/compare/8.0.2...8.0.3
- Added keys to service provider
- 8.0.2 add keys by @rez1dent3 in #435
Full Changelog: https://github.com/bavix/laravel-wallet/compare/8.0.1...8.0.2
- Fixed bug preventing redis from being used #429 @mattvb91
- Bump follow-redirects from 1.14.5 to 1.14.8 by @dependabot in #430
- Bump nanoid from 3.1.30 to 3.2.0 by @dependabot in #431
- 8.0.1 fix service provider (custom cache) by @rez1dent3 in #432
Full Changelog: https://github.com/bavix/laravel-wallet/compare/8.0.0...8.0.1
- Added keys to service provider
Full Changelog: https://github.com/bavix/laravel-wallet/compare/7.3.1...7.3.2
- Fixed bug preventing redis from being used #429 @mattvb91
Full Changelog: https://github.com/bavix/laravel-wallet/compare/7.3.0...7.3.1
- Add support laravel ^9.0
- Added support for owner string identifiers #423 @adesege
- Removed php 7.4 support
- Extend Wallet holder_id property to support string type by @adesege in #423
- Adding support for laravel 9 by @rez1dent3 in #424
Full Changelog: https://github.com/bavix/laravel-wallet/compare/7.3.0...8.0.0
- Credit Limits
- WalletCreatedEvent
- Optimization of check for withdrawals
- Update symplify/easy-coding-standard requirement from ^9.4 to ^10.0 by @dependabot in #420
- [7.3] WalletCreatedEvent, Credit Limits, walletTransactions by @rez1dent3 in #415
Full Changelog: https://github.com/bavix/laravel-wallet/compare/7.2.0...7.3.0
- Added balance update event
- [7.2] Events by @rez1dent3 in #414
Full Changelog: https://github.com/bavix/laravel-wallet/compare/7.1.0...7.2.0
- Transaction support.
- Now, within the transaction, the wallet has its own balance state.
- Fixed unit tests with checking for transaction level (mariadb).
- Due to the state within transactions, I was able to speed up the computation up to 25 times for complex transfers.
- class
WalletServiceLegacy
- method
CommonServiceLegacy::addBalance
- [7.1] Transaction State by @rez1dent3 in #412
Full Changelog: https://github.com/bavix/laravel-wallet/compare/7.0.0...7.1.0
- Optimization of the
payFreeCart
andpayFree
request. Now the package does not update the repository. But there is no point in updating it, because the client does not pay anything. - Now everything is in contracts. It became easier for you to modify the package to suit your needs.
- Updated package core. If you are tied to the kernel, then you will have to rewrite some code.
- Optimized the algorithm for transfers and purchases. When paying for a large basket, the productivity increase at the peak is up to 24 times.
- If a batch of transactions does not change the balance, then the accounting service will not update the wallet balance.
- Fixed issues with postgres. There was a bug when working with currencies, for some reason the request sometimes dropped and went into a deadlock.
- Added
uuid
column to the wallet table. - Added
phpstan
,psalm
,deptrac
,rector
. The package update should now be smoother and with fewer bugs.
- rename
CommonService
toCommonServiceLegacy
- rename
MetaService
toMetaServiceLegacy
- rename
WalletService
toWalletServiceLegacy
- class
CommonServiceLegacy
- class
WalletServiceLegacy
- command
RefreshBalance
. Now you need to write this class yourself. - class
Storable
- class
Rateable
- interface
Mathable
- class
Bring
- method
Cart::alreadyBuy
- method
Cart::canBuy
- class
EmptyLock
- class
Operation
- method
CommonService::verifyWithdraw
- method
CommonService::multiOperation
- method
CommonService::assemble
- method
CommonService::multiBrings
- class
DbService
- class
ExchangeService
- class
LockService
- method
WalletService::discount
- method
WalletService::decimalPlacesValue
- method
WalletService::decimalPlaces
- method
WalletService::checkAmount
- method
WalletService::adjustment
- class
BrickMath
- class
Rate
- class
Store
- [7.x] Mainline by @rez1dent3 in #407
- drop assert's by @rez1dent3 in #411
Full Changelog: https://github.com/bavix/laravel-wallet/compare/6.2.4...7.0.0
- Fixed error LockProviderNotFoundException
- Update laravel/cashier requirement from ^12.5 to ^13.6 by @dependabot in #402
Full Changelog: https://github.com/bavix/laravel-wallet/compare/6.2.3...6.2.4
- Fixed a bug with
migrate:refresh
- adding php 8.1 support to github actions by @rez1dent3 in #398
- migrate:refresh fix by @rez1dent3 in #401
Full Changelog: https://github.com/bavix/laravel-wallet/compare/6.2.2...6.2.3
- Update key from cache
- Update phpstan/phpstan requirement from ^0.12 to ^1.0 by @dependabot in #392
- fix key in BookkeeperService by @rez1dent3 in #394
Full Changelog: https://github.com/bavix/laravel-wallet/compare/6.2.1...6.2.2
- Fix looping for old configs. #387 @AbdullahFaqeir, #391 @Hussam3bd @alexstewartja
- Looping by @rez1dent3 in #393
Full Changelog: https://github.com/bavix/laravel-wallet/compare/6.2.0...6.2.1
- ECS
- Added new exception
UnconfirmedInvalid
- Raised the minimum php version
7.4+
- Merged migrations
- class
Storable
- class
Rateable
- interface
Mathable
- class
Bring
- method
Cart::alreadyBuy
- method
Cart::canBuy
- class
EmptyLock
- class
Operation
- method
CommonService::verifyWithdraw
- method
CommonService::multiOperation
- method
CommonService::assemble
- method
CommonService::multiBrings
- method
CommonService::addBalance
- class
DbService
- class
ExchangeService
- class
LockService
- class
MetaService
- method
WalletService::discount
- method
WalletService::decimalPlacesValue
- method
WalletService::decimalPlaces
- method
WalletService::checkAmount
- method
WalletService::refresh
- method
WalletService::adjustment
- class
BrickMath
- class
Rate
- class
Store
- Trying to speed up tests in sqlite by @rez1dent3 in #324
- Upgrade to GitHub-native Dependabot by @dependabot-preview in #327
- add unit by @rez1dent3 in #349
- Bump prismjs from 1.23.0 to 1.25.0 by @dependabot in #359
- Bump axios from 0.21.1 to 0.21.2 by @dependabot in #364
- [7.x. Stage 1] Reformat code (ecs) by @rez1dent3 in #365
- update docs by @rez1dent3 in #366
- [7.x. Stage 1] merge migrations by @rez1dent3 in #367
- [7.x. Stage 1] add new exception (UnconfirmedInvalid) by @rez1dent3 in #369
- [7.x. Stage 1] add ExchangeInterface by @rez1dent3 in #370
- [7.x. Stage 1] add MathInterface by @rez1dent3 in #371
- [7.x. Stage 1] add UuidInterface by @rez1dent3 in #373
- [7.x. Stage 2] add BookkeeperInterface by @rez1dent3 in #372
- [7.x. Stage 2] add BasketInterface by @rez1dent3 in #375
- [7.x. Stage 3] DI in legacy by @rez1dent3 in #376
- [7.x. Stage 3] add ConsistencyInterface by @rez1dent3 in #377
- [7.x. Stage 4] add CartInterface by @rez1dent3 in #380
- [7.x. Stage 5] add balanceInt by @rez1dent3 in #381
- [7.x. Stage 5] no longer use methods: decimalPlaces, decimalPlacesValue by @rez1dent3 in #382
- [7.x. Stage 5] Release 6.2 by @rez1dent3 in #383
Full Changelog: https://github.com/bavix/laravel-wallet/compare/6.1.0...6.2.0
- Added Github Actions
- Add farsi locale; #317 #320 @hsharghi
- Added the ability to add meta data from the cart #318
- Added exceptions to phpdoc
- Reworked unit tests
- Unit tests work faster
- Fixed a bug in the calculation of the commission
- Add Github Actions by @rez1dent3 in #319
- Apply fixes from StyleCI by @rez1dent3 in #321
- Add Farsi translation by @rez1dent3 in #320
- Making the documentation more readable by @rez1dent3 in #313
- Added transfer of meta-information through the cart by @rez1dent3 in #323
Full Changelog: https://github.com/bavix/laravel-wallet/compare/6.0.4...6.1.0
- Updated key "confirmed_invalid" in Arabic; #316 @omarhen
- #303 verification of automatic wallet creation. by @rez1dent3 in #304
- Bump docsify from 4.11.6 to 4.12.0 by @dependabot in #306
- Bump prismjs from 1.22.0 to 1.23.0 by @dependabot in #307
- Update ar lang by @omarhen in #316
Full Changelog: https://github.com/bavix/laravel-wallet/compare/6.0.3...6.0.4
- Add arabic locale; #302 @akhedrane
- Bump axios from 0.21.0 to 0.21.1 by @dependabot in #295
- add arabic locale by @akhedrane in #302
- @akhedrane made their first contribution in #302
Full Changelog: https://github.com/bavix/laravel-wallet/compare/6.0.2...6.0.3
- Added
getWalletOrFail
method.
- 6.x bug fix by @rez1dent3 in #282
- Apply fixes from StyleCI by @rez1dent3 in #289
- Add getWalletOrFail method by @rez1dent3 in #288
Full Changelog: https://github.com/bavix/laravel-wallet/compare/6.0.1...6.0.2
- Fixed a bug when updating the balance, refund and full write-off. #279 @vaibhavpandeyvpz
- Fixed bugs in unit tests.
- Apply fixes from StyleCI by @rez1dent3 in #281
- Apply fixes from StyleCI by @rez1dent3 in #283
- 5.x fix bug by @rez1dent3 in #280
- Apply fixes from StyleCI by @rez1dent3 in #284
Full Changelog: https://github.com/bavix/laravel-wallet/compare/6.0.0...6.0.1
- Fixed a bug when updating the balance, refund and full write-off. #279 @vaibhavpandeyvpz
- Fixed bugs in unit tests.
- Apply fixes from StyleCI by @rez1dent3 in #281
Full Changelog: https://github.com/bavix/laravel-wallet/compare/5.5.0...5.5.1
- Bigger and safer. There are never many tests. As always, new test cases have been added.
- Package
brick/math
is now required. - Added examples of integrations with the
cknow/laravel-money
package in unit tests. - The
Storable
interface has an additional methodfresh
to clean up all data. - Added psalm, but not used yet.
- Added phpmetrics, thanks to which it was possible to remove a lot of loops in the code.
- Added meta column in wallet, now the package is more extensible. I moved currency from the config to the meta.
- Added an icon to the documentation.
- Added full support for php 8. We are waiting for the release.
- Added
adjustment
method, it deals with balance adjustment. In automatic mode, it calculates the difference between the current amount on the balance sheet and for transactions, and if the balance does not converge, then finishes with a transaction. - Added the ability to initialize the default wallet with the required meta parameters (needed to work with currencies).
- Added method
negative
toMathable
interface.
- Now the package works exclusively with strings, there are fewer problems when working with large numbers.
- Now, to work with cryptocurrencies, it is not necessary to install
bcmath
. - JS documentation is no longer dependent on CDN, everything is collected in one bundle.
- Updated the command to refresh the balance, now without a transaction for all wallets. Use carefully.
- Currencies are now in "wallets.meta.currency", please do not use the config for these cases.
- English documentation has been slightly improved.
- Updated phpunit to support php 8.
- Removed php 7.2 support.
- Drop package
laravel/legacy-factories
. - Remove
BCMath
andMath
classes.
- Fixed a bug when withdrawing large funds from the wallet. Sometimes the number went beyond int64 and the exception fell on "negative number".
- The key in the currencies config will be removed in 7.x. Use "wallet.meta.currency".
- Apply fixes from StyleCI by @rez1dent3 in #215
- Upgrade by @rez1dent3 in #212
- Fixed errors in the library on postgresql and mysql by @rez1dent3 in #217
- Develop by @rez1dent3 in #219
- Travis CI by @rez1dent3 in #220
- Apply fixes from StyleCI by @rez1dent3 in #223
- Apply fixes from StyleCI by @rez1dent3 in #224
- Add dependency brick/math by @rez1dent3 in #221
- add percona 8 & mariadb 10 by @rez1dent3 in #225
- Apply fixes from StyleCI by @rez1dent3 in #238
- Apply fixes from StyleCI by @rez1dent3 in #241
- Update infection/infection requirement from 0.17.* to 0.18 by @dependabot-preview in #251
- Major 6.x by @rez1dent3 in #222
- Apply fixes from StyleCI by @rez1dent3 in #262
- Apply fixes from StyleCI by @rez1dent3 in #263
- Apply fixes from StyleCI by @rez1dent3 in #266
- Apply fixes from StyleCI by @rez1dent3 in #267
- Apply fixes from StyleCI by @rez1dent3 in #269
- Improving the code with a static analyzer by @rez1dent3 in #268
- Apply fixes from StyleCI by @rez1dent3 in #270
- Apply fixes from StyleCI by @rez1dent3 in #275
- Major 6.x by @rez1dent3 in #257
Full Changelog: https://github.com/bavix/laravel-wallet/compare/5.3.2...6.0.0
- Added brick/math dependency (Optional in version 5.x. If you already have a package installed, the library will switch to it automatically)
- Added more php annotations, now it's easier to work with the library.
- Updated travis. Now we check not only SQLite, but also mysql & postgres.
- Fixed memory leak in models.
- class
BCMath
. - class
Math
.
- Travis CI by @rez1dent3 in #220
- Apply fixes from StyleCI by @rez1dent3 in #223
- Add dependency brick/math by @rez1dent3 in #221
Full Changelog: https://github.com/bavix/laravel-wallet/compare/5.4.0...5.5.0
- Temporarily added package (to develop) laravel/legacy-factories.
- PHP 7.3+ support, 7.2 is no longer supported.
- Formatted code using StyleCI.
- The mysql/postgres balance refresh command no longer performs a single request update.
- If you use standard laravel transactions and open it, the library will not open a new transaction. This removes a lot of errors that were sent to my email.
- Removed automatic creation of the default wallet when calling
createWallet
. #218
- Fixed migrations for unit tests (your app should not be affected).
- Fixed nested transactions in databases. This is now one transaction.
- Fixed risk in unit tests for the postgres database.
- Apply fixes from StyleCI by @rez1dent3 in #215
- Upgrade by @rez1dent3 in #212
- Fixed errors in the library on postgresql and mysql by @rez1dent3 in #217
- Develop by @rez1dent3 in #219
Full Changelog: https://github.com/bavix/laravel-wallet/compare/5.3.2...5.4.0
- Add support laravel ~8.0
- Dependency Allowed
illuminate/database
^8.0 - Dependency Allowed
doctrine/dbal
^3.0 - Dependency Allowed
infection/infection
0.17.* - Added new unit tests
- Update infection/infection requirement from 0.15.|0.16. to ^0.17.0 by @dependabot-preview in #200
- Laravel 8 by @rez1dent3 in #208
Full Changelog: https://github.com/bavix/laravel-wallet/compare/5.3.1...5.3.2
- Fixed migration issue with db table prefix #195 @reedknight @cispl-shaswatad
- Pull195 by @rez1dent3 in #196
- Fixed migration issue with db table prefix by @reedknight in #195
- Develop by @rez1dent3 in #197
- @reedknight made their first contribution in #195
Full Changelog: https://github.com/bavix/laravel-wallet/compare/5.3.0...5.3.1
- Add
resetConfirm
,safeResetConfirm
methods (unconfirmed). - Allow default migrations to be ignored. #189 @driangonzales
- Develop by @rez1dent3 in #192
- Allow default migrations to be ignored by @adriangonzales in #189
- @adriangonzales made their first contribution in #189
Full Changelog: https://github.com/bavix/laravel-wallet/compare/5.2.1...5.3.0
- Added support
laravel/cashier ^12.0
- Activating Open Collective by @monkeywithacupcake in #173
- Update laravel/cashier requirement from ^10.0|^11.0 to ^12.0.0 by @dependabot-preview in #180
- New Features by @rez1dent3 in #163
- @monkeywithacupcake made their first contribution in #173
Full Changelog: https://github.com/bavix/laravel-wallet/compare/5.2.0...5.2.1
- Added support
laravel/cashier ^11.0
- Update infection/infection requirement from ^0.15 to ^0.16 by @dependabot-preview in #161
- Update laravel/cashier requirement from ^10.0 to ^11.0 by @dependabot-preview in #165
Full Changelog: https://github.com/bavix/laravel-wallet/compare/5.1.0...5.2.0
- Added support
ramsey/uuid ^4.0
- pg12 support
- Update ramsey/uuid requirement from ^3.0 to ^4.0 by @dependabot-preview in #157
- fix pg12 by @rez1dent3 in #158
- Postgres 12 by @rez1dent3 in #159
Full Changelog: https://github.com/bavix/laravel-wallet/compare/5.0.2...5.1.0
- fix
bindTo
method #155
- Develop by @rez1dent3 in #153
Full Changelog: https://github.com/bavix/laravel-wallet/compare/5.0.1...5.0.2
- fix
bindTo
method #155
Full Changelog: https://github.com/bavix/laravel-wallet/compare/4.2.1...4.2.2
- fix
bindTo
method #155
Full Changelog: https://github.com/bavix/laravel-wallet/compare/4.1.3...4.1.4
Added a patch from version 4.2.1 #150
Full Changelog: https://github.com/bavix/laravel-wallet/compare/4.1.2...4.1.3
- Added a patch from version 4.2.1 #150
- add cases by @rez1dent3 in #148
- V4.0 by @rez1dent3 in #151
- Develop by @rez1dent3 in #152
Full Changelog: https://github.com/bavix/laravel-wallet/compare/5.0.0...5.0.1
- Fixed wallet recalculate command #150
Full Changelog: https://github.com/bavix/laravel-wallet/compare/4.2.0...4.2.1
- add support "Arbitrary Precision Mathematics" (
ext-bcmath
) #139 #146 - add
Mathable
service (helps switch quickly from bcmath to php computing)
- 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.
- Strong typing (models, interfaces, etc.)
- all deprecated methods are removed
nesbot/carbon
is no longer needed for the library to work
- 5.0.x - Arbitrary Precision Mathematics by @rez1dent3 in #140
Full Changelog: https://github.com/bavix/laravel-wallet/compare/4.2.2...5.0.0
- Add laravel 7 support
- Scrutinizer Auto-Fixes by @scrutinizer-auto-fixer in #145
- add support laravel 7.x by @rez1dent3 in #144
Full Changelog: https://github.com/bavix/laravel-wallet/compare/4.1.2...4.2.0
- add
$amountFloat
to Transaction model
Full Changelog: https://github.com/bavix/laravel-wallet/compare/4.1.1...4.1.2
- upgrade composer packages
- add unit cases
Full Changelog: https://github.com/bavix/laravel-wallet/compare/4.1.0...4.1.1
- Added ability to override type
- 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: https://github.com/bavix/laravel-wallet/compare/4.0.1...4.1.0
- Encountered error: "You are not the owner of the wallet" #129 @arjayosma
- Update infection/infection requirement from ^0.14 to ^0.15 by @dependabot-preview in #128
Full Changelog: https://github.com/bavix/laravel-wallet/compare/4.0.0...4.0.1
- Added interface
Storeable
for 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
Discount
interface). - Added a separate service for working with the connection. It’s not possible to configure flexibly at the moment, wait for new releases.
- The minimum version of php 7.2.
- Old versions of the
laravel/cashier
package have been removed, now support begins with the seventh version. - New argument
Customer $customer
added togetAmountProduct
method. #117 @jlstandout - Now for
LockService
you can choose your own (separate) cache. - Personal discount information has been added to the
transfers
table. Data is not used in the library, but will be needed for the future. - New argument
Customer $customer
added togetTotal
method. #117
- 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.
ProxyService
is deprecated and is no longer used.WalletService::getBalance
method is deprecated, useStoreable::getBalance
.
- #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: https://github.com/bavix/laravel-wallet/compare/3.3.0...4.0.0
- Added the ability to easily overload the main classes #106
- #106 Extends by @rez1dent3 in #107
- #106 #105 add example by @rez1dent3 in #108
Full Changelog: https://github.com/bavix/laravel-wallet/compare/3.2.1...3.3.0
- Fixed calculation of commission for exchange #101 @haojingliu
- Update docs #99 @abishekrsrikaanth
- Fee fix by @rez1dent3 in #102
Full Changelog: https://github.com/bavix/laravel-wallet/compare/3.2.0...3.2.1
- Race condition problem resolved #82 @kak2z7702 #22 @sidor555
- Add Code Climate service
- Add support lumen (update docs)
- Optimize code
- More unit tests, test fixes
- Atomic Locks by @rez1dent3 in #84
- merge infection by @rez1dent3 in #86
- Mock by @rez1dent3 in #90
- Update .travis.yml by @rez1dent3 in #91
- updating branch by @rez1dent3 in #92
- Scrutinizer Auto-Fixes by @scrutinizer-auto-fixer in #94
- Update .scrutinizer.yml by @rez1dent3 in #93
- Race Condition [Atomic Locks] by @rez1dent3 in #83
- add doc install lumen framework by @rez1dent3 in #96
- Scrutinizer Auto-Fixes by @scrutinizer-auto-fixer in #97
Full Changelog: https://github.com/bavix/laravel-wallet/compare/3.1.6...3.2.0
- Add support laravel cashier #87 @imhuso
- add infection to composer by @rez1dent3 in #89
- Add support Cashier by @rez1dent3 in #88
Full Changelog: https://github.com/bavix/laravel-wallet/compare/3.1.5...3.1.6
- Fixed math rounding (mantissa) #85 @anthoz69
- add support php 8 by @rez1dent3 in #80
Full Changelog: https://github.com/bavix/laravel-wallet/compare/3.1.4...3.1.5
- Add support
barryvdh/laravel-ide-helper
- Fixed receiving
wallets.transfers
relationship @imhuso
- #78 Relations by @rez1dent3 in #79
Full Changelog: https://github.com/bavix/laravel-wallet/compare/3.1.3...3.1.4
- Add support SQLite on command
RefreshBalance
- Add support laravel 6.0
- Add support php 7.4
- Add unit-test's
- #75 add support laravel 6.0 by @rez1dent3 in #76
- Refresh command by @rez1dent3 in #77
Full Changelog: https://github.com/bavix/laravel-wallet/compare/3.1.2...3.1.3
- Allow to free buy with a negative balance
- Add parameter
$allowZero
to methodcanWithdraw
- method canWithdraw, with a negative price, almost always true
Full Changelog: https://github.com/bavix/laravel-wallet/compare/3.1.1...3.1.2
- Add getCurrencyAttribute
- New unit-test's
- Add docker for php7.4 (need to develop)
- Travis CI
- Update README.md
- Deprecated interface Taxing
- Travis CI by @rez1dent3 in #71
- Scrutinizer Auto-Fixes by @scrutinizer-auto-fixer in #74
Full Changelog: https://github.com/bavix/laravel-wallet/compare/3.1.0...3.1.1
- Add exchange method's.
- Add confirm method's.
- Add method
hasWallet
, sometimes required to verify wallet existence. - Add currency service (create usd, eur,...).
- Add
MinimalTaxable
. - Add
Taxable
. - New exception's.
- Add decimal places (replacement ratio).
- method
calculateBalance
.
- Updated dependencies (composer.json).
- New status
exchange
.
- Wallet is not always created. #63 #51
- Migration mariadb, pgsql, mysql.
- Fix documentation.
- Optimize code, fasted 1.1x.
- class
Taxing
.
- The ability to change the ratio
coefficient
. - Removed private and protected methods, the traits turned out to be more clean.
- Scrutinizer Auto-Fixes by @scrutinizer-auto-fixer in #52
- Scrutinizer Auto-Fixes by @scrutinizer-auto-fixer in #53
- Scrutinizer Auto-Fixes by @scrutinizer-auto-fixer in #54
- add static by @rez1dent3 in #55
- Scrutinizer Auto-Fixes by @scrutinizer-auto-fixer in #66
- Decimal places by @rez1dent3 in #67
- Exchangeable by @rez1dent3 in #51
Full Changelog: https://github.com/bavix/laravel-wallet/compare/3.0.4...3.1.0
- fixed PostgresSQL 11
- fix pg11 by @rez1dent3 in #59
Full Changelog: https://github.com/bavix/laravel-wallet/compare/3.0.3...3.0.4
- Fixed creating a wallet with default slug. #57 @kak2z7702
Full Changelog: https://github.com/bavix/laravel-wallet/compare/3.0.2...3.0.3
- Add support laravel 5.9 (new name 6.0)
- Add support mariadb: 5.5, 10.0+
- Add support percona: 5.6
- Add support mysql: 5.6
- add support mariadb 10.1 by @rez1dent3 in #48
Full Changelog: https://github.com/bavix/laravel-wallet/compare/3.0.1...3.0.2
- The shortened syntax for getting the balance did not work.
- fix by @rez1dent3 in #50
Full Changelog: https://github.com/bavix/laravel-wallet/compare/3.0.0...3.0.1
- Add service
CommonService
- Add service
ProxyService
- Add service
WalletService
- Add object Bring (simple transfer)
- Add object Operation (simple transaction)
- Add feature Cart (multi pay + quantity)
- Add method
payFreeCart
- Add method
safePayCart
- Add method
payCart
- Add method
forcePayCart
- Add method
safeRefundCart
- Add method
refundCart
- Add method
forceRefundCart
- Add method
safeRefundGiftCart
- Add method
refundGiftCart
- Add method
forceRefundGiftCart
- Add method
getUniqueId
to InterfaceProduct
- applied fixes from cs-fixer
- change singleton path
bavix.wallet::transaction
toBavix\Wallet\Models\Transaction::class
- change singleton path
bavix.wallet::transfer
toBavix\Wallet\Models\Transfer::class
- change singleton path
bavix.wallet::wallet
toBavix\Wallet\Models\Wallet::class
- change method
canBuy
. Added parameter$quantity
- method
calculateBalance
. - method
holderTransfers
. - attribute
$status
from Interfaces/Wallet::transfer - attribute
$status
from Interfaces/Wallet::safeTransfer - attribute
$status
from Interfaces/Wallet::forceTransfer - attribute
$status
from Interfaces/WalletFloat::transfer - attribute
$status
from Interfaces/WalletFloat::safeTransfer - attribute
$status
from Interfaces/WalletFloat::forceTransfer - class
Tax
- class
WalletProxy
- protected method
checkAmount
- protected method
assemble
- protected method
change
- protected method
holderTransfers
- protected method
addBalance
- 3.0-dev: Fix bad architecture by @rez1dent3 in #36
- 3.0-Dev by @rez1dent3 in #38
- 3.1 by @rez1dent3 in #44
- Docs by @rez1dent3 in #45
- 3.0-Dev: Architecture correction by @rez1dent3 in #40
- remove changelog from docs by @rez1dent3 in #46
Full Changelog: https://github.com/bavix/laravel-wallet/compare/2.4.1...3.0.0
- Readme.md
- lumen framework
- new tests have been added.
- method
refreshBalance
.
- method
calculateBalance
. - method
holderTransfers
.
- 2.5-Dev: Bug fixes by @rez1dent3 in #39
Full Changelog: https://github.com/bavix/laravel-wallet/compare/2.4.0...2.4.1
- Add zh-CN trans. @MoeCasts
- Add ru trans
- Add method
holderTransfers
- optimize
getWallet
method - optimize relations wallets
- fixed getting a default wallet @MoeCasts
- trait CanBePaid (deprecated ^2.2)
- trait CanBePaidFloat (deprecated ^2.2)
- Add zh-CN trans by @moecasts in #32
- 2.4 by @rez1dent3 in #31
Full Changelog: https://github.com/bavix/laravel-wallet/compare/2.3.2...2.4.0
- patch migrations
Full Changelog: https://github.com/bavix/laravel-wallet/compare/2.3.1...2.3.2
- Added require dependency doctrine/dbal in composer.json
Full Changelog: https://github.com/bavix/laravel-wallet/compare/2.3.0...2.3.1
- Add support Themosis Framework
- In all the methods of translations have added the status of the transfer.
- correction of errors during installation is not correct status.
- Master to themosis by @rez1dent3 in #27
- fix phpunit by @rez1dent3 in #29
- Themosis by @rez1dent3 in #28
- global upgrade by @rez1dent3 in #30
Full Changelog: https://github.com/bavix/laravel-wallet/compare/2.2.2...2.3.0
- fixed fee counting. see issue #25
- Fee fix by @rez1dent3 in #26
Full Changelog: https://github.com/bavix/laravel-wallet/compare/2.2.1...2.2.2
- Add support Laravel 5.8.
Full Changelog: https://github.com/bavix/laravel-wallet/compare/2.2.0...2.2.1
- Add trait
CanPay
. - Add trait
CanPayFloat
.
- Trait
CanBePaid
. - Trait
CanBePaidFloat
.
- #19 add CanPay/CanPayFloat by @rez1dent3 in #20
Full Changelog: https://github.com/bavix/laravel-wallet/compare/2.1.0...2.2.0
- File changelog.
- Add
HasGift
trait. - Added status column to the
transfers
table. - Added status_last column to the
transfers
table. - Added methods: refundGift, safeRefundGift, forceRefundGift
- A new argument is added to the "old
refund
" methods$gifts
.
- Due to the addition of new functionality
gifts
there are possible problems that need to be addressed. Namely, when returning the goods, the funds would not be returned to the person who paid for it. Which would raise a lot of questions.
- Composer.json: add new keywords.
- the $gifts argument (Boolean type) is added to the paid, refund, safeRefund, forceRefund method's.
- Removed column
refund
fromtransfers
table. Now it has been replaced by the status column.
Full Changelog: https://github.com/bavix/laravel-wallet/compare/2.0.1...2.1.0
- add method getAvailableBalance. public getAvailableBalance(): int.
Full Changelog: https://github.com/bavix/laravel-wallet/compare/2.0.0...2.0.1
- table
wallets
. - add
wallet_id
to tabletransactions
and foreign key's. - add
fee
to tabletransfers
. - add localization's.
- add Taxing interface.
- add WalletFloat interface.
- add const TYPE_DEPOSIT, TYPE_WITHDRAW.
- add Wallet model.
- add working with fractional (float) numbers.
- add method calculateBalance.
- add method payFree. public payFree(Product $product): Transfer.
- add CanBePaidFloat trait.
- Added the ability to collect Commission when withdrawing funds in transfers.
- Added the ability to work with multiple wallets.
- Added a class that stores user balance. To avoid any problems.
- add HasWalletFloat trait.
- add HasWallets trait.
- Add $type argument before $amount. protected change(string $type, int $amount, ?array $meta, bool $confirmed): Transaction.
- Due to the addition of the ability to buy for free, there was a bug in which we returned the full cost.
- Due to the addition of the ability to work with many wallets, there were bugs with payments. When the user bought the goods and the goods were assigned to the wallet, not to the user. This change of method: change, transactions, transfers, wallet, etc.
- upgrade by @rez1dent3 in #15
- V1.x by @rez1dent3 in #16
- Scrutinizer Auto-Fixes by @scrutinizer-auto-fixer in #17
- Build 2.0 by @rez1dent3 in #14
Full Changelog: https://github.com/bavix/laravel-wallet/compare/1.2.3...2.0.0
- readme: Added new features.
- Composer.json: add new keywords.
Full Changelog: https://github.com/bavix/laravel-wallet/compare/1.2.2...1.2.3
- method public forcePay(Product $product): Transfer.
- method public forceRefund(Product $product): bool.
- the
$force
parameter was added to thepay
method. public pay(Product $product, bool $force = false): Transfer. - the
$force
parameter was added to thesafePay
method. public safePay(Product $product, bool $force = false): ?Transfer. - the
$force
parameter was added to thecanBuy
method. public canBuy(Customer $customer, bool $force = false): bool. - the
$force
parameter was added to therefund
method. public refund(Product $product, bool $force = false): bool. - the
$force
parameter was added to thesafeRefund
method. public safeRefund(Product $product, bool $force = false): bool.
- Fixed magic method. He accounted for unconfirmed transactions.
- add force method's by @rez1dent3 in #13
Full Changelog: https://github.com/bavix/laravel-wallet/compare/1.2.1...1.2.2
- check for php 7.3
- Scrutinizer Auto-Fixes by @scrutinizer-auto-fixer in #11
- patch laravel 5.5 by @rez1dent3 in #12
Full Changelog: https://github.com/bavix/laravel-wallet/compare/1.2.0...1.2.1
- phpunit to the project.
- Scrutinizer Auto-Fixes by @scrutinizer-auto-fixer in #10
- Version 1.2.0 by @rez1dent3 in #9
Full Changelog: https://github.com/bavix/laravel-wallet/compare/1.1.2...1.2.0
- Fixed "balance" method. He counted the amount along with the unconfirmed transactions.
Full Changelog: https://github.com/bavix/laravel-wallet/compare/1.1.1...1.1.2
- Update readme.
- New indexes have names for quick removal.
- Fixed
down
migration methodtransfers
.
- Scrutinizer Auto-Fixes by @scrutinizer-auto-fixer in #8
Full Changelog: https://github.com/bavix/laravel-wallet/compare/1.1.0...1.1.1
- Added index for fields in "transfers" table: ['from_type', 'from_id', 'refund'].
- Added index for fields in "transfers" table: ['to_type', 'to_id', 'refund'].
- In the table "transactions" added to the type index.
- Exception ProductEnded
- Method public paid(Product $product): ?Transfer.
- Method public canBuy(Customer $customer): bool.
- Static balance caching. Also the description for what it is necessary.
- In the table "transactions" is deleted the index of the field "uuid" and added a unique index.
- In the table "transfers" is deleted the index of the field "uuid" and added a unique index.
- Method
pay
began to check the possibility of buying.
- public resetBalance(): void
- add paid by @rez1dent3 in #4
- add canBuy by @rez1dent3 in #5
- update method pay by @rez1dent3 in #6
- Scrutinizer Auto-Fixes by @scrutinizer-auto-fixer in #7
Full Changelog: https://github.com/bavix/laravel-wallet/compare/1.0.0...1.1.0
- Added
refund
field totransfers
table.
- Updated the
refund
method. The operation is now executed in the transaction and updates the newrefund
field.
- public resetBalance(): void
- Scrutinizer Auto-Fixes by @scrutinizer-auto-fixer in #2
Full Changelog: https://github.com/bavix/laravel-wallet/compare/0.0.1...1.0.0
-
written README.
-
Project configuration file created.
-
Migration 2018_11_06_222923_create_transactions_table.
-
Migration 2018_11_07_192923_create_transfers_table.
-
HasWallet
trait andWallet
interface.-
methods:
- private checkAmount(int $amount): void
- public forceWithdraw(int $amount, ?array $meta = null, bool $confirmed = true): Transaction
- public deposit(int $amount, ?array $meta = null, bool $confirmed = true): Transaction
- public withdraw(int $amount, ?array $meta = null, bool $confirmed = true): Transaction
- public canWithdraw(int $amount): bool
- public transfer(Wallet $wallet, int $amount, ?array $meta = null): Transfer
- public safeTransfer(Wallet $wallet, int $amount, ?array $meta = null): ?Transfer
- public forceTransfer(Wallet $wallet, int $amount, ?array $meta = null): Transfer
- protected assemble(Wallet $wallet, Transaction $withdraw, Transaction $deposit): Transfer
- protected change(int $amount, ?array $meta, bool $confirmed): Transaction
- public resetBalance(): void
-
relations:
- public transactions(): MorphMany
- public transfers(): MorphMany
-
magic property
- public getBalanceAttribute(): int
-
-
CanBePaid
trait andProduct
,Costomer
interface's- methods:
- public pay(Product $product): Transfer
- public safePay(Product $product): ?Transfer
- public refund(Product $product): bool
- public safeRefund(Product $product): bool
- methods:
-
Exceptions: AmountInvalid, BalanceIsEmpty.
-
Models: Transfer, Transaction.
- Scrutinizer Auto-Fixes by @scrutinizer-auto-fixer in #1
Full Changelog: https://github.com/bavix/laravel-wallet/commits/0.0.1