Skip to content

Tags: square/square-java-sdk

Tags

48.0.0.20260916

Toggle 48.0.0.20260916's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
SDK regeneration for 2026-09-16 (#206)

* [fern-generated] Update SDK

Generated by Fern
CLI Version: unknown
Generators:
  - fernapi/fern-java-sdk: 3.42.8

* [fern-replay] advance lockfile

* Remove Shifts API tests from LaborTest

The Shifts API was retired on 2026-05-21 (replaced by Timecards), so
CreateShift now fails and every LaborTest case died in @beforeeach. Drop
the shift setup/teardown and the shift-specific tests; break type and
workweek config coverage is unchanged.

---------

Co-authored-by: fern-api[bot] <115122769+fern-api[bot]@users.noreply.github.com>
Co-authored-by: Meng Lin <menglin@squareup.com>

47.1.0.20260819

Toggle 47.1.0.20260819's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
SDK regeneration (#203)

* [fern-generated] Update SDK

Generated by Fern
CLI Version: unknown
Generators:
  - fernapi/fern-java-sdk: 3.42.8

* [fern-replay] advance lockfile

---------

Co-authored-by: fern-api[bot] <115122769+fern-api[bot]@users.noreply.github.com>

47.0.1.20260715

Toggle 47.0.1.20260715's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
SDK regeneration (#199)

* [fern-generated] Update SDK

Generated by Fern
CLI Version: unknown
Generators:
  - fernapi/fern-java-sdk: 3.42.8

* [fern-replay] advance lockfile

* Update inventory integration test for cross-location adjustment fields

InventoryAdjustment.locationId was replaced by fromLocationId/toLocationId
in the 2026-07-15 API version.

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Co-authored-by: fern-api[bot] <115122769+fern-api[bot]@users.noreply.github.com>
Co-authored-by: menglinblock <menglin@block.xyz>
Co-authored-by: Cursor <cursoragent@cursor.com>

46.2.0-rc.0

Toggle 46.2.0-rc.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
SDK regeneration (#198)

* [fern-generated] Update SDK

Generated by Fern
CLI Version: unknown
Generators:
  - fernapi/fern-java-sdk: 3.42.8

* Add Reporting API polling helper (ReportingHelper.loadAndWait)

The Reporting API's /reporting/v1/load is asynchronous: a still-computing
query returns HTTP 200 with {"error":"Continue wait"} instead of results,
and the caller is expected to re-send the identical request with backoff
until results arrive.

- ReportingHelper.loadAndWait wraps client.reporting().load in an
  exponential-backoff retry loop around the "Continue wait" sentinel
  (defaults: 2s -> 20s, factor 2, 20 attempts; honors thread interruption).
- LoadAndWaitOptions builder for tuning the polling/backoff policy.
- Unit tests (offline): polling, max-attempts timeout, interruption, plus a
  real-deserializer check proving {"error":"Continue wait"} survives onto
  LoadResponse#getAdditionalProperties as a detectable sentinel.
- Integration test (live): production-default smoke test gated behind
  TEST_SQUARE_REPORTING (skips by default, keeping CI green).
- README: hand-authored ## Reporting API section.
- .fernignore: protect the helper, options, and unit test.

* test(reporting): source live token from TEST_SQUARE_REPORTING (prod)

* test(reporting): skip on blank TEST_SQUARE_REPORTING (missing CI secret resolves to empty string)

* reporting: reapply polling helper + tests on regenerated SDK; align tests to flat LoadResponse

* test: skip Disputes integration tests (sandbox not provisioned, 401) to unblock CI

---------

Co-authored-by: fern-api <115122769+fern-api[bot]@users.noreply.github.com>
Co-authored-by: fern-support <support@buildwithfern.com>

46.1.0.20260520

Toggle 46.1.0.20260520's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
[fern-generated] Update SDK (#196)

Generated by Fern
CLI Version: unknown
Generators:
  - fernapi/fern-java-sdk: 3.42.8

Co-authored-by: fern-api <115122769+fern-api[bot]@users.noreply.github.com>

46.1.0.20260122

Toggle 46.1.0.20260122's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
SDK regeneration (#195)

Co-authored-by: fern-api[bot] <115122769+fern-api[bot]@users.noreply.github.com>

46.0.0.20260122

Toggle 46.0.0.20260122's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
🌿 Fern Regeneration -- January 23, 2026 (#192)

* SDK regeneration

* Remove MobileAuthorizationTest since the API was removed

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

---------

Co-authored-by: fern-api[bot] <115122769+fern-api[bot]@users.noreply.github.com>
Co-authored-by: Mike Konopelski <mikek@squareup.com>
Co-authored-by: Claude <noreply@anthropic.com>

45.1.0.20251016

Toggle 45.1.0.20251016's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
SDK regeneration (#178)

Co-authored-by: fern-api[bot] <115122769+fern-api[bot]@users.noreply.github.com>

45.0.0.20250924

Toggle 45.0.0.20250924's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
SDK regeneration (#175)

Co-authored-by: fern-api <115122769+fern-api[bot]@users.noreply.github.com>

45.0.3.20250820

Toggle 45.0.3.20250820's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
🌿 Fern Regeneration -- September 19, 2025 (#174)

* SDK regeneration

* skip test that fails on ci, but not locally

---------

Co-authored-by: fern-api <115122769+fern-api[bot]@users.noreply.github.com>
Co-authored-by: jsklan <jsklan.development@gmail.com>