All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Charging a customer
- Saving customer
- Listing customers
- Listing transactions
- Saving transactions
- Created trait which utilizes same methods like Square facade
1.0.1 - 2017-09-12
- Ability to change currencies thanks to pull request #6 by @Godlikehobbit
- Tests for changing currency
- Fixed rollback trait which caused travis cli build to fail
- Fixed charge method in HasCustomer, had some redundant code
- Changed credentials for square api
1.0.2 - 2017-09-25
- Upgraded to work with Laravel 5.5.x
- Resolved #7
1.0.3 - 2017-09-26
- Automatic registration of package service providers and facades
- Resolved #8
1.0.4 - 2017-09-26
- Missing methods for getting transactions by status
- Removed local scope methods for getting transactions by status
- Updated project documentation
1.1.0 - 2017-10-05
- Support for nikolag/core package
- Code cleanup
- Structure of
nikolag.php
configuration file - Removed migration files, they are now in core package
- Renamed
SquareCustomer
toSquareService
- Renamed
SquareContract
toSquareServiceContract
- Changed input parameters for
charge()
andtransactions()
functions onSquareServiceContract
- Problem with custom exception handler
1.1.1 - 2017-11-06
- Resolved #12
2.0.0 - 2018-04-07
- Order system
- Products system
- Taxes system
- Discounts system
- Test coverage
- Wiki pages
- Updated README.md
- Code cleanup
- Migrations
2.0.1 - 2018-04-16
- README.md
- Fixed issue #16
2.1.0 - 2018-06-17
Wiki pages:
Transaction fields:
- currency
- payment_service_id
- README.md
- Wiki pages
- Code cleanup
- Renamed the project to
nikolag/laravel-square
- Order no longer requires
payment_service_type
to be added insideattributes
2.1.1 - 2018-06-20
- Bigger unit test coverage
- README.md
- Proper resolving of passed options for
transactions
method insideSquareService
charge
method onHasProducts
trait to now properly pass in location id
2.1.2 - 2018-08-29
Customer
builder
SquareService
code cleanup
2.2.0 - 2018-08-30
Laravel 5.7
andLumen >= 5.5
integrationLumen
andLaravel
integration tests- Latest
square/connect
version (2.9) - Latest
orchestra/testbench
version (3.7)
- Improved
TravisCI
configuration - Updated
CodeClimate
test reporter - Improved test coverage
- Improved environment test coverage
- Removed deprecated
CodeClimate
test reporter - Test report triggers on
CodeClimate
are not per commit
2.2.1 - 2019-09-21
- Fixed issue #26
2.3.0 - 2019-09-24
Laravel 5.8
andLumen 5.8
supportLaravel 6
support- Latest
orchestra/testbench
version (4.*)
- Improved
TravisCI
configuration
2.4.0 - 2019-10-14
- Latest
Square API
version (2.20190925.0) - Sandbox environment flag
- Deprecated and removed used nonce exception
- Taxes, discounts and line items in payments not a top level children anymore https://developer.squareup.com/reference/square/orders-api/create-order#request__property-discounts
2.4.1 - 2019-10-23
location_id
,note
andreference_id
into charge method
charge
method signature for both HasProducts and HasCustomers trait- BREAKING CHANGE:
charge
method when using facade approach now requireslocation_id
to be present in the$options
array - BREAKING CHANGE:
charge
method signature for Customer system on both trait and facade approach - BREAKING CHANGE:
charge
method signature for Order system on both trait and facade approach
2.4.2 - 2020-03-09
buildOrderModelFromArray
into the OrderBuilder
- setOrder now properly assigns property values (no more mass assignments).
- Order system examples are now updated with proper examples
- README.md section with
Orders system
is now updated to include$table
property
- Resolved #37
2.5.0 - 2020-03-26
- Support for
Laravel 7.x
- README.md section with
Version Compatibility
is now updated to includeLaravel 7.x
2.6.0 - 2021-01-02
- Support for
Laravel 8.x
- Latest
Square API
version (3.20200528.1
)
- README.md section with
Version Compatibility
is now updated to includeLaravel 8.x
- Product (Line item) level discounts and taxes are now registered under
Order
with a type ofLINE_ITEM
as per documentation. This change doesn't require any update on the side of the developer.
- Resolved #51
3.0.1 - 2021-12-31
- Support for new Square library: Square SDK ver. 17.0.0.20211215
- Added new
SCOPE
field for deductibles (Taxes & Discounts) which can be one of following values: (ORDER, LINE_ITEM) - Support for github actions
- Increased test coverage
- README.md section with
Version Compatibility
is now updated to include newSquare SDK
version too. - Improved error exception handling
- Resolved #60
3.0.2 - 2022-06-28
- Fixes TypeError when trying to update already existing customer, contributor minor update #71
3.1.0 - 2023-03-13
- Support for new Square library: Square SDK ver. 25.1.0.20230119
- Support for Laravel 9
- Reworked the way exceptions were being generated and thrown to a more fluid way
- Various refactors to adapt codebase to PHP8
3.2.0 - 2023-04-01
- Support for Laravel 10
3.2.1 - 2023-08-04
- Updated Square SDK version: 29.0.0.20230720
3.3.0 - 2023-12-30
- Updated PHP version: 8.2