Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove deprecated classes and methods. #565

Merged
merged 3 commits into from
Jan 16, 2024

Conversation

overcat
Copy link
Member

@overcat overcat commented Jan 12, 2024

The following classes and methods have been marked as deprecated in previous releases, and now they have been removed

  • AccountResponse.Signer#getAccountId() has been removed, use AccountResponse.Signer#getKey() instead.
  • OffersRequestBuilder#forAccount(String) has been removed, use OffersRequestBuilder#forSeller(String) instead.
  • RootResponse#getProtocolVersion() has been removed, use RootResponse#getCurrentProtocolVersion() instead.
  • SetOptionsOperationResponse#getSigner() has been removed, use SetOptionsOperationResponse#getSignerKey() instead.
  • Transaction.Builder has been removed, use TransactionBuilder instead.
  • TransactionBuilder#buildTimeBounds(long, long) has been removed, use TimeBounds#TimeBounds(long, long) instead.
  • TransactionBuilder#addTimeBounds(TimeBounds) has been removed, use TransactionBuilder#addPreconditions(TransactionPreconditions) instead.

@overcat overcat requested a review from sreuland January 12, 2024 03:05
@overcat overcat force-pushed the deprecated branch 2 times, most recently from 819a931 to c683ae0 Compare January 12, 2024 05:42
Copy link
Contributor

@sreuland sreuland left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, I left one comment for consideration on time bounds - https://github.com/stellar/java-stellar-sdk/pull/565/files#r1450823070

also, do you think it's worth capturing Breaking change liner notes to CHANELOG on this pr, itemizes each removed method and the recommended method to use in place? since the deprecation comment is gone?

@overcat overcat merged commit f0bac07 into lightsail-network:master Jan 16, 2024
6 checks passed
@overcat overcat deleted the deprecated branch January 16, 2024 00:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants