Releases: square/connect-java-sdk
2.20191120.0
!!!important
Square has begun the retirement process for Connect v1 APIs. See the Connect v1 Retirement information page for details.
!!!
- GA releases: SDKs now support the new
modify_tax_basisfield to Discounts and v2 Sandbox - BETA releases: SDKs now support the Shifts API webhooks for Labor shift created, updated, deleted, CreateLocation endpoint, and the ability to customize statement description in Payments API.
- Deprecated: Support for v1Items API and v1Locations API is fully deprecated.
2.20190925.0
Version 2.20190925.0 (2019-09-25)
-
GA release: All SDKs have been updated to support the new Merchants API.
-
Beta release: All SDKs have been updated to support the new endpoints (RetrieveLocation, UpdateLocation) added to the Locations API.
-
Beta release: All SDKs have been updated to support the new field (
mcc) added to theLocationtype. -
GA release: All SDKs have been updated to support the new field (
bin) added to theCardtype. -
GA release: All SDKs have been updated to support the new
CardPaymentDetailsfields (verification_results,statement_description, andverification_method). -
GA release: All SDKs have been updated to support the new
Paymentfield, (employee_id).
2.20190814.2
Version 2.20190814.2 (2019-08-23)
- Bug fix: Fixed path parameters for
UpdateOrder
2.20190814.0
Version 2.20190814.0 (2019-08-15)
- New functionality: All SDKs have been updated to support the Sandbox v2 BETA release
- Deprecated functionality: All Transactions API functionality is deprecated in favor of Payments API and Refunds API functionality.
- New functionality: All SDKs have been updated to support the Payments API GA.
- New functionality: All SDKs have been updated to support the Refunds API GA.
- New functionality: All SDKs have been updated to support Orders API updates:
- Pickup Fulfillments, SearchOrders, and ServiceCharges move from BETA to GA.
- New BETA endpoint: Orders.UpdateOrder — use the UpdateOrder endpoint to update existing orders.
- New BETA functionality: Create shipment-type fulfillments.
- New functionality: Locations.RetrieveLocation — use the RetrieveLocation endpoint to load details for a specific Location.
2.20190710.0
Version 2.20190710.0 (2019-07-10)
- Breaking change — As of 2019-07-10 Java Connect SDK does not support explicit
ENUMtypes. Instead, the SDKs passENUMvalues as staticStrings. Developer code can now choose to ignore unexpectedStringvalues when Square APIs return new values instead of being forced to throw runtime errors due to unexpected types. Additional information, including migration help, is available in the README.
2.20190612.1
- Bug fix:
Transaction.ChargeandCustomers.CreateCustomerCardrequest objects — now include theverification_tokenrequired for Strong Customer Authentication.
2.20190612.0
- BETA releases:
- Orders API: supports service charges with a new field and datatype.
- Catalog API: supports measurement unites for item variation quantities with a new field and datatype.
- New functionality:
Orderentities — now include asourcefield that contains details on where the order originated. - Improved functionality: ListLocations — Expanded business information available through the Locations API, including business hours, contact email, social media handles, and longitude/latitude for physical locations.
2.20190508.1
Bugfixes
- Update Jackson to
2.9.9to resolve vulnerability
2.20190508.0
- Beta functionality: Orders API — support for fractional quantities,
expanded metadata, and embedded information on payments, refunds, and returns. - Beta functionality: Inventory API — support for fractional quantities.
- New functionality:
Locations.business_hours— read-only field with
information about the business hours at a particular location.
2.20190410.1
- New functionality: Employees API (Connect v2) — New fields to
capture contact information for employee profiles. - New functionality:
V1Tender.CardBrand— New V1 enum to represent
brand information for credit cards.